Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 9th Jun 2009, 07:49 PM   #1
Active Warrior
War Room Member
 
Join Date: 2002
Location: Australia.
Posts: 60
Thanks: 1
Thanked 8 Times in 6 Posts
Default
Script To Replace Links Wanted
Share on: 
fb share twitter share gplus share more share

Hi everyone,


I'm in the process of setting up my affiliates resource page
in my new membership site.


I'm looking for a script that will allow the affiliate to
enter their affiliate ID in a box at the top of the page,
press a button and have the script update all the affiliate
tools with their link....banner codes, solo ads, tell a
friend script etc.


Anyone have a suggestion?



Thanks in advance


Bill
successpro is offline  
Unread 9th Jun 2009, 09:07 PM   #2
Warrior Member
 
kellogg9's Avatar
 
Join Date: 2009
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Script To Replace Links Wanted
Share on: 
fb share twitter share gplus share more share

Doesnt sound very difficult to implement. But then i am not sure how comfortable you are as a programmer. I assume you are using PHP. By your having a web page already for me it wouldnt take more than 30-mins to have it all up....If i have time i will PM you my email addy and you can send me your page and i will upgrade it with the script

kellogg9 is offline  
Unread 10th Jun 2009, 01:18 PM   #3
Active Warrior
War Room Member
 
Join Date: 2002
Location: Australia.
Posts: 60
Thanks: 1
Thanked 8 Times in 6 Posts
Default
Re: Script To Replace Links Wanted
Share on: 
fb share twitter share gplus share more share

Hi,


Thanks, I have just sent you a pm with some more information


Bill
successpro is offline  
Unread 17th Jun 2009, 12:22 PM   #4
HyperActive Warrior
War Room Member
 
rtrotter's Avatar
 
Join Date: 2009
Location: Lubbock, Texas
Posts: 103
Thanks: 18
Thanked 32 Times in 28 Posts
Default
Re: Script To Replace Links Wanted
Share on: 
fb share twitter share gplus share more share

You can use something like this in a preg_match_all to pull out the links and then rebuild them.

"'<*?href\s*=\s* # find <a href=
([\"\'])? # find single or double quote
(?(1) (.*?)\\1 | ([^\s\>]+)) # if quote found, match up to next matching
# quote, otherwise match up to next space
'isx"

Rodney

Ping All Your Feed On Auto-Pilot
www.kping.com
rtrotter is offline  
Closed Thread


Bookmarks

Tags
links, replace, script, wanted


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 09:34 AM.