PHP - CURL vs fopen vs fsocketopen ?
Posted
by TatMing
on Stack Overflow
See other posts from Stack Overflow
or by TatMing
Published on 2010-04-15T16:32:46Z
Indexed on
2010/04/15
17:03 UTC
Read the original article
Hit count: 412
php
I would write a WordPress plugin to parse all image source and check it's broken link or not. My idea is :
- Select all post&page's images by regex from MySQL
- Navigate the image url and get the response header (404 ,403 error etc)
- print a report
Since i don't need actual to download the binary file, so in performance ,compare in CURL , fopen , fsocketopen Which one is worst to use?
And one more question, which method can execute in multi-thread?
© Stack Overflow or respective owner