Previous Thread
Next Thread
Print Thread
Rate Thread
#280470 10/06/2004 1:52 PM
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
I attach an archive of a little script used on my board (it not work without db modification). This only works if globlas enabled. On my old server I can use .htaccess to enable this on Apache for this but now I run on Zeus and this php flag isnt supported. So I have to rework this script.

The Script based on the genric threads page. The modify script dosnt work anymore (nothing is changed, no errormessages). So please can someone take a quick look and tell me what must be changed to work with globals off ?

It is not a big script and I guess its only a simple change somewhere.
Attachments
120993-memberlist.zip (0 Bytes, 3 downloads)

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You'll need to use the get_input function for each variable you need to access in the script.


$variablename = get_input("variablename","post");

or

$variablename = get_input("variablename","get");

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
thanks for the quick response. I will take a look on this.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
or use $_GET['variable name'] or $_POST['variable name'] if not threads related... there are others also like $_HTTP and $_FILES.. etc


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)