Current location: Hot Scripts Forums » Programming Languages » PHP » Contents of file as var


Contents of file as var

Reply
  #1 (permalink)  
Old 07-30-04, 12:04 PM
hakone hakone is offline
New Member
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Contents of file as var

Hi,

Can someone tell me how to get the contents of a file called "messages.html" and set it as a var called "$postdata"?

thanks
Reply With Quote
  #2 (permalink)  
Old 07-30-04, 01:14 PM
infinitylimit's Avatar
infinitylimit infinitylimit is offline
Code Guru
 
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
I know what you are asking and how to do it but I think you need to search the internet before posting a question.

do a search on google.com for reading a file with php

or you can go to www.php.net/file
__________________
Hawk Enterprises -- Home to PHP games, open-source code, tutorials and free downloads
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scrollbar!!!!!! LiLSweetie HTML/XHTML/XML 8 07-22-04 05:01 PM
Help with dynamic select in dynamic table noviceforever JavaScript 1 06-23-04 01:20 PM
Web Form Drop-Down Menu that changes pictures on selection. Whipsmack JavaScript 29 06-04-04 03:49 PM
Disable form fields to be submitted RickyRod JavaScript 2 05-24-04 10:15 AM
Displaying TEXT file contents to HTML tables Mendo PHP 2 02-18-04 11:19 AM


All times are GMT -5. The time now is 04:15 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.