Ive had this little code on my site which put users emails that they submit into a text file so i can email them at a later date. I now am trying to use this code to input URLs but when people type in their URL it says that it has been added to the list but hasn't.
In the email list itself it creates a new line but doesn't have any URL in it so i believe that it is just not printing the URL but still creating a new line.
Can someone in the know just look through this code for me please and see where i screwed it up because it used to work perfectly!
Here is the code for the user when they are inputting:
when register globals is off, you must reference variables which come from the user by using the superglobals. in your case, you form submits via post, so you need to use the $_POST array. if you form was get, then you would use $_GET. if your looking for a cookie, it would be $_COOKIE etc..
Bookmarks