Home » questions » How could you get a specified portion of a file by uisng Javascript or PHP scripts languages?

How could you get a specified portion of a file by uisng Javascript or PHP scripts languages?

2006-08-04 09:14:19, Category: Programming & Design
It is simple for Programmers. Two .txt or .html files. First file has 40 lines and second one has 260 lines. If I want to show in an .php or .html file the result which will be get from letting the user of choose which file and which range of lines in the chosen file should be shown in the same .php or .html page.

Answers

  1. rob

    On 2006-08-04 09:27:29


    You might be better off putting that information in a database. It would make your life much easier. I don't know if that possible or not otherwise.