WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
Problem sending data!
Posted by:
erick
(---.prod-empresarial.com.mx)
Date: January 10, 2006 12:19AM
Hi!
I'm building my scripts in one computer and i don't have any problem(wampserver 1.6 xp ie), but when I test the same programs in other (wampserver 1.6 xp ie) don't work at all, specially whe you do submit . I tried testing with this simple script:
<?php
if($_POST["test"]){
print "test ok";
print $testa;
}
?>
<HTML>
<HEAD>
</HEAD>
<BODY>
<form action="<?$_SERVER['PHP_SELF']?>" method="post" name="forma" enctype="multipart/form-data">
<input type="submit" name="test" value="submit">
<input type="text" name="texta" size="20">
</form>
</BODY>
</HTML>
When you do submit print "test ok", but no the content of $testa variable. So I guess the problem is the browser is not sending data!
I checked the services wampapache and wampmysqld and both are working then i tried printing phpinfo() and it works too.
I tried:
<form action="myfile.php" method="post" name="forma" enctype="multipart/form-data">
but is the same result.
please help!
any suggestion?
Options:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login