Does anyone gets PHP response form to work correctly? I'm wondering if I have to add some script to server that doesn't exist there. I trust my PHP scripts are ok
Does anyone gets PHP response form to work correctly? I'm wondering if I have to add some script to server that doesn't exist there. I trust my PHP scripts are ok
PHP on X10 server works very well for me.Wht kind of scripts r u using
Regards ~ Vishal
Giving Reputation(at bottom of my post ) is the best way to encourage the person who helped you on forums.
I have got them without any problem. Actually, what script do you need to run?
x10hosting has some PHP functions disabled for security reasons.
But some scripts work fine on a development machine (home) because the settings on those machine are extremely lax and they do not work on a secure setup.
If you could post the script in question, we could help you. Include any error messages you get and generally how your scripts fail on x10hosting.
But a small bet. Your script assumes register_globals is enabled.
Nothing is always absolutely so.
Is there a work around for register_globals?
You assume it is off when you write the script.
The default value was changed to OFF in PHP 4.2 (around 2002).
The feature is deprecated in PHP 5.3 and totally removed in PHP 6.
If you have a script that relies on it, you have to go in and change it so it uses $_POST etc. It usually is not that hard to do. If you have form fields named 'name', 'address' etc, you just specifically use
if( isset( $_POST['name'] )){
$name = $_POST['name'] ;
}
if( isset( $_POST['address'] )){
$address = $_POST['address'] ;
}
etc.
instead of having $name and $address poplulated for you.
Last edited by descalzo; 01-14-2010 at 05:37 PM.
Nothing is always absolutely so.
Thnx for the info ;)