Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-10-2004, 04:43 PM   #1
queer
Confirmed User
 
Join Date: Apr 2003
Location: In EXXXT's pocket! I love my idol Whee
Posts: 671
php 4.3.4 help with passing parameters

Help!
My server just got upgrated from php 4.3.3 to 4.3.4.
I always pass parameters like this :

somefile.php?a=123&b=456

Now this dont work anymore, some kind of security setting in php.ini?

If so, please let me know what to change in the php.ini file, to make me able to pass parameters this way in php 4.3.4

Most appreciated if someone knows this matter...
__________________
FREE GALLERY RETURN TRAFFIC
New better system for all TGP owners! Use your own sponsor codes!
Traffic in return for listing quality galleries, RATIO 1:12 !
queer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2004, 04:45 PM   #2
PurrrsianPussyKat
Confirmed User
 
PurrrsianPussyKat's Avatar
 
Join Date: Jan 2004
Location: Lost in the mountains
Posts: 2,088
You need to set register_globals=on
__________________
Need a reliable, reasonably priced php programmer? Hit me up! 2934409
PurrrsianPussyKat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2004, 04:50 PM   #3
queer
Confirmed User
 
Join Date: Apr 2003
Location: In EXXXT's pocket! I love my idol Whee
Posts: 671
Ok cool. I just tried, didnt work yet, do I need to restart the server/php?
__________________
FREE GALLERY RETURN TRAFFIC
New better system for all TGP owners! Use your own sponsor codes!
Traffic in return for listing quality galleries, RATIO 1:12 !
queer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2004, 04:51 PM   #4
Dopy
Confirmed User
 
Join Date: Feb 2001
Location: Puerto Del Carmen, Lanzarote, Canary Islands
Posts: 1,572
It would be a much better idea to read this. Of course thats if this is the problem.


http://php.benscom.com/manual/en/sec...terglobals.php
Dopy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2004, 04:52 PM   #5
Dopy
Confirmed User
 
Join Date: Feb 2001
Location: Puerto Del Carmen, Lanzarote, Canary Islands
Posts: 1,572
Ok cool. I just tried, didnt work yet, do I need to restart the server/php?



You need to re-start PHP
Dopy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2004, 04:53 PM   #6
spritian
Registered User
 
Join Date: Jan 2004
Posts: 4
actually, turning registered globals on is a bad idea... you can get post variables by doing the following:

example: test.php?action=test

the value for action can be retrieved as $_GET[action]
__________________
<a href=http://www.videopass.com/>VideoPass - Pay-Per-View</a>
spritian is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2004, 04:53 PM   #7
Alky
Confirmed User
 
Alky's Avatar
 
Join Date: Apr 2002
Location: Houston
Posts: 5,651
those variables passed are in the _GET array

so $a = $_GET["a"];
Alky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2004, 04:53 PM   #8
Andy
Confirmed User
 
Join Date: Jan 2001
Location: A nice little folder on some C drive inside a huge server ;)
Posts: 460
hmm .. I think it was on older php but maybe you need to extract HTTP_GET_VARS ?
__________________
Submit Your Movie Galleries Trade Movie Traffic: 43559081
Andy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2004, 04:56 PM   #9
queer
Confirmed User
 
Join Date: Apr 2003
Location: In EXXXT's pocket! I love my idol Whee
Posts: 671
Quote:
Originally posted by spritian
actually, turning registered globals on is a bad idea... you can get post variables by doing the following:

example: test.php?action=test

the value for action can be retrieved as $_GET[action]
this works fine!

Thank you all
__________________
FREE GALLERY RETURN TRAFFIC
New better system for all TGP owners! Use your own sponsor codes!
Traffic in return for listing quality galleries, RATIO 1:12 !
queer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.