Re: [PHP] relocation
header(Location: index.php?var1=var2=); make sure you send this before outputting anything to the browser. Justin French on 14/08/02 1:49 AM, Christian Ista ([EMAIL PROTECTED]) wrote: Hello, Is there a possibility to call (jump not include) with some parameters (index.php?var1=var2=) a php page without click. For example : case todo: call here index.php?var1=var2= --- jump to this page break; bye Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] relocation
case todo: header('Location: index.php?var1=var2='); exit; case 'aaa': header('Location: index.php?var1=asddtvar2=ppapp'); exit; Regards, Daniel Kushner [EMAIL PROTECTED] __ Need hosting? http://www.thehostingcompany.us/ -Original Message- From: Christian Ista [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 11:50 AM To: [EMAIL PROTECTED] Subject: [PHP] relocation Hello, Is there a possibility to call (jump not include) with some parameters (index.php?var1=var2=) a php page without click. For example : case todo: call here index.php?var1=var2= --- jump to this page break; bye Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] relocation
Perhaps with a HEADER statement. i.e. headers(index.php?var=valuevar2=value2); =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia. On Tue, 13 Aug 2002, Christian Ista wrote: Hello, Is there a possibility to call (jump not include) with some parameters (index.php?var1=var2=) a php page without click. For example : case todo: call here index.php?var1=var2= --- jump to this page break; bye Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] relocation
Or even header(Location: index.php?var=valuevar2=value2); And you would probably want to follow that with exit; Rather than break; HTH, Richy == Richard Black Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 435 3504 Email: [EMAIL PROTECTED] -Original Message- From: [-^-!-%- [mailto:[EMAIL PROTECTED]] Sent: 13 August 2002 16:55 To: Christian Ista Cc: [EMAIL PROTECTED] Subject: Re: [PHP] relocation Perhaps with a HEADER statement. i.e. headers(index.php?var=valuevar2=value2); =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia. On Tue, 13 Aug 2002, Christian Ista wrote: Hello, Is there a possibility to call (jump not include) with some parameters (index.php?var1=var2=) a php page without click. For example : case todo: call here index.php?var1=var2= --- jump to this page break; bye Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php