I'm evaluating PHPEd ver. 3.2 build 3220 on a Windows XP box and need some help with configuring PHPED.
Following is my current configuration: Under Tools -Settings-Run Mode, I select HTTT Mode(SRV local web server).
As I understand, the SRV local web server works the same as Apache (I do not have Apache on my machine), "any request from a Web browser to the specified port is sent directly to the phpED server. Server modifies this request, passes it to php executable, captures an output returned from it and passes this output back to the browser" (php Help).
I created a simpler test code to test if the server is working. The argument pass through the URL didn't get return. The new test.php is shown below:
=============================
<html>
<head> </head>
<body>
<form method="GET" ACTION="test.php">
<input type="text" name="varName">
<input type="SUBMIT" value="Search">
</form>
<?php
echo "The user typed: $varName";
?>
</body>
</html>
The first time this script is loaded, the form with "The user type:" is displayed. Each subsequent time a string, say "test string" is entered in the text box and submited through the URL, I expect the form to be reloaded with "The user type: test string" displayed, BUT "test string" wasn't returned, only the form and "The user type:".
PHP is working ("The user type:" is printed), however $varName wasn't passed back from the server.
Does anyone has experience with PHPED. Please shed some light on this. Is there any mapping I should set between the local web server and host ...etc?
Thanks,
Lang