Results 1 to 5 of 5
  1. #1
    Newbie bouffoc's Avatar
    Join Date
    September 13th, 2006
    Central NY State
    Question PHP for Link Locator Direct? anyone, anyone Gardner?
    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,

  2. #2
    Join Date
    July 7th, 2007
    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 ---

    To create SOAP client ---
    $ini = ini_set("soap.wsdl_cache_enabled","0");
    $username = "user name";
    $password = "password";
    $linkClient = new SoapClient("http://".$username.":".$password."", 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
    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
    Join Date
    May 10th, 2007
    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
    Join Date
    January 16th, 2008
    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
    and change it to
    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, 11:13 AM
  2. Link Locator Direct web service
    By offerfind in forum Rakuten LinkShare - LS
    Replies: 5
    Last Post: May 30th, 2008, 04:33 PM
  3. Linshare Link Locator Direct
    By pirate3x3 in forum Rakuten LinkShare - LS
    Replies: 1
    Last Post: May 28th, 2008, 08: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, 05: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, 04: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