Re: [PHP] PHP and GET/POST

2004-03-08 Thread Patrik Fomin
great thanks =) regards Patrick "Chris Shiflett" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > --- Patrik Fomin <[EMAIL PROTECTED]> wrote: > > How should you do it?, i mean i have 3 pages with some forms on two of > > em First page = some general information to fill in Second

Re: [PHP] PHP and GET/POST

2004-03-08 Thread Chris Shiflett
--- Patrik Fomin <[EMAIL PROTECTED]> wrote: > How should you do it?, i mean i have 3 pages with some forms on two of > em First page = some general information to fill in Second page = more > deep informationand last page to confirm and store in the database. > What methods is there to do this? se

Re: [PHP] PHP and GET/POST

2004-03-08 Thread Patrik Fomin
How should you do it?, i mean i have 3 pages with some forms on two of em First page = some general information to fill in Second page = more deep information and last page to confirm and store in the database. All pages i got is in one single php file to be able to move between them, eg if they di

Re: [PHP] PHP and GET/POST

2004-03-08 Thread Chris Shiflett
--- Patrik Fomin <[EMAIL PROTECTED]> wrote: > i got a page that i devided up into 3 diffrent pages, > to call i use value="1"> > or 2-3, but i found out that you can just write the url: > mypage.php?step=1 to get to step one, is there anyway to get rid of > that possibility Yes, you can use $_POS

RE: [PHP] PHP and GET/POST

2004-03-08 Thread Vincent Jansen
If you let your script decide which page to load by examining $_POST['step'] You should get the desired behaviour. Seems like you have register_globals = on in your php.ini file and you're testing the variable $step (not the best of practices) Hope this helps. Vincent -- PHP General Mail