Stripping invalid characters from a PDF in PHP -


we're getting pdfs vendor have 58,000+ null characters following legal end of document %%eof. we're working vendor see if can correct it, want ahead of issue in case can't.

using php (or classic asp, though doubt that's possible) want

  • find eof marker

  • strip after

  • and resave file valid pdf.

i've not worked binary files before , have vague idea of start.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -