TiKiRoKhaN
Mar 18 2006, 10:06 PM
| | Like seen on www.trap17.net I have been trying to put static ads on all of my site without having to type include (file.php) and stuff like that, I want my ads to appear on HTML to! How is it possible to make it like trap17.net did it, please help I need this bad ;( |
Reply
gaea
Mar 18 2006, 10:22 PM
Sorry, but you weren't completely clear in what you wanted. Do you want to have one specific ad banner (being "static"?) in each area on your site? If so why don't you just use html to add the images in? e.g. <img src="/images/ad1.jpg"> Then, if you wanted to change the ad displayed later you'd just upload another banner with the same name. Another alternative would be to use iframes, which is, in essence, like embedding a second webpage within the first. Your code would look something like: <IFRAME src="adbanner.html" width="400" height="500" frameborder="1"> [Your web browser doesn't support iframes...lucky you!] </IFRAME> Then you'd just make adbanner.html with the add you wanted it. Or you could iframe to a php document if you wanted it to randomly display an ad. Hope that was helpful. If not, please try and clearify your question.
Reply
TiKiRoKhaN
Mar 18 2006, 11:16 PM
I want my google adsense to be static on every page, thats what i was asking, on PHP and HTML
Reply
gaea
Mar 19 2006, 01:42 AM
QUOTE(TiKiRoKhaN @ Mar 18 2006, 11:16 PM)  I want my google adsense to be static on every page, thats what i was asking, on PHP and HTML
Ah, ok. Then your best bet is to use Iframes like i suggested. Basicly, just make a webpage (html, php, whatever) that just displays adsense. Then use an iframe to include it where you want it. Some guy did something kinda like that with SSI (http://forums.digitalpoint.com/showthread.php?t=3255) but i havn't tried that method myself.
Reply
antwill
Mar 19 2006, 02:38 AM
What are static ads? Do you mean the ads that are stuck in one place on everypage, like with some of those free web hosts how they place ads on your site? im sorry if its a stupid question but i do not understand what you mean. Can someone please tell me?
Reply
TiKiRoKhaN
Mar 19 2006, 03:41 AM
That was what I kind've meant antwill
Reply
gaea
Mar 19 2006, 04:45 AM
Sorry, I miss understood you then searched around on google for a little bit and i found: QUOTE [Syntax: ]auto_prepend_file string
Specifies the name of a file that is automatically parsed before the main file. The file is included as if it was called with the include() function, so include_path is used.
The special value none disables auto-prepending. Code looks something like: QUOTE AddType application/x-httpd-php htm html < FilesMatch "\.(html?)$" > php_value auto_append_file "/the/path/that/leads/to/count.php " </FilesMatch > Hope that helped 
Reply
antwill
Mar 19 2006, 04:53 AM
Oh now i get what you mean, that seems like a pretty interesting subject i might add an ad on my site if i get the coding correct, but im not that good with coding so i will probably have alot of questions and problems.
Reply
TiKiRoKhaN
Mar 19 2006, 05:10 AM
QUOTE(gaea @ Mar 18 2006, 08:45 PM)  Sorry, I miss understood you then searched around on google for a little bit and i found: Code looks something like: Hope that helped  So do I put that in a ht access file, and the PHP file is what the ads should be on?
Reply
gaea
Mar 19 2006, 05:59 AM
I'm not 100% certain because i've never done this before. From what i saw it looks like you can either put that into your php.ini, or into a .htaccess. AddType application/x-httpd-php .php .htm .html //Tells the server to treat html and htm files as php files. < FilesMatch "\.(php?)$" > php_value auto_prepend_file "/the/path/that/leads/to/count.php " </FilesMatch > //Adds your adpage (e.g. /the/path/that/leads/to/count.php) to beginning of all php files. Might not have everything perfect, but i think that's close.
Reply
iGuest
Feb 19 2008, 08:22 AM
What do you mean by static page?
How Do You Have Static Ads?
2.What do you mean by Dynamic page? 3.What do you mean by Activ page? 4.What is/are limitation a static page and how it will be overcome by dynamic page.Explain the role of a acti page? 5.Explain client/server side scripting and give the advantage/disadvantage of both? 6.Explain get and post method with example? -reply by Nita patel
Reply
TiKiRoKhaN
Mar 23 2006, 03:08 PM
Turns out it uses htaccess! http://www.developertutorials.com/tutorial...0525/page2.htmlEnjoy! Im so glad, now i dont have to do a whole bunch of other stuff! ^^ Oh and if you wanted static google ads... Put this in the header html QUOTE <center><script type="text/javascript"><!-- google_ad_client = "pub-0154875139772011"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; google_ad_channel ="1290573937"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></center> <hr> Or w/e ur settings are
Reply
Recent Queries:--
static ads - 71.09 hr back. (1)
-
windows xp on static on tv ch 4 - 160.00 hr back. (1)
-
static google ads - 274.81 hr back. (1)
-
static html advertisements - 283.88 hr back. (1)
-
static ad examples - 285.52 hr back. (2)
-
how to turn on javascript on adpage? - 376.47 hr back. (1)
-
please go to the adpage and turn on javascript ? - 376.59 hr back. (1)
-
activ static - 394.28 hr back. (1)
Similar Topics
Keywords : static, ads
- How To Convert Static Ip To Dynamic Ip`?
(9)
Url
how do you make your URL static? (5) Hi guys, can somebody help me with this problem. I want to make my URL static. something like
this: http://www.example.com/ whenever click some buttons like add/edit/delete... the URL should
stay as is... (http://www.example.com). ....
What Is Static?
not static electricity - tv static (6) Can anyone clear this up for me? I've tried looking a little bit but couldn't find the
information i'm looking for. Here's what I want to know. Why do television sets create
static. Like you know when you're watching the wrong channell and it's all snow or a bunch
of lines....no picture just black and white things.....what is that? What causes that? Why does
that happen? Why isn't it colors and just black and white. I'm talking about like.....if
you only are supposed to leave the t.v. on channel 3 - but switch it to channel 4 and it....
[help]: Php To Html (static) Converter
I need help to use PHP to HTML Conversion (3) Hello Guys, I want to use PHP 2 HTML Conversion for my PHP-Nuke CMS And my PHPbb or IPB Forum, but
don't know or does't have any idea about it. If any know about it than please tell me. In
Trap17.com forum PHP to HTML (Static) conversion example is their, you can see it on your Address
bar, Same thing i want to use with my PHP Codes........ Thanks in advance, i am waiting for your
suggestion....
Banner Request
Static Fury (1) Size:230 x 460, 700 x 140 ish not really imprtant. Theme: Naruto Render: Render Theme:
Color:Doesnt matter Text: no Other effects: I am just looking to somthing on the ominous. Mostly i
am just needing something, and i am giveing free range over it. If more than one person want to do
it that would be fine i would love to be able to shop areound /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />....
Banner Request
Static_Fury (4) Height=60 Width=790 Theme: Grunge, Abstract, etc. Render: Render Theme: Color: Text: Yes;
"JynX'd Network Chat" I am sorry i do not know how to fill out the form this time. I was
wondering if someone could do a banner, like this one but make it longer. It doesnt have to be 790
long but it needs to be long engh to have the text i need in it... ....
Banner/affiliate Box
by Static_fury (3) Banner: Size: 750x195 Theme: Grunge, Dark Render: Yes Render Theme: IDK sorry Color: black, and a
lime or neon green Text: JynX'd Network Affiliate box: Size: 112x37, 88x31 is! Theme:
Grunge, Dark Render: Yes Render Theme: IDK sorry Color: black, and a lime or neon green Text:
JynX'd Network I would like it to have the theme kind like these pictures: ....
Static Clan Scripts
(7) If you are looking forward to making a clan, please consider buying a copy of Static Scripts. Static
Scripts are the revolutionary new clan scripts that have different templates you can use, offer a
wide selection of console options, and are currently looking for members. Webhosting with Static
Networks costs $10 a month(with clan scripts). Other hosting plans start at $3 a month.
Check out http://forum.staticscripts.com/index.php?showtopic=2 for more information. I will post a
beta site link ASAP. If you would like to try out the newest version of StaticScri....
Free Web Hosting: (static_fury)
Free Website: <thesyndicate.trap17.com> (1) To generate an application for free web hosting please click here: Free Web Hosting Request Form
I would like to request free web hosting from Trap17. Please find my application below. Your
Registered Domain Name or Desired Trap17 Subdomain Name: thesyndicate.trap17.com Account
Username: static Introduction: Im slowly learning the web codeing, and i love the
community here Email Address: broken-heart_alchemist@hotmail.com Age: 19
Country Where I Live: US My Websites Theme: Old School Ganster Themed For....
Computer Static & Lag Issue
(2) I have this: -------------------------------------------- AMD 3000+ 450W PSU MGE NINJA Case
1024 DDR Corsair Ram GeForce 6800GT 2x 80GB Western Digital 7200RPM Hard Drives Windows XP
Professional -------------------------------------------- The computer worked perfectly fine for
over 5 months. The computer was set-up using ONLY the drivers form the CDs provided with the parts
for my computer. After 5 months of a perfectly functioning computer. The start-up time jumped from
10 seconds loading windows XP (The loading bar when you start-up did 4 passes from one e....
Static Elements In Pages
how to achieve this? (4) I've had several discouraging replys in my website post about the use of and frames in
general. So far to me it's the only option of having static elements in my pages (meaning as in
having a navigation and header and so it doesnt have to refresh every pagelink you visit) Now
because of those discouraging notes, i am wondering if theres another way of achieving this? (and
for the record, i couldnt think of a good searchterm for google...most came out on the non-frame
section of a frameset..) Hopefully thanks in advance....
Static Members Across Libraries (windows Dll Vs. Unix)
(0) Hopefully I can explain my problem clearly. If not, please ask any questions to clarify. I'm
looking at an issue where I'd need to make reference counted smart pointers multi-thread safe on
a UNIX platform via mutexes. Object-embedded mutexes are not an option because of the memory
footprint increase. Therefore, it was decided we use a static mutex that locks the entire class out
from the reference count (i.e., only one smart pointer on the entire system at a time can do a
reference count operation). BTW, these design decisions aren't mine to make. The issu....
static war
(1) this site is for my new 3D war game (not open yet though)
http://www.staticwar.vzz.net/ ....
My Post Number Are Static
don't move!! (3) Hi: I want to make a question, why dont increase my post number?. Today already post 3
times and dont increase my posts number. Thanks Tiago....
Looking for static, ads
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for static, ads
*MORE FROM TRAP17.COM*
|
advertisement
|
|