How can I put the contents of a webpage in a php variable? a string or an array or even a file?
as a string: [man]file_get_contents[/man]
as an array: [man]file[/man]
as a file [man]copy[/man]
(assuming allow_url_fopen is ON)
I have allow_url_fopen set to on on my local host but it still wasn't working which is weird because the same code worked when I uploaded it to a remote server.