Jump to content

ftp transfer breaks php


nikohak

Recommended Posts

I have a simple email subscribtion php-script that collects users email addresses to a text file. I have similar text file on my computer and I would like to combine them manually.

 

For some reason if I download the txt-file from the server add the emails and upload it back, the system stops working (adding new emails when someone uses the form). This even happens if I download the txt-file and then upload it back without even opening it locally?

 

I've checked permissions for that file and they remain the same. Can it be some sort of uploading/encoding issue?

I've tried transfering as text & binary but it doesn't help. When I open the downloaded file in notepad it says it is using ANSI encoding.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.