Hi good people. I couldn't find any other php community in years to post to so thought I've had best luck when on here.
My problem is a bit wavey, which is why I thought it indirect to post here, but here goes :
I have a few files I want people to donwload, but I want to make sure I have valid contact emails from them, and to hide the file location as best as possible. At the moment, they fill out a form including their email, and I have an email audtoresponder reply to them with a webpage they goto and it popups up a popup that starts the download and closes the popup window. However, that's always had problems every so often, and I wanted to do it in PHP
So - atm the form they fill out is a form that uses an action of a form-mail cgi script (you know the sort) so that saves me having to do my own validation and stuff. They get sent to an html page (one of the variables you set for the script) afterwards. Now - I need to use the form data to do something else - to email them an email including data from the form. I tried to access it from the page following the form submission, but alas no values were displayed. I'm guessing they're lost in the cgi form process. So - my question - is there A - an easy way to do this? B - more likely there isn't, so - is there anyway I can get a form to firstyl - execute some php script, and THEN to do the cgi? I know I can write my own submit functions in javascript, but I don't know how to execute php and then the cgi, considering the only contact I have with the cgi is to say action="cgi-bin/formmail.cgi" typ deal.
So ... anyone? heeelp! =)
I have a formmail cgi and I'd like to know how to activate it after my own php code
_________________________________
Leozack
My problem is a bit wavey, which is why I thought it indirect to post here, but here goes :
I have a few files I want people to donwload, but I want to make sure I have valid contact emails from them, and to hide the file location as best as possible. At the moment, they fill out a form including their email, and I have an email audtoresponder reply to them with a webpage they goto and it popups up a popup that starts the download and closes the popup window. However, that's always had problems every so often, and I wanted to do it in PHP
So - atm the form they fill out is a form that uses an action of a form-mail cgi script (you know the sort) so that saves me having to do my own validation and stuff. They get sent to an html page (one of the variables you set for the script) afterwards. Now - I need to use the form data to do something else - to email them an email including data from the form. I tried to access it from the page following the form submission, but alas no values were displayed. I'm guessing they're lost in the cgi form process. So - my question - is there A - an easy way to do this? B - more likely there isn't, so - is there anyway I can get a form to firstyl - execute some php script, and THEN to do the cgi? I know I can write my own submit functions in javascript, but I don't know how to execute php and then the cgi, considering the only contact I have with the cgi is to say action="cgi-bin/formmail.cgi" typ deal.
So ... anyone? heeelp! =)
I have a formmail cgi and I'd like to know how to activate it after my own php code
_________________________________
Leozack
Code:
MakeUniverse($infinity,1,42);