Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Two Lines added at the end of every .php file!

New Here ,
Dec 18, 2010 Dec 18, 2010

So, I've been using dreamweaver as a CMS applications; however, I've just run into a major problem where tons of my .php files have had two lines appended to the end, which in php is a code breaker.  Anyway to stop this, or at the least delete all these new lines!

TOPICS
Server side applications
285
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 18, 2010 Dec 18, 2010
LATEST

Thread has been moved to the Dreamweaver Application Development forum, which deals with PHP and other server-side issues.

I have been using Dreamweaver for PHP development for many years. Extra lines are never added to the end of pages unless you put them there yourself or something else in your setup is adding them.

If you are concerned about extra lines at the end of PHP scripts, omit the closing ?> tag. This is not only recommended practice, it's mandatory in the Zend Framework Coding Standard for PHP. See http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines