Page 1 of 1 1
Topic Options
#212621 - 2017-08-14 05:54 AM ReadAll()
AndreLuiz Offline
Getting the hang of it

Registered: 2015-10-07
Posts: 89
Loc: Brasil, Joćo pessoa
Hello readall() would serve to grab all text from a file and play directly into the output.

The standard would be this here.
 Code:
$handle = freefilehandle()
$open($handle, "file.txt")
while (@error = 0)
$texto = $texto + readline($handle) + @crlf
loop


I wanted one more option.
 Code:
$handle = freefilehandle()
$open($handle, "file.txt")
$texto  = ReadAll($handle, @crlf)


Edited by AndreLuiz (2017-08-14 05:56 AM)

Top
#212631 - 2017-08-16 10:55 PM Re: ReadAll() [Re: AndreLuiz]
AndreLuiz Offline
Getting the hang of it

Registered: 2015-10-07
Posts: 89
Loc: Brasil, Joćo pessoa
Already solved this, can someone withdraw this topic?
Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 382 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.05 seconds in which 0.023 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org