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 05-01-2006, 12:24 PM   #1
Sam Granger
Confirmed User
 
Sam Granger's Avatar
 
Join Date: Dec 2004
Location: NL (Eindhoven), CZ(Prague), FR(Concarneau)
Posts: 3,958
Apache experts here? php.ini/htaccess

Trying to turn on globals_register through htaccess but i'm keep on getting a 500 internal server error.

Any ideas?

Damn host doesn't want to turn globals_register on for some security reasons.
__________________
[img]http://****************/sig/fhv3_j2_624x80_2.gif[/img]
$35-40 Per Signup, 60-70% Rev Share, over 80 Sites, Exclusive Sites, tons of free content
14,000+ Free hosted Galleries, RSS feeds, Domain Hosting, Embedded Flash Movies
Join Fetish Hits now!
ICQ: 358652230
Sam Granger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2006, 01:41 PM   #2
QTbucks_Mark
Confirmed User
 
Join Date: Mar 2006
Location: Europe
Posts: 254
Quote:
Originally Posted by Sam Granger
Trying to turn on globals_register through htaccess but i'm keep on getting a 500 internal server error.
What's in your .htaccess? If there's a typo Apache is likely to give you an 500 internal server error.

That should do it: php_flag register_globals 1

If you're using Apache 2.x you might have to put the php_flag inside a <virtual> or <directory> section.
__________________


QTbucks : featuring cherrywinters.com - sweetcarry.com - cutecaroline.com
[email protected] :: ICQ 26505638
QTbucks_Mark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2006, 02:01 PM   #3
teksonline
So Fucking Banned
 
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
are you running php_suexec? if this is the case, you can not use php_flag

copy a php.ini file into that dir with the php scripts



Last edited by teksonline; 05-01-2006 at 02:03 PM..
teksonline is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2006, 04:56 PM   #4
BigBen
Confirmed User
 
Join Date: Nov 2004
Location: scv
Posts: 2,299
Quote:
Originally Posted by QTbucks_Mark
What's in your .htaccess? If there's a typo Apache is likely to give you an 500 internal server error.

That should do it: php_flag register_globals 1

If you're using Apache 2.x you might have to put the php_flag inside a <virtual> or <directory> section.
Nice. I actually just wanted to do this the other day, but didn't have a chance to look it up.

Your sites look pretty good in your sig, I think I'll try 'em out.
BigBen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2006, 05:07 PM   #5
naitirps
Confirmed User
 
Join Date: May 2004
Location: ...
Posts: 761
globals_register is bad if enabled... i'd listen to your host.

change those vars to $_GET[var] or $_POST[var]... or if lazy, do all $_REQUEST[var] instead.
__________________
Programmer
ICQ 44035273 | AIM spritwork | Email spritian at spritian dot com
naitirps 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.