note 1291 deleted from function.apache-lookup-uri by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 20:43:25 +0000 |
| Subject: | note 1291 deleted from function.apache-lookup-uri by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25416@lists.php.net to get a copy of this message | ||
i made this mistake, so i'm sharing..
if $mimetype is a class returned by a uri lookup for a file, and you wanted to do something
involving the result
<b>ereg("/", $mimetype[content_type]);</b>
would not work.
but <b>ereg("/", "$mimetype[content_type]");</b> would.