Thanks for help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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();
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
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
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!\);
}
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
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
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
--- 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
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
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
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
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
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
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'
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
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
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)
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
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:
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
* 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
--
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
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
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
[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
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
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
30 matches
Mail list logo