Title: PhpAdsNew Plugin
Last modified: August 18, 2016

---

# PhpAdsNew Plugin

 *  [erika_conn](https://wordpress.org/support/users/erika_conn/)
 * (@erika_conn)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/phpadsnew-plugin/)
 * I need to finetune the plugin so that my ads will work.
    <?php
 * /*
    Plugin Name: PhpAdsNew Version: 0.1 Plugin URI: [http://blog.tassoman.com/PhpAdsNew-integration](http://blog.tassoman.com/PhpAdsNew-integration)
   Description: Integrate PhpAdsNew advertising banners into your wordpress. Author:
   Tassoman Author URI: [http://blog.tassoman.com/](http://blog.tassoman.com/) Licence:
   GNU
 *  /* Copyright 2005 Tassoman (email: [tassoman@gmail.com](https://wordpress.org/support/topic/phpadsnew-plugin/tassoman@gmail.com?output_format=md))
 *  This program is free software; you can redistribute it and/or modify
    it under
   the terms of the GNU General Public License as published by the Free Software
   Foundation; either version 2 of the License, or (at your option) any later version.
 *  This program is distributed in the hope that it will be useful,
    but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
   FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *  You should have received a copy of the GNU General Public License
    along with
   this program; if not, write to the Free Software Foundation, Inc., 59 Temple 
   Place, Suite 330, Boston, MA 02111-1307 USA */
 * define(‘PHPADS_PATH’, ‘/var/www/virtual/tassoman.com/ads/htdocs’);
 * function phpAdsNew($area, $target = ”) {
    if (@include(PHPADS_PATH . DIRECTORY_SEPARATOR.‘
   phpadsnew.inc.php’)) { if (!isset($phpAds_context)) $phpAds_context = array();
   $phpAds_raw = view_raw ($area, 0, $target, ”, ‘0’, $phpAds_context); } echo $
   phpAds_raw[‘html’]; } ?>
 * Which part do I edit so that it will work with my blog?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jetshack](https://wordpress.org/support/users/jetshack/)
 * (@jetshack)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/phpadsnew-plugin/#post-535409)
 * ‘phpadsnew.inc.php’
 * point to your where your file of phpadsnew.inc.php is
 *  Thread Starter [erika_conn](https://wordpress.org/support/users/erika_conn/)
 * (@erika_conn)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/phpadsnew-plugin/#post-535426)
 * So, would that be in this part?
 * define(‘PHPADS_PATH’, ‘/var/www/virtual/tassoman.com/ads/htdocs’);

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PhpAdsNew Plugin’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 2 participants
 * Last reply from: [erika_conn](https://wordpress.org/support/users/erika_conn/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/phpadsnew-plugin/#post-535426)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
