Using a password with FTP or HTTP : FTP Functions « Network « PHP
- PHP
- Network
- FTP Functions
Using a password with FTP or HTTP
<?php
$fh = fopen('ftp://username:[email protected]/pub/Index','r');
$fh = fopen('http://username:[email protected]/robots.txt','r');
?>
Related examples in the same category