Closed

Safe BBCode to HTML Parser Script for IMG tag

This project received 3 bids from talented freelancers with an average bid price of $100 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$30 - $250 USD
Total Bids
3
Project Description

I need my script edited and improved to parse our user's forum signatures.

AT THE MOMENT IT IS:

$simple_search = array(
'/\[b\](.*?)\[\/b\]/is',
'/\[i\](.*?)\[\/i\]/is',
'/\[u\](.*?)\[\/u\]/is',
'/\[center\](.*?)\[\/center\]/is',
'/\[img\](.*?)\[\/img\]/is',
'/\[font\=(.*?)\](.*?)\[\/font\]/is',
'/\[size\=(.*?)\](.*?)\[\/size\]/is',
'/\[color\=(.*?)\](.*?)\[\/color\]/is',
);

$simple_replace = array(
'$1',
'$1',
'$1',
'$1',
'',
'$2',
'$2',
'$2',
);

// Do simple BBCode's
$str = preg_replace ($simple_search, $simple_replace, $str);




I need this secured and improved ASAP

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online