Mark Forums Read
  #1  
Old 09-08-2007, 09:44 AM
navjeet navjeet is offline
Junior Member
 
Join Date: Jul 2007
Posts: 6
navjeet is on a distinguished road
Default Php or html for adsense?

I have a lot of websites - some are php and some are html. I personally like html better as I know how to change them.
Somebody told me php doesn't generate good ad sense income and will not be recognized by search engines as well. I have never heard of this. I have observed that every web site design company gives preference to PHP and html. So what is better html or php for websites mainly kept for ad sense income. As of right now I have a handwritten html only website and make like $ 5 out of it a day. I have never tried a php website.
Thanks for your answers........
Reply With Quote
 #Add to Ads's Reputation  
OldSponsored Ads
Ads AdsPromoter is online
Member
 
Join Date: LongTime
Posts: 1100
Ads is on a distinguished road
Default New Sponsored Ads



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
Reply With Quote
  #2  
Old 08-01-2008, 04:46 AM
dodger21 dodger21 is offline
Junior Member
 
Join Date: Jul 2008
Posts: 8
dodger21 is on a distinguished road
Default

Ad sense can work on both html and php or other server-side scripting. Google will automatically make a crawl your site and put relevant ads. So far, I have encountered any issues with it.

Last edited by dodger21 : 08-01-2008 at 06:52 AM.
Reply With Quote
  #3  
Old 03-18-2009, 09:42 AM
vks87 vks87 is offline
Member
 
Join Date: Mar 2009
Posts: 85
vks87 is on a distinguished road
Default

I am not sure about this which i ll post here because I don't have any information about this that's why i searched it...so try it.Hope it ll work well..Otherwise i don't now..

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>PHP Adsense Account Library</title> <**** **********="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <style media="all" type="text/css"> </style> </head> <body> <h1>PHP AdSense Account Library</h1> <p><em>Based on <a href="http://www.webtoolkit.info/php-adsense-account-monitor.html">PHP AdSense account monitor class</a></em></p> <p>PHP AdSense Account Library is a class that can retrieve various data from an AdSense account.</p> <h2>Examples</h2> <pre>require_once('adsense.php'); $username = 'your_email@gmail.com'; $password = '*******'; $adsense = new AdSense(); if ($adsense->connect($username, $password)) { var_dump($adsense->today()); } else { die('Could not login to AdSense account.'); }; </pre> <h2>API</h2> <h3>connect($username, $password)</h3> <p>Connects to AdSense account using supplied credentials. Returns true on unsuccessful connection, false otherwise.</p> <h3>log_out()</h3> <p>Log out from adsense. Useful when getting data from two or more accounts.</p> <h3>today()</h3> <p>Gets AdSense data for the period: today. Returns associative array with collected data</p> <h3>yesterday()</h3> <p>Gets AdSense data for the period: yesterday. Returns associative array with collected data</p> <h3>last7days()</h3> <p>Gets AdSense data for the period: last7days. Returns associative array with collected data</p> <h3>lastmonth()</h3> <p>Gets AdSense data for the period: lastmonth. Returns associative array with collected data</p> <h3>thismonth()</h3> <p>Gets AdSense data for the period: thismonth. Returns associative array with collected data</p> <h3>sincelastpayment()</h3> <p>Gets AdSense data for the period: sincelastpayment. Returns associative array with collected data</p> <h3>get_report_id_from_name($name)</h3> <p>Get current report id by report name. Helps to avoid problems with report editing and ids.</p> <h3>get_report_as_csv($report_id, $encoding = 'UTF-8')</h3> <p>Get csv data from custom report.</p> <p class="warning">Warning: if you will edit report at Google Adsense page, its id will change!</p> <h3>report($report_id)</h3> <p>Get report data as array. Uses html parser. A bit slower than get_report_as_csv().</p> <p class="warning">Warning: if you will edit report at Google Adsense page, its id will change!</p> <h3>quick_report($url)</h3> <p>&copy; 2009, <a href="http://alexpolski.com/">Alex Polski</a>, <a href="http://rmcreative.ru/">Alexander Makarov</a></p> </body>
Reply With Quote
  #4  
Old 08-11-2011, 05:59 AM
peterjack15 peterjack15 is offline
Senior Member
 
Join Date: Aug 2011
Posts: 146
peterjack15 is on a distinguished road
Default

So what is better html or php for websites mainly kept for ad sense income. As of right now I have a handwritten html only website and make like $ 5 out of it a day. I have never tried a php website.
Reply With Quote
  #5  
Old 08-24-2011, 01:41 PM
vvjack05 vvjack05 is offline
Junior Member
 
Join Date: Aug 2011
Posts: 10
vvjack05 is on a distinguished road
Default

If you have only a small website of seven or eight pages, it will be easy enough to just put your navigation list on every page manually.PHP is a server side language that can be used in web browsers. It has many benefits that range from workload, to alloying dynamic content. PHP can me embedded into regular html code, just like javascript and CSS, if you change the file's extension to php.
__________________
we buy any car
Reply With Quote
  #6  
Old 12-01-2011, 07:09 AM
donaldpeter58 donaldpeter58 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 5
donaldpeter58 is on a distinguished road
Default

Somebody told me php doesn't generate good ad sense income and will not be recognized by search engines as well. I have never heard of this. I have observed that every web site design company gives preference to PHP and html.
__________________
r4
Reply With Quote
  #7  
Old 02-04-2012, 07:04 PM
Kayden Kayden is offline
Junior Member
 
Join Date: Feb 2012
Posts: 5
Kayden is on a distinguished road
Default

Therefore I open website to see the result again but it still displayed the Public Services Ads. I must confront with issue again so I attempt to change file extension of Adsense file from php to html and use iframe to display it again.
__________________
Online Diploma
Reply With Quote
 #Add to Ads's Reputation  
OldSponsored Ads
Ads AdsPromoter is online
Member
 
Join Date: LongTime
Posts: 1100
Ads is on a distinguished road
Default New Sponsored Ads



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:54 AM.


Powered by vBulletin Version 3.6.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 2.4.0