• Member Avatar for showman13
    showman13

    Replied To a Post in Tracking multiple sources of traffic

    Hey Dani, Just thought I would let you know what I ended up doing to resolve this question... Decided that using a database would make the most sense for future …
  • Member Avatar for showman13
    showman13

    Marked Solved Status for Tracking multiple sources of traffic

    Hi, This might be a simple question, but I have an affiliate site that I want to drive traffic to, and the traffic will be coming from various sources. All …
  • Member Avatar for showman13
    showman13

    Replied To a Post in Tracking multiple sources of traffic

    Hi Dani, Thanks for being the one with the answers for me it seems, all the time. Baiscally what I'm doing is this... I'm an affiliate of a program and …
  • Member Avatar for showman13
    showman13

    Replied To a Post in Tracking multiple sources of traffic

    I guess this must not have been a very good question or at least one that anyone wanted to answer... Guess that means using a database...
  • Member Avatar for showman13
    showman13

    Created Tracking multiple sources of traffic

    Hi, This might be a simple question, but I have an affiliate site that I want to drive traffic to, and the traffic will be coming from various sources. All …
  • Member Avatar for showman13
    showman13

    Began Watching Tracking multiple sources of traffic

    Hi, This might be a simple question, but I have an affiliate site that I want to drive traffic to, and the traffic will be coming from various sources. All …
  • Member Avatar for showman13
    showman13

    Replied To a Post in PHP function call renders blank screen

    Thanks Dani for your response... found the first one... Fatal error: Uncaught Error: Call to undefined function mysql_fetch_assoc() should have been mysqli not mysql... still not used to that. Then …
  • Member Avatar for showman13
    showman13

    Marked Solved Status for PHP function call renders blank screen

    Using PHP / MySQL This is a sort of long explanation, but trying to provide all the information the first time. Hopefully someone can tell me what I’m missing or …
  • Member Avatar for showman13
    showman13

    Created PHP function call renders blank screen

    Using PHP / MySQL This is a sort of long explanation, but trying to provide all the information the first time. Hopefully someone can tell me what I’m missing or …
  • Member Avatar for showman13
    showman13

    Began Watching PHP function call renders blank screen

    Using PHP / MySQL This is a sort of long explanation, but trying to provide all the information the first time. Hopefully someone can tell me what I’m missing or …
  • Member Avatar for showman13
    showman13

    Replied To a Post in .htaccess and mod_rewrite I'm guessing

    Dani, I continued searching the web and actually a lot of posts in here from several years ago after posting that question, and found what I think was the answer …
  • Member Avatar for showman13
    showman13

    Marked Solved Status for .htaccess and mod_rewrite I'm guessing

    Hi All, It has been a long while since I've been here, but I have hit a wall/mind block/ whatever you want to call it. This should be simple, but …
  • Member Avatar for showman13
    showman13

    Gave Reputation to Dani in .htaccess and mod_rewrite I'm guessing

    So basically what you want is to be able to pass a parameter into index.php. For example, domain.com/index.php?username=dani or domain.com/index.php?username=fred Your PHP code can then use `$username = $_REQUEST['username'];` in …
  • Member Avatar for showman13
    showman13

    Created .htaccess and mod_rewrite I'm guessing

    Hi All, It has been a long while since I've been here, but I have hit a wall/mind block/ whatever you want to call it. This should be simple, but …
  • Member Avatar for showman13
    showman13

    Began Watching .htaccess and mod_rewrite I'm guessing

    Hi All, It has been a long while since I've been here, but I have hit a wall/mind block/ whatever you want to call it. This should be simple, but …
  • Member Avatar for showman13
    showman13

    Marked Solved Status for rewrite rule to extract affiliate link from url

    I've been using an .htacccess file to define a rewrite rule for extracting the username from the end of a url for years. The username has always been a combination …
  • Member Avatar for showman13
    showman13

    Replied To a Post in rewrite rule to extract affiliate link from url

    Thanks for your response jkon. I am amazed at how many articles there are online that state specifically that you can do what I was trying to do and yet …
  • Member Avatar for showman13
    showman13

    Replied To a Post in rewrite rule to extract affiliate link from url

    This is an addendum to this thread because I've run into a separate issue while working through this process... What I have is an affiliate link that is made up …
  • Member Avatar for showman13
    showman13

    Revoked Solved Status for rewrite rule to extract affiliate link from url

    I've been using an .htacccess file to define a rewrite rule for extracting the username from the end of a url for years. The username has always been a combination …
  • Member Avatar for showman13
    showman13

    Replied To a Post in rewrite rule to extract affiliate link from url

    jkon, if you are around could you check your inbox for me. thanks Douglas
  • Member Avatar for showman13
    showman13

    Replied To a Post in rewrite rule to extract affiliate link from url

    jkon, please check your inbox... thanks
  • Member Avatar for showman13
    showman13

    Replied To a Post in rewrite rule to extract affiliate link from url

    Yep, it was just that simple... `$subdomain = StringUtils::beforeFirst( $httpHost ,"." ,$caseSensitive = false); ` since the httpHost already contains sub.domain.com That gave me exactly what I was looking for. …
  • Member Avatar for showman13
    showman13

    Replied To a Post in rewrite rule to extract affiliate link from url

    Not to be redundant, but I have to say that is a great piece of code... Once I read over it completely and understood what it was, it made me …
  • Member Avatar for showman13
    showman13

    Marked Solved Status for rewrite rule to extract affiliate link from url

    I've been using an .htacccess file to define a rewrite rule for extracting the username from the end of a url for years. The username has always been a combination …
  • Member Avatar for showman13
    showman13

    Replied To a Post in rewrite rule to extract affiliate link from url

    Great, thanks again for your response. Very valuable info to have. My morning project...
  • Member Avatar for showman13
    showman13

    Replied To a Post in rewrite rule to extract affiliate link from url

    jkon, thank you for that very thorough answer to the question. I'm printing it out to study and figure out what piece or portion of that is relevent in my …
  • Member Avatar for showman13
    showman13

    Created rewrite rule to extract affiliate link from url

    I've been using an .htacccess file to define a rewrite rule for extracting the username from the end of a url for years. The username has always been a combination …
  • Member Avatar for showman13
    showman13

    Began Watching rewrite rule to extract affiliate link from url

    I've been using an .htacccess file to define a rewrite rule for extracting the username from the end of a url for years. The username has always been a combination …
  • Member Avatar for showman13
    showman13

    Marked Solved Status for preg_match looking for value starting with a ?

    I am simply trying to compare a value entered into a form, to ensure it begins with a ? mark. I have tried suggestions I could find online but can't …
  • Member Avatar for showman13
    showman13

    Replied To a Post in preg_match looking for value starting with a ?

    Thank you diafol... not sure where my head was at.. ( well I could guess, but...) That will do the trick. Douglas

The End.