Welcome Guest ( Log In | Register)



2 Pages V  < 1 2  
Reply to this topicStart new topic
> How Do You Have Static Ads?
TiKiRoKhaN
post Mar 19 2006, 09:06 AM
Post #11


Member [Level 3]
******

Group: Members
Posts: 95
Joined: 17-October 05
From: California
Member No.: 13,046



QUOTE(gaea @ Mar 18 2006, 09:59 PM) *

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.


3 Words sad.gif

INTERNAL SERVER ERROR!
Go to the top of the page
 
+Quote Post
TiKiRoKhaN
post Mar 23 2006, 03:08 PM
Post #12


Member [Level 3]
******

Group: Members
Posts: 95
Joined: 17-October 05
From: California
Member No.: 13,046



Turns out it uses htaccess!

http://www.developertutorials.com/tutorial...0525/page2.html

Enjoy! 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
Go to the top of the page
 
+Quote Post
iGuest
post Feb 19 2008, 08:22 AM
Post #13


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



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
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Static Members Across Libraries (windows Dll Vs. Unix)(0)
  2. Static Elements In Pages(4)
  3. Computer Static & Lag Issue(2)
  4. Free Web Hosting: (static_fury)(1)
  5. Static Clan Scripts(7)
  6. Banner/affiliate Box(3)
  7. Banner Request(4)
  8. Banner Request(1)
  9. [help]: Php To Html (static) Converter(3)
  10. What Is Static?(6)
  11. Url(5)
  12. How To Convert Static Ip To Dynamic Ip`?(9)


 



- Lo-Fi Version Time is now: 6th September 2008 - 06:30 AM