AJAX – Build a RSS reader module with javascript and ASP/PHP

WARNING: THE CODE OF PROXY.PHP BELOW IS VULNERABLE. A HACKER CAN VIEW YOUR LOCALHOST FILES AND MORE (I AM ON RESEARCHING).PLEASE DO NOT USE IT UNTIL I FIX IT.
Today I read an interesting post about creating a RSS reader module with Javascript and ASP at following link http://dev.meotom.net/2010/3/5/Tao-box-doc-tin-RSS-don-gian-voi-Javascript-32C.htm . I test myself this module and its source code to see if it works. And below is my copy-and-paste product. The module works perfectly and is pretty beautiful.

Continue reading AJAX – Build a RSS reader module with javascript and ASP/PHP

PHP – How to use curl to get content of a website?

As I developed my own small applications with Silverlight, I have difficulties with Cross-Site-Domain access. Because of preventing potential networking threats to be mitigated include:

  • Denial of Service (DoS) attacks – A large number of remote hosts are used to attack a target site sothat the target is unable to service valid requests.
  • DNS Rebinding attacks – Use DNS to force a remote host to rebind a trusted host name (site oforigin) to a victim’s IP address, thus allowing access to a host other than site of origin.
  • Reverse tunnel attack – Use a remote client’s outgoing connection as a back tunnel to the client’sprivate network

Continue reading PHP – How to use curl to get content of a website?