PDA

View Full Version : PHP and Dreamweaver. What gives?


SelRahc
11-15-2004, 08:56 PM
** MAke that PHP @ Dreamweaver... what gives hehe. Not a problem with VB Advanced per say.

It seems to me people are having alot of problems when they edit their PHP files using dreamweaver. Wouldn't it be better to figure out why dreamweaver is "making changes" to the code rather than say don't use it? I find it hard to believe Macromedia would or any other company would release a program that would deliberately mess with your code. Especially since thousands of people use their product on a daily basis.

I have used Dreamweaver to edit my asp code for several years and it has never modified code on me before.

Perhaps it's just a setting that nees to be turned on or off to stop it from... doing whatever it is its doing? Maybe we can find the underlying cause rather than pawn editing off on something like notepad?

Does anyone know WHY dreamweaver messes up this code when edited???

Just my 2 cents.

Brian
11-15-2004, 09:21 PM
I believe it's caused by some setting, but I don't remember which. And it's not because of vBadvanced, that's a default vBulletin file that it's messing up when modified.

Our Sponsors
 

SelRahc
11-15-2004, 09:26 PM
Oh I wasnt trying to say it was because of Vba. I'm just curious as to the underlying reason. Just seems odd thats all. ;)

Brian
11-15-2004, 09:28 PM
Just making sure that was clear since the title sounds like it's a vBa problem when infact it's not even a vBa file that the problem occurs with. ;)

Our Sponsors
 

Zachery
11-15-2004, 09:29 PM
IT happens due to the fact that Dreamweaver makes " corrections " which it thinks will help you :)

SelRahc
11-15-2004, 09:37 PM
IT happens due to the fact that Dreamweaver makes " corrections " which it thinks will help you :)

Do you happen to know where / if there is a setting to tell Dreamweaver to stop helping so much? hehe

Torqued
11-15-2004, 09:44 PM
What version of Dreamweaver?

In Dreamweaver MX 2004, have a look @ Preferences (ctrl-U) and the "Code Rewriting" options.

Artayick
11-15-2004, 10:03 PM
dreamweave is designed to "selfcorrect" your coding.. so where it thinks you make a mistake it fixes it. This is the core design of the software.. I know it can be turned off some how I just use a plain text editor now though.. saves me much trouble

Torqued
11-15-2004, 10:37 PM
dreamweave is designed to "selfcorrect" your coding.. so where it thinks you make a mistake it fixes it. This is the core design of the software.. I know it can be turned off some how I just use a plain text editor now though.. saves me much trouble

Check out this page for an explanation of code fixing parameters for Dreamweaver MX 2004

http://livedocs.macromedia.com/dreamweaver/mx2004/using/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Using_Dreamweaver&file=21_cod36.htm

Also, searching google for turn off dreamweaver code rewriting yields lots of similarly useful information.

Jason McConnell
11-18-2004, 11:48 PM
I found that setting on my own once... lotta good it did. :mad: Not that I actually paid for Dreamweaver, but someone did buy it for me as a gift. :rolleyes:

mholtum
11-19-2004, 08:24 AM
I had issues with my older version of Dreamweaver, but since getting the Macromedia Studio MX 2004 with DW 7.1, I havent had a single issue..

PamBlizzard
11-19-2004, 10:41 AM
I use DreamWeaver 4 and if I "SAVE AS PHP" it does not change my code.

However, if I forget, and save PHP code as HTML it DOES change my code.

Polo
11-19-2004, 02:49 PM
I'm I the only one here using good old CuteHTML to edit my files lol...

by the way, for those who dont know CuteHTML is a file editor just like notepad but with hundreds of more options and features, i highly recommend it.

Brian
11-19-2004, 03:05 PM
^ Used UltraEdit for years. :)

Polo
11-19-2004, 03:05 PM
you recommed it?

Polo
11-19-2004, 03:08 PM
oh well, looks nice (http://images.google.com/images?q=UltraEdit%20&hl=en&lr=&sa=N&tab=wi) ;)

Brian
11-19-2004, 03:10 PM
It's always worked well for me. I've never really looked at many other programs, but that's mostly because I've never had any problems and I figure if it ain't broke, don't fix it. ;)