Ross wrote:
> $link= "../text_only/$filename";
> ?>
>
>
> any ideas how to prevent this error?
>From the PHP Documentation:
"$_SERVER is an array containing information such as headers, paths, and
script locations. The entries in this array are created by the webserver.
There is no guarantee that
Ross wrote:
any ideas how to prevent this error?
$_SERVER is an array. and also a variable. we can be sure
it exists if we are running a webserver php module, so we don't need
to test if it's set or not BUT the index of the array pointed to
by 'SCRIPT_FILENAME' does not necessarily exist so
any ideas how to prevent this error?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo