Forums / General Questions / What is the .ph extension

What is the .ph extension

Locked

Views: 2,981

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Jul 2007, 2:15 AM
#1
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

What is the .ph extension

I have noticed that in my includes/templates/template_default/templates folder there are some files with the .ph extension, namely:
tpl_product_free_shipping_info_display.ph
tpl_modules_products_featured_listing.ph
tpl_modules_products_quantity_discounts.ph
Are these corrupted files?
If not, how do they work?
Thanks.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

5 Jul 2007, 3:27 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: What is the .ph extension

Zen Cart does not use .ph file extensions.
Those are either displayed wrong, or maybe were renamed as backups.
Zen Cart would not use those files. It expects .php files.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Jul 2007, 4:28 AM
#3
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: What is the .ph extension

DrByte:

Zen Cart does not use .ph file extensions.
Those are either displayed wrong, or maybe were renamed as backups.
Zen Cart would not use those files. It expects .php files.
Thanks for the swift clarification.
Those files are not backups of any other .php file with the same name, probably corrupt.
My webhost uses a decompress/ftp utility called Webshell which does all sorts of weird stuff.
Won't use it any more, will simply decompress locally and ftp with Filezilla.
Will replace those files from a new decompressed 1.3.7.1.
Best regards.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

5 Jul 2007, 5:10 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: What is the .ph extension

To be safe, I would think you would best re-upload the entire installation, unless you have a lot invested in the particular files on your server already. If Webshell can truncate file extensions, who knows what little things it might do that you won't discover until you have fully customized your site and have gone live...

5 Jul 2007, 5:32 PM
#5
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: What is the .ph extension

gjh42:

To be safe, I would think you would best re-upload the entire installation, unless you have a lot invested in the particular files on your server already. If Webshell can truncate file extensions, who knows what little things it might do that you won't discover until you have fully customized your site and have gone live...
You are right of course.
Actually, this is what I intend to do, in order to prevent future complications.
Webshell has size limitations and times out, truncating files or simply not decompressing them at all.
I am going to enter a ticket with the webhost letting them know that the utility is not reliable.
Luckily I caught all this in early stages of development and can start over.
Thanks a lot for the sound advice.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)