So, my crawler has reached a page with a form.. Once this form is submitted,new page will appear with new content(and links to further crawl).
One problem though. This form has file upload element. <input name="file1" type="file" size="12"/>
While AddPostData() accepts ordinary post variables, I don't know how to pass the file into the function. Anyone has a solution for this??
You seem to have CSS turned off. Please don't fill out this field.
Anonymous
Hi!
Sorry for my late answer. And sorry again, there is no "easy" way so far to post files with phpcrawl.
But just feel free to add a feature-request here: https://sourceforge.net/p/phpcrawl/feature-requests/search/?q=status%3Aopen
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
So, my crawler has reached a page with a form.. Once this form is submitted,new page will appear with new content(and links to further crawl).
One problem though. This form has file upload element.
<input name="file1" type="file" size="12"/>
While AddPostData() accepts ordinary post variables, I don't know how to pass the file into the function.
Anyone has a solution for this??
Hi!
Sorry for my late answer.
And sorry again, there is no "easy" way so far to post files with phpcrawl.
But just feel free to add a feature-request here:
https://sourceforge.net/p/phpcrawl/feature-requests/search/?q=status%3Aopen