![]() |
![]() |
![]() |
||||
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 |
Affiliate
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Registered User
Join Date: Oct 2005
Location: The Middle of Nowhere
Posts: 616
|
Quote:
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? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
►SouthOfHeaven
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Affiliate
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
|
Quote:
![]() ![]() ![]() ![]() yes im clueless about hosting tech shit you got me... |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Affiliate
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
|
Quote:
<script> then #include virtual= with shtml..... but thats a tons of work uploading it to every folder |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Aug 2005
Location: ICQ: 248877409
Posts: 8,597
|
im getting 404 bro
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Affiliate
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
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. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Affiliate
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
|
Quote:
thats why I was thinking myserver.com/gallery.html?recip123 anyone else with a possible solution? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Affiliate
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
|
Quote:
![]() ![]() ![]() ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |