|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
warnings--mailform syntax
Anyone familiar with these error messages?
Warning: Failed to Connect in C:\apache\htdocs\formail.php on line 104 Warning: Failed to Connect in C:\apache\htdocs\formail.php on line 108 //these are lines 104-108 mail("$uemail", "RJS Placement Form", $message, "From: Dave Marshall <dave@rjscollects.com>"); mail("dave@rjscollects.com", "Placement", $message, "From: $uemail"); Someone said that Windows 98 wouldn't accept the From:, so I tried to remove that...heck, I've tried changing these lines 'all kinda ways!' but I can't get this thing to work. Guess I'm new AND dumb! |
|
#2
|
|||
|
|||
|
Neobyte,
Would it be possible to post a larger chunk of the code... Even though PHP reports those line numbers, it most likely is on another line (usually before those specified line numbers). As for the windows limitation, I have yet to run into any problems on my Windows box using the "From:" portion of the email header. In your PHP.INI setup, have you specified the mailserver to be used for outgoing messages?
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
Thanks, FrankieShakes
I checked php.ini and re-added the from:---all is well. Thanks for taking the time to write! -dave /"neobyte/" in san diego |
|
#4
|
|||
|
|||
|
Neobyte,
Anytime... Glad to help! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > warnings--mailform syntax |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|