$file = "D:/xampp/htdocs/crawlers/py/daraz.py"; $lines = file($file); $urlLine = $lines[5]; echo $urlLine;