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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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) |
|
#2
| ||||
| ||||
| 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 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
| |||
| |||
| 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. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| files under ssl | mrocket | osCommerce 2.2 Installation Help | 2 | 04-28-2006 12:30 PM |
| Product picture viewing problems | Migraine | osCommerce 2.2 Modification Help | 0 | 04-18-2005 04:42 AM |
| Easier way of viewing and processing orders? | nfmg | osCMax v1.7 Discussion | 1 | 02-19-2005 12:08 PM |
| Problem viewing Enlarged pictures | pthurmond | osCMax v1.7 Discussion | 2 | 08-04-2004 03:51 AM |
| No install files? OSC pr 2.1 | sk | osCommerce 2.2 Installation Help | 1 | 02-03-2003 07:53 PM |