|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
How can I capture a txt file's content to a variable
How can I capture a txt file's content to a variable??? For ex: i have a $message variable how can I send the inside of message.txt to this variable???
|
|
#2
|
|||
|
|||
|
__________________
Best Regards, Håvard Lindset |
|
#3
|
|||
|
|||
|
PHP Code:
|
|
#4
|
|||
|
|||
|
|
|
#5
|
|||
|
|||
|
thanks all of you people...
thanks all of you people...
|
|
#6
|
|||
|
|||
|
$file=implode("",file("filepath'));
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > How can I capture a txt file's content to a variable |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|