Results 1 to 3 of 3
  1. #1
    Affiliate/AM Moonlighter dflsports's Avatar
    Join Date
    January 17th, 2005
    Posts
    874
    php search and replace
    I am importing feeds using php.
    I would like to do a search and replace to add tracking codes to the urls. Anyone have any advice

    Thanks!

    Nevermind, I just figured it out
    Last edited by dflsports; January 24th, 2006 at 11:41 PM.

  2. #2
    ABW Ambassador FFoc's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,015
    For anyone else looking here for the answer - check out str_replace(), and all the 'See alsos' at the bottom of the entry.
    “An adventure is an inconvenience rightly considered. An inconvenience is an adventure wrongly considered.” - G.K. Chesterton

  3. #3
    ABW Ambassador PatrickAllmond's Avatar
    Join Date
    September 20th, 2005
    Location
    OKC
    Posts
    1,219
    If you don't have it I'd also go to php.net under documentation and download the Windows Help.CHM files. That way you have the entire PHP reference manual on your desktop 24/7.
    ---
    This response was masterly crafted via the fingers of Patrick Allmond who believe you should StopDoingNothing starting today.
    ---
    Focus Consulting is where I roll | Follow @patrickallmond on Twitter
    Search Engine Marketing | Search Engine Optimization | Social Media | Online Video

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Help with MASS search and replace please
    By matthecool in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: May 18th, 2007, 07:25 PM
  2. How can I replace commas. Replace wont' do it
    By sotonman in forum WebMerge (Fourthworld.com)
    Replies: 8
    Last Post: April 25th, 2007, 04:37 AM
  3. replace the SID in Php
    By glittered in forum GoldenCAN
    Replies: 3
    Last Post: March 15th, 2007, 10:52 PM
  4. Batch Search/Replace/Rename Programs?
    By Adrian in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: March 5th, 2007, 02:09 AM
  5. Search with PHP
    By wly in forum Programming / Datafeeds / Tools
    Replies: 14
    Last Post: December 10th, 2004, 10:48 AM

Posting Permissions

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