FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » input a section of a large file
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: input a section of a large file [message #171659 is a reply to message #171656] Fri, 14 January 2011 18:25 Go to previous messageGo to previous message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma:
Senior Member
On Fri, 14 Jan 2011 10:41:19 -0700, richard wrote:

> Just being curious.
> Is it possible in php to acquire information from a file in part, rather
> than retrieving the whole file?
> I have a series of tables that I would prefer not showing up on the main
> page when loaded. When the user clicks the link, the tables would appear.
> Rather than uploading a thousand small files, I'd rather upload a dozen or
> so files and retrieive the tables as needed.
>
> http://1littleworld.net/tables1.html
>
> Just a rough draft to show what I'm talking about. I know there is no
> character encoding so don't be bitching about it not validating.

Perhaps to clarify a little, I am thinking of something in the way of using
file_get_contents as a means to open the file, then retrieving the
particular item I want within that file.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: php xml DOM/xpath how to reference child nodes by name within foreach loop?
Next Topic: Adaptive Learning for PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 20 19:28:47 GMT 2024

Total time taken to generate the page: 0.04065 seconds