Y T Nuke  
Results 1 to 4 of 4
Hi I have a php landing page for use with PPV. I know how to ...
  1. #1
    ubermann is offline Newbies
    Join Date
    Jul 2008
    Posts
    48
    Reputation
    12
    Thanks
    257
    Thanked 44 Times in 5 Posts

    Default Dynamic pictures in landing pages? Need help with Code

    Hi

    I have a php landing page for use with PPV. I know how to do dynamic keyword insertion.
    But I was wondering what the code would be for inserting dynamic picture based on url?


    Lets say for example target url was

    gumtree.com then I would want to display pic1.jpg

    or if it was

    craigslist.com then it would display pic2.jpg

    I know there must be way but my php is rudimentary at best.
    Any help would be appreciated.

    Thanks

  2. #2
    oxynom's Avatar
    oxynom is offline Junior Member
    Join Date
    Aug 2009
    Location
    Bangkok, Thailand
    Posts
    124
    Reputation
    27
    Thanks
    78
    Thanked 112 Times in 37 Posts

    Default Re: Dynamic pictures in landing pages? Need help with Code

    something like this
    Code:
    <?php
    
    $targetUrl = "gumtree";
    $img[1] = "gumtree.jpg";
    $img[2] = "craigslist.jpg";
    
    switch ($targetUrl ) {
        case "gumtree":
            echo $img[1];
            break;
        case "craigslist":
            echo $img[1];
            break;
    }
    ?>
    “Strive not to be a success, but rather to be of value."

  3. The Following 2 Users Say Thank You to oxynom For This Useful Post:

    thxflash (05-19-2010), ubermann (03-25-2010)

  4. #3
    googlecash's Avatar
    googlecash is offline Junior Member
    Join Date
    Feb 2009
    Posts
    105
    Reputation
    10
    Thanks
    47
    Thanked 7 Times in 7 Posts

    Default Re: Dynamic pictures in landing pages? Need help with Code

    I didnt know how to build an ppv landingpage...

  5. #4
    ubermann is offline Newbies
    Join Date
    Jul 2008
    Posts
    48
    Reputation
    12
    Thanks
    257
    Thanked 44 Times in 5 Posts

    Default Re: Dynamic pictures in landing pages? Need help with Code

    Thanks for this. I will give it try tonight.

    Quote Originally Posted by oxynom View Post
    something like this
    Code:
    <?php
    
    $targetUrl = "gumtree";
    $img[1] = "gumtree.jpg";
    $img[2] = "craigslist.jpg";
    
    switch ($targetUrl ) {
        case "gumtree":
            echo $img[1];
            break;
        case "craigslist":
            echo $img[1];
            break;
    }
    ?>

Natural Slow Link Building


SEO Blasts - High quality link building service

Similar Threads

  1. Replies: 4
    Last Post: 12-03-2009, 03:28 AM
  2. Not exactly black hat, but looking for a dynamic landing page tool
    By schmedes2 in forum Black Hat SEO Tools
    Replies: 8
    Last Post: 09-05-2009, 10:38 PM
  3. Dynamic Landing Pages
    By wolfmmiii in forum Adsense
    Replies: 5
    Last Post: 08-11-2009, 05:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76