RE: [SMARTY] Problem running script after installing PHP 4.2.1

From: Date: Thu, 30 May 2002 20:17:37 +0000
Subject: RE: [SMARTY] Problem running script after installing PHP 4.2.1
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4472@lists.php.net to get a copy of this message
php now comes with register_globals = off SO, in your script wherever your paging operation is taking place, you need to change $page to $_GET['page'] because the get variables no longer are registered in the GLOBALS array. This is for security. This is a good thing:) Steve -----Original Message----- From: Igor P. [mailto:igor@gibsonusa.com] Sent: Thursday, May 30, 2002 12:49 PM To: php-general@lists.php.net; php-install@lists.php.net; smarty-general@lists.php.net Subject: [SMARTY] Problem running script after installing PHP 4.2.1 Hello, I am using MySQL to display some data to the users. I have upgraded to PHP Version 4.2.1 on my FreeBSD Apache server, and now data from the database is not displayed correctly. Well, the page with the data shows up, and it actually shows correct number of records. However, when I click on the "next" or "2" buttons the next page with records doesn't show up. See example here: http://www.gibsonusa.com/test2/page/index.php Before I upgraded to PHP 4.2.1 everything was working perfectly. Any ideas what could cause this, and how can it be fixed? Thanks. -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#4472) next »