How To Get Contents of File Into Variable

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

How To Get Contents of File Into Variable

Postby MaxDax » 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

Postby MaxDax » 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


Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron