SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question PHP files transfer

    Hi, I'm a PHP newbie, recently I have a problem transfering file to a webserver through ftp.

    I've downloaded a php file from the webserver and make some changes to the file using a notepad but when I uploaded it back to the server, the page becomes blank.

    What is the problem? Is it bcoz of the webserver is a linux machine and my client PC is a windows? or there is something wrong with the transfer format. I transfered in binary format using latest ws-ftp pro software.

    Please help.

  2. #2
    SitePoint Wizard cranial-bore's Avatar
    Join Date
    Jan 2002
    Location
    Australia
    Posts
    2,634
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you sure the changes you made to the script aren't the problem?
    Sounds to me like the script is generating an error, and PHP on the server is set to hide errors from the user hence the blank page.

    Linux/Windows should make no difference.

  3. #3
    SitePoint Addict amitjoshi's Avatar
    Join Date
    Jul 2005
    Location
    Oklahoma, USA
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Upload the file again. May be the file got corrupted when you uploaded it.

    Also sicnce you you made changes using notepad, may be you haven't tested the file in the local server and dues to those errors, the page is blank.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •