PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Old February 29th, 2004, 07:52 PM
fawad112 fawad112 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Flushing USA
Posts: 8 fawad112 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
form validation and redirection

hi there i m a newbie dont know any thing this code i also made by copy and paste ..plz can any one help me out and put a validation code .for email add and any other field as an example then i will do it on my own ..and one think more .i want the code takem the user to a thanku page but then i add header fuction it doesnt work can any one help ..its urgent
thaanks in advance



<?

PRINT "<center><FONT SIZE=-1 face=verdana>"; PRINT "Thanks $name, thank you for filling your ";
PRINT "form.";
PRINT "</center><p><center><TABLE border=0 width=500";
PRINT "cellspacing=0 cellpadding=7>"; PRINT "<TR><TD><FONT SIZE=-1 face=verdana>"; PRINT "In the form, you gave the following information";
PRINT "Email to $email.";
PRINT "nnnnnName $name.";
PRINT "nnnYOUR PAYMENT MODE IS $payment.";
PRINT "nnnnnnYOUR ACADEMIC LEVEL $level.";
PRINT "DATE NEEDED $month $day $date $time $merd.";
PRINT "GENERAL TOPIC $subject.";
PRINT "SPECIFIC TOPIC $topic.";
PRINT "NUMBER OF PAGES $pages.";
PRINT "CITITAION $style.";
PRINT "SORCES $sources.";
PRINT "DETAILS $details.";
print "************************************************** *************************************.";
PRINT ".Thanks for chosing xxx.";
PRINT "</FONT></TD></TR></TABLE></center>";


mail("xxxxx@yahoo.com", "order", "$name just
used the form.n email address $email nnpayment $payment.nnlevel $level.nn date $month $day $date $time $merd nn pages $pages nn style $style nn sources $sources nntopic $topic nn $subject nn details $details.");


?>

Reply With Quote
Old March 1st, 2004, 12:50 AM
CodeKadiya CodeKadiya is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,330 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 50 m 36 sec
Reputation Power: 13
Send a message via Yahoo to CodeKadiya
RE: form validation and redirection

How do you submit data to this page? Post the form code.. is it via POST or GET method? then we could help.

what is your PHP version?

Reply With Quote
Old March 1st, 2004, 10:22 AM
fawad112 fawad112 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Flushing USA
Posts: 8 fawad112 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: form validation and redirection

its by post method ..and i dont know the version but i save it as .php3

Reply With Quote
Old March 1st, 2004, 10:47 AM
CodeKadiya CodeKadiya is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,330 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 50 m 36 sec
Reputation Power: 13
Send a message via Yahoo to CodeKadiya
RE: form validation and redirection

Run this code in a new php page, to see information on PHP installation.
php Code:
Original - php Code
  1.  
  2. <?
  3. ?>

Reply With Quote
Old September 19th, 2017, 04:07 AM
Somearesove Somearesove is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Sep 2017
Location: Gadsden, AL, USA
Posts: 1 Somearesove User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 14 sec
Reputation Power: 0
Check your PHP version. Might not work in older versions...

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > form validation and redirection


Developer Shed Advertisers and Affiliates


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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap