• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

PHP formmail doesn't work on my plesk server

E

eggman2001

Guest
hi, I use godaddy's virtual dedicated server, and for some reason, php formmail scripts don't seem to work. I hit submit and it appears to go through, but then, no e-mail.

The script works fine on a different web host that doesn't have plesk installed on it.

Any ideas?
 
some php form mail require REGISTER GLOBALS be turned on in the php.ini file.
 
Originally posted by charlz
some php form mail require REGISTER GLOBALS be turned on in the php.ini file.

register_globals can also be turned on/off in .htaccess and the php script itself

register_globals "0" PHP_INI_PERDIR PHP_INI_ALL in PHP <= 4.2.3.
 
Hi, unfortunately, I don't know how to do SSH... Nor do I know what a php.ini file is...

Is there anything I can check in plesk? I don't think that there's anything that needs to be altered in the script itself because it works on my other server.

Thanks!!
 
no needs to alter php.ini or to ssh...

you can create a .htaccess file and put php flags in there
 
I know what an .htaccess file is and how to alter it :D but I don't know what php flags are :(

Can you paste the code that I should add to the .htaccess file?

Thanks!
 
Back
Top