emmavt Posted November 19, 2007 Share Posted November 19, 2007 Hello all. I am building a web site for a friend and an it needs to be PHP/HTML based. I am trying to have her add her own verbiage by entering it into a text file. Do you know of a way to call variables and their values from a text file? I dfo this in actionscript for Flash, but I am trying to do it in PHP. Link to comment https://forums.phpfreaks.com/topic/77948-getting-variables-from-a-text-file/ Share on other sites More sharing options...
trq Posted November 19, 2007 Share Posted November 19, 2007 You can read a file with php (see fread) and place values into variables. Variables however would need to be stored within a .php file and then included. Link to comment https://forums.phpfreaks.com/topic/77948-getting-variables-from-a-text-file/#findComment-394556 Share on other sites More sharing options...
cooldude832 Posted November 19, 2007 Share Posted November 19, 2007 http://www.phpfreaks.com/forums/index.php/topic,167987.0.html that is just about what you are asking Link to comment https://forums.phpfreaks.com/topic/77948-getting-variables-from-a-text-file/#findComment-394557 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.