Loading ...
Sorry, an error occurred while loading the content.

Are the PHP proxies using cURL in examples "production ready"?

Expand Messages
  • Timothy Stone
    ... Hash: SHA1 For proxies, I prefer leveraging mod_rewrite + mod_proxy in Apache (http://bit.ly/10s3I0 ). But, the current side project I m working on does
    Message 1 of 1 , Mar 2 7:09 AM
    • 0 Attachment
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1

      For proxies, I prefer leveraging mod_rewrite + mod_proxy in Apache (http://bit.ly/10s3I0
      ).

      But, the current side project I'm working on does not provide
      mod_proxy on the host. As I'm not a PHP user (though respect its use
      architecturally), I'm looking at other methods and have been looking
      at the cURL proxies provided in the YUI examples.

      They look good, but I'm skeptical because there are very bad things
      that can be done with PHP if the installation is misconfigured, or the
      code makes some poor assumption.

      Can a master of PHP-fu comment on the cURL proxies in the YUI
      examples? Are they production quality, i.e., don't make code
      assumptions (use globals, &tc) that can lead to the "owning/pwning/
      0wning" of my webservers?

      (If you need to look at one... try /path/to/yui/examples/autocomplete/
      assets/php/flikr_proxy.php.)

      Many thanks!
      Tim

      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.8 (Darwin)
      Comment: Ask me how you can start digitally signing your email!

      iEYEARECAAYFAkmr9lMACgkQNsfkZJstizozKACfRFtU2CD0/+mPWTh+73PpZS5G
      mUwAoJAubMmgG6uLErH14+lHzl4U/bGE
      =Yuw0
      -----END PGP SIGNATURE-----
    Your message has been successfully submitted and would be delivered to recipients shortly.