Hi there,
My problem can be solved only by those who're compiling their scripts on their local PC.
I'm using:
Apache 2.0.4
PHP 4.2.2
MySQL 3.23.51
OS: Windows XP Pro
I just started compiling my php scripts on my local PC instead of uploading them and testing them on the web. The restreiving from my tables is fine but the insertion is not.
These are a test files:
1. Test.html :
<FORM NAME=Registration ACTION="Test.php" METHOD="POST">
<input type="text" name="signUserName" size="30">
<input type="password" name="signPassword" size="30">
</FORM>
2. Test.php :
<?php
Print "<HTML><BODY>";
Print "UserName: $signUserName<BR>";
Print "Password: $signPassword<BR>";
Print "</BODY></HTML>";
?>
When I executed the test.html from my local PC, it went to the php file and showed nothing but:
UserName:
Password:
The values in the text boxes didn't moved from the html file to the php files, but when I teseted these scripts when I uploaded them, and they are working fine!
What is wrong? What I'm missing?
Another question; Can use cookies in my local PC when I'm not connected to the internet using only Apache? And what about the script if it has to send mail?
Please for any clarification just ask.
Ali
My problem can be solved only by those who're compiling their scripts on their local PC.
I'm using:
Apache 2.0.4
PHP 4.2.2
MySQL 3.23.51
OS: Windows XP Pro
I just started compiling my php scripts on my local PC instead of uploading them and testing them on the web. The restreiving from my tables is fine but the insertion is not.
These are a test files:
1. Test.html :
<FORM NAME=Registration ACTION="Test.php" METHOD="POST">
<input type="text" name="signUserName" size="30">
<input type="password" name="signPassword" size="30">
</FORM>
2. Test.php :
<?php
Print "<HTML><BODY>";
Print "UserName: $signUserName<BR>";
Print "Password: $signPassword<BR>";
Print "</BODY></HTML>";
?>
When I executed the test.html from my local PC, it went to the php file and showed nothing but:
UserName:
Password:
The values in the text boxes didn't moved from the html file to the php files, but when I teseted these scripts when I uploaded them, and they are working fine!
What is wrong? What I'm missing?
Another question; Can use cookies in my local PC when I'm not connected to the internet using only Apache? And what about the script if it has to send mail?
Please for any clarification just ask.
Ali