This is a discussion on Register Globals within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Unfortunatelly your solution generates a warning: Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in ... Modify function to: function tep_session_is_registered($variable) { // >>> BEGIN REGISTER_GLOBALS // return session_is_registered($variable); return (isset($_SESSION[$variable])); //
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Register Globals | michael_s | New osCommerce Contributions | 4 | 09-08-2007 04:07 PM |
| Register Globals | michael_s | New osCommerce Contributions | 0 | 08-23-2007 12:50 AM |
| Register Globals | michael_s | New osCommerce Contributions | 0 | 04-09-2007 06:52 AM |
| Register Globals | michael_s | New osCommerce Contributions | 0 | 04-05-2007 07:00 AM |
| Register Globals | michael_s | New osCommerce Contributions | 0 | 02-24-2007 06:53 AM |