1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley

Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Getting Data from Files

Tuesday April 18, 2006
Not everybody has access to a MySQL database or wants to use one. Often data is stored in other files on your server. If this is the case, you can use PHP to retrieve the data from these files to use. Depending on the function you use, the data can be returned to you as a string or as an array. Your options are also limited by how the file you are trying to access is formatted.

Comments

December 30, 2007 at 12:22 pm
(1) Uriya says:

Is there a Function that can execute a PHP page (I need it to execute a file in a block in my index page)?
Like “Server.Execute()” in ASP ..

Thanks for help and sorry about my weak English.

March 14, 2008 at 8:35 am
(2) G says:

What method would wait for the page to fully load before the file download begins, in the case if java is on the page?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL

More from About.com

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2008 About.com, a part of The New York Times Company.

All rights reserved.