How To Get Contents of File Into Variable

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
MaxDax
New php-forum User
New php-forum User
Posts: 10
Joined: Tue Oct 07, 2003 5:04 am

Mon Dec 01, 2003 4:35 am

Hi

How do I get the contents of a file into a variable?
Do I have to use fopen & fget or is there a simpler way?

TIA, Cheers
MaxDax

User avatar
MaxDax
New php-forum User
New php-forum User
Posts: 10
Joined: Tue Oct 07, 2003 5:04 am

Mon Dec 01, 2003 4:50 am

I must read the forum topics before asking a question ...
I must read the forum topics before asking a question ...
I must read the forum topics before asking a question ...
I must read the forum topics before asking a question ...
I must read the forum topics before asking a question ...
I must read the forum topics before asking a question ...
I must read the forum topics before asking a question ...
sorry guys
solved the problem with file_get_contents ()
sigh

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests