Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Can I just create a new php file?

Posted on 2014-04-22
6
Medium Priority
?
592 Views
Last Modified: 2014-04-22
windows 7
my php ide (please do not suggest another php ide) requires too much clicking to create a new .php file in the folder I want


so I use windows explorer
right click
new
.txt file

and rename to .php file

I am then prompted if I want to change file extension from .txt to .php


I click on the new file and php ide opens
Can I just create a new php file? (instead of a txt file)

want php file
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 40015350
Instead of that, you just open Notepad and save as  php file ("index.php" ). Check the attachment.php file
0
 
LVL 35

Accepted Solution

by:
Dan Craciun earned 2000 total points
ID: 40015373
How to add a new item to the "New" right click menu:

1. Type regedit in RUN dialog box and press Enter. It'll open Registry Editor. Now expand "HKEY_CLASSES_ROOT" key.

2. Now look for the file type which you want to add in "New" menu, e.g. for adding php file type look for .php key.

3. Right-click on it and select "New -> Key" and give it name "ShellNew".

4. In right-side pane, right-click and select "New -> String Value". Give it name "NullFile" and press Enter.

5. That's it. You'll immediately get the file type entry in "New" menu.

Taken from here: http://www.askvg.com/how-to-add-remove-items-from-new-menu-in-windows/

HTH,
Dan
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 40015390
When I want to create a new PHP file, I just save any PHP file that is open in my text editor under the new name, then empty it out and add my code.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 35

Expert Comment

by:Dan Craciun
ID: 40015404
Just tested and I had to add an empty php file in C:\Windows\ShellNew.

But now I have this:
new php file
0
 

Author Comment

by:rgb192
ID: 40015412
Instead of that, you just open Notepad and save as  php file ("index.php" ). Check the attachment.

I wrote
my php ide (please do not suggest another php ide)

http://www.askvg.com/how-to-add-remove-items-from-new-menu-in-windows/
works
0
 

Author Closing Comment

by:rgb192
ID: 40015414
thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question