Hi,
I am a learner of PHP. i want to know how to Write file names from a folder in drop down?. I have the multiple .xls file in that folder. please any one help me.

this is code for getting file name with out extension:

$fname=substr($HTTP_POST_FILES['myfile']['name'],0,strpos($HTTP_POST_FILES['myfile']['name'],'.'));

the fname will have the file name....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.