Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

PHP 4 and parsing variables question?

Thread Tools
 
Search this Thread
 
Old Feb 17, 2003 | 04:56 PM
  #1  
gregh's Avatar
gregh
Thread Starter
Scooby Regular
 
Joined: Dec 1999
Posts: 3,360
Likes: 0
Post

Hi there,

I'm moving my website from a server running php3 to one running php4

This used to work in php3:

http://www.mysite.com/php/results.php?type=games


in that it would pass games as the variabe $type into the results.php script.

Now it doesn't appear to parse it at all.

Anyone know how to make this work in php4?

thanks!

greg
Reply
Old Feb 17, 2003 | 06:30 PM
  #2  
Andrewza's Avatar
Andrewza
Scooby Regular
 
Joined: Jan 2002
Posts: 667
Likes: 0
Post

get variables stop being global somewhere in PHP4, you should use $_GET["variable"]
Reply
Old Feb 17, 2003 | 11:03 PM
  #3  
snowcrash's Avatar
snowcrash
Scooby Regular
 
Joined: Mar 2002
Posts: 2,082
Likes: 0
From: www.scoobyzone.co.uk
Post

http://www.php.net/manual/en/securit...terglobals.php
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
Nov 4, 2021 07:12 PM
Brzoza
Engine Management and ECU Remapping
1
Oct 2, 2015 05:26 PM




All times are GMT +1. The time now is 08:53 AM.