Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

How To Get Contents of File Into Variable

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
User avatar
MaxDax
New php-forum User
New php-forum User
 
Posts: 10
Joined: Tue Oct 07, 2003 5:04 am


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron