Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 06-09-2009, 08:49 PM   #1
Active Warrior
 
Join Date: Aug 2002
Location: Australia.
Posts: 88
Thanks: 1
Thanked 3 Times in 3 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to successpro
Default Script To Replace Links Wanted

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

5 Billion Mobile Devices = HUGE Cash!!
http://www.letzretire.com
successpro is offline   Reply With Quote
Old 06-09-2009, 10:07 PM   #2
Warrior Member
 
kellogg9's Avatar
 
Join Date: Jun 2009
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: Script To Replace Links Wanted

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   Reply With Quote
Old 06-10-2009, 02:18 PM   #3
Active Warrior
 
Join Date: Aug 2002
Location: Australia.
Posts: 88
Thanks: 1
Thanked 3 Times in 3 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to successpro
Default Re: Script To Replace Links Wanted

Hi,


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


Bill

5 Billion Mobile Devices = HUGE Cash!!
http://www.letzretire.com
successpro is offline   Reply With Quote
Old 06-17-2009, 01:22 PM   #4
HyperActive Warrior
War Room Member
 
rtrotter's Avatar
 
Join Date: Jun 2009
Location: Lubbock, Texas
Posts: 104
Thanks: 20
Thanked 34 Times in 29 Posts
Social Networking View Member's FaceBook Profile 
Default Re: Script To Replace Links Wanted

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   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
links, replace, script, wanted

Thread Tools

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 03:38 AM.