How do I resolve this warning and get the output?

Posted on 2011-05-10
Last Modified: 2012-05-11
I get this warning message when I execute the google code search...Warning: file_get_contents() [function.file-get-contents]: stream does not support seeking
Warning: file_get_contents() [function.file-get-contents]: stream does not support seeking in /home2/test/public_html/ziplat.php on line 13

Warning: file_get_contents() [function.file-get-contents]: Failed to seek to position 1000 in the stream in /home2/test/public_html/ziplat.php on line 13
Array ( [0] => )

Open in new window

Question by:Loganathan Natarajan
    LVL 82

    Expert Comment

    by:Dave Baldwin
    Sounds like you're trying to 'seek' to a position in the file that doesn't support it.  Can you show us that line and at least 3 previous ones?
    LVL 82

    Accepted Solution

    by:  Looks like you have to have PHP => 5.1 and there are some other limits / requirements.
    LVL 36

    Author Closing Comment

    by:Loganathan Natarajan

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    As this topic comes over and over again in different forms, I've finally decided to write a short (yea, right...) article / tutorial about pagination with PHP with MySQL database. There are dozens of these kind of tutorials, I know - I wanted to mak…
    Both Easy and Powerful How easy is PHP? (  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now