View Single Post
  #6  
Old 23 Sep 2010, 11:28
janaf janaf is offline
 
Join Date: Dec 2009
Originally Posted by Lynne View Post
Have you tried just $vbulletin->input->clean_gpc or $db->input->clean_gpc or any other variations there?
I have tried

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but get
Fatal error: Call to a member function clean_gpc() on a non-object in /var/www/41hz/forums/tsdb/read_post.php on line 2

and

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

which gives:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /var/www/41hz/forums/tsdb/read_post.php on line 2

and

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Fatal error: Call to undefined function clean_gpc() in /var/www/41hz/forums/tsdb/read_post.php on line 2

--------------- Added 23 Sep 2010 at 11:29 ---------------

Ragtek, you helped me with this one before:
http://www.vbulletin.org/forum/showthread.php?t=249002
It worked.
The link to the site / page is in a previous post.

This code reads the various posted variables:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This creates the drop-downs and form:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is the main code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

All looks like the first code part is the problem; the POST variables are not read properly, but empty.

Right now, the code types out the query string on the web page, at the bottom, to verify this.

Last edited by janaf; 23 Sep 2010 at 11:29. Reason: Auto-Merged DoublePost
Reply With Quote