Re: Help Needed

From: Date: Mon, 10 Mar 2003 22:13:03 +0000
Subject: Re: Help Needed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139044@lists.php.net to get a copy of this message
Thanks for the prompt reply Michael I am trying to protect files on the site, my script checks for a valid session ID and fopens() a File. This file is located in a different Dir from the php script. When the file is a simple html file , I can easily fopen() the file (Even though it contains gifs) The real problem arises is when this html file has been exported from Fireworks (I.E. ".png" file ) The resulting file shows many missing links wihen I try to fread() the html file. Although the file is displayed fine when I point my Browser (Mozilla) to it. I am testing on the MAC OS Jaguar Platform Thanks again --pS On Tuesday, March 11, 2003, at 09:12 AM, Michael Roger C. Bianan wrote:
Garcha, Kindly check your file paths. When you export it, it may not point to what really is the real path online. May I ask what are you trying to achieve? -----Original Message----- From: Pushpinder Singh Garcha [mailto:pgarcha@adelphia.net] Sent: Monday, March 10, 2003 1:45 PM To: php-general@lists.php.net Subject: [PHP] Help Needed Hey All My Php App is trying to fopen() and fread() a File that is located in the Web Server. This works if the file is a simple html file. However the complicated part is that the file is not displayed correctly i.e. it has missing gifs if, it was created using Fireworks and then subsequently exported as a html. Any help will be highly appreciated TIA Pushpinder Singh Garcha _________________________________ Web Architect -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Pushpinder Singh Garcha _________________________________ Web Architect

« previous php.general (#139044) next »