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

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 February 25th, 2003, 09:39 PM
danke danke is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Huntington, VT
Posts: 10 danke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
this simple submit form tutorial

i successfully completed this tutorial, but am not receiveing any emails from it when someone posts to it, can someone try for me?
http://keyworthgraphics.com/feedback.html
it seems to work ok, maybe have a look at the source, i just can't figure out what else might need to be edited...

Reply With Quote
  #2  
Old February 26th, 2003, 04:27 PM
Galewind Galewind is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Phoenix, AZ
Posts: 4 Galewind User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Are you talking about this article: Simple feedback form ? If so, there's some variables that need to be udpated for newer versions of PHP. Newer versions change the default of a configuration value; register_globals now defaults to off. This means that ie the $email variable in that article would need to be changed to $_POST['email'] as well as changing the other variables used in the form.

Galewind

Reply With Quote
  #3  
Old February 26th, 2003, 04:51 PM
danke danke is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Huntington, VT
Posts: 10 danke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
php submit form

hi and thanks for the reply...you're talking "all greek" to me, as i know nothing about coding, but seem to think i can edit anything...here's what is in my .php file
Quote:
<?
mail( "billy@designers-united.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://keyworthgraphics.com/thankyou.html" );
?>


i'm pretty dumb aren't i!?

sorry to have bugged you...i'll learn more about this soon

Billy

Reply With Quote
  #4  
Old February 26th, 2003, 06:35 PM
Galewind Galewind is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Phoenix, AZ
Posts: 4 Galewind User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok, change your code to look like this:

PHP Code:
<?
mail
"billy@designers-united.com",  "Feedback Form Results"$_POST['message'], "From: {$_POST['email']}" );
header"Location: http://keyworthgraphics.com/thankyou.html" );
?>

Reply With Quote
  #5  
Old February 26th, 2003, 09:27 PM
danke danke is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Huntington, VT
Posts: 10 danke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
link check

i tried that to no avail. iow, no email came to me after hitting the submit button. here's the link for the flash movie that has the submit form in it:
my crazy home page
maybe you want to look at the submit button actionscript?
thanks in advance for sticking with me...

Reply With Quote
  #6  
Old February 26th, 2003, 09:46 PM
danke danke is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Huntington, VT
Posts: 10 danke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
php submit form

hi and thanks for the reply...you're talking "all greek" to me, as i know nothing about coding, but seem to think i can edit anything...here's what is in my .php file
Quote:
<?
mail( "billy@designers-united.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://keyworthgraphics.com/thankyou.html" );
?>


i'm pretty dumb aren't i!?

sorry to have bugged you...i'll learn more about this soon

Billy

Reply With Quote
  #7  
Old February 27th, 2003, 06:15 PM
Galewind Galewind is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Phoenix, AZ
Posts: 4 Galewind User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: link check

Quote:
Originally posted by danke
i tried that to no avail. iow, no email came to me after hitting the submit button. here's the link for the flash movie that has the submit form in it:
my crazy home page
maybe you want to look at the submit button actionscript?
thanks in advance for sticking with me...

Ooh. Well unfortunately, I know absolutely nothing about Flash or ActionScript. Is it using the POST or GET method to submit to your PHP script?
You might try using a regular HTML form using the POST method, for testing purposes. If it works with HTML, then the problem is somewhere in your Flash.

Galewind

Reply With Quote
  #8  
Old February 27th, 2003, 06:39 PM
danke danke is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Huntington, VT
Posts: 10 danke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks galewind!

i am working on it, still!!! but am making slow and steady progress. thanks for your input.

B

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > this simple submit form tutorial


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 1 hosted by Hostway
Stay green...Green IT