• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

formmail.php or .pl not processing hidden variables

P

Paly69

Guest
Moved a domain/website to new plesk server

I've tried multiple different formmail.php incarnations...

.shtml file calls the script, hidden recipient...
formmail.php says no recipient.

If I comment out the "reserved" keyword for recipient, and hard code one in, it works...

I've got mod-perl support & php-safe on.
Perms on the files 644 (755 on the .pl script)

From the lack of traffic on this, I'm missing something very basic. If someone has time to check their working formmail script on a plesk box, please let me know your config?

Thank you!
Jim
 
Formmail.php?

Is there anyone on this board that has a working configuration that is allowing formmail.php to be processed?

I cannot get variables from the .html page to transfer to the .php page.

I'm starting to think this is somewhere in the http.conf... but don't know what to look for?

Please help?
 
sounds to me if register_globals is your issue.

in your php script are you accessing eg:

$recipient

or

$_POST['$recipient']

a crude fix can be to use extract at the top of your script to convert POST vars

PHP:
extract($_POST);
 
Back
Top