Raised This Month: $ Target: $400
 0% 

Trouble with reading first line of a file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-04-2019 , 17:41   Re: Trouble with reading first line of a file
Reply With Quote #1

Set file reading flags to "rt" read text probably it's reading binaries
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
pillowCloud
Member
Join Date: Aug 2015
Location: AlliedModders
Old 08-05-2019 , 01:06   Re: Trouble with reading first line of a file
Reply With Quote #2

Quote:
Originally Posted by Natsheh View Post
Set file reading flags to "rt" read text probably it's reading binaries
I tried it also, but still same result

EDIT:
If I'm adding an empty line in head of the file, like this:
PHP Code:

"pokemon" "pokemon.mp3"
"marko" "marko.mp3" 
It's works fine,
it's looks like something in the head of the file is including something i can't read.

Last edited by pillowCloud; 08-05-2019 at 01:57.
pillowCloud is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-05-2019 , 06:26   Re: Trouble with reading first line of a file
Reply With Quote #3

Quote:
Originally Posted by pillowCloud View Post
I tried it also, but still same result

EDIT:
If I'm adding an empty line in head of the file, like this:
PHP Code:

"pokemon" "pokemon.mp3"
"marko" "marko.mp3" 
It's works fine,
it's looks like something in the head of the file is including something i can't read.
That's why you should always show the full code/config.
__________________
edon1337 is offline
Reply



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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode