note 97280 deleted from function.ftp-connect by degeberg

From: Date: Mon, 12 Apr 2010 09:09:55 +0000
Subject: note 97280 deleted from function.ftp-connect by degeberg
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-168148@lists.php.net to get a copy of this message
Note Submitter: fruit dot dev at gmail dot com ---- to: sean at boyercentral dot net <?php $ftpArgs = parse_url('ftp://user:pass@example.com:21/my/dir'); var_dump($ftpArgs); # output: /* array 'scheme' => string 'ftp' (length=3) 'host' => string 'example.com' (length=11) 'port' => int 21 'user' => string 'user' (length=4) 'pass' => string 'pass' (length=4) 'path' => string '/my/dir' (length=7) */ ?>

« previous php.notes (#168148) next »