"Rich Pinder" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Let me try again: > > This line of the script: > > if (!stristr($lines[$key], $email)) { > > > yields the following error: > Warning: Empty delimiter in /home/sites/site56/web......... > > > Do you know what causes this error ? > > Thanks > r
My guess is that $email is empty (or possibly $lines[$key]). The documentation for stristr says nothing about generating warnings on such an occurance, but it would make sense. If your script can handle $email being empty, simply adjust your level of error-reporting or silence the warning with an @. Otherwise, fix whatever it is that's causing $email to be empty. -- Daniel Grace -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php