RE: [PHP] Using header in if statement

2003-06-27 Thread Adam Voigt
gt; From: Adam Voigt [mailto:[EMAIL PROTECTED] > Sent: 27 June 2003 14:08 > To: Gary Ogilvie > Cc: 'PHP General' > Subject: Re: [PHP] Using header in if statement > > Just have it echo, example: > > echo " content=\"0;url=http://192.92.0.248/company_s

RE: [PHP] Using header in if statement

2003-06-27 Thread Gary Ogilvie
I didn't realise you could use echo to run a URL. Thanks for your help :) -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 14:08 To: Gary Ogilvie Cc: 'PHP General' Subject: Re: [PHP] Using header in if statement Just have it echo, examp

Re: [PHP] Using header in if statement

2003-06-27 Thread Adam Voigt
Just have it echo, example: echo "http://192.92.0.248/company_search/admin/admin2.php\";>"; On Fri, 2003-06-27 at 09:03, Gary Ogilvie wrote: > If I attempt to direct the user to a url with in a if statement using a > header I get the following error message: > > Warning: Cannot modify header i

[PHP] Using header in if statement

2003-06-27 Thread Gary Ogilvie
If I attempt to direct the user to a url with in a if statement using a header I get the following error message: Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\company_search\admin\login.php:3) in c:\inetpub\wwwroot\company_search\admin\