Webmastersite.net
Register Log In

Importing from another script

Comments on Importing from another script

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted 10/28/12 - 12:44 PM:
Subject: Importing from another script

I am trying to import listings from another script, but the formatting the other script uses is very weird (example below). What can I do to clean this up to plain text?

Beautiful+Stainless+Steel+Red+Dial+Rolex+Oysterdate+Precision+-+1972.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+watch+casing+has+no+dents%2C+dings+or+damage+at+all+and+is+generally+in+superb+condition.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+dial+is+also+superb+condition+with+no+blemishes%2C+marks+or+paint+issues+at+all.+The+acrylic+glass+again+is+in+perfect+condition+with+no+scratches+or+any+other+marks+at+all.%3Cbr+%2F%3E%3Cbr+%2F%3EThis+Superb+watch+has+a+very+striking+red+and+white+explorer+dial+which+has+been+set+with+luminous+hour+markers+and+hands.+This+watch+is+very+eye+catching+and+perfect+for+everyday+wear+or+just+for+special+occasions.+The+date+feature+is+situated+at+the+3+o%E2%80%99clock+position+and+is+turning+well+and+easy+to+read.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+Movement+on+this+watch+is+very+clean+and+is+triple+Rolex+signed+and+has+only+very+recently+%28at+the+start+of+febrary+2012%29+been+fully+serviced+oiled+and+greased.+The+crown+is+original+to+the+watch+and+signed+with+the+Rolex+coronet.%3Cbr+%2F%3E%3Cbr+%2F%3EIf+you+wish+to+discuss+this+watch+%28or+any+of+our+other+items%29+over+the+phone+please+feel+free+to+call+Jamie+on+either+0203+4631+557+or+07824+566+575%3Cbr+%2F%3E

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7854
Paul
Posted 10/28/12 - 4:09 PM:

Loosk like it's urlencode()ed. See what you get running this simple script:
<?php echo '<textarea rows=10 cols=50>'.urldecode("Beautiful+Stainless+Steel+Red+Dial+Rolex+Oysterdate+Precision+-+1972.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+watch+casing+has+no+dents%2C+dings+or+damage+at+all+and+is+generally+in+superb+condition.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+dial+is+also+superb+condition+with+no+blemishes%2C+marks+or+paint+issues+at+all.+The+acrylic+glass+again+is+in+perfect+condition+with+no+scratches+or+any+other+marks+at+all.%3Cbr+%2F%3E%3Cbr+%2F%3EThis+Superb+watch+has+a+very+striking+red+and+white+explorer+dial+which+has+been+set+with+luminous+hour+markers+and+hands.+This+watch+is+very+eye+catching+and+perfect+for+everyday+wear+or+just+for+special+occasions.+The+date+feature+is+situated+at+the+3+o%E2%80%99clock+position+and+is+turning+well+and+easy+to+read.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+Movement+on+this+watch+is+very+clean+and+is+triple+Rolex+signed+and+has+only+very+recently+%28at+the+start+of+febrary+2012%29+been+fully+serviced+oiled+and+greased.+The+crown+is+original+to+the+watch+and+signed+with+the+Rolex+coronet.%3Cbr+%2F%3E%3Cbr+%2F%3EIf+you+wish+to+discuss+this+watch+%28or+any+of+our+other+items%29+over+the+phone+please+feel+free+to+call+Jamie+on+either+0203+4631+557+or+07824+566+575%3Cbr+%2F%3E").'</textarea>'; ?>
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission . Log in, or register if you haven't yet.