I installed this script via my hosts "Fantastico" feature. Everything seems ok, except for two problems:
1) I can't get the permissions to stay set to 777
2) I get this error when I submit the form "$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/")); "
Any assistance would be very much appreciated.
Thanks,
Bob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Because the form generator creates forms of different length it is impossible to diagnose problems without seeing the lines that cause errors. You can either include the lines or send an email including the whole process.php file. Most times it is best to send the form as well as the process.php file (remove any text you feel is confidential first).
File permissions of 777 is a generic recommendation that solves most errors. In actuality the permissions work just as well if all .php files are set to 755, and all graphics and html files are set to 644. If you have trouble setting permissions there isn't anything I can do for you except suggest you talk to your host.
My first impression on the erros you have provided is that some of the variable names you chose for your form have invalid characters. I won't be able to tell exactly until I see more code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I hope someone can lend a hand,
I installed this script via my hosts "Fantastico" feature. Everything seems ok, except for two problems:
1) I can't get the permissions to stay set to 777
2) I get this error when I submit the form "$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/")); "
Any assistance would be very much appreciated.
Thanks,
Bob
Sorry wrong error message, this is what I am getting.
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home3/patientp/public_html/phpform/forms/process.php on line 25
Thanks,
Bob
Because the form generator creates forms of different length it is impossible to diagnose problems without seeing the lines that cause errors. You can either include the lines or send an email including the whole process.php file. Most times it is best to send the form as well as the process.php file (remove any text you feel is confidential first).
File permissions of 777 is a generic recommendation that solves most errors. In actuality the permissions work just as well if all .php files are set to 755, and all graphics and html files are set to 644. If you have trouble setting permissions there isn't anything I can do for you except suggest you talk to your host.
My first impression on the erros you have provided is that some of the variable names you chose for your form have invalid characters. I won't be able to tell exactly until I see more code.