General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old December 31st, 2002, 04:34 PM
neobyte neobyte is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: CA
Posts: 7 neobyte User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #2  
Old January 2nd, 2003, 12:38 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
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

Reply With Quote
  #3  
Old January 4th, 2003, 12:41 PM
neobyte neobyte is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: CA
Posts: 7 neobyte User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old January 5th, 2003, 05:09 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Neobyte,

Anytime... Glad to help!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > warnings--mailform syntax


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT