Dreamweaver Library Help!

Discussion in 'Co-op Advertising Network' started by loansforallcredit, Apr 19, 2005.

  1. #1
    I embedded my php code in a dreamweaver library, so when I have updates, I dont have to update each page.

    My ads arent showing up, and I think this may be the reason why.
    Check out www.loansforallcredit.com

    If this library code is the problem, are there any workarounds so that I can still use the library, or will i have to take that code out of every page?

    thanks!!!
     
    loansforallcredit, Apr 19, 2005 IP
  2. bloodwrath

    bloodwrath Active Member

    Messages:
    1,364
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    90
    #2
    I use the coop code in dreamweaver library as well
    but the libary messed up on every php page by adding ../libary/ad_network.php
    i have to fix it manually
    nothing else seems to work
     
    bloodwrath, Apr 20, 2005 IP
  3. loansforallcredit

    loansforallcredit Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The pages arent adding the /library... code, because I used the full path to the .php file.

    Heres the code:
    <!-- #BeginLibraryItem "/Library/php-adnetwork.lbi" --><link href="style.css" rel="stylesheet" type="text/css"> <p align="center"><a href="index.html" target="_parent"><font color="cccccc">Home</font></a><font color="cccccc">
    | Outside Link:</font>
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('http://www.loansforallcredit.com/ad_network_231.php');
    echo $ad_network;
    ?>
    </p>
    <!-- #EndLibraryItem -->

    Have any suggestions???
     
    loansforallcredit, Apr 20, 2005 IP
  4. loansforallcredit

    loansforallcredit Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I did some testing. Taking out the full path URL to the .php file seemed to work. and adding the php, htaccess and the text file in my subdirectory.

    php in the Dreamweaver Library works fine this way.
     
    loansforallcredit, Apr 20, 2005 IP