Re: [PHP] put result of "include" into a variable

2002-11-23 Thread Tom Culpepper
Try using fopen() to open the file and then fread() to read it into the buffer and set that equal to the variable. Tom Culpepper Multicast Technologies Patrick Anderson at TUE wrote: Hi, For some (strange, I know) reason I would like to copy the content of a webpage into a database. I would li

Re: [PHP] put result of "include" into a variable

2002-11-22 Thread Ernest E Vogelsinger
At 23:36 22.11.2002, Patrick Anderson at TUE said: [snip] >For some (strange, I know) reason I would like to copy the content of a >webpage into a database. > >I would like to have code like > >$whocares = include ("http://www.microsoft.nl";); >$query = "inse