GetDotted Domains

Viewing Thread:
"PHP Script Changes (continued)"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Tue 08/06/04 at 21:32
Regular
"Gamblersworld.co.uk"
Posts: 11
Thanks for the last topic re PHP script changes which helped, I changed the method from post to $_POST and this helped the form come through without an error, however the data submitted does not appear ? Any advice please ?

My current html is as follows:


method=$_POST type=hidden [email protected] name=recipient> type=hidden [email protected] name=from> value=Newsletter Subscription name=subject> value=Email,Name,HowHere,Comments,Newsletter
name=require> type=hidden value=http://www.gamblersworld.co.uk/newsletter_ty.html
name=success_redirect> type=hidden value=http://www.gamblersworld.co.uk name=fail_redirect>


Many thanks

Chris
Tue 08/06/04 at 21:32
Regular
"Gamblersworld.co.uk"
Posts: 11
Thanks for the last topic re PHP script changes which helped, I changed the method from post to $_POST and this helped the form come through without an error, however the data submitted does not appear ? Any advice please ?

My current html is as follows:


method=$_POST type=hidden [email protected] name=recipient> type=hidden [email protected] name=from> value=Newsletter Subscription name=subject> value=Email,Name,HowHere,Comments,Newsletter
name=require> type=hidden value=http://www.gamblersworld.co.uk/newsletter_ty.html
name=success_redirect> type=hidden value=http://www.gamblersworld.co.uk name=fail_redirect>


Many thanks

Chris
Tue 08/06/04 at 22:28
Regular
"NULL"
Posts: 1,384
Nononono, you don't change the method. Leave it as method="post"

The thing about $_POST is in the PHP script. Basically you can now no longer call variables sent as form data in the post method by using just the variable name. You have to call it as part of the $_POST array.

e.g. before, this would have worked: echo $email;

But now you have to use: echo $_POST['email'];

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Very pleased
Very pleased with the help given by your staff. They explained technical details in an easy way and were patient when providing information to a non expert like me.
Many thanks!!
Registered my website with Freeola Sites on Tuesday. Now have full and comprehensive Google coverage for my site. Great stuff!!
John Shepherd

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.