EntropySink
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
EntropySink
»
Technical & Scientific
»
Programming
»
Topic:
PHP owns again
« previous
next »
Print
Pages: [
1
]
Author
Topic: PHP owns again (Read 1806 times)
ober
Ashton Shagger
Ass Wipe
Posts: 14305
Karma: +73/-790
mini-ober is taking over
PHP owns again
«
on:
May 29, 2012, 10:22:17 PM »
I parse a lot of files and I was doing it all manually, reading in each line of the file, splitting on commas, processing. Then the client uploaded a file that had commas in the data I was reading.
http://www.php.net/manual/en/function.str-getcsv.php
I made one change from explode to that and it fixed everything. Booya. There is also
http://www.php.net/manual/en/function.fgetcsv.php
if that is of any interest to anyone.
Logged
Member FTP Info
Print
Pages: [
1
]
« previous
next »
EntropySink
»
Technical & Scientific
»
Programming
»
Topic:
PHP owns again