Opened 22 years ago
Closed 22 years ago
#1166 closed defect (bug) (fixed)
Pingbacks don't work with allow_url_fopen=Off
| Reported by: | anonymousbugger | Owned by: | matt |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | XML-RPC | Version: | 1.5 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
pingback_ping() uses @fopen($pagelinkedfrom, 'r') to check if the source URI exists. This check always fails if allow_url_fopen is Off (recommended setting), that means pingbacks don't work.
Please consider replacing this fopen call with something like the code from http://7sheaven.pingouin.ca/forum/showthread.php?t=13
Attachments (1)
Change History (11)
#4
@
22 years ago
- Resolution 50 → 30
- Status closed → assigned
Just use snoopy instead of fopen($url)
#7
@
22 years ago
Dreamhost, which recently disabled remote fopen, is suggesting users use curl. Curl is only used in Snoopy for SSL connections.
We may also want to upgrade snoopy.
#8
@
22 years ago
I think the CURL PHP module is the way to go.
The module is available on a lot of hosts, the 'curl' binary isn't (especially in chroot environments). So if you continue to use Snoopy, it should be modified to use the module instead of the binary.
I can't use the code from the link if the link doesn't work.