I'm not a programmer, but I did study C for a while. I can figure out how to find functions, look at their syntax, see examples and then try them.
So here's my siutation. I want the url of the output of a web site into a php variable. Here's the setup:
The following url returns an image. I want that image's url in a php variable.
I've tried http_get, but apparently it's an undefined function on my server. I'm not sure if that's because my host doesn't have it enabled or because something isn't right in my syntax. Here is the line of code:
$randomImageURL = http_get("http://$photographer.huntsvillecarscene.com/photos/random.mg?AlbumID=$galleryNumber&Size=Th&AlbumKey=$galleryKey&rand=8075", array("timeout"=>1), $randomImageGetInfo);
I've read about file_get_contents, but that looks like it will actually get the file contents. I've looked into 'system' and executing wget, but that also attempts to retrieve the actual file.
Any assistance appreciated.