How to make extensionless files open as PHP in Dreamweaver

I currently have some files that do not have any file
extension. For example, my file would be "test" instead of
"test.php". Is there a way to tell dreamweaver to open an
extensionless file, by default, as a php file? Right now it just
opens it up as a plain txt file. I was looking through the config
xml files for dreamweaver, but didn't want to break anything.
Thanks in advance,
Jesse

On 02 Apr 2008 in macromedia.dreamweaver, Michael Hager
wrote:
> you can't get browsers to open files without the proper
extension.
Sure you can, at least with an Apache server:
http://httpd.apache.org/docs/1.3/content-negotiation.html
I recently found out that Apache on Debian comes with it
enabled, so that
if the filename on the server is foo.php, you can surf to
http://example.com/foo, and the
file will come up.
Joe Makowiec
http://makowiec.net/
Email:
http://makowiec.net/contact.php

Similar Messages

  • How to make WMV files open in in Windows Media Player not Flip4Mac/QT

    I just installed Safari 4. With Safari 3 when I clicked on a WMV file on a web site it would automatically open in Windows Media Player. I liked this arrangement just fine. When I installed Safari 4, instead of this happening WMV files started to download instead. I installed Flip4Mac and now they play in QuickTime but I don't like the controls... i.e. I cannot adjust the volume except from the keyboard.
    Is there any way to make WMV files open in Windows Media Player the way they used to in Safari 3 instead of either downloading or opening in QuickTime with Flip4Mac?

    Not very easy but it could be done.
    If the file opens in QuickTime (via Flip4Mac) you can use the Movie Inspector window to "find" the URL. Then open that URL directly in WMP.
    You could also dig through the page source code or use the Safari Activity window to find the URL.

  • How to make InDesign files open by default in CC, not CC 2014

    Now that I have 2 version of InDesign on my mac (10.8.5 - Mountain Lion), both CC and CC 2014, how can I make my .indd files open by default in CC instead of the new 2014 version?
    I've tried selecting a .indd file, opening the Info panel and changing the "Open with:" option to "Adobe InDesign CC.app 9.2.2.103". I then click Change All.. and confirming. However, this does not work. Double-clicking any .indd file still opens in the 2014 version and the Info panel for any .indd file still shows the 2014 version as the "Open with:" default.
    Any ideas?

    Here are three methods. The first two are free but don't give you exactly what you want. The third requires a third-party utility and works perfectly.
    (1) Right-click on a file and from the menu choose Open With... then choose the version of InDesign you want.
    (2) Create an alias for your InDesign versions and place them on your Desktop. Drag your InDesign file onto the alias of the version you want to open.
    (3) Purchase Soxy from Rorohiko:
    Soxy | Rorohiko Workflow Resources
    NOTE: Rorohiko says the version that supports InDesign CC 2014 is coming soon, they're waiting to test the new version before they release it.

  • How to make pdf file auto open with adobe reader after downloaded

    how to make pdf file auto open with adobe reader after downloaded

    I note from your system details that you have the plugin for adobe pdf s so I would have expected the files should open in firefox '''without''' you needing to explicitly download them.
    Once the files are open in firefox, you will also get the option to save them permanently to a location on your computer. If you wish I suppose you could set the file type pdf to be associated with and be opened by firefox instead of with the Adobe Acrobat Reader, but that would just seem to be an additional complexity.

  • How to make photoshop cs4 open dng files?

    How to make photoshop cs4 open dng files?

    They are opened by Photoshop through the ACR plug-in you should make sure the ACR 5.7 update is installed for your CS4.
    Adobe - Photoshop : For Macintosh
    Adobe - Photoshop : For Windows

  • How to make word files in mac

    how to make word files, presentations orview such files in mac

    Open Office can be opened in MS Word, and vice versa, looks nearly 100% same as Office and Word but is FREE
    tons use it
    http://www.openoffice.org/download/index.html

  • How to make html file on server side from the data entered in text area

    Hi!
    I want to know how to make .html file on server side. Like if i enter the data in text area ( or like we normaly see when we write mail that editor) and we can use html tages in it and when user submit form all the data in that field will be saved on server side as an html formate. Is it possible to do so??? or any ruff idea how to design it???

    Erm ...
    Whats the problem with that?!
    Ok, here the code ...
    String myparameter = request.getParameter("paramname");
    String htmltemplate = "<html>\n"
                         +"<head><title>demo</title></head>\n";
                         +"<body>@parametertag@</body>\n";
                         +"<html>";
    String htmlpage = htmltemplate.replaceAll("@parametertag@",myparameter);
    File yourHTMLfile = new File("wheredoyouwannagotoday.html");
    FileOutputStream fos = new FileOutputStream(yourHTMLfile);
    fos.write(htmlpage.getBytes());
    fos.close();You're done.
    Happy Coding! :-) &copy;

  • How to Upload a File using FileReference + PHP??

    How to Upload a File using FileReference + PHP??
    If you could help me with a two code examples the AS code and
    the PHP code of a working example.
    Thanks
    Jorge

    http://www.flash-db.com/Tutorials/upload/upFiles.php?page=1

  • How to make Jar files in JBuilder

    I would like to know how to make jar files using JBulider. I have a problem with a project that I am working with in Swing. I have made the project on JBuilder and when I make a jar file it will not run upon clicking.
    Any body with an answer, please help
    Abhi

    It sounds like your Main-Class is not set properly in your manifest. To set your Main-Class, please follow these directions:
    http://java.sun.com/docs/books/tutorial/jar/basics/run.html

  • How to make jar files availabe for deployed EJBs

    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar to the
    classpath, but I think that shouldn't be the way. Is there somthing in the admin
    console to make jars available or do I have to insert it in the ear file? And
    if so, where do I hve to place it?
    Thanks
    Claudia

    Put the util.jar in the ear with your ejb jars - at the same level (i.e. in
    the root) - but do not include them in the manifest.xml.
    Also each ejb jar that refers to util.jar must have util.jar on its internal
    classpath in the manifest.
    "Claudia" <[email protected]> wrote in message
    news:3d537db5$[email protected]..
    >
    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar tothe
    classpath, but I think that shouldn't be the way. Is there somthing in theadmin
    console to make jars available or do I have to insert it in the ear file?And
    if so, where do I hve to place it?
    Thanks
    Claudia

  • How to make html file from a text field data

    hi!
    I want to know how to make a file with .html extension and the data in this file should be from a text field. like i want to enter some thing in a text area and have to place it in a file on server side in html formate.

    so you told us what you want, but what is your question?

  • How to make audio file to use as ringtone on iPhone 5

    Does anyone know how to make a file and then make it a ringtone?

    Make sure iTunes prefs > Import settings is set to AAC.
    In iTunes, find the song you want and note the start/stop time you want the ring tone.
    Right click - get info, click the Options tab and set the start/stop times as above. (Note a 30 second max for ringtones)
    Right click - Create AAC version. This creates a new file.
    Drag this new file from the iTunes window to the desktop.
    Delete the new file from iTunes and also select Delete from hard drive.
    On the desktop, rename the file to what_ever_you_want.m4r (first part you can change to whatever you want & change the extension to .m4r).
    Drag the file back to the iTunes library at top left.
    Make sure iTunes prefs > General has Tones ticked.

  • How to make jar file for this compilation method ?

    can any one tell me how to make jar file for this compilation
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJava
    *this is a compile code:-*
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    *and this is a run code:-*
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJavanow how make JAR file ?

    Assuming IEInJava only uses classes inside the jdic jar, this is one way. D:\java\browser\IEInJava> jar cf yourjar.jar IEInJava.classThen to run it you would use D:\java\browser\IEInJava> java -cp jdic.jar;yourjar.jar IEInJavaAnother way would use the jar manifest file to specify the Main-Class and Class-Path.

  • How to make a file to be opened in PL-SQL Editor of SQL Developer

    How to open a package file (.pkg) in sql Developer's PL-SQL Editor?
    Tried creating a new file type with Extension as .pkg and file type as PlSqlNode.
    Could open the file and found some of the features of plsql editor, such as find, compile... but could not differentiate the font colors.
    How should we go about in having the file opened with different font colors (for identifier, builtin....?
    Thanks.
    K.Nataraja Suthan,

    I guess you're running into another known bug in this file-based battlefield.
    Opening files won't colour the code until having opened some code from the DB first. Can you try that?
    On a sidenote, I've had really bad experiences with external files (both compiling to DB and saving to file incorrectly, not showing errors, etc.). In the end the only safe thing to do is work directly on the DB, saving your progress now and then to file.
    Regards,
    K.

  • How to make a file downloadable on my JSP page.......

    I want to make a file to be downloadable on my webpage. I have developed a simple lindk to the file. But internet explorer opens that file and don't show option to save it on hard disk. If any can mail me some Servlet solution or applet ( preferably servlet ) I will be very thankfull to him
    My mail address is
    [email protected]
    Please send it to me as soon as early as my M.Sc viva is going to held shortl and I have to add it before that viva.

    Hi,
    generally browsers will ask whether to save it to local drive or open it?, if you click on a link that has link to a file. This you need to set in the browser's options. check your browser's options and set the option to show the dailog box if you click a hyperlink.
    have fun!!
    --raj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Unable to access ASDM on 5505

    I'm new to the forum/discussions so forgive me if this is already posted. I read through several other posts and have followed the troubleshooting procedures in them, but I still can't access ASDM. I deleted the old ASDM versions and upgraded to ASDM

  • Mail Crashes-Tiger & Panther-must I resort to Entourage (Microsoft-Blah)?!?

    I have been a Mac user for 6 years now. In my home we have 3 G4's (eMac, PowerBook & Power Mac) and a G5 on the way. I just bought my Mom, a diehard Windows user until now, a Mac Mini running Tiger 10.4.5. She has had problems with Mail crashing sinc

  • Error in ABAP inital load

    Dear Expert, Find the below error while executing the job from identity center "ABAP INITIAL LOAD", lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could no

  • T431s Dock and multiple screens

    Hi community, i wan to ask a question i cant get an answer to myself.  I want to buy a T431S (20AA0012MH) and I want it to work with a dock: The ThinkPad Mini Dock Plus Series 3 type 4338 (looks like this one: http://support.lenovo.com/us/en/document

  • How to resolve SCOM event 1102

    i have deployed a test environment on my local machine and am using scom 2012 r2,it is throwing all 1102 error health service in bulk events rule\monitor cannot loaded,how can i resolve this issue,i  went through many forums but am unable to resolve