If by passing a file you mean uploading a file via a web script, just check out the following in the PHP Manual: http://ca.php.net/manual/en/features...ad.post-method