php - Side effects after increasing MAX_FILE_SIZE in Simple HTML Dom Parser? -


i have 1 small question related great software simplehtmldom parser.

is safe increase max_file_size default 600000 e.g. 100 * 600000 ?

i know increasing need more memory , on, there other side effects break actual dom parsing ?


background info:

i'm processing 'kind of huge' html files. 500kb 5mb! need change tags , remove unwanted stuff. source html files valid html , therefore simplehtml best , easiest solution use.

the main problem why ask default settings function str_get_html(...) return false when document bigger than

define('max_file_size', 600000); 

which defined simplehtml dom parser.

i can of course increase value , after works fine. i'm afraid of side effects may happen. choking tags or other nasty stuff.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -