I have a form that allows someone to upload a text file, the contents of
which will be inserted into the database. When I fread() the file, there is
some garbage at the beginning and end of the text.
Here's what the text looks like:
This is the sentence of text.
Here's what it looks like
I have a form that allows someone to upload a text file, the contents
of
which will be inserted into the database. When I fread() the file,
there
is
some garbage at the beginning and end of the text.
Here's what the text looks like:
This is the sentence of text.
Here's what it
Are you using Apache2? IIRC, there was a bug where data would get added
to the POST data, or something along those lines...
What if you just look at the file with a regular text editor? Do you see
that data there after it's uploaded and written to the server, or does
it just appear into the
3 matches
Mail list logo