I submitted a tutorial and... |
I submitted a tutorial and... |
Dec 4 2008, 12:14 AM
Post
#1
|
|
Senior Member Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
it didnt work.
It was a tutorial on how to make a contact form like this: http://www.wefuze.com/contact/ Because I see so many people that have a contact page that just say their email. So i made it and when i hit submit the whole page went crazy and started display my code and stuff. I think it cause the page was reading it and theres a part in the code that if you dont fill it in it wont submit the page so it didnt work. So how can i submit the tutorial? Can i like pm staff and have them put it up? |
|
|
Dec 4 2008, 12:30 AM
Post
#2
|
|
show me a garden thats bursting to life Group: Staff Alumni Posts: 12,303 Joined: Mar 2005 Member No: 115,987 |
In what way did it "not work"?
|
|
|
Dec 4 2008, 02:57 PM
Post
#3
|
|
Senior Member Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
In what way did it "not work"? A code in the tut affected the page. There was a code for a form and the form doesnt let you use it unless you enter all fields so it didnt let me submit the script because the code in the script wasnt allowing it. Which when you think about is kinda dangerous cause someone could easily do a mysql injection into createblogs server or whatever. |
|
|
Dec 4 2008, 04:52 PM
Post
#4
|
|
Senior Member Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 |
Uhh...should this be moved to CB Support? I'm going to put it there. Correct me if I'm wrong.
Were there textareas involved anywhere? Those sometimes get messed up during the submission process from what I'm assuming is the whole "textarea within a textarea" thing. If not...I don't know. Do you still have the link to the tutorial page (on here, not your site)? |
|
|
Dec 4 2008, 06:32 PM
Post
#5
|
|
Senior Member Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
Uhh...should this be moved to CB Support? I'm going to put it there. Correct me if I'm wrong. Were there textareas involved anywhere? Those sometimes get messed up during the submission process from what I'm assuming is the whole "textarea within a textarea" thing. If not...I don't know. Do you still have the link to the tutorial page (on here, not your site)? Im not sure if you know php but im almost certain its this: CODE if (eregi('http:', $notes)) { die ("Do NOT try that! ! "); } if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { echo "<h2>Use Back - Enter valid e-mail</h3>\n"; $badinput = "<h3>Feedback was NOT submitted</h2>\n"; echo $badinput; die ("Go back! ! "); } if(empty($visitor) || empty($visitormail) || empty($notes )) { echo "<h3>Use Back - fill in all fields</h3>\n"; die ("Use back! ! "); } |
|
|