At 04:55 23.03.2003, Dan Rossi said:
--------------------[snip]--------------------
>hi guys , i am sure this worked on an earlier version of php,
>
>
>'NOT_ALLOWED_EXTENSION' => "Not Allowed File Extension, the following
>filetypes are allowed : ($this->type)\n", this is inside an array
>
>then i used to do
>
>$this->extract_filetypes($this->imgtypes);
>$this->error_codes[NOT_ALLOWED_EXTENSION];
>
--------------------[snip]--------------------
If you put $this->type in curly quotes it will work:
$emsg = array('NOT_ALLOWED_EXTENSION' => "Not Allowed File Extension, the
following filetypes are allowed : ({$this->type})\n",
);
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php