Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 02-28-2009, 11:41 AM   #1
El Chong
War Room Member
 
Join Date: Jan 2009
Posts: 168
Thanks: 22
Thanked 23 Times in 16 Posts
Social Networking View Member's FaceBook Profile 
Default How to place Adsense in php

I managed to link a site with ftp but I can't view the design on dreamweaver. I am trying to add Adsense but because I can't see the design I am having a hard time knowing exactly where the Adsense code goes in the php script. I tried adding the code once but I did not see any changes after I upload the page. Can someone advise what I am doing wrong?

swiminsoda is offline   Reply With Quote
Old 02-28-2009, 03:10 PM   #2
HyperActive Warrior
War Room Member
 
RedMatrix's Avatar
 
Join Date: Oct 2007
Location: Mission, TX, USA.
Posts: 333
Thanks: 224
Thanked 62 Times in 36 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to RedMatrix Send a message via Skype™ to RedMatrix
Default Re: How to place Adsense in php

swim in soda,

It depends on where you want the Adsense to appear. Post a copy of your .php file here, (using the [php] [/php] tags) and I will be happy to tell you were to place it.

~Dave
RedMatrix is offline   Reply With Quote
Old 02-28-2009, 11:45 PM   #3
El Chong
War Room Member
 
Join Date: Jan 2009
Posts: 168
Thanks: 22
Thanked 23 Times in 16 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How to place Adsense in php

Hi RedMatrix, I am having difficulty posting the code here as it contains links. So I have attached as a txt file instead. I am trying to add a 728x90 horizontal banner at the top and bottom of page.
Attached Files
File Type: txt seeindex.txt (43.4 KB, 5 views)


Last edited by swiminsoda; 02-28-2009 at 11:51 PM. Reason: added info.
swiminsoda is offline   Reply With Quote
Old 03-01-2009, 06:53 PM   #4
HyperActive Warrior
 
Join Date: Feb 2009
Posts: 284
Thanks: 5
Thanked 5 Times in 5 Posts
Contact Info
Send a message via AIM to brp002 Send a message via Yahoo to brp002
Default Re: How to place Adsense in php

If you are postin adsense into PHP make sure you close the PHP tag and then reopen it

?>Adsense Code<?php

brp002 is offline   Reply With Quote
Old 03-02-2009, 04:36 AM   #5
Warrior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How to place Adsense in php

Quote:
Originally Posted by brp002 View Post
?>Adsense Code<?php
Nice Answered!

magic1000 is offline   Reply With Quote
Old 03-02-2009, 06:09 PM   #6
HyperActive Warrior
War Room Member
 
RedMatrix's Avatar
 
Join Date: Oct 2007
Location: Mission, TX, USA.
Posts: 333
Thanks: 224
Thanked 62 Times in 36 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to RedMatrix Send a message via Skype™ to RedMatrix
Default Re: How to place Adsense in php

That's a big file!

To put your adsense code at the top, place it under the <body> tag somewhere.

Like this:
Code:
...
<body bgcolor="#C0C0C0" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">

  <div align="center">

  ...adsense code....

~Dave
RedMatrix is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
adsense, php, place

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 05:08 AM.