TE
tesandco
Founding member
If you've been hit by the old curse of them turning off register globals (it has been default PHP behavior for a few years now), then it can sometimes be turned back on usually by adding a line into .htaccess, but it is avoiding fixing the original problem.
php_flag register_globals on
(or something like that...)
Edit: Though looks like its working again now anyway!
php_flag register_globals on
(or something like that...)
Edit: Though looks like its working again now anyway!
TE
tesandco
Founding member
Yeah, I think the htaccess options depend on how PHP is run on the server as to whether it works. If there's only a small number of PHP scripts though, or they all share a same included file, then there are a few lines of code that can be added near the beginning to effectively emulate reg_glob's behaviour, without it needing to be turned on all over the site by the host.
$superglobals = array($_SERVER, $_ENV, $_FILES, $_COOKIE, $_POST, $_GET);
if (isset($_SESSION)) {
array_unshift($superglobals, $_SESSION);
}
foreach ($superglobals as $superglobal) {
extract($superglobal, EXTR_SKIP);
}
It's what I did with the guestbook, as it was taking me far too long to get it working without them...
$superglobals = array($_SERVER, $_ENV, $_FILES, $_COOKIE, $_POST, $_GET);
if (isset($_SESSION)) {
array_unshift($superglobals, $_SESSION);
}
foreach ($superglobals as $superglobal) {
extract($superglobal, EXTR_SKIP);
}
It's what I did with the guestbook, as it was taking me far too long to get it working without them...
TV
TVArchive
Founding member
Coming soon to t|v|a, the arrival of RTÉ in the form of idents from 2000. Also from 1993-2003, UTV gets a minor update and the main update will be the release of previously un-published ITV Generic 1999 Hearts idents.
These idents are the full length v2 ident package that was dropped before the v3 we all know and have seen. The idents are complete with ITV endboard as opposed to regional versions. You may have seen regional variants on The Continuity Booth or YouTube. These will also be full length versions with one containing a VT clock.
All coming soon to t|v|a. Visit today!
These idents are the full length v2 ident package that was dropped before the v3 we all know and have seen. The idents are complete with ITV endboard as opposed to regional versions. You may have seen regional variants on The Continuity Booth or YouTube. These will also be full length versions with one containing a VT clock.
All coming soon to t|v|a. Visit today!
AL
That is great news, I can't wait.
Coming soon to t|v|a, the arrival of RTÉ in the form of idents from 2000. Also from 1993-2003, UTV gets a minor update and the main update will be the release of previously un-published ITV Generic 1999 Hearts idents.
These idents are the full length v2 ident package that was dropped before the v3 we all know and have seen. The idents are complete with ITV endboard as opposed to regional versions. You may have seen regional variants on The Continuity Booth or YouTube. These will also be full length versions with one containing a VT clock.
All coming soon to t|v|a. Visit today!
These idents are the full length v2 ident package that was dropped before the v3 we all know and have seen. The idents are complete with ITV endboard as opposed to regional versions. You may have seen regional variants on The Continuity Booth or YouTube. These will also be full length versions with one containing a VT clock.
All coming soon to t|v|a. Visit today!
That is great news, I can't wait.