Author Topic: Edit a php file  (Read 2414 times)

Ed Guerena

  • Guest
Edit a php file
« on: March 07, 2011, 06:02:14 PM »
I have a question.  I am learning a lot about setting up the adsense pages.

Every time I think I have it down, something throws me some new confusion.


The text in this "adsense_160x600_sidebar.php" file reads as follows.


<!-- Replace with Adsense code for a 160x600 banner -->



I don't understand if I should replace everything between the < and >

...or should I replace all of it and only leave my adsense code.

... leave the ! and the dashes

... leave the !

Can anyone help me please?

Ed Guerena



ContentWriter

  • Guest
Re: Edit a php file
« Reply #1 on: March 07, 2011, 06:10:37 PM »
 ::P

Hi Ed and welcome to the forum family!

What you're seeing there is a "comment".
It's not an actual part of the code, just a piece of information
intended for the webmaster (you, in this instance).

1) You can leave it there and it won't cause any problems, just paste your Adsense code underneath it.

2) Or, just remove it completely and replace it with your Adsense code.

You want to be sure though that you remove all of it if you choose the second option.

~Karen

Ed Guerena

  • Guest
Re: Edit a php file
« Reply #2 on: March 07, 2011, 06:29:05 PM »
Thank you so much Karen.

You are very helpful.

Perhaps you could answer another question?

In another php file it asks the following: INSERT YOUR ADSENSE TRACKING CHANNEL NUMBER

I have an adsense ID number that starts with "pub"

When I created a tracking channel at Google Adsense I wasn't given an Adsense Tracking Channel Number.

Do I use my Adsense ID Number here minus the "pub"?


ContentWriter

  • Guest
Re: Edit a php file
« Reply #3 on: March 07, 2011, 07:12:22 PM »
Inside your Adsense account is a tab " AdSense Setup".

When you click on that you'll get a sub-menu.

The fourth link from the left will bring up your Channels.

Just look up your desired channel and the corresponding ID # is in the second column.  :::tu

~Karen

Ed Guerena

  • Guest
Re: Edit a php file
« Reply #4 on: March 07, 2011, 08:03:43 PM »
Thank you, thank you!

You are very gracious.  I appreciate your help.

Ed

rachelstevens

  • Guest
Re: Edit a php file
« Reply #5 on: March 14, 2011, 02:20:54 PM »
PHP file manager, you can upload up to 10 files at once. It supports automatic creation of backup when downloading files. It can support password protection. Another thing that supports file manager hides extensions with arbitrary files and system files.

Offline KarenMcG

  • Sr Member
  • Posts: 3,751
    • View Profile
Re: Edit a php file
« Reply #6 on: March 25, 2011, 12:33:19 PM »
Hi Rachel ::P

:welcome: to RRW.

It's nice to meet you.

Karen