B4J Question [BANano] should we expect a php file to be generated, in version 2.25?

B4JExplorer

Active Member
Licensed User
Longtime User
Hi,

After we set a PHP_NAME and add a header, should be expect a .php file to be generated? Is that planned for a later version, or does it happen in 2.25?
 

Kiffi

Well-Known Member
Licensed User
Longtime User
After we set a PHP_NAME and add a header, should be expect a .php file to be generated?

Suppose your code looked like this:
B4X:
BANano.Initialize("PhpTest", "PhpTest", 1)
' [...]
BANano.PHP_NAME = "PhpTest.php"
BANano.PHPHost = "http://localhost/BANano/PhpTest/"
' [...]
BANano.Build("C:\inetpub\wwwroot\BANano\")
... then your path would be: C:\inetpub\wwwroot\BANano\PhpTest\PhpTest.php

Is that planned for a later version, or does it happen in 2.25?

Inline PHP-Support exists since V1.27 (see: https://www.b4x.com/android/forum/threads/banano-inline-php-server-code.101224/#content).

Unfortunately, one of the last versions has a small bug that prevents the generated PHP from running. This has already been fixed and will no longer be present in the new version, which Alain will certainly release soon.

Greetings ... Peter
 
Upvote 0

B4JExplorer

Active Member
Licensed User
Longtime User
Suppose your code looked like this:
B4X:
BANano.Initialize("PhpTest", "PhpTest", 1)
' [...]
BANano.PHP_NAME = "PhpTest.php"
BANano.PHPHost = "http://localhost/BANano/PhpTest/"
' [...]
BANano.Build("C:\inetpub\wwwroot\BANano\")
... then your path would be: C:\inetpub\wwwroot\BANano\PhpTest\PhpTest.php



Inline PHP-Support exists since V1.27 (see: https://www.b4x.com/android/forum/threads/banano-inline-php-server-code.101224/#content).

Unfortunately, one of the last versions has a small bug that prevents the generated PHP from running. This has already been fixed and will no longer be present in the new version, which Alain will certainly release soon.

Greetings ... Peter

Ok, thanks Kif.
 
Upvote 0
Top