Results 1 to 3 of 3

Viewing Files

This is a discussion on Viewing Files within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; For some reason, on one of our computers, when I go to view or edit a php file out of ...

      
  1. #1
    Lurker
    Join Date
    Mar 2006
    Posts
    4
    Rep Power
    0


    Default Viewing Files

    For some reason, on one of our computers, when I go to view or edit a php file out of my ftp client, there are no line breaks and there are little boxes in the code. Any ideas why?

    PHP files are associated with some type of Broderbund program on the computer as well.

    Here's an example:
    Code:
    <?php
    /*
      osCommerce, Open Source E-Commerce Solutions
      http://www.oscommerce.com
    
      Copyright (c) 2003 osCommerce
    
      Released under the GNU General Public License
    */
    
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    well it didn't paste that way!???

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default RE: Viewing Files

    Is that better? Use the code /code tags.....

    Use a real editor like NoteTab (free) or UltraEdit(cheap-but very good). Right click on ANY .php file select OPEN WITH then "Choose Program" (don't chose another option - even if the program you want to use is listed). Find your perfered editor or use the "Other..." to browse to the program file it and then check "Always use this program to open these files". Click 'OK'.

    Next time you double click it will open in your perfered program.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    New Member
    Join Date
    Oct 2004
    Posts
    27
    Rep Power
    0


    Default RE: Viewing Files

    Thanks for the reply. I found out what was wrong. I don't remember what the transfer setting on my ftp client was (I think it was on auto), but when I changed it to ASCII everything reads fine.

Similar Threads

  1. files under ssl
    By mrocket in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 04-28-2006, 01:30 PM
  2. Product picture viewing problems
    By Migraine in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-18-2005, 05:42 AM
  3. Easier way of viewing and processing orders?
    By nfmg in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-19-2005, 12:08 PM
  4. Problem viewing Enlarged pictures
    By pthurmond in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 08-04-2004, 04:51 AM
  5. No install files? OSC pr 2.1
    By sk in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 02-03-2003, 07:53 PM

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
  •