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.
Same goes for fields attached to the URL, they need to be $_GET["fieldname"], and values like $REMOTE_ADDR have to be referred to as $_SERVER["REMOTE_ADDR"].
Better security, but I've had to change quite a bit of old PHP code just now.
> You ought to be able to see the script in your cgibin folder,
Its connected via a sim link on every account, you cannot see it so you cannot modify the file and screw it up.
Well, I feel like a right plonker! Having had a rant at SR Customer Service about this, it finally turned out that the reason I cant see file upload data in $_FILES, is 'cos I put a typo in the form, which meant it wasnt being POSTed as a multipart/form-data.
A big thankyou to Andrew Hunt at SR for taking the time to go through my examples and point out where I had made [such a stupid] error.
I gave some illustrations of different superglobals that should hold the data of a file upload, to be told "Yes, that should work"...."No! It bloody doesn't, even though it should, and thats why I asked for support!"
The reply was classic: "we suggest you go to the network status page and follow the link...." etc.
Anyone else had any luck cracking the location of HTTP file uploads from forms? Cant find no data in $_POST, $_SERVER, or $HTTP_POST_FILE arrays.
I asked freeola to update this forum but he thought I was talking about FTP intead !?!
If anyone is still having problems post them here...
> Why not just write your own PHP script. It is actually very easy to
> do. Google for a tutorial on it if you want a step by step guide, or
> just go to the PHP site ([URL]http://www.php.net[/URL])and search for
> the mail() function.
I've re-written the contact pages for one site using a CGI FormMail script. But I've got another 4 sites to fix so would rather FREEOLA corrected their supplied script (it this is at fault) to save time.
Failing that, then I'll have to re-write the broken sites - all work I haven't got time to do...
All they keep doing is referring me to the status page (about 4 times!) to see the changes I have to make.
Incase I've lost the plot can someone confirm where these changes have to be made? I'm using an HTML FORM which calls the FREEOLA mail_to_form.php script. I'm assuming the changes are PHP code so have to be made in THEIR script ???
If there is something I should be doing then I would like to know what...