Jump to content

Is there a way..


tcorbeil

Recommended Posts

Hello again everyone.

 

My site is coming along.. couldn't have done it without this forum, thank you everyone!

 

Anyway, I was hoping to use google adsense to help generate some revenue on my site.. problem is, the site is dynamic and uses mySQL with php..

 

My question is, is there some sort of way to grab a php variables and append them to a text file of some sort?? That way, i could point the google bot to the 'hard written' text file?.. I don't really know where to start with all of this.. I know my pages do not have "hard" content in them.. only when someone is logged in and the php variables are given their values...

 

Thanks.

T.

Link to comment
https://forums.phpfreaks.com/topic/47256-is-there-a-way/
Share on other sites

Yes of course.  With php you can do anything with file's, all the way from taking the data from the database, and writing it all into a file.

There is anything you can do.

You are going to want to

1. Learn Basic PHP file handling

2. Come back here and ask in more detail specifically what you want so we can help point you in the right direction.

Link to comment
https://forums.phpfreaks.com/topic/47256-is-there-a-way/#findComment-230487
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.