Re: Ftp a file-->errors in rendered page, Ftp the file again-->works fine. Huh?
| From: | Travis Doherty | Date: | Thu, 23 Nov 2006 20:20:16 +0000 |
| Subject: | Re: Ftp a file-->errors in rendered page, Ftp the file again-->works fine. Huh? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245105@lists.php.net to get a copy of this message | ||
Nicholas Crosby wrote:
>Hello:
>
>I would appreciate any help on this that someone might have. A student of
>mine found this issue. He ftp's a file to a server and looks at it through a
>browser, there are errors. He uploads the file again, it works fine. I am
>stumped. Any ideas? Here is the text of the file that he is uploading.
>Basically, if you add some more text to the bottom and upload it, the page
>will not generate the proper output.
>
>
The file is uploaded using an FTP client or it is uploaded using PHP's
FTP functions?
If I understand correctly, it sounds like the FTP client is having
troubles uploading the file. Try to minimize the script and see if you
can still reproduce:
<?php
echo "<html><body>Hello</body></html>";
?>
If you upload a script like that, does it get something simple done
correctly or does that also require a second upload?
Travis