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 Mark Forums Read
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 06-20-2004, 02:44 PM   #1
MrIzzz
If u touch it, I will cum
 
Join Date: Sep 2003
Location: long island
Posts: 22,923
i need some basic html/php help here....

i wanna put a banner across all of my sites, but i do not want to have to manually place it in each site and have to change it manually each time i change the banner.

is there a basic html solution to this? an include? some .php?

someone have a minute to help me out with this
__________________


WHO WANTS TO PLAY GRAB-ASS?
MrIzzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:46 PM   #2
candyflip
Carpe Visio
 
candyflip's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
You can use an ad server like phpAdsNew. That might be overkill for one banner, but it's an option.

http://www.phpadsnew.com
__________________

Spend you some brain.
Email Me
candyflip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:47 PM   #3
newbreed
Confirmed User
 
newbreed's Avatar
 
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
If your current pages are in .php already, design your header and call it "header.php". Then include "header.php" in you pages .php code at the top.

This will make each pace with the 'include' in it pull the header.php file and include it.

This is a simple explanation, hit me up for more details if you need them!

Bill
__________________

Loryn ‎(3:16 PM):
I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
fuck it we can have sex on money never did that before
newbreed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:48 PM   #4
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
PHP Code:
 <? include("file.php"); ?>
Make a file called file.php (or whatever you want for a naming convention) and put the code there ytou want

include that code on every page you want the banner
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:50 PM   #5
MrIzzz
If u touch it, I will cum
 
Join Date: Sep 2003
Location: long island
Posts: 22,923
hmmmmmmmm

i'm working with just html pages.

is there some sort of global include i could use? maybe
__________________


WHO WANTS TO PLAY GRAB-ASS?
MrIzzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:52 PM   #6
AgentCash
Confirmed User
 
Join Date: Feb 2002
Posts: 720
PHP Code:
<?
header("Location: http://yourlink.com");
?>
upload file to http://www.yourdomain.com/sponsor.php

upload banner to http://www.yourdomain.com/banner.gif

Link sites with
PHP Code:
<a href="http://www.yourdomain.com/sponsor.php"><img src="http://www.yourdomain.com/banner.gif" border=0></a
when it comes time to change, upload different banner of same name and edit the php file.
AgentCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:52 PM   #7
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
if your host enabled it you may be able to use SSI.

<!-- #include file="included.html" -->
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:53 PM   #8
newbreed
Confirmed User
 
newbreed's Avatar
 
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
Quote:
Originally posted by MrIzzz
hmmmmmmmm

i'm working with just html pages.

is there some sort of global include i could use? maybe
If you are using an editor like Dreamweaver you could do a 'find and replace', for example, find the table code you have in place now, copy it into the F&R dialogue, change the code in "replace with" and choose the folder with all of your pages in it. That would fix all the pages in that folder to the new code set.
__________________

Loryn ‎(3:16 PM):
I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
fuck it we can have sex on money never did that before
newbreed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:54 PM   #9
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
Quote:
Originally posted by newbreed
If you are using an editor like Dreamweaver you could do a 'find and replace', for example, find the table code you have in place now, copy it into the F&R dialogue, change the code in "replace with" and choose the folder with all of your pages in it. That would fix all the pages in that folder to the new code set.
Yeah. See you WILL need to put the code on all your pages manually in some way shape or form... so above is good
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:57 PM   #10
Tom_PMs
Confirmed User
 
Join Date: Jun 2004
Posts: 2,049
If you want to do it from multiple subfolders though and use SSI, then you should use include=virtual instead of include=file I believe. That way, you could keep the code with the banner in your root folder.

You could get your host to setup a global alias to a folder as well, but I think the SSI include=virtual is easiest.

This is all presuming you dont wanna enable parsing of html files for php code, lol.
Tom_PMs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 02:58 PM   #11
MrIzzz
If u touch it, I will cum
 
Join Date: Sep 2003
Location: long island
Posts: 22,923
another question...



some one mentioned to me using iframe across all the sites.

your opinions on this?
__________________


WHO WANTS TO PLAY GRAB-ASS?
MrIzzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 03:02 PM   #12
Nbritte
Confirmed User
 
Join Date: Sep 2001
Location: Kentucky USA
Posts: 689
Install the apache module mod_layout
use and htaccess file to turn it on.
create a page with the header and footer information
to change the banners over the entire site you just edit the header/footer file
__________________

SexyCityCash gets in Bed with PornoDan
Nbritte is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2004, 03:04 PM   #13
Tom_PMs
Confirmed User
 
Join Date: Jun 2004
Posts: 2,049
I dont care for frames at all personally.

I once made a little script that I call from htaccess that parses all html files requested, and if it finds a certain sponsor code, it replaces it, THEN serves it to the browser.

But I wouldnt use something like that permanently as it would be alot of work for apache sorta, lol.

I needed to swap too many links when the sponsor tanked. The ultimate motivation to work
Tom_PMs 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
Thread Tools



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.