AdManager Light v1.0 FREE
by Stephen Blair on Mar.31, 2009, under Web Design & Development
AdManager Light is the best way to manage your ads! Organize your ads by category and display them virtually anywhere with just a few lines of code. AdManager will rotate through all the ads in a category without the page ever having to be refreshed. Double, triple, even quadruple your ad impressions immediately!
![]() Manage Unlimited Catgories |
![]() Easily Upload or Paste New Ads |
Features:
- Easy installation that requires almost no programming knowledge.
- Manage your online ads from anywhere with the easy to use web-based administrative area for creating and managing your ads and ad categories.
- Store unlimited ads.
- Sort your ads by category.
- Display your ads on any web site using PHP or standard HTML.
- Customize how your ads are displayed.
- One ad per page refresh.
- Dynamically display all ads.
- Random order display.
- User defined sort order display.
- Use your affiliate banner codes.
- Upload your own banners.
AdManager Light is available to all registered users for FREE. If you are registered and logged in please click the download link below. Please post all support questions here as comments and I will get to them as soon as I can.
Download: AdManager Light
Requirements: Requires a web server with PHP5 or greater and a MySQL database.
Other PHP Scripts:
- Simple Gallery – The easiest and most professional looking image gallery around!
- SunShop Shopping Cart Software – A complete ecommerce solution packed with and extensive feature list.
- PHP Live Helper – Provide reliable real-time customer support and visitor communication directly on your site.





















April 8th, 2009 on 3:42 am
why these lines of code are showing in the installation:
0) { //declare session variables and assign them $_SESSION['username'] = $username; $GoTo = $_SERVER['PHP_SELF'].”?page=message&m=7″; header(sprintf(“Location: %s”, $GoTo)); } else { //Set the error messag to be displayed and set a session for invalid pass $GoTo = $_SERVER['PHP_SELF'].”?page=message&m=8″; header(sprintf(“Location: %s”, $GoTo)); }
April 8th, 2009 on 11:47 am
Can you please send me the URL of where you have installed the script?
November 27th, 2009 on 5:46 am
Hi.I downloaded your script And i hawe a problem.
When i place php code nothing heppends
And when i place html code it show my entiere front page it duplicate it
NO AD ??????????????
Any suggestins?
December 17th, 2009 on 1:25 pm
Can you send em the url of where you have the script installed and where you are running into the issue?
April 8th, 2009 on 3:43 am
am not able to install, i did all the steps mentioned in the README.html
April 10th, 2009 on 3:42 pm
I get this error, my hist says its a script problem, how to solve this ?
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/mysite/domains/#####/public_html/admanagerlight/module/user_managecats.php on line 55
Warning: include(http://www.######.###/admanager/display/?cat=1) [function.include]: failed to open stream: no suitable wrapper could be found in /home/mysite/domains/#####/public_html/admanagerlight/module/user_managecats.php on line 55
Warning: include() [function.include]: Failed opening ‘http://www.######.###/admanager/display/?cat=1′ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/mysite/domains/#####/public_html/admanagerlight/module/user_managecats.php on line 55
April 11th, 2009 on 11:51 am
URL file-access must be enable in your php.ini file for this script to work properly.
December 21st, 2009 on 10:30 pm
you can use:
$fp = fopen($path_to_admanager.’/display/?cat=’.$CategoryID,’r');
while($tmp = fread($fp,1024));
echo $tmp;
instead url_include that is not safe
April 11th, 2009 on 3:16 pm
@Stephen Blair
mmmmm, they don’t want to enable it so i’ve to look for a other ad script. I think this was wat i was looking for.
April 13th, 2009 on 9:10 am
I’m very sorry to hear that. This script was designed so that it could be installed in a single location and your ads can be served up from anywhere regardless of where the actual installation lives. There is a work around for this and that would be to change the “$path_to_admanager” variable in your include/config.php file. The script is initially setup to use the full URL, but you should be able to change the value of the variable to the relative folder path. For example if you are trying to display your ads on your home page you would leave just the “admanagerlight” for the $path_to_admanager variable and this would point it into the “/admanager/display/” folder. The only problem with this work around is that either your ads are going to display properly on your home page and not in the admin or vise versa because you would now being using a relative folder path and it will not be the same for the admin pages as it is for where you are displaying your ads. Sorry this is a little confusing, but hopefully it will help you out a little bit.
April 14th, 2009 on 7:06 am
Hi, i’ve just uploaded and installed AdManagerLight on my server, and everything seems to work fine. I have created a category and a sample advert, and i’ve previewed the advert to make sure it works fine.
The problem now is that, i want to link my web pages to display this advert and other subsequent ones i will be creating. Is there a line of code i’m supposed to insert into my webpages or what?
Please reply. Thanks
April 14th, 2009 on 8:38 am
Yes, If you click on the Manage Categories menu item and then click on one of your categories, it will give you the code that needs to be inserted in order to display the ads in that category.
April 14th, 2009 on 2:58 pm
Installed the script and works great.
I’m trying to display 6 ads randomised in 3 ad spots, all below each other. The script seems to allow the same ad to be displayed more than once on each page load, which obviously isn’t preferable
Is there a fix for this?
Many thanks!
April 14th, 2009 on 4:06 pm
There isn’t really a fix to this as much as there is a work-around to achieve what you are looking for. You would have to setup 3 different categories with different ads in them and the put each categories unique code on that page. Hopefully taht will work for what you are trying to do.
April 30th, 2009 on 9:57 pm
So I am trying to understand the category thing here. I want to have a banner on the side of my page (say 120×600). I want to server AdSense ads, as well as a JPG ad of my own in rotation.
I want to do the same thing on the bottom of my page. I have done that here: http://www.—————.com/forum/index.php
But now that i created 2 ads for 1 category, nothing shows up at the bottom…?
Can you help me understand how to fix this?
April 30th, 2009 on 10:37 pm
AdManager cannot server up adsense code, the scripting for the adsense code breaks it and none of the images in that category will work.
May 1st, 2009 on 8:38 am
I actually found that 2 Image ads work together, but an image and Google Ad Sense did not seem to work together. Here is the ad sense I was trying to insert:
<script type=”text/javascript”><!–
google_ad_client = “pub-6039064110724688″;
/* 728×90, created 4/30/09 */
google_ad_slot = “7376609978″;
google_ad_width = 728;
google_ad_height = 90;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
May 2nd, 2009 on 12:44 pm
May 31st, 2009 on 8:46 am
@Stephen Blair
Hi Stephen,
This work around doesn’t work for me either, it appears that unless you can edit the php.ini to enable the remote access you are stuffed. I have read something about curl but don’t know how to modify your code to try to get it to work. Shame really as your script would look to be just what I wanted.
June 2nd, 2009 on 7:57 am
@PeteD
Curl isn’t necessary. All you should have to do is modify the $path_to_admanager in the config.php file to be a local path instead of a url.
For example: If your installation is located at http://yourdomain.com/admanager/, but your ads are being displayed on http://yourdomain.com/somefolder/index.php, your $path_to_admanager would be “../admanager”.
Of course this limits where you can use the script and display ads on your site versus having the full url you can display ads anywhere.
June 26th, 2009 on 2:39 am
This looks like a very useful script but unfortunately the download link (WordPress plugin I’m guessing) isn’t working.
June 26th, 2009 on 3:19 am
Nevermind, I found the Google cached version of your website and got the link.
June 26th, 2009 on 9:34 am
Cool, glad you were able to get it. The plugin should be working now, but let me know if you have any other problems. Thanks for pointing this out!
July 12th, 2009 on 8:40 am
anybody successfully install this site? i couldnt install though i follow the instruction on readme.txt..
pls help
After i follow the instruction …exception as follow
0) { //declare session variables and assign them $_SESSION['username'] = $username; $GoTo = $_SERVER['PHP_SELF'].”?page=message&m=7″; header(sprintf(“Location: %s”, $GoTo)); } else { //Set the error messag to be displayed and set a session for invalid pass $GoTo = $_SERVER['PHP_SELF'].”?page=message&m=8″; header(sprintf(“Location: %s”, $GoTo)); } mysql_free_result($getUser); } //////////////////////////////////////////// // LOGOUT //////////////////////////////////////////// if ((isset($_GET['logout']))&&($_GET['logout']==1)) { $_SESSION['username'] = NULL; unset($_SESSION['username']); $GoTo = $_SERVER['PHP_SELF'].”?page=message&m=21″; header(sprintf(“Location: %s”, $GoTo)); } //////////////////////////////////////////// // module/user_editad.php //////////////////////////////////////////// if(isset($_GET['editadid'])) { $AdID = $_GET['editadid']; mysql_select_db($database_admanager, $admanager); $query_getAd = “SELECT * FROM $tblBanner WHERE BannerID=’$AdID’”; $getAd = mysql_query($query_getAd, $admanager) or die
………
……..
July 14th, 2009 on 9:04 am
I’m not really clear on what the issue is. Can you please give me more information such as the url of where this is being installed, or what errors you are getting when you run the script/installation?
July 15th, 2009 on 8:38 am
I’m getting the same errors as sivas90 (and others) above. I’ve got admanagerlight only on my localhost for now. This is when you’ve configured config.php and then run index.php.
Do you need to configure something about sessions in php.ini before this will work?
July 15th, 2009 on 8:43 pm
What error are you receiving? I did not see an error in what sivas90 listed, I just see php code. My only guess from what is there is that if you are seeing that code when you run the index.php file, you are not running this script on a php enabled web server.
August 18th, 2009 on 5:38 pm
@sivas90
This bug is caused by …………….. “short open tag” module of PHP, You have to change settings in php.ini -> short_open_tag = On . It is normally turned off. Before I discovered that, by accident, I tested more than 5 different Banner Management tools. Now everything works fine, except CSS not loading in Firefox. It is probably caused by wrong config of my localhost. I read somwhere that it might be wrong MIME settings. Maybe someone had the same problem?
September 10th, 2009 on 1:57 pm
For error as sivas90, you have to change all
<?
tags in all files
by
<?php
tags
Only if your php.ini short_open_tag=off
P.S : sorry for my bad English
September 19th, 2009 on 9:36 pm
hello, it is a nice simple script to manage ads. Thank You.
between can you fix the <? problem. I've got the same errors too. after replacing <? with <?php it has started working.
IMO we should add a counter for each ads to account the page impression per advertisement. and we should provide a login for advertisers to get the report(monthly).
Do you have any plan to implement it in near future? let me know.
December 17th, 2009 on 1:33 pm
Some servers do not support short tags such as <?, this is something that will be fixed in the next release of this script. Ad tracking/counting is a feature that is being considered for the next release. Unfortunately I cannot tell you or even estimate when the next release will come out… I will send out and email to all registered users when I have a better idea of when I may be able to complete the next release.
October 24th, 2009 on 7:28 pm
Hi,
I installed the Admanager program but I didn’t seea prompt to setup a user name and password. I ficgures it would be the same as the DB Name andpassword. However, i just get “Invalid username/password” error.
Did I miss a step??
Here’s the link http://apad.annualpress.info
October 27th, 2009 on 8:07 am
Default installation username and password are below… This would have been given to you during the installation process.
Username: Admin
Password: Pass
November 11th, 2009 on 5:59 am
hi,
just installed “AdManager Light v1.0 FREE”. is the categories needs to be added directly to the db? same goes for ads?
RK1
November 11th, 2009 on 6:05 am
sorry, ads blocker was on.
great software.
December 17th, 2009 on 1:04 pm
Ive installed it, so good so far, mades google ad and a normal ad in a cat but get this error: Warning: include() [function.include]: Failed opening ‘http://www.youtubedjchannel.com/1/ads/display/?cat=1′ for inclusion (include_path=’.:/usr/share/php’) in /customers/youtubedjchannel.com/youtubedjchannel.com/httpd.www/1/ads/module/user_managecats.php on line 55
Please help?
December 17th, 2009 on 1:27 pm
This script currently does not support google ads as they are javascript based and conflict with the javascript in the AdManager script.
December 21st, 2009 on 10:36 pm
just use quoted text, keep in mind that the script do something else :
var banner = ‘the code here’;
……..
if you code have ‘ off course will be broken, you can also at display/index.php add somthing like this:
$Code = str_replace(“‘”,”\’”,$row_getAds['Code']);
December 21st, 2009 on 10:38 pm
also too add a replacemet of by <scri'+'pt……
December 30th, 2009 on 12:19 pm
I installed the script, very nice. I have 2 different categories so I can display 2 sets of advertisements. Problem I had was with PHP, I set for cat 1 on the left side of the page and cat 2 on the right and when I loaded the page cat 2 showed up on the left side and nothing on the right.
I had to put the html code on the left side for cat 1 and php on the right side for cat 2 and it works great.
It would be nice to see how many click throughs there were.
January 10th, 2010 on 3:19 pm
Thank you for the script. Works perfect for my needs. URL: http://www.cuttinupradio.com/.
It is worth mentioning this script works on Windows IIS hosting running PHP.
I did not see any license information, so I assumed it was fine to edit the administration templates. I will retain the footer copyright information and link-back. Please let me know if I need to revert.
Thanks again.