Re: Am i crazy?

From: Date: Tue, 06 Nov 2001 15:19:22 +0000
Subject: Re: Am i crazy?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73611@lists.php.net to get a copy of this message
Hi Martin, I have the same problem some days ago, the quick answer: enable JavaScript in your browser. Why? I don't have a clue, but it work. Hope this can help you. Cheers On Sun, Nov 04, 2001 at 06:48:57PM +0100, Martin wrote: > Did I forget everything in a few months? > if ($name='admin') { > header("Location: $MYPATH/admin.php"); > } > > Doesn't. That is it doesn't redirect to whatever $MYPATH/admin.php > translates to. Doing an echo $MYPATH directly after the line shows that the > path is interpreted correctly - and the file exists (I checked). And the > $name is correct - echo $name gives admin. And neither does the php.net > example work ... > > if ($name='admin') { > header("Location: http://www.php.net/"); > } > > doesn't redirect to php.net. > > *sigh* > > Martin > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Mauricio Téllez Jiménez Seguimiento Técnico EDUMEXICO edumexico@speedy.coacade.uv.mx edumexico@speedy.uv.mx edumexico@terra.com.mx Zamora No. 25, Col. Centro C.P. 91000, Xalapa, Ver. Tel. 52(28)17-86-87, 17-73-80 Fax. 52(28)18-64-13

« previous php.general (#73611) next »