-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, August 09, 2012 8:08:31 PM Karuna P Joshi wrote: > > >> $header = "Content-Type: text/xml\r\n"; > > >> $header .= " X-User: admin\r\n"; > > >> $header .= " X-Pass: password\r\n"; > > >> $header .= " X-APIVERSION: 2\r\n";
Karuna, You also need to remove the spaces at the beginning of each string like: $header = "Content-Type: text/xml\r\n"; $header .= "X-User: admin\r\n"; $header .= "X-Pass: password\r\n"; $header .= "X-APIVERSION: 2\r\n"; Josh - -- - ------------------------------- Josh Thompson VCL Developer North Carolina State University my GPG/PGP key can be found at pgp.mit.edu All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAlAj26UACgkQV/LQcNdtPQMKRgCbBPyZ4IJvyWl2tpfZZc+eJmc4 VZ4AnAnhNwglOFLG6CfIkjcMKBkOtB0Z =PIQl -----END PGP SIGNATURE-----
