|
| [WB18] PHPDisplay & PHPExecute |
| Iniciado por guest, 30,abr. 2015 17:05 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 30,abril 2015 - 17:05 |
Hi,
i have a php script which works with PHPDisplay (but open up the result in the browser), but the same script doesnt work with PHPExecute it always returns a 0,
I need to either get the PHPExecute to work or somehow get the result of PHPDisplay as a string.
any ideas
thanks
iso |
| |
| |
| | | |
|
| | |
| |
| Publicado el 30,abril 2015 - 17:28 |
Hi
If we admit that your phpexecute code is correct (which we cannot confirm, as you did not show it to us)...
Then, the only case I would see where the phpdisplay would work and not the phpExecute would be if the display of the page (the result) relies on back and forth between the browser and the server...
I can imagine a case, by example, where there is a first display (very small) on the browser, where some JS code checks the size of the browser window, sends the information to the server and the server then sends back the real content, at the appropriate size and position
Now of course, in a case like this one, if there is no browser (phpexecute or anything else), the JS code will not execute, the server will not get the information it needs and the real page content would never be sent...
If you are in that case, then there will be no easy solution, as even httprequest will not execute ehe JS code and talk to the server...
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,mayo 2015 - 23:26 |
It must be the command doing something like you describe Fabrice, because if I remove the command and just so a simple echo the result is displayed in both cases. Anyway ive found a work around. Not perfect but will do. I simply add an sql statement to the script to right the result to a database. Then use hreadlast in webdev |
| |
| |
| | | |
|
| | | | |
| | |
|