Webmaster Forum

Lionsanime Directory   1,000 Directory Submissions   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Reply
 
LinkBack Thread Tools Display Modes
Old 09-05-2004, 12:15 PM   #1 (permalink)
Inactive
 
Join Date: 06-27-04
Posts: 454
iTrader: 0 / 0%
Latest Blog:
None

crazyhorse is liked by many
How to replace a part of a string, url?

Anyone knows how i can replace a part of a string, url or strings on one html page? Maybe some javascript that might do it ?

http://XXXXXXXXXXXXXXXXXXXXX?loc=htt...tegory%3d57254

The xxx i want to replace
crazyhorse is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 09-06-2004, 06:38 AM   #2 (permalink)
Inactive
 
samer's Avatar
 
Join Date: 10-13-03
Location: Lebanon
Posts: 4,099
iTrader: 0 / 0%
samer is just really nicesamer is just really nicesamer is just really nicesamer is just really nicesamer is just really nicesamer is just really nicesamer is just really nicesamer is just really nicesamer is just really nicesamer is just really nicesamer is just really nice
is this what you want ?
________

[change.php]
<?
$url1 = $_GET['url1'] ;
$url2 = $_GET['url2'] ;
$url3 = $url1 . $url2 ;
header("Location: $url3") ;
?>
### Example ###
http://www.url.com/change.php?url1=h...&url2=ebay.cgi
samer is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-06-2004, 09:32 AM   #3 (permalink)
Inactive
 
Join Date: 06-27-04
Posts: 454
iTrader: 0 / 0%
Latest Blog:
None

crazyhorse is liked by many
hi there samer thanks for the fast reply,


eh does this mean i need to create a new php page and i will have to add this action,form in the new pages and for each new created link. Im having more then one link on each page. To be more precised its a xml data feed that i like to edit and let it redirect to a new landing page. I never done something like this before.The data feed is updating itself constantly.
crazyhorse is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
preg replace - replace links pairbrother Coding Forum 4 06-19-2007 12:19 PM
I need to replace 100's of links all at once Johnny0123 Web Design Lobby 11 05-16-2007 01:24 AM
need help w/ find and replace script... PhoenixSlayerSX Coding Forum 0 01-07-2007 11:48 AM
Should SEM replace SEO? webmaster SEO Forum 19 02-07-2006 07:44 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:59 AM.
© Copyright 2008 V7 Inc