View Single Post
  #1  
Old 03-11-2006, 06:20 PM
PureMoxie PureMoxie is online now
Registered User
 
Join Date: 11-21-2004
Posts: 78
storing web script files (e.g., PHP)

I thought I would experiment with storing web code files in UR.

I dragged some php files to the tree, and most of them displayed the behavior I wanted: the source is indexed, visible in the text editor, and I can launch the external file in my code editor using Ctrl-J.

Then I hit some files that didn't work this way. Unlike the former files, which were pure php with no embedded html, the second type of files are php but also have plain html info in them (<html><body>, etc.).

The second type of file imports as a web document and I get an IE download prompt when browsing to it in UR.

I tried setting .php as a file type to edit in the text editor but this didn't help. It seems UR senses the html on import.

This brings up another issue that there is probably no way around... some .html files I would want to store as plain text like this while others should behave as normal web documents.

Any ideas? This would be really cool if I can get it to work.
Reply With Quote