Forums / General Questions / many php files do not have ending code "?>",why?

many php files do not have ending code "?>",why?

Started by linjuming on 16 Jul 2012, 2:07 AM · Views: 682

Results 1 to 3 of 3
16 Jul 2012, 2:07 AM
#1
linjuming avatar

linjuming

Zen Follower

Join Date:
Apr 2012
Posts:
151
Plugin Contributions:
0

many php files do not have ending code "?>",why?

many php files in zencart do not have ending code "?>",why?
for example: modules/pages/account_history/header_php.php

16 Jul 2012, 2:10 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: many php files do not have ending code "?>",why?

A quick search for that topic in the FAQs section gives you the answer: http://www.zen-cart.com/content.php?271-some-of-my-php-files-are-missing-the-at-the-end-of-the-file

.
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.

16 Jul 2012, 2:49 AM
#3
linjuming avatar

linjuming

Zen Follower

Join Date:
Apr 2012
Posts:
151
Plugin Contributions:
0

Re: many php files do not have ending code "?>",why?

good reply, thank you very much