Jump to content

Ayush123

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Ayush123

  1. thanks for still sticking around. filectime is the one i need to use. if there are multiple files with the same date, i will need to download all the file.
  2. I need to make array using dates created of files for a directory. lets say i have a folder with files, now i need the dates created of all those files into an array.
  3. thanks for the help. sorry for the confussion
  4. yes, i need to access the files using file created time or modified time
  5. i guess i need to make an array for the date of the files in the directory then compare it to the user specified date using filemtime() or filectime()
  6. sorry i am new to this, not as sorry i am new to this, not as smart as you thats why i am asking for help. the best i can say is, i need to download files with the date provided by the user from a directory. i dont know how to simplify what i am asking
  7. thanks, hope i dont confuse you. so, lets say i ahve a directory with files. i just need to get the files for the user specified date, maybe using filemtime(). then if it exists download it
  8. or just any file created on the user inputted date.
  9. sorry, just starting on php. the files can be just text files. like 07-14-2022.txt. so the user will input a date. then i just need to check if that date exists in the directory then prints or download that file.
  10. log file names are dates
  11. nothing specific. just an example. log files are just dates. if the date exists it downloads or prints.
  12. i am stuck at the point where i need to compare the date to the log file
  13. PHP script that provides a basic web-page asking for a date. That date is then used to get the log file for that date from a directory containing many log files (one for each date). If the log file exists, then it is downloaded; otherwise, the script returns with "No logs for that date".
×
×
  • 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.