Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

How Do You Have Static Ads?


12 replies to this topic

#11 TiKiRoKhaN

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 95 posts
  • Location:California
  • Interests:Games, games, and more games ;D

Posted 19 March 2006 - 09:06 AM

View Postgaea, on Mar 18 2006, 09:59 PM, said:

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 :)

INTERNAL SERVER ERROR!

#12 TiKiRoKhaN

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 95 posts
  • Location:California
  • Interests:Games, games, and more games ;D

Posted 23 March 2006 - 03:08 PM

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

#13 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 19 February 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 to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users