GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Do some TGP's disallow.... (https://gfy.com/showthread.php?t=124768)

goBigtime 04-12-2003 09:01 AM

Do some TGP's disallow....
 
index.php or index.cgi files?

StupidNewbie 04-12-2003 09:43 AM

Some will not accept the extension .php or .cgi if that's what you mean. It seems kind of pointless as far as reducing cheaters though.

cluck 04-12-2003 09:48 AM

Yeah but you can change your .htaccess to read html files as php code.

Libertine 04-12-2003 09:52 AM

AddType application/x-httpd-php php php4 php3 html htm

TheFLY 04-12-2003 09:52 AM

I thought you said, "do some TGP's swallow..." :(

TheFLY 04-12-2003 09:54 AM

i wish they did tho -- i have a php script that builds the gallery for me... there might be a way to have your host configure somthing fancy so certain .html files are executed as .php but i don't think it's easy to do.....

cluck 04-12-2003 09:55 AM

Quote:

Originally posted by punkworld
AddType application/x-httpd-php php php4 php3 html htm
^^

goBigtime 04-12-2003 10:19 AM

Quote:

Originally posted by punkworld
AddType application/x-httpd-php php php4 php3 html htm
Wouldnt that waste a lot of resources though? Parsing over every single html and htm page on your site for php?

goBigtime 04-12-2003 10:21 AM

I'll investigate doing it on a per-directory basis with .htaccess I guess.


[edit] duh.. mod_rewrite. (works for my project anyway)

Arty 04-12-2003 05:26 PM

Hi,

Why don't you just change your script to write out an 'index.html' for you after creating the gallery, then crontab it for daily updates?

Arty


All times are GMT -7. The time now is 10:28 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123