php forum
php mysql forum
php mysql smarty
 
Topic Options
#105022 - 02/08/05 06:17 PM $_GET nightmare!
passwordud Offline
Junior Member

Registered: 02/08/05
Posts: 2
Loc: London
hi everyone

i've just spent the bet part of the day confused as with this problem.

trying to use GET to run templates on my site. to test it wuld work i ran

Code:
     <?php 
	$page=$_GET['page'];	
	echo "value is: ". $page; 
	if ($page =="test") {
	include ("test.txt");
	}
    ?> 
 
and http://localhost/esl/test.php?page=test

but it does not work on my machine - just on other peoples! I am using xatari and windows xp.

tried to change global variables to on but that did not wokr or i did it wrong.

please has any body got a clue abot this? i'm stumped and going nuts!

JP Stones

Code:
  

Top
#105023 - 02/08/05 06:56 PM Re: $_GET nightmare!
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Have you tried the $HTTP_GET_VARS array? $HTTP_GET_VARS['page']

What is your version on php?

Top
#105024 - 02/08/05 08:14 PM Re: $_GET nightmare!
passwordud Offline
Junior Member

Registered: 02/08/05
Posts: 2
Loc: London
its ok i figuredit was a compability prob with php 5 and xitari

phew!

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks