squeezng fies into variables..

admin

Administrator
Staff member
Greetings!I have one minor question, but I don't know, how to make it go thru...What is what I want o actually do is t put the entire source of the file into one variable, something like:$variable=readfile("/path/file.txt"), but that's a FAR way from that it could work, as openfile opens the file WITHOUT sending it to variable...I wish for something like $variable=readfile("/path/file.txt");mysql_query="insert int database '$var1', '$var2', '$var3', '$variable');Is there anyway to actually DO that?Please help.Best regards. zer0Kode, Linux developer.
 
Back
Top