NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How do I make PHPED recognize files without .php as PHP


Joined: 13 Apr 2007
Posts: 18
Reply with quote
I have some files PHP files that do not have any extension. I would like to know how I can make PHPED to recognize these files as PHP files and hence highlight the code just as an ordinary file with .php extension.
View user's profileFind all posts by jmarkSend private message


Joined: 08 Feb 2007
Posts: 67
Reply with quote
Tools > Settings > IDE > Associations

Add * to your list of PHP4 or PHP5 file associations (dependent of if you want the file to be associated with PHP4 or 5). So, for example, your PHP4 line would look something like this:

*.php4;*.inc4;*

The ";*" on the end is what you will add
View user's profileFind all posts by nothsaSend private message


Joined: 13 Apr 2007
Posts: 18
Reply with quote
nothsa wrote:
Tools > Settings > IDE > Associations

Add * to your list of PHP4 or PHP5 file associations (dependent of if you want the file to be associated with PHP4 or 5). So, for example, your PHP4 line would look something like this:

*.php4;*.inc4;*

The ";*" on the end is what you will add


Thank you very much, nothsa. This is working
View user's profileFind all posts by jmarkSend private message
How do I make PHPED recognize files without .php as PHP
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic