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

After opening .php file, Dreamweaver change the source code

New Here ,
Nov 02, 2017 Nov 02, 2017

Hi, when I open file html_output.php in Dreamweaver MX 6.1, the Dreamweaver change the source code

from (I can see it correct in PSPad editor) :

if ( ($params['type'] == 'button') && isset($link) ) {

to :

if ( ($params['type'] ']']== ']']==']=='button') && isset($link) ) {

I don't know why. When I save it, with changed text, then I will have error message for this line.

Thanks for help.

354
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

correct answers 1 Correct answer

Community Expert , Nov 02, 2017 Nov 02, 2017

Which PHP versions do you have on your local and remote testing servers?  The current version is PHP 7 but if your web host hasn't upgraded yet, you're probably on 5.5 or 5.6 -- certainly NOT version 3.

PHP: Migrating from PHP 5.6.x to PHP 7.0.x - Manual

Translate
LEGEND ,
Nov 02, 2017 Nov 02, 2017

I doubt if anyone will be able to help you with this problem, as Dw mx is now 15 years old, and whilst it should not rewrite your code, php 3 was the version supported in mx, and mx may not apply the re-write rules correctly.

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
Community Expert ,
Nov 02, 2017 Nov 02, 2017

Which PHP versions do you have on your local and remote testing servers?  The current version is PHP 7 but if your web host hasn't upgraded yet, you're probably on 5.5 or 5.6 -- certainly NOT version 3.

PHP: Migrating from PHP 5.6.x to PHP 7.0.x - Manual

Nancy O'Shea— Product User, Community Expert & Moderator
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
New Here ,
Nov 06, 2017 Nov 06, 2017
LATEST

I uninstall all servers etc for looking problem, but it was 5.5

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