[PHP] What good is SoapClient->__getTypes() ?

2009-02-19 Thread Shanon Swafford
Hi guys, I'm using PHP 5.1.6 and I'm calling a WSDL that has 4 functions. This is a brand new service opened by one of our vendors so I'm sure it is going to change. So I'm thinking I would like to build a page that pulls the data structures and builds html input forms automatically. So when I

RE: [PHP] Re: How to Insert into DOMDocument

2008-12-06 Thread Shanon Swafford
>> Is there a way to make it create the following XML? >> >> >> >> >> >> >> >> >> I can't seem to find any dom functions to do this. >> >> Thanks in advance, >> Shanon >> >> > >DOMProcessingInstruction as such: > >error_reporting(E_ALL | E_STRICT); > >$doc = new DOMDocument(); >$doc-

[PHP] How to Insert into DOMDocument

2008-12-05 Thread Shanon Swafford
I have the following code: #!/usr/bin/php -q formatOutput = true; $foo = $doc->createElement("foo"); $doc->appendChild($foo); $bar = $doc->createElement("bar"); $foo->appendChild($bar); $bazz = $doc->createElement("bazz"); $foo->appendChild($bazz); echo $doc->saveX

RE: [PHP] WSDL Question

2007-11-29 Thread Shanon Swafford
I build an array of the list. Then nuSOAP helps when converting it to XML but PHP5 can probably do the same thing. The following builds an array of line_items to put on an order. Then inserts that array into another array containing more order data: for ($i = 1; $i <= $num_items; $i++) { $n

RE: [PHP] How to Separate PHP Errors to a file different than Apache Errors

2006-12-23 Thread Shanon Swafford
> >-Original Message- >From: chris smith [mailto:[EMAIL PROTECTED] >Sent: Friday, December 22, 2006 11:29 PM >To: Shanon Swafford >Cc: php-general@lists.php.net >Subject: Re: [PHP] How to Separate PHP Errors to a file different than Apache Errors > > >On 12/

[PHP] How to Separate PHP Errors to a file different than Apache Errors

2006-12-22 Thread Shanon Swafford
Hi Guys, I just cut my website over to Apache2 and PHP5 on FC5. So now I'm clean up all the PHP Notices. Does anybody know the config directives I can put in my /etc/php.ini or etc/httpd/conf.d/php.conf or /etc/httpd/conf/httpd.conf so that I could separate the php errors file from the apache er

[PHP] Help with OpenSSL Function

2006-09-11 Thread Shanon Swafford
Hi guys, I am trying to use Apache, PHP 4.3, and PHP's Openssl functions to encrypt a variable. Currently, I can successfully use the following command to encrypt an existing file and create a new one: openssl aes-256-cbc -e -in plain_file.xml -out encrypt_file.xml -k 1234123412341234 Is it po