Page 1 of 1

php form pasing

Posted: Mon Jun 18, 2007 2:16 pm
by thecoder
how do a person pass a form to 1 php page but dont move to it,thus dont change the header ect?

[s]coz[/s] because i saw this [s]alot[/s] a lot in phpf coding and dont understand it.

phpf sends a form to a php page but never change the header,so they redirect the form from the registering page to the add_acount.php but ends up at the forum.php page.file names are wrong


[s]thanx[/s] thanks for help in advance
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.

Posted: Mon Jun 18, 2007 3:45 pm
by superdezign
Most of us prefer to handle the form on the same page. It's smarter than having a page simply for form handling. Who does that anymore? :-p

However, if you MUST, just send the form to the page and depending on whether or not the form was valid, use a header() redirection to either send them back or forth or whatever.

Posted: Mon Jun 18, 2007 4:09 pm
by thecoder
so there is no other way in redirecting the form?

just using header?

*thanks*