These variables are supported by most web host systems. Not sure why they are not available to you. I think you should work to resolve this but in the mean time you can do this.
In the process.php file line 9;
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
Remove this line and your thankyou page should display without the error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Notice: Undefined variable: SERVER_NAME in D:\Inetpub\wwwroot\forms\process.php on line 25
Notice: Undefined variable: PHP_SELF in D:\Inetpub\wwwroot\forms\process.php on line 25
Shows up on thany you page after submit. Is on a system with IIS and PHP 4.3.8. Any help would be appreciated?
These variables are supported by most web host systems. Not sure why they are not available to you. I think you should work to resolve this but in the mean time you can do this.
In the process.php file line 9;
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
Remove this line and your thankyou page should display without the error.