![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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 ! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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 ! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
those variables passed are in the _GET array
so $a = $_GET["a"]; |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Apr 2003
Location: In EXXXT's pocket! I love my idol Whee
Posts: 671
|
Quote:
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 ! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |