strpos & PHP

    Date: 02/22/06 (Code WTF)    Keywords: php

    Bad notice:


    $pos = strpos( $newsbody, "

    " );
    if ( $pos != FALSE ) {
    $pos = strpos( $newsbody, "

    " );
    if( $pos == 0 )
    $newsbody = substr( $newsbody, 3 );
    }

    © http://php.net/manual/en/function.strpos.php#61769

    Source: http://community.livejournal.com/code_wtf/29920.html

« Как, вы не... || Гениальный... »


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