Is this not valid?

    Date: 02/08/06 (PHP Community)    Keywords: html

    example that isn't valid html img tag:
    $_POST['body'] = preg_replace('/asdf/', '<1.gif>', $_POST['body']);
    This returns a blank result.

    I have other preg_replaces working just fine, so I'm assuming I just don't know what I am doing in regards to regular expressions (and I don't). So is this just not valid, or do I need to try to figure out other causes for this not working?

    Source: http://community.livejournal.com/php/409921.html

« ./configure --disable-static || File Upload Woes »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home