Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use PHP in a text file?
#1
Any way to do this? Thanks.
Pirate
Reply
#2
Are you wanting to run PHP code from this file or something? Can we have more details?
My SMF Modifications:
http://anthony.vibrantvps.com/smf
Reply
#3
If you are talking about executing PHP code from a .txt file, I don't think that it is possible.
Reply
#4
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.
Reply
#5
(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
My SMF Modifications:
http://anthony.vibrantvps.com/smf
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 941 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP edit file on server? Inventor 5 3,059 08-08-2012, 04:05 AM
Last Post: saikiran
  PHP Dynamic Text Generator TalishHF 5 2,117 01-16-2012, 02:24 PM
Last Post: Gaijin
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,667 10-10-2011, 01:00 PM
Last Post: Greyersting
  help : PHP : Executing .jar file killer_03 0 1,128 03-12-2011, 11:09 PM
Last Post: killer_03

Forum Jump:


Users browsing this thread: 1 Guest(s)