how to display a text file document on a php file.

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
chikooo
Forum Newbie
Posts: 12
Joined: Sun Feb 01, 2009 8:25 pm

how to display a text file document on a php file.

Post by chikooo »

how do i display a text file document on php using include but i want to be able to click on a link that will take me to the next page and will show the rest of the text document
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: how to display a text file document on a php file.

Post by alex.barylski »

file_get_contents
chikooo
Forum Newbie
Posts: 12
Joined: Sun Feb 01, 2009 8:25 pm

Re: how to display a text file document on a php file.

Post by chikooo »

what is that? where i can get the script?
or could you write me the complete code?
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: how to display a text file document on a php file.

Post by alex.barylski »

php.net search for that function...
chikooo
Forum Newbie
Posts: 12
Joined: Sun Feb 01, 2009 8:25 pm

Re: how to display a text file document on a php file.

Post by chikooo »

yeah but where do i put the function?
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: how to display a text file document on a php file.

Post by alex.barylski »

I have no idea...post some code and/or give an example of what your trying to do... :)
Post Reply