FORM Handling wont wok POST AND GET

Alles, was PHP betrifft, kann hier besprochen werden.

FORM Handling wont wok POST AND GET

Postby makendu » 22. February 2016 03:47

I can not get form handling to work via POST or GET it was working once i did not change nothing i tried the same script and it would not work so i don't know what the problem is. Al my php scripts work except for when i use post or get and im doing this for school so idk what to do can someone help me please. I need this for school i already turned one in and the teacher said it was right but its hard to check my work if this does not work . Could someone check this code to and tell it it would work



http://pastebin.com/6g0s4giK

it it was supposed to create a file with permissions if it does not exist and use the post input each variable is supposed to have a comma after it

Thank you to anyone who took the time to read this and help me thanks
makendu
 
Posts: 1
Joined: 22. February 2016 03:38
Operating System: Windows 7

Re: FORM Handling wont wok POST AND GET

Postby JJ_Tagy » 22. February 2016 04:44

Use single quotes in post variables.

Also, your file_put_contents call doesn't look right as you have quotes with commas.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64


Return to PHP

Who is online

Users browsing this forum: No registered users and 57 guests