![]() |
![]() |
![]() |
||||
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 |
Just a Simple Carpenter
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
|
PHP gurus, quick help needed.
Migrated our FHG's to a new server this morning, but now PHP linking codes are breaking. On this gallery for example:
http://www.grannygummers.net/29/index.htm?id=MjAwOjM6Mg You'll notice the links come up like this: http://join.grannygummers.com/track/ But should come up like this: http://join.grannygummers.com/track/MjAwOjM6Mg The code in the gallery is this: http://join.grannygummers.com/track/<? echo $id; ?> Here is the phpinfo if you need it: http://grannygummers.net/phpinfo.php Any ideas? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Sep 2004
Location: In front of computer
Posts: 564
|
Your $id variable is not getting set. That is why it is blank.
__________________
"The object of war is not to die for your country but to make the other bastard die for his." -Patton "Only the dead have seen the end of war." -Plato |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Try
Code:
<?=$_GET['id']?>
__________________
Your post count means nothing. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
|
looks to me like your mod rewrite .htaccess is not working, dont see anythign php related here at all or am I still sleeping? just got up
check .htaccess |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
What psili said, that will do the trick.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Join Date: Jan 2005
Posts: 2,961
|
register globals
__________________
![]() ZangoCash - Turn Your Traffic Into Ca$h. $.40 Per Install - No Tier |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
|
Open php.ini and find: register_globals, set it to register_globals = on
register_globals is set to OFF, so it does not read anything from a querry string unless you use $_GET or $_POST commands.
__________________
I buy plugs Skype: Due_Global /Due |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Industry Role:
Join Date: Jun 2003
Location: Costa Rica
Posts: 1,953
|
Quote:
__________________
Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: May 2002
Location: MI
Posts: 1,827
|
Considering the file extension you have is .htm you may need to tell apache (assuming you are using apache) in httpd.conf to parse .htm / .html files or put it in your .htaccess, by default a query string will not be parsed into an htm or html file without it being parsed by php.
__________________
Latest MMA news. http://www.mmawrapup.com |
![]() |
![]() ![]() ![]() ![]() ![]() |