<?php $fh = fopen('ftp://username:[email protected]/pub/Index','r'); $fh = fopen('http://username:[email protected]/robots.txt','r'); ?>