Welcome to WebmasterWorld Guest from 184.108.40.206
Now php form(s) do not work. have fixed many issues but still form does not work and can't seem to find reason why.
Have added to php script
and I get nothing, I use:
$form_block = <<<_BLOCK_
<FORM Method="Post" Action="$PHP_SELF">
--- Form fields ---
I use this base form on several sites which worked perfectly prior to php migration.
trying to find solution I am no where, ideas? suggestions?
Yea, I thought about the register_globals too but I changed those pretty much when setting up the firewall because they are always considered a risk and turned off... just checked and they are on.
I run CentOS 4.8 php 4.7, also have 5.2 installed but default is the 4.7
Thanks for responding so quickly. Ayy other suggestions?
Just phpinfo() and see what your local and master values are for register_globals. I presume $PHP_SELF is not printing anything and that's why your form isn't working, i.e. your output is <form ... action=""> If your action attribute isn't blank (and it prints the value of your current page), it might be a different problem. Also, if you have a 'funny' request URL like /form.php/contact-us/, Apache will drop the /contact-us/ bit as it would a query string.