Hello ... is there a way to strip a include of information?
E.g. say I want to load a external include into mysite and then get ride of all ther header information and other stuff.
I am aware if the str_replace function ... but I am not sure how to apply it to this problem.
Any help would be gratefully appreciated.
tranquilRAGE
I think you'd have to actually open a file handle and load the contents of the file into a variable. Have a loof at the file() command or fopen() etc. The other option of course would be to split down your include file into lots of different files and then include particular combinations of them. HTH Rob
ok well .. now I have a string ... how do I get ride of bits of a string?.
E.g. if I wanted to get rid of everything thing before a certain part of a string ...
$string = "huan is good";
I want to get ride of huan, after I have made the string...