Jump to content

Recommended Posts

Hey everyone

 

I have a question, and I don't know if this is the best Forum to post it in, so if it's not the right place I'm sorry.

 

Anyway, here's my question.

 

Does anybody know if it's possible to open PHP files with the HTML editor included in Visual Studio 2003?

 

When ever I try it, it opens with the XML editor, so I can't do what I want to do with it.

 

 

Thanks in advance for your help

Mathematicman

 

Link to comment
https://forums.phpfreaks.com/topic/92919-php-and-visual-studio-2003/
Share on other sites

Microshaft adopted <? as the tag for xml code.

 

Does it open the php file if you use long tag <?php

Yeah... I don't think that's it...

 

Usually when I use PHP I use the <?php tag, not <? (unless I use it for the end, (?>))

 

Also, often my php files will contain mostly HTML, or in some cases all HTML... so I would think it would see no XML like code... but it still opens it as a XML file...

 

I would not use something by microsoft, especially for PHP.... there are plenty of PHP editors that are nice.

 

Zend Studio is one for example, http://www.zend.com

 

Yeah, I know Visual Studio isn't really the best option, but I use a shared computer, so I can't really download any other software, but the computer does have visual studio with an HTML editor (which is better than what I was using before (Notepad  ;):P )),

Theres a plugin for vs.net 2k3 here but its not free.

http://vs-php-for-visual-studio-net-2003.jcx-software-corp.qarchive.org/

 

Alternatively you could try to find a php editor that can be installed on a flash drive. SciTE apparently does and its free!

http://www.scintilla.org/SciTE.html

 

 

Even free PHP editors do that too.  Check out the Editor discussion in the Misc forum.

 

I like dreamweaver, even though it is not free I love it.

 

The way it changes the text to color coded makes it easier to read.

 

Microshaft adopted <? as the tag for xml code.

 

ahhhhh, so that'll be why short tags are now turned off by default in php 5 - cheers microsoft  >:(

 

I've heard of an online editor that's recently been launched, its supposed to have syntax highlighting etc, cant recall the name though.

 

 

edit: helene and EditArea both do syntax higlighting in the browser, EditArea looks best though

Microshaft adopted <? as the tag for xml code.

 

ahhhhh, so that'll be why short tags are now turned off by default in php 5 - cheers microsoft  >:(

 

I've heard of an online editor that's recently been launched, its supposed to have syntax highlighting etc, cant recall the name though.

 

 

edit: helene and EditArea both do syntax higlighting in the browser, EditArea looks best though

CodePress is coded in JS and has syntax highlighting.  Not sure what languages it's built for though.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.