Jump to content

Browse specific directory


eeekin_07

Recommended Posts

Hi,

 

it's me again, looks like php is interesting and now i am facing problems on the :

 

<input name="file" bgcolor="#FFFF99" type="file" />

 

to import the xml files, the directory is : \\\....\ftproot\PSP\KSM\StatusUpdate\Inbound\sample.xml

 

and i use

 

if ( $_FILES['file']['tmp_name'] )

  {

    $TransactionMessage = simplexml_load_file($_FILES['file']['tmp_name']);

    foreach ($TransactionMessage->TransactionHeader as $TransactionHeader) {}

}

 

for $_FILES['file']['tmp_name'] : When we click browse, could we specific the dir, means when we browse it is directly go to the dir we want? anyone...

 

really thanx..

 

Link to comment
https://forums.phpfreaks.com/topic/47705-browse-specific-directory/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.