Robert Redl's Library tagged → View Popular, Search in Google
Feb
8
2010
in list: dev
-
PHP make this very easy by including functions like file_get_contents() that has URL support. This code will get you the contents of an URL.
$contents = file_get_contents('http://example.com/rss.xml');Unfortunately, this is a huge security threat - and many servers have disabled this feature in PHP. Also this is not the most optimized method to fetch an URL. Also, it is impossible to submit data using the POST method using this function.
Other Options - curl and fsockopen
PHP provide other two method to fetch an URL - Curl and Fsockopen. But to use this I have to write a lot more code.
1 - 1 of 1
Showing 20▼ items per page
Top Contributors
Groups interested in get
Related Lists on Diigo
-
IBP_overview
iBusinessPromoter (IBP) is a...
Items: 13 | Visits: 311
Created by: nmstrategies _
-
1998 Clinton's WMD and "Iraqi Liberation Act" 1998
America's congress passed th...
Items: 12 | Visits: 359
Created by: liveinfreedom .
-
Collaborative Projects
Collaborative, online projec...
Items: 71 | Visits: 2092
Created by: mitzif
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
