Re: file exists problem
Remote server using *nix platform perhaps?
Best regards,
--
Sony AK
Technical Evangelist
Sony AK Knowledge Center
www.sony-ak.com
Contacts:
Yahoo! ID: sonyakknowledgecenter@xxxxxxxxx
Gtalk: sonyakknowledgecenter@xxxxxxxxx
Facebook Page:
http://www.facebook.com/pages/Sony-AK-Knowledge-Center/323394499613
Twitter: http://twitter.com/sonyakknowledge
On Sun, Apr 25, 2010 at 11:03 AM, Behnoosh Moshtagh <euruse@xxxxxxxxx>wrote:
>
>
> The path of file on remote server should be change!
>
> $filename='THE NEW PATH';
>
> From: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com> [mailto:
> php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com>] On
> Behalf Of atkelleden atkelleden
> Sent: Thursday, April 22, 2010 4:21 PM
> To: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com>
> Subject: file exists problem
>
>
> The following script work fine in my computer (the file exists).
> but
> I copy them to a remote server. 'File does not exist' result is returned.
>
> $filename = 'C:/banners/b.jpg';
>
> if (file_exists($filename)) {
> echo "The file $filename exists";
> } else {
> echo "The file $filename does not exist";
> }
>
> thanks a lot.
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]
------------------------------------
Are you looking for a PHP job?
Join the PHP Professionals directory Now!
http://www.phpclasses.org/jobs/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-objects/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/php-objects/join
(Yahoo! ID required)
<*> To change settings via email:
php-objects-digest@xxxxxxxxxxxxxxx
php-objects-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
php-objects-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
[PHP Home]
[PHP Users]
[PHP Soap]
[Kernel Newbies]
[Yosemite]
[Yosemite Campsites]