enabling PHP/cURL on windows. Last resort
Posted: Sat May 22, 2010 8:57 pm
Anyone know the solution to this issue? I am having the same problem and am interested in finding a way.JJJJJJ wrote:Further to my last post:
I get the error when using a command line to execute my script. I compile the php file to an exe file and then execute the exe file.
I have just tried to use my browser to test the script and it works! If I type in:
San Diego Beach HotelCode: Select all
http://localhost/Webbots/test3.php
then the script returns the contents of a webpage, so when I display the actual html on the browser by displaying it betweentags it shows the full html just how I want it to look in the command line box (shell??).Code: Select all
<xmp></xmp>
I have no idea why the it should work with the browser but not from the command line. Any ideas?
Note: I am compiling my code to an exe only because when I type in:
into the command line I get a message saying:Code: Select all
php test3.php
Many thanksCode: Select all
'php' is not recognized as an internal or external command, operable program or batch file.
Joe
Let me know, thanks.
-Jim