Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem in passing values in a POST

Status
Not open for further replies.

goldrakke

MIS
Nov 27, 2001
5
0
0
IT
Hi,

I am running Apache 1.3 and PHP 4.3.1 on my own machine (A WinXP) and it seems that PHP forms don't let the values pass through. Any hint about configuring httpd.conf? Maybe I have forgotten to set something? Who can help me?
When I pass a variable, also clicking the url find.php?w1=2 the file find.php does't load the variable. I have also checked to post the same file on a public http space with PHP language support and it worked....

Thanks in advance

Goldrakke
 
look in the /etc/php.ini file for register_globals you may want to try setting this on

Also try the syntax $_POST["formVarName'] or $_Get["urlParamName"] to retrieve your values.

Finally, make sure there are no unnamed controls in your form, like a submit button without a name attribute. Seems to be a bug in php 4.3.1 running on my apache 2 on redhat 8.

hth
Jeb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top