19-06-2005, 16:15
|
|
|
חבר מתאריך: 01.11.04
הודעות: 109
|
|
file_exists לא עובד לי, עזרה דחוף.
שלום לכולם,
אני עובד עם file_exists בידיוק כמו שצריך ומשום מה הוא מציג לי שהקובץ לא קיים.
להלן הקוד:
קוד PHP:
<?php $filename = 'http://img260.echo.cx/img260/5491/untitled12fw.gif'; if (file_exists($filename)) { echo "The file $filename exists"; } else { echo "The file $filename does not exist"; } ?>
הוא מציג לי The file ..... doest not exist.
את הקוד לקחתי מהאתר php.net, מה תגידו על זה?
תודה רבה,
טל.
_____________________________________
Your signature did not follow Fresh's signatures policy, therefore it was automatically erased. Please see the E-Mail which has been sent to you, to learn how to fix this.
|