Results 1 to 5 of 5
  1. #1
    Newbie bouffoc's Avatar
    Join Date
    September 13th, 2006
    Location
    Central NY State
    Posts
    22
    Question PHP for Link Locator Direct? anyone, anyone Gardner?
    All,
    I am new to web development in general and to aff. marketing in particular. And I am trying to get Link Locator Direct to work with php/mysql on my site and hopefully automate my Linkshare link updates to my pages, but I've never dealt with XML or SOAP/WSDL.

    Has anyone done this for Link Locator Direct yet?

    I'm REALLY hoping that someone might do something like what Dirk Gardner did last year, but with the XML/SOAP/WSDL angle.

    Thanks in advance for any help,
    Chris

  2. #2
    Newbie
    Join Date
    July 7th, 2007
    Posts
    1
    Ran across your post --- here is what I came up with for a PHP approach.

    (Using NuSoap and PHP)
    In opening statements on the page ---
    require_once("nusoap/lib/nusoap.php")

    To create SOAP client ---
    $ini = ini_set("soap.wsdl_cache_enabled","0");
    $username = "user name";
    $password = "password";
    $linkClient = new SoapClient("http://".$username.":".$password."@apps.linksynergy.com/ws/services/BannerPromotion?wsdl", true);
    $linkClient->setCredentials($username, $password);

    To run the Query ---
    $results = $linkClient->call(GetMerchantLinks, array("mid" =>MID,"sid" => SID));

    To display the banners ---
    foreach ($results as $details) {
    <a href="<? echo $details['linkUrl'] ?>"><img src="<? echo $details['imageUrl'] ?>" /></a><img src="<? echo $details['trackUrl'] ?>" /><br />
    }

  3. #3
    Newbie dharubhumi's Avatar
    Join Date
    December 14th, 2006
    Posts
    2
    I searched for linkshare Link Locator Direct page but i don't understand for the merchant landing page means... could anyone suggest any web address related to this? thanks in advance..

  4. #4
    Newbie
    Join Date
    May 10th, 2007
    Posts
    2
    I tried the script and it gives me a parse error:

    Parse error: syntax error, unexpected T_VARIABLE

    for the line

    $ini = ini_set("soap.wsdl_cache_enabled","0");

    Any ideas?

  5. #5
    Newbie
    Join Date
    January 16th, 2008
    Posts
    1
    Look at the line above
    The error is in the line above. It is missing the final ; to end the declaration. Look for the line
    Code:
    require_once("nusoap/lib/nusoap.php")
    and change it to
    Code:
    require_once("nusoap/lib/nusoap.php");
    Voila, problem fixed.

  6. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Linkshare link locator Direct service
    By arianman in forum Rakuten LinkShare - LS
    Replies: 8
    Last Post: September 12th, 2013, 12:13 PM
  2. Link Locator Direct web service
    By offerfind in forum Rakuten LinkShare - LS
    Replies: 5
    Last Post: May 30th, 2008, 05:33 PM
  3. Linshare Link Locator Direct
    By pirate3x3 in forum Rakuten LinkShare - LS
    Replies: 1
    Last Post: May 28th, 2008, 09:03 PM
  4. Having Problems with the New Link Locator Direct 2?
    By flipone in forum Rakuten LinkShare - LS
    Replies: 5
    Last Post: December 12th, 2007, 06:00 PM
  5. Non programer needs access to Link Locator Direct
    By signofDtimes in forum Rakuten LinkShare - LS
    Replies: 3
    Last Post: January 30th, 2007, 05:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •