Jump to content

Php newbie here: need help with parsing.


mitz444

Recommended Posts

Hi guys,

  I need help with parsing filename then assigning the parsed values in text fields. Basically, I'll be using the code for my ftp upload program. I will choose a file to upload using a file field then I will extract the values of the filename of the file then assign them in different text fields. I hope you guys could help me with this. Thanks!

Link to comment
https://forums.phpfreaks.com/topic/55516-php-newbie-here-need-help-with-parsing/
Share on other sites

I haven't started anything actually. I'm still researching on how to parse arrays and assigning file names from file fields to arrays so I could parse the file name then after I could assign the parsed filename to text fields. I could really help if you could post sample codes on how to retrieve file names from file fields, then assigning the retrieved filename to arrays. For example, I created 3 text fields and 1 file field. What I want to do is when I click on the "browse" button on the file field, then I clicked on somefile.txt from a certain directory, after clicking on the file from a directory, I want to extract the extension filename of "somefile.txt" then display the extracted text in one of the 3 text fields automatically.

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.