RE: [PHP-WIN] path + filename

2007-09-05 Thread Gustav Wiberg
@lists.php.net Subject: Re: [PHP-WIN] path + filename That once again is entirely determined by the browser; PHP only gets what's the the $_FILES['frmNewsDocument'] array. That said, perhaps in the onsubmit event of the form you could stick some javascript in that pushed the full pa

Re: [PHP-WIN] path + filename

2007-09-05 Thread John Mertic
That once again is entirely determined by the browser; PHP only gets what's the the $_FILES['frmNewsDocument'] array. That said, perhaps in the onsubmit event of the form you could stick some javascript in that pushed the full path into another hidden form variable. On 9/5/07, Gustav Wiberg <[EMA

[PHP-WIN] path + filename

2007-09-05 Thread Gustav Wiberg
Hi! >From a browse/file-button in a html-form, how Do I retrieve the actual name >including the path to it??? I don't want just filename.doc. This would returnthe filename only... $doc = $_FILES['frmNewsDocument']['name']; I want to retrieve c:\program\filename.doc Best regards /Gust