Re: [PHP] Parameters via Link

2002-02-09 Thread Lars Torben Wilson
On Sat, 2002-02-09 at 15:54, Manuel Ritsch wrote: > I have PHP Version 4.0.5 and register_globals turned on but it doesnt' work > =( Is it inside a function? If not, can you send me a copy of the script? Torben > "Lars Torben Wilson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > 1013298469.979

Re: [PHP] Parameters via Link

2002-02-09 Thread Manuel Ritsch
I have PHP Version 4.0.5 and register_globals turned on but it doesnt' work =( "Lars Torben Wilson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 1013298469.9790.13.camel@ali">news:1013298469.9790.13.camel@ali... > On Sat, 2002-02-09 at 15:39, Manuel Ritsch wrote: > > Still doesnt' work, any ither

Re: [PHP] Parameters via Link

2002-02-09 Thread Lars Torben Wilson
On Sat, 2002-02-09 at 15:39, Manuel Ritsch wrote: > Still doesnt' work, any ither suggestions? Sounds like you don't have register_globals turned on. (Don't turn it on! globals are eevviill! ;) Try: if ($_REQUEST['link'] == 'home') { . . . } Or, if using an older (pre-4.1.0) version of PHP

Re: [PHP] Parameters via Link

2002-02-09 Thread Manuel Ritsch
Still doesnt' work, any ither suggestions? "Jason Wong" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]... > On Saturday 09 February 2002 02:23, Manuel Ritsch wrote: > > Hey there > > > > I want to make a webpage out of one main pagewith php, if you press on a > > link i want th

Re: [PHP] Parameters via Link

2002-02-08 Thread Jason Wong
On Saturday 09 February 2002 02:23, Manuel Ritsch wrote: > Hey there > > I want to make a webpage out of one main pagewith php, if you press on a > link i want that it changes the content of the page, but it doesn't seem to > work, i tried it like this... > > link: > > > > php code: > > if($link

RE: [PHP] Parameters via Link

2002-02-08 Thread Rick Emery
try: if( ! strcmp($link, "home") ) { include("soundmp3.php"); } -Original Message- From: Manuel Ritsch [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 12:24 PM To: [EMAIL PROTECTED] Subject: [PHP] Parameters via Link Hey there I want to make a webpage out of one main pagewit