• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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