[Last Call] Learn how to a build a cloud-first strategyRegister Now


How do I resolve this warning and get the output?

Posted on 2011-05-10
Medium Priority
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
  • 2
LVL 84

Expert Comment

by:Dave Baldwin
ID: 35735228
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 84

Accepted Solution

Dave Baldwin earned 1000 total points
ID: 35735250
http://us3.php.net/manual/en/function.file-get-contents.php  Looks like you have to have PHP => 5.1 and there are some other limits / requirements.
LVL 36

Author Closing Comment

by:Loganathan Natarajan
ID: 35735258

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses
Course of the Month18 days, 5 hours left to enroll

829 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