Can"t Replace File on the Server

Can"t Replace File on the Server

am 23.03.2006 03:03:04 von kc68

I sent an update to a php script to the server but the page in the browser
didn't change. Viewing the file on the server shows the new script. I
changed the file name on the hard drive and sent it to the server and the
browser didn't find the newly-named file, though I see that the
newly-named file is on the server. When I open the updated script on the
hard drive, the page starts with
\n"; echo " That same coding appears after the first and second lines,
more extensive code appears after the first paragraph, and in place of the
table is a series of \n"; down the left column.

Any ideas what's wrong?

Ken

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Can"t Replace File on the Server

am 23.03.2006 03:23:23 von Chris

kc68@cornell.edu wrote:
> I sent an update to a php script to the server but the page in the
> browser didn't change. Viewing the file on the server shows the new
> script. I changed the file name on the hard drive and sent it to the
> server and the browser didn't find the newly-named file, though I see
> that the newly-named file is on the server.

It sounds like you're uploading to the wrong location.

Are you uploading the new script into the public_html or httpdocs or
appropriate folder?

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Can"t Replace File on the Server

am 23.03.2006 03:33:23 von kc68

Yes, I've checked that I'm uploading to the right folder (the script on
the server has changed, so I don't know what the browser is reading to
show the old wording). The fact that the coding is showing when I open
the script on the hard drive suggests that something like an angle bracket
is missing, but I don't find that.

**********
On Wed, 22 Mar 2006 21:23:23 -0500, Chris wrote:

> kc68@cornell.edu wrote:
>> I sent an update to a php script to the server but the page in the
>> browser didn't change. Viewing the file on the server shows the new
>> script. I changed the file name on the hard drive and sent it to the
>> server and the browser didn't find the newly-named file, though I see
>> that the newly-named file is on the server.
>
> It sounds like you're uploading to the wrong location.
>
> Are you uploading the new script into the public_html or httpdocs or
> appropriate folder?
>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Can"t Replace File on the Server

am 23.03.2006 03:39:08 von Chris

kc68@cornell.edu wrote:
> Yes, I've checked that I'm uploading to the right folder (the script on
> the server has changed, so I don't know what the browser is reading to
> show the old wording). The fact that the coding is showing when I open
> the script on the hard drive suggests that something like an angle
> bracket is missing, but I don't find that.

How are you uploading the file? php script? ftp program? Other?


> **********
> On Wed, 22 Mar 2006 21:23:23 -0500, Chris wrote:
>
>> kc68@cornell.edu wrote:
>>
>>> I sent an update to a php script to the server but the page in the
>>> browser didn't change. Viewing the file on the server shows the
>>> new script. I changed the file name on the hard drive and sent it
>>> to the server and the browser didn't find the newly-named file,
>>> though I see that the newly-named file is on the server.
>>
>>
>> It sounds like you're uploading to the wrong location.
>>
>> Are you uploading the new script into the public_html or httpdocs or
>> appropriate folder?
>>
>


--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Can"t Replace File on the Server

am 23.03.2006 03:40:57 von kc68

ws_ftp as I've done numerous times before.

************
On Wed, 22 Mar 2006 21:39:08 -0500, Chris wrote:

> kc68@cornell.edu wrote:
>> Yes, I've checked that I'm uploading to the right folder (the script
>> on the server has changed, so I don't know what the browser is reading
>> to show the old wording). The fact that the coding is showing when I
>> open the script on the hard drive suggests that something like an
>> angle bracket is missing, but I don't find that.
>
> How are you uploading the file? php script? ftp program? Other?
>
>
>> **********
>> On Wed, 22 Mar 2006 21:23:23 -0500, Chris wrote:
>>
>>> kc68@cornell.edu wrote:
>>>
>>>> I sent an update to a php script to the server but the page in the
>>>> browser didn't change. Viewing the file on the server shows the
>>>> new script. I changed the file name on the hard drive and sent it
>>>> to the server and the browser didn't find the newly-named file,
>>>> though I see that the newly-named file is on the server.
>>>
>>>
>>> It sounds like you're uploading to the wrong location.
>>>
>>> Are you uploading the new script into the public_html or httpdocs or
>>> appropriate folder?
>>>
>>
>
>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php