Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: at9 on September 26, 2006, 10:22:26 AM
-
I have some forms in webpage with metod POST and action "blele.php".
And suddenly the forms stoped work. "Suddenly"... I think that stoped work after upgrade SME 6.0 to 7.0. Mayby are any options in server-manager responsible for this?? Or something else...??
-
Don't work means parameters do not send on to the server .
-
plissssss
-
In SME7 the default value of register_globals in php.ini is set to off. If your php code does not use the $_POST array to receive values from the form post, it will not work. You could try setting register_globals on, using a custom template. I expected to do this with a db change, but couldn't get it to work:
mkdir -p /etc/e-smith/templates-custom/etc/php.ini/
cd /etc/e-smith/templates-custom/etc/php.ini/
cp /etc/e-smith/templates/etc/php.ini/40DataHandling .
edit 40DataHandling and change register_globals = off to on
expand-template /etc/php.ini
/etc/rc7.d/S86httpd-e-smith restart
If this works, then you should fix your php code to extract the values from the $_POST array, and reverse the steps to remove the custom-template and reset register_globals to off.