Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   phphq.Net Forums (https://novahq.net/forum/forumdisplay.php?f=277)
-   -   Script Doesnt Work? (https://novahq.net/forum/showthread.php?t=38716)

Silivrenion 08-22-2005 04:33 PM

Script Doesnt Work?
 
I've tried the script, and theres all kinds of problems where variables havent been declared, keeping it from working. You can't check the existence of a $_POST variable if there is no post happening, else you get errors. anyway, here's some of the errors I got..


Notice: Undefined index: domail in /var/www/html/mail/phMailer.php on line 95

Notice: Undefined variable: disperrors in /var/www/html/mail/phMailer.php on line 230

Notice: Undefined variable: tborder in /var/www/html/mail/phMailer.php on line 232

Notice: Undefined variable: yourname in /var/www/html/mail/phMailer.php on line 238

Notice: Undefined variable: youremail in /var/www/html/mail/phMailer.php on line 242

Notice: Undefined variable: emailsubject in /var/www/html/mail/phMailer.php on line 246

Notice: Undefined variable: yourmessage in /var/www/html/mail/phMailer.php on line 258


It would be great if these could be fixed! :D

nraum 03-23-2006 07:44 AM

Have you made modifications to the PHP in this script, other than specifying your information at the top of the form (name, admin email, allow attachments, etc.)??

If you haven't modified the code, then it could be a PHP configuration issue, which you should do some google research on, or contact your hosting company. A good way to test this is to upload your script to another server and test it there.

Scott 03-23-2006 03:02 PM

at the very top of the script, right after the first <? put this in there:

PHP Code:

error_reporting(0); 



All times are GMT -5. The time now is 09:00 PM.

Powered by vBulletin®