Hi All,
I am building a site with forms etcetc. I use post to submit the form to a PhP page, which processes the input. Not a problem.
I got everything working, uplodaded it to the server of the provider.. Nothing works!
That part I figured it out: the variables don't get passed into the PhP page. So I changed the variables used to $post['var'] and now the page works on the server. But not on my local server! Now the variables are not recognized on my local server!
Is there an easy solution for this? Maybe something like:
If (You need $post[''])
{
Then read all the vars
}
else
{nothing special}
Oh.. Yeah: Second question: Is there a way to get all the var's from a post, and getting the correct names for it too??
Now I use:
$username = $POST['username']
$pass = $POST['pass']
... Etc...
Which is really annoying when you have several large (>30 entries) forms to process.. How do you do this!
Thanks!