» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > PHP Programming and Tips

PHP Programming and Tips Discuss about PHP programming and Share Tips. Ask questions about Scripting and Errors.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-14-2006, 01:36 PM
utseya utseya is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
utseya is on a distinguished road
Default PHP version 5.1.4... code upgrade pointers anyone?

I have a lil problem I can't seem to sort out.... any advice would be greatly appreciated

On a contact I have used this simple code to produce a form:


Code:
<form method="POST" action="thanks.php">
Name: <input type="TEXT" name="name">
Email: <input type="TEXT" name="email">
<input type="SUBMIT" name="Submit" value="ok">
</form>
....and on my thanks.php page I have entered the following code to send an email to a specified address:


Code:
<script language="php">
$email = $HTTP_POST_VARS[email];
$mailto = "email@address";
$mailsubj = "Form submission";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-14-2006, 03:05 PM
pumice pumice is offline
RoseBud@OSP
 
Join Date: Aug 2006
Location: clearwater, florida
Posts: 289
Thanks: 5
Thanked 2 Times in 2 Posts
Rep Power: 15
pumice will become famous soon enough
Send a message via MSN to pumice
Default

hi and welcome to forums
i am not much adept in php, but all i can say is that there is some issue with the mail function. The reason to think like this is that if there was some err in script, it would not have shown a confirmation. The issue is on the mail server front -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EURid Opens Code of Conduct to Public outsourcingplans Web Hosting News 0 02-28-2007 02:25 AM
Getting MySQL & PHP to communicate JCH MySQL Forums 0 05-29-2006 01:52 PM
SWsoft Releases Version 2.0 Upgrade outsourcingplans Web Hosting News 0 12-15-2005 04:25 PM


All times are GMT. The time now is 03:28 AM.