NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Revenue Sharing Hack Correct?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-26-2005, 05:20 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Dec 2003
Location: Warrington, UK
Posts: 174
Boardhost is on a distinguished road
 



Revenue Sharing Hack Correct?


Well instead of getting noe like NP i made one for a friend. Only problem is I don't think i can test it so i am going to ask here if it will work.
????: NamePros.com http://www.namepros.com/programming/77902-revenue-sharing-hack-correct.html

Basically i have a custom profile field they put their google ad in. then the google script looks like this:

Code:
<?php require_once('Connections/google.php'); ?>
<script type="text/javascript"><!--
google_ad_client = "pub-<?php
$query= "SELECT * FROM 'userfields' COL 'field5' ORDER BY RAND() LIMIT 1";
?>";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_color_border = "03225A";
google_color_bg = "03225A";
google_color_link = "FFFF00";
google_color_url = "FFCC00";
google_color_text = "FFFFFF";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
The db connection works fine. Just hinking, will this take a random row from the database? it works at the moment but only one google ad is in the fields

Danny
__________________
www.Scene-Power.com - ***YOUR DEDICATED SERVER SOLUTIONS***
Boardhost is offline  
Old 03-26-2005, 06:13 AM   #2 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
your setting the query variable but your not loading the data from the db by the looks of it.
adam_uk is offline  
Old 03-26-2005, 11:24 AM THREAD STARTER               #3 (permalink)
NamePros Member
Join Date: Dec 2003
Location: Warrington, UK
Posts: 174
Boardhost is on a distinguished road
 



ok thanks for that

Danny
__________________
www.Scene-Power.com - ***YOUR DEDICATED SERVER SOLUTIONS***
Boardhost is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vbulletin Adsense Revenue Sharing Hack AVAILABLE luxinterior For Sale / Advertising Board 3 04-07-2005 04:13 PM
Adsense revenue sharing is now prohibited by the new TOS? David G PPC / CPC / CPM Programs 16 03-19-2005 12:23 AM
Traffic name over $100 month revenue johnnywj Domains For Sale - Fixed Price 0 03-13-2005 04:45 PM
MusicSharing.net Domainut Domains For Sale - Make Offer 13 01-30-2004 09:15 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 04:33 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger