php - Download url content using file-get-contents -


i trying content client's website , upload website after processing.

i trying use file_get_contents obtain content in php environment.

if use:

file_get_contents("http://www.maideden.com/index.php?route=product/product&path=59&product_id=96") 

i able content.

however, if use variable store address like

$url = "http://www.maideden.com/index.php?route=product/product&path=59&product_id=96" 

and use file_get_contents($url); did not return anything.

can me on this? prefer use file_get_contents($url)


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -