how to get data from a file
Posted on 2007-07-28
id like to make a function to get data from a file
//what to place here?
id like it too look for whats passed to it to look for the = sign and return whats in "" or ''
see im looking at a config file and id like to post the values for some of the config vars/
$default_ccs_style = './styles/dragon1.css';
search for $default_ccs_style
how would one do this?
thank you in advance for any code and help you may provide