TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 500
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 99
  • Total: 99

php use of HTTP_GET_VARS

Started by Ray, December 11, 2005, 08:21:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ray

Just a heads up but I believe that HTTP_?_VARS (?=not sure) is no longer used with php 5 and up. It was changed. I  Think that is where a lot of the errors come from.. I could be wrong because I read this on the net -- but then again I belive everything I read on the net :uglystupid2:

In tportal I // a line and my errors went away. not sure what the line did but it worked

// get the action
// $context['TPortal']['querystring']=$GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'];
if(isset($_REQUEST['action']))


also in the mode download.mod a fix was giving for this line
$durl = $rurl.$HTTP_GET_VARS['d'].'/'.$HTTP_GET_VARS['name'];

to

$durl = $rurl.$_GET['d'].'/'.$_GET['name'];
thanks to Nesianstyles

Not sure if this helps but thought I would post it :-\

bloc

thanks, Ray. i will look into it..it seems I need to use something else there.

This website is proudly hosted on Crocweb Cloud Website Hosting.