alain dhaene wrote:
But I get the following warning:
Warning: Cannot modify header information - headers already sent by (output
started at
/home/schoolre/public_html/Hitek/Online/Registratie/registratieFuncties.php:
1)
The warning states it clearly, output started on line 1 in
http://us2.php.net/manual/en/function.header.php
Joao Andrade wrote:
Hi there people,
I'm looking for a function that will redirect a browser to another page
after a PHP scrip has run. I tried serching for it in the doc but found
nothing. It shall be similar to Tcl's ns_returnredirect.
On Saturday 25 October 2003 10:54 am, Joao Andrade wrote:
Hi there people,
I'm looking for a function that will redirect a browser to another page
after a PHP scrip has run. I tried serching for it in the doc but found
nothing. It shall be similar to Tcl's ns_returnredirect.
header() refresh/redirect with delay.
---
?php
ob_start();
if(!headers_sent()) {
header('Refresh: 1; Url=http://www.example.com');
exit();
}
ob_end_flush();
?
---
header() refresh/re-direct without delay
Thank you very much,
This was the reason I figured it out now. Thank you for good advise.
Yury
On 22 Sep 2003 at 14:39, BENARD Jean-philippe wrote:
Headers must be sent before anything else (text, html ...). If you put
somewhere something like : echo test;, php will send standard HTML
Search the archives or google.
Yury B. wrote:
Hi
I have form in file register.php. The action of this form is the same
- register.php the form validation script is included in this file
like include(mail.php) In mail.php there is two sections - one is
working if user didn't complete form
This is how I do it:
if ($_SERVER['HTTPS']!='on') {
header(Location: https://mynet.com/pay.php;);
exit;
}
It is my ambition to say in ten sentences; what others say in a whole
book. - Friedrich Nietzsche
From: [EMAIL PROTECTED]
Date: Fri, 1 Aug 2003 10:20:58 +0200
To: [EMAIL PROTECTED]
It might also be worth making sure that your web server is configured to force
https on this page if this is what you want. Otherwise a user could type the
URL in without the HTTPS and still get the page.
On Friday 01 Aug 2003 9:20 am, [EMAIL PROTECTED] wrote:
I have a stupid question.
I
, August 01, 2003 3:25 AM
To: PHP General
Subject: Re: [PHP] Redirect to HTTPS
This is how I do it:
if ($_SERVER['HTTPS']!='on') {
header(Location: https://mynet.com/pay.php;);
exit;
}
It is my ambition to say in ten sentences; what others say in a whole
book. - Friedrich Nietzsche
From
Can I just change this status to 0 en then start my Xitami? Or do I have to
reinstall it after I have changed the status to 0? The first option didn't
seem to work properly.
Thanks in advance,
Freek
Curt Zirzow [EMAIL PROTECTED] schreef in bericht
news:[EMAIL PROTECTED]
* Thus wrote Freek van
On Jul 22, 2003, Freek van de Griendt claimed that:
|Hi,
|
|I just started using PHP and installed it on my Windows machine, together
|with Xitami (Web server). But now, when I try to write a simple PHP file I
|get the following error:
|
|Security Alert! The PHP CGI cannot be accessed directly.
* Thus wrote Freek van de Griendt ([EMAIL PROTECTED]):
Hi,
I just started using PHP and installed it on my Windows machine, together
with Xitami (Web server). But now, when I try to write a simple PHP file I
get the following error:
Security Alert! The PHP CGI cannot be accessed directly.
Hello,
This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at
18:37, lines prefixed by '' were originally written by you.
But how can I instead capture the output of the include to
variable
and mail
it, something like
$msg = include('myscript.php?foo=bar)
Use output buffering...
On Tuesday 22 July 2003 01:43 pm, David Nicholson wrote:
Hello,
This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at
18:37, lines prefixed by '' were originally written by you.
But how can I instead capture the output of the include to
variable
and mail
it, something
Hello,
This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at
18:57, lines prefixed by '' were originally written by you.
Thanks.
Will the same method works for a dynamically generated image using
php?
Suppose that myscript.php output JPEG instead of HTML.
RDB
Yes that will work
Hi,
I was wondering if there is a way to use the header function in php to
redirect the browser's output to a different frame.
Specifically, I have a form on frame A which has two submit buttons. I
would like one to submit the data in the form to a page which will load
in frame A, and the
Hi there,
Thanks for your response. I understand that I can specify a target in
the form tag. However, if I were to do that both buttons would have to
go to the same frame. (I think?)
If I could specify the target for each submit button, that would work
perfectly. Also, if I could have the
PROTECTED]
Sent: Thursday, July 03, 2003 12:03 PM
To: Dan Joseph
Cc: PHP Mailing List
Subject: RE: [PHP] Redirect to a different frame...
Hi there,
Thanks for your response. I understand that I can specify a target in
the form tag. However, if I were to do that both buttons would have to
go
]
Sent: Thursday, July 03, 2003 12:03 PM
To: Dan Joseph
Cc: PHP Mailing List
Subject: RE: [PHP] Redirect to a different frame...
Hi there,
Thanks for your response. I understand that I can specify a target in
the form tag. However, if I were to do that both buttons would have to
go
-
From: Grant Rutherford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 12:03 PM
To: Dan Joseph
Cc: PHP Mailing List
Subject: RE: [PHP] Redirect to a different frame...
Hi there,
Thanks for your response. I understand that I can specify a target in
the form tag
I believe you can also prevent the header error by using ob_start();
Jean-Louis Letortorec [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
To work around that headers already sent problem, I use:
if ($condition == true) { echo
scriptlocation.href=('http://...');/script; }
That
From: shaun [EMAIL PROTECTED]
How would one redirect a user to a different page if a certain condition was
met?
i.e.
if($condition == true){
goTo newPage.php
}
Redirects are done using the header() function. See the documentation at
http://www.php.net/manual/en/function.header.php.
At 15:55 3-4-2003, you wrote:
Hi,
How would one redirect a user to a different page if a certain condition was
met?
i.e.
if($condition == true){
goTo newPage.php
}
if ($condition == true)
{
Header(Location:
if($condition == true){
Header (Location: newpage.php);
exit;
}
-Original Message-
From: Lowell Allen [mailto:[EMAIL PROTECTED]
Sent: 03 April 2003 04:09 PM
To: PHP
Subject: Re: [PHP] Redirect
From: shaun [EMAIL PROTECTED]
How would one redirect a user to a different
To work around that headers already sent problem, I use:
if ($condition == true) { echo
scriptlocation.href=('http://...');/script; }
That works great all the time (unless the javascript has been disabled at
the browser side, but usually it's enabled).
Jean-Louis
At 15:55 3-4-2003, you
Read the manual section on headers. A header must be sent before any other
output, including whitespace, so putting it in the middle of an HTML page is
totally not going to work. http://www.php.net/manual/en/function.header.php
-Original Message-
From: David Banning [mailto:[EMAIL
-Original Message-
From: David Banning [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 2:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] redirect using header
I have been trying to do a redirect with header;
HTML
HEAD
TITLEOptex Staging and Services Inc. /TITLE
Use --- header(Location:http://newwebpage.com;);
-Original Message-
From: David Banning [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 1:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] redirect using header
I have been trying to do a redirect with header;
HTML
HEAD
TITLEOptex
--- David Banning [EMAIL PROTECTED] wrote:
I have been trying to do a redirect with header;
...
I keep getting the error;
Warning: Cannot modify header information - headers already sent by
(output started at /usr/hosting/optex/goterm/temp.html:8) in
/usr/hosting/optex/goterm/temp.html on
if the browser doesn't support Javascript use this :
if (YES) {
header(Location: thispage.php);
}
else {
header(Location: thatpage.php);
}
exit();
Just make sure you haven't send any output to the browser yet.
A suggestion: place this code before you ever print in your
code.
you can use javascript instead..
for example in a jump menu:
function seleccionPerfil(form) {
if (form.perfil.selectedIndex == 0)
{
window.location.href=yourpage1.php;
}
if (form.perfil.selectedIndex == 1)
{
window.location.href=yourpage2.php;
}
btw
in your case would be just
if/else
cheers
David.
On Thu, 13 Mar 2003, David E.S.V. wrote:
you can use javascript instead..
for example in a jump menu:
function seleccionPerfil(form) {
if (form.perfil.selectedIndex == 0)
{
if(something){
header(Location: {$_SERVER['HTTP_HOST']}/thispage.php);
}else{
header(Location: {$_SERVER['HTTP_HOST']}/thatpage.php);
}
Beauford.2002 wrote:
Hi,
I have searched around for hours on this and nothing seems to work. I want
simply to do this
if yes - goto thispage.php
if no -
Figured it out
echo Script Lang=javascript;
echo window.location.href = 'viewpostats.php';
echo /script;
- Original Message -
From: Leif K-Brooks [EMAIL PROTECTED]
To: Beauford.2002 [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 2:20 PM
Subject: Re: [PHP
with using header?
you mean like this-- Header(location: http://url;);
-Original Message-
From: Daniel Guerrier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 7:00 AM
To: php user group
Subject: [PHP] Redirect without header or javascipt
Is there any to redirect
no
tyler
- Original Message -
From: Daniel Guerrier [EMAIL PROTECTED]
To: php user group [EMAIL PROTECTED]
Sent: Tuesday, February 18, 2003 4:59 PM
Subject: [PHP] Redirect without header or javascipt
Is there any to redirect in php with using header()
and without the use of
Is there any to redirect in php with using header()
and without the use of javascript?
You can use an html meta tag with http-equiv=refresh.
Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
without header() and without javascript?
your only option would be a meta refresh, which i can't imagine is going to
help :)
Justin
on 19/02/03 9:59 AM, Daniel Guerrier ([EMAIL PROTECTED]) wrote:
Is there any to redirect in php with using header()
and without the use of javascript?
What is the syntax to have php redirect to another web site?
?php
header(Location: http://domain.com/;);
?
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 07 December 2002 04:26, 1LT John W. Holmes wrote:
I don't can redirect my page to new url
please help me
Carlos Alberto Pinto Hurtado
I posted the answer on my web page.
Can you redirect the answer to the list so we can all see?
Only joking ;-)
Heh... I was hoping
--- Carlos Alberto Pinto Hurtado [EMAIL PROTECTED]
wrote:
I don't can redirect my page to new url
Try this:
?
header(Location: http://www.google.com/;);
exit;
?
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't can redirect my page to new url
please help me
Carlos Alberto Pinto Hurtado
I posted the answer on my web page.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 07 December 2002 04:26, 1LT John W. Holmes wrote:
I don't can redirect my page to new url
please help me
Carlos Alberto Pinto Hurtado
I posted the answer on my web page.
Can you redirect the answer to the list so we can all see?
Only joking ;-)
--
Jason Wong - Gremlins
Look at javascript, you could use javascript to both open a new window
and set the location or you could use javascript to open the new window
to a PHP script that uses header() to forward the user.
Be aware that some users disable javascript completely or just disable
new windows to avoid popups
the pages/themes in one shot.
-Original Message-
From: Jeffrey B.Ferland [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 12:02 PM
To: Troy May
Subject: Re: [PHP] Redirect opening in a new window
On Saturday 30 November 2002 02:55 pm, you wrote:
Hello,
I'm playing
.
-Original Message-
From: Jeffrey B.Ferland [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 12:02 PM
To: Troy May
Subject: Re: [PHP] Redirect opening in a new window
On Saturday 30 November 2002 02:55 pm, you wrote:
Hello,
I'm playing with a portal system now and I need
the header, to be http compliant, should be
Location:
http://$HTTP_HOST$PHP_SELF?submit_cat=1submit_subcat=1cat_id=$cat_id
also try echoing it instead to see if there is no error. Another thing
is that exploder has a stupid
habit of thinking of anything starting with to be a html entity even
Hello!
I am getting an error by using header but I couldn't
find any part of my code that output anything before
using header.
Check your included files what included before using header();
These files start with ? and ends with ? without whitespace after that?
And you can use ob_start() at
Hi there,
Is there a way to do redirect to another page without
using the header function.
I am getting an error by using header but I couldn't
find any part of my code that output anything before
using header.
The error message tells you where output was started. It says something like
Hi Heilig,
I have been trying to use the ob_start and
ob_end_flush(), but I am not sure where to put them.
I try putting just before the header() but it still
produce the warning that something has been output to
the browser.
Thanks
CK Ong
--- Heilig (Cece) Szabolcs [EMAIL PROTECTED] wrote:
Start your code with ob_start()
It fires up an output buffer, does not output (and headers)
until ob_end_flush() called.
Put ob_end_flush() after all, before last ?
Your code might looks as follows:
?php
ob_start();
echo whatever;
header whatever;
ob_end_flush();
?
Hello,
pig pig [EMAIL PROTECTED] wrote:
function Order_action($sAction)
{
global $db;
global $sForm;
global $sOrderErr;
$sParams = ;
$sActionFileName = ShoppingCart.php?;
do some error checking
...[snip]...
I'm not sure but this could be because of some errors being
I've had
PHP not immediately
redirect and it cause me problems.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: pig pig [mailto:pigpig8080;yahoo.com.sg]
Sent: Wednesday, November 13, 2002 7:47 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP
pig pig wrote:
The problem I am expriencing now is intermittent.
Sometime the CGI error will appear and sometime it
works fine. Could it be the latency in the network
that is causing the problem? Just before the call to
header() there is a db query.
Someone else might have suggested this,
if( ___ ) {
header(Location: http://www.domain.com/itworked.php;);
} else {
header(Location: http://www.domain.com/error.php;);
}
Tyler Durdin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
I have a redirect i would like to do using php. It will go something like
this
if
Where exactly do you see PHP fitting into this. It looks like it's all
Javascript, and that's client-side nonsense...
---John Holmes...
- Original Message -
From: Daniel Negron/KBE [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 06, 2002 9:27 AM
Subject: [PHP] Redirect after
] |
| cc:
|
| Subject: Re: [PHP] Redirect after submit
-Original Message-
I have a page that contains multi If ElseIf statements. I
want to redirect right after a user submits gets a message
(echo Entry Added to Database. \n; ) would you like to
add another. then prompts for an alert. Would you like
another ??? and
I'm trying to do urlencode/urldecode:
my $layer[] contains: aban_railroads, airport_runways2001, blk_grps
this is what IE shows in my address window when I do the redirection:
Regarding my previous post:
I found out that $QUERY_STRING contains the query:
layer=a%3A3%3A%7Bi%3A0%3Bs%3A14%3A%22aban_railroads%22%3Bi%3A1%3Bs%3A19%3A%22airport_runways2001%22%3Bi%3A2%3Bs%3A8%3A%22blk_grps%22%3B%7D
Now I am doing:
$layer = unserialize($QUERY_STRING);
or even
On Thu, 25 Apr 2002, Pushkar Pradhan wrote:
I'm trying to do urlencode/urldecode:
my $layer[] contains: aban_railroads, airport_runways2001, blk_grps
this is what IE shows in my address window when I do the redirection:
With header you can do by using
header(Location: http://www.site.com/some/page.php?some=var;);
here's a good article about it:
http://www.phpbeginner.com/columns/shobhan/browser
other than that, you can always include(). But this is a little bit of a
mess.
Sincerely,
Maxim Maletsky
You can use header() for that...just don't display anything before you
redirect them.
Otherwise you need a client side solution like a META REFRESH
---John Holmes...
-Original Message-
From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 5:10 PM
To:
On Wed, 24 Apr 2002, Pushkar Pradhan wrote:
I am collecting some data on a page - test.php, ($layer which is an array
of names).
If checkbox is checked that user wants to change drawing order, I should
redirect the browser to page - updateHTML.php which has necessary script
to do that.
I
Thanks Miguel,
I was just reading urlencode.php, shouldn't the complementary function be
urldecode() like the document. says,
well unserialize must be working too, I believe you.
On Wed, 24 Apr 2002, Pushkar Pradhan wrote:
I am collecting some data on a page - test.php, ($layer which is an
On Wed, 24 Apr 2002, Pushkar Pradhan wrote:
I was just reading urlencode.php, shouldn't the complementary function be
urldecode() like the document. says,
well unserialize must be working too, I believe you.
I'm pretty sure the urldecoding happens automatically. If you get funny
results then
As I am using php 4.0.6 I don't have $_REQUEST available, and there is no
equivalent in earlier vers.
The foll. doesn't work:
updateHTML.php:
$layer = urldecode(unserialize($layer));
I get this:
Warning: Invalid argument supplied for foreach() in
/rstc/user1/erc/pushkar/gis/mcrgdl//updateHTML.php
may be my message are hazy.
the line =
is not include in my php code/page, i just use it in this message as to
divide
into different section.
Joe
Jason Wong [EMAIL PROTECTED]
???:[EMAIL PROTECTED]
On Saturday 20 April 2002 09:26, Joe wrote:
=
On Saturday 20 April 2002 18:49, Joe wrote:
may be my message are hazy.
the line =
is not include in my php code/page, i just use it in this message as to
divide
into different section.
Whatever, the answer is still the same:
You cannot have anything between the beginning
make sure that this script is not insterted into an html document but
it's a stand alone page eg. checkstudent.php. When the student submits
their number your form should bring them here (form
action=checkstudent.php method=post) and the page will do its job.
Make sure however that there is
On Saturday 20 April 2002 09:26, Joe wrote:
=
?php
Warning: Cannot add header information - headers already sent
by (output started at c:\html\html\check.php:4) in
c:\html\html\check.php on line 42
I had no idea about
You can do it by modifying the setting of your HTTP server.
But if you want to do it by PHP, write
header(Location; http://www.boo.com/v2;);
in your PHP script of http://www.boo.com/index.php.
Regards ,
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top
--
PHP
Hi Robert:
Perhaps you can help, since my posts don't seem to be making it to the
newsgroup.
I have been trying to use readfile() or header() to load another PHP...
Check the archives: http://groups.google.com/groups?hl=engroup=php.general
Good luck,
--Dan
--
PHP scripts
Try it with JavaScript (a very nice supplement to PHP sometimes )
?
print SCRIPT\n;
print document.location=\index.html\;\n;
print /SCRIPT\n;
?
Ben Turner wrote:
I am trying to put together a very simple redirect from php. all it is
supposed to do is pull down the $p var and ship the user off
On Thursday 31 January 2002 02:47, Ben Turner wrote:
I am trying to put together a very simple redirect from php. all it is
supposed to do is pull down the $p var and ship the user off to the
destination.
Ready for some code?
?
#Header(Location: index.html);
?
When I try this on a
Ben:
?
#Header(Location: index.html);
?
You need to put the complete URL, not just the file name.
By the way, folks, DON'T use JavaScript for redirection (or other
essential navigational stuff). Plenty of people out there keep Java'Scrap
turned off for security and privacy reasons.
try puting an exit(); after the header().
?
header(location: someplace.html);
exit();
?
Jim Lucas
- Original Message -
From: Ben Turner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 30, 2002 10:47 AM
Subject: [PHP] Redirect problem UGH!!
I am trying to put
header(Location: http://www.blah.com;);
Just be sure that output hasn't already started before you send the header.
--
Ben Sinclair
[EMAIL PROTECTED]
- Original Message -
From: Henrik Johansson [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Wednesday, January 16, 2002 10:01 AM
buffer the output of phpinfo() using ob_start() then get the buffer using
ob_get_contents() and store it in your new html file using fwrite()
hope this helps
R'twick
- Original Message -
From: charlesk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 28, 2001 12:15 PM
I have a small problem i come from a link in html page witch gives
an numbet to php (contact.php?nummer=2)
and in the script i use a redirec to a other php script but i can't
give that number to then next script i do it like this:
$url =
header(location: $url);
-Original Message-
From: Steve Osborne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 11:36 AM
To: PHP-General (E-mail)
Subject: [PHP] Redirect function
Is there a function or command in php that will redirect a user to another
page, similar to
I am almost there folks. The issue is being resolved by
using the ob_start(garbage); at the begining of the
login.php script, and ob_end_flush(); at the end of the
login.php script (in case the authentication fails and user
stays on the page), and also put ob_end_flush(); at the top
of the
how about include'ing the target page then exit'ing straight after?
include $page;
exit;
-Original Message-
From: Cam [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 4:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Redirect Function?!!
Anyone know of a way to redirect
?php header(Location: http://your.domain/path/to/file.html;); ?
- Original Message -
From: Martin Towell [EMAIL PROTECTED]
To: 'Cam' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, December 07, 2001 3:23 PM
Subject: RE: [PHP] Redirect Function?!!
how about include'ing the target
You can use,
header (Location: http://www.php.net;);
and you can pass variable,
header (Location: http://www.php.net?name1=$value$name2=$value2;);
Hope this can helps.
Alex Shi
- Original Message -
From: Cam [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 07, 2001
* Cam [EMAIL PROTECTED] [Dec 07. 2001 00:23]:
Anyone know of a way to redirect to another page with PHP? I'm aware of the
META tag redirection via the HTTP header, but I really need a more elegant
solution that redirects immediately without relying on any HTML tags.
Appreciate the help,
Hi. This is HTML:
meta http-equiv='Refresh' Content='2; URL=foo.html'
Content=x in seconds
bye
On Tue, 27 Nov 2001, MindHunter wrote:
Hi,
As far as I understand header(Location: next-page.php); only works on
Apache. What can you do to redirect if you do not have Apache?
Tx
MH
2. User fills in a form, clicks submit which calls the same script,
passing itself the values. Depending on the value passed by the submit
button, the script processes the information (INSERT or UPDATE) and sets
$done = 1 if successful.
The second scenario is easier to handle.
Call the
Dechery [mailto:[EMAIL PROTECTED]]
Sent: den 25 november 2001 18:41
To: Daniel Alsén; PHP; Miles Thompson
Subject: RE: [PHP] Redirect upon execution of script...
sorry if I'm not understanding correctly your problem... but it
seems quite
simple to me...
I've created like 10.000 php
Daniel,
See below
Miles
At 06:24 PM 11/25/2001 +0100, Daniel Alsén wrote:
2. User fills in a form, clicks submit which calls the same script,
passing itself the values. Depending on the value passed by the submit
button, the script processes the information (INSERT or UPDATE) and sets
Thanks for all the help guys! I am sure i will solve this when i have a go
at it again :)
- Daniel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
sure look into meta refresh (search google and you'll find info)
jack
-Original Message-
From: Nikola Veber [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 16, 2001 3:57 AM
To: php forum
Subject: [PHP] redirect to php problem
Hi !
I'm having a problem with following : I'd like to
On Sun, 16 Sep 2001 09:57:14 +0200, you wrote:
I'm having a problem with following : I'd like to activate a php file as a home page,
but without pointing directly to it(http://www.smth.com/file.php). I'd like to know
if it is
possible to call it from a html file(index.htm for exp. )
Guys this stuff is all in the manual. :)
header (Location: url);
On Fri, 24 Aug 2001, Wilbert Enserink wrote:
Hi all,
I have the simplest question maybe, but I can't seem to find the answer.
It's friday.
Anybody knows how I can redirect to another url?
greetings
header(location: redirect.php);
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: Wilbert Enserink [mailto:[EMAIL PROTECTED]]
Sent: 24 August 2001 15:45
To:
On 20 Jul 01, at 0:03, Doug wrote:
Ok maybe I'm just retarded and can't find it but I'm looking for a way to
do a redirect in a php page to another page, similar to asp's
response.redirect function. Is there one in php???
No doubt there's plenty of options... here's what I'm using:
I have
I add this way to the list:
header(Refresh: 0;url=$myurl); (it´s really the same that using META
tag!)
Ok, I want to make you note that:
1) echo META HTTP-EQUIV='Refresh' CONTENT='0; URL=$myurl';
2) header(Refresh: 0;url=$myurl);
Work fine when sending cookies... (setcookie function)
...
Doug,
Have you tried using a raw header? Something like this:
header (Location: http://www.site.com/newpage.php;);
or
header (Location: newpage.php);
more details can be found at:
http://www.php.net/manual/en/function.header.php
Good Luck,
--
Paul Strange
Lead Programmer
Level 67 LC
---
look in manual for HEADER and LOCATION
- Original Message -
From: Vicor Spång Arthursson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 11:43 AM
Subject: [PHP] Redirect
Hi!
Still new on PHP, converting from vb$cript, I wonder how I do a
redirect...
In
Hi Victor!
On Fri, 06 Jul 2001, 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???
$response-redirect(page);
where:
class Response {
function
101 - 200 of 216 matches
Mail list logo