Support Forums

Full Version: Use PHP in a text file?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Any way to do this? Thanks.
Pirate
Are you wanting to run PHP code from this file or something? Can we have more details?
If you are talking about executing PHP code from a .txt file, I don't think that it is possible.
If you're trying to make a PHP file in Notepad, make sure you save the file as whatever.php and make sure where it says the type of file. It say's ALL FILES.
(10-23-2011, 02:21 PM)Fox Wrote: [ -> ]If you are talking about executing PHP code from a .txt file, I don't think that it is possible.

Actually it is if done properly. Smile
http://php.net/eval