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 01-23-2006, 09:10 AM   #1
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
Looking for a script that....

I'm looking for a simple script....
http://www.mydomain.com/index.html?code123

I want to be able to insert a code on top of every page on my domain using a question mark or something like that....

a little custom script i might guess, well if any programers thing they can do that icq me pleaase
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 10:16 AM   #2
dij
Confirmed User
 
Join Date: May 2003
Posts: 2,163
Not Found

The requested URL /index.html was not found on this server.
Apache Server at www.mydomain.com Port 80
dij is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 10:19 AM   #3
RobbieRye
Registered User
 
Join Date: Oct 2005
Location: The Middle of Nowhere
Posts: 616
Quote:
Originally Posted by Oracle Porn
I'm looking for a simple script....
http://www.mydomain.com/index.html?code123

I want to be able to insert a code on top of every page on my domain using a question mark or something like that....

a little custom script i might guess, well if any programers thing they can do that icq me pleaase
The Apache webserver can do this efficiently using mod-rewrite.

Past that though, I guess you just need a search-and-replace script that will locate maybe the <body> tag and insert your line below there?
RobbieRye is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 10:21 AM   #4
ssp
Confirmed User
 
Join Date: Jan 2005
Location: United Kingdom
Posts: 7,990
Allow .html documents to be read as .php documents in Apache and you're set. There is no need for any kind of script.

Although I wouldn't suggest you do anything because you seem quite clueless. And it's generally not a good idea to amend Apache when you're clueless.
ssp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:14 AM   #5
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Your not going to be able to do it without first modifying each of those pages..
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:15 AM   #6
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
Quote:
Originally Posted by ssp
Allow .html documents to be read as .php documents in Apache and you're set. There is no need for any kind of script.

Although I wouldn't suggest you do anything because you seem quite clueless. And it's generally not a good idea to amend Apache when you're clueless.

yes im clueless about hosting tech shit you got me...
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:16 AM   #7
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
Quote:
Originally Posted by SmokeyTheBear
Your not going to be able to do it without first modifying each of those pages..
i can do it also if i upload
<script>
then #include virtual= with shtml.....

but thats a tons of work uploading it to every folder
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:18 AM   #8
sfera
Confirmed User
 
Join Date: Aug 2005
Location: ICQ: 248877409
Posts: 8,597
im getting 404 bro
sfera is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:18 AM   #9
Tom_PM
Porn Meister
 
Industry Role:
Join Date: Feb 2005
Posts: 16,443
I dont think I understand the request.

"on top of every page"? You want to open, write to, and save every ".html" file on your server?

Or want to be able to link from pages on your domain, to other pages on your domain and use a query string to track clicks or something?
__________________
43-922-863 Shut up and play your guitar.
Tom_PM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:19 AM   #10
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
What im trying to do here is this...

I have a shitloads of galleries on my server, and i want to add different recips to those galleries....its quite a headache to do that when you have 4000 different galleries per domain times 6-7 domains....

anyway i need a solution
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:28 AM   #11
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Oracle Porn
What im trying to do here is this...

I have a shitloads of galleries on my server, and i want to add different recips to those galleries....its quite a headache to do that when you have 4000 different galleries per domain times 6-7 domains....

anyway i need a solution

Your going to have to modify each document..I dont think theres any way around that.. you could use a site wide find and replace.

Another thing you could do is like this

http://YOURSERVER.COM/gallfinder.php.../gallery1.html

then just call the galleries from within the gallfinder.php page..

so like..

<template body>
- insert gallery here
</body >
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:47 AM   #12
Tom_PM
Porn Meister
 
Industry Role:
Join Date: Feb 2005
Posts: 16,443
Yeah, you need a list of files to be updated, a common marker in each file where the insertion will go, write permissions on all of the files..
Once you have that, it's easy, lol.
__________________
43-922-863 Shut up and play your guitar.
Tom_PM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:47 AM   #13
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
Quote:
Originally Posted by SmokeyTheBear
Your going to have to modify each document..I dont think theres any way around that.. you could use a site wide find and replace.

Another thing you could do is like this

http://YOURSERVER.COM/gallfinder.php.../gallery1.html

then just call the galleries from within the gallfinder.php page..

so like..

<template body>
- insert gallery here
</body >
tgps defenetly won't approve that....
thats why I was thinking myserver.com/gallery.html?recip123
anyone else with a possible solution?
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 11:48 AM   #14
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
Quote:
Originally Posted by PR_Tom
Yeah, you need a list of files to be updated, a common marker in each file where the insertion will go, write permissions on all of the files..
Once you have that, it's easy, lol.
__________________


Oracle Porn 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.