[PHP] Re: Redirect to

2010-06-10 Thread Ahmed Mohsen
Thanks for help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: redirect to a static page

2009-06-20 Thread O. Lavell
Vit wrote: Hi all, I'm trying to understand how to redirect to a static page here you are the code (it seem to be a stupid code, but I'm just debugging. ?php header( Location: http://www.google.com; ); ? instead of being redirect to www.google,com, I get the

[PHP] Re: Redirect via GET is loosing characters

2007-05-03 Thread itoctopus
You just have to store your form inputs in the session. -- itoctopus - http://www.itoctopus.com Merlin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, I am checking plausability inside a php script that receives a POST submit. If an error occures the user should be

[PHP] Re: redirect with header still not working

2007-04-17 Thread Al
Read about output buffering, it's your solution and well worth time learning about. Ross wrote: Right, Have tried the full url for the header and it still doesn't work. I may have to resort to...javacript redirects unless someone can suggest a way around it. Here is the phpinfo();

[PHP] RE: Redirect - was Question: Simpler loop

2004-10-22 Thread Stuart Felenstein
I put the loop at the top of the next page, before any output to the browser: ?php if ($skill!='' $skys[$key]!='' $slus[$key] !='') { // row is valid -- do stuff } else { header(Location: http://www.2soon2show.com/TestMulti4a.php; ); print You have

[PHP] Re: REDIRECT

2003-06-07 Thread Bobby Patel
not with php directly, but you can do that with HTML meta tags, check google for Meta refresh Dale [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anybody know of a way to redirect to another page once you have already outputted html to the screen. In other words, I want to

[PHP] Re:[PHP] Re: REDIRECT

2003-06-07 Thread fongming
Hi: May be you can try javascript: function goto($where,$string) { ? script alert(\?=$string;?\); location.href=\?=$where?\; /script ? exit; } if(true) { goto(\http://www.yam.com\,\thank you!\); }

RE: [PHP] Re: REDIRECT

2003-06-07 Thread Boaz Yahav
Patel [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:35 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: REDIRECT not with php directly, but you can do that with HTML meta tags, check google for Meta refresh Dale [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anybody know

RE: [PHP] Re: REDIRECT

2003-06-07 Thread myphp
PHP might take you tomorrow. -Original Message- From: Bobby Patel [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:35 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: REDIRECT not with php directly, but you can do that with HTML meta tags, check google for Meta refresh Dale

RE: [PHP] Re: REDIRECT

2003-06-07 Thread myphp
take you tomorrow. -Original Message- From: Bobby Patel [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:35 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: REDIRECT not with php directly, but you can do that with HTML meta tags, check google for Meta refresh

Re: [PHP] Re: Redirect without header or javascipt

2003-02-20 Thread Chris Shiflett
--- Daniel Guerrier [EMAIL PROTECTED] wrote: Is there any to redirect in php with using header() and without the use of javascript? Yes: header('Location: http://www.php.net/'); If we are meant to answer your subject and not your message, then use a meta HTML tag. Chris -- PHP General

[PHP] Re: Redirect without header or javascipt

2003-02-19 Thread Hans Prins
I'd say no.. but if this is about limitations of for example the header() function (where it needs to be called before anything should be output to the browser) then you could buffer your output with: ob_start() and ob_end_flush() Hans Daniel Guerrier [EMAIL PROTECTED] schreef in bericht

[PHP] Re: Redirect Question

2002-07-22 Thread JJ Harrison
That answers my question. Thanks, -- JJ Harrison [EMAIL PROTECTED] www.tececo.com Tim Luoma [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... FWIW, a user note at http://www.php.net/manual/en/function.header.php says : There is this nasty bug in IE 5 for

[PHP] Re: Redirect Question

2002-07-21 Thread Richard Lynch
Instead of outputting a header to redirect the browser would it be safer to use the meta-refresh tag? The reason I ask is because I heard that some versions of IE have trouble with the header There are probable even more browsers that can't handle the META tag... Which versions of IE is

[PHP] Re: Redirect Question

2002-07-21 Thread Chris Earle
Which versions of IE is somebody claiming can't handle a Location: header? It's not version 6 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Redirect Question

2002-07-21 Thread Chris Earle
Which versions of IE is somebody claiming can't handle a Location: header? And it's not version 4 (I'm assuming not 5(.5) either) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Redirect Question

2002-07-21 Thread Jason Wong
On Monday 22 July 2002 10:35, Chris Earle wrote: Which versions of IE is somebody claiming can't handle a Location: header? And it's not version 4 (I'm assuming not 5(.5) either) When you say version 4, which version 4 do you mean? Ditto for version 5. With so many patches and 'upgrades'

[PHP] Re: Redirect Question

2002-07-21 Thread Tim Luoma
FWIW, a user note at http://www.php.net/manual/en/function.header.php says : There is this nasty bug in IE 5 for Windows prior to service pack 2, described in Microsoft knowledgebase article Q281197 which causes a problem with redirecting.. if you submit a POST form to a page that uses

[PHP] Re: Redirect?

2002-01-16 Thread J Smith
If this isn't in the PHP FAQ (I couldn't find it), it definitely should be, because somebody asks this question at the very least once a week on this list. J Henrik Johansson wrote: Hi! How do I do a redirect to a different location in PHP? Regards Henrik Johansson -- PHP General

Re: [PHP] Re: Redirect?

2002-01-16 Thread val petruchek
If this isn't in the PHP FAQ (I couldn't find it), it definitely should be, because somebody asks this question at the very least once a week on this list. Very useful feature, i think :) and better to add it to the manual III. Features section (with file apploading, image functions etc)

[PHP] Re: Redirect + SESSION question!!!

2001-12-11 Thread Raivo
I am same problem. I use PHP4.0.6, Apache 1.3.20 and WindowsNT. My code looks like this: ob_start(); session_start(); session_register('is_logon'); if (!$HTTP_SESSION_VARS['is_logon') { header('Location: logon.php'); ob_end_flush(); die(); } If I try to execute this code, I get

[PHP] Re: Redirect function

2001-12-10 Thread Hugh Bothwell
Steve Osborne [EMAIL PROTECTED] wrote in message 000901c181db$bfca1f40$[EMAIL PROTECTED]">news:000901c181db$bfca1f40$[EMAIL PROTECTED]... Is there a function or command in php that will redirect a user to another page, similar to Response.Redirect(URL) in ASP? header(Location:

[PHP] Re: Redirect Function?!!

2001-12-07 Thread Roko Roic
I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork another httpd, but that's life :) Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Brian Clark
* Roko Roic [EMAIL PROTECTED] [Dec 07. 2001 03:26]: I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork another httpd, but that's life :) Just out of curiosity, what's wrong with header('Location ... ');? -- -Brian Clark --

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Roko Roic
Brian Clark [EMAIL PROTECTED] wrote in message 20011207082759.GB8750@ganymede">news:20011207082759.GB8750@ganymede... * Roko Roic [EMAIL PROTECTED] [Dec 07. 2001 03:26]: I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Miles Thompson
RFC 2616 is your friend 14.30 Location The Location response-header field is used to redirect the recipient to a location other than the Request-URI for completion of the request or identification of a new resource. For 201 (Created) responses, the Location is that of the new resource

[PHP] Re: redirect

2001-11-22 Thread Fredrik Wahlberg
Make sure that you have no blank spaces before the ?php tag. It really must be the first line in the script. /Fredrik Etienne Colla [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi I 'm newbie with php and i have a small problem. I have a script that uploads 4

[PHP] Re: Redirect use back after execution

2001-11-02 Thread Henrik Hansen
[EMAIL PROTECTED] (Daniel Harik) wrote: Hello I'm making vbulletin foru hack, that allows to rate members my code is just 50 lines, I set link to my script from vBulletin page, and after it has been clicked code executes, and then i want to return user to the page where he clicked the

[PHP] Re: redirect to php problem

2001-09-15 Thread Gavin
Yes, this HTML line will redirect the browser to the php page.. META http-equiv=refresh content=0;url=file.php Gavin Nikola Veber [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi ! I'm having a problem with following : I'd like to activate a php file as a

[PHP] Re: Redirect

2001-07-06 Thread Philip Hallstrom
Header(Location: whereveryouwanttogo.html); On Fri, 6 Jul 2001, [iso-8859-1] Victor SpÄng Arthursson wrote: Hi! Still new on PHP, converting from vb$cript, I wonder how I do a redirect... In vbscript: % response.redirect(page.extension) % In PHP??? Sincerely Victor -- PHP