Re: [PHP] receiving XML stream as server via PHP

2003-01-02 Thread Kristopher Yates
on which xml standard you are using the xml-rpc is what I have been using to ACCEPT xml -- but it does have a server to accept xml http://pear.php.net/package-search.php?pkg_name=xmlbool=ANDsubmit=Search On Tue, 2002-12-31 at 13:20, Kristopher Yates wrote: Hi, Using PHP with cURL, I am

Re: [PHP] receiving XML stream as server via PHP

2003-01-02 Thread Kristopher Yates
PROTECTED] HiTCHO | Open Platform Web Development Consutling - Outsourcing - Training - Support - Original Message - From: Kristopher Yates [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 7:20 AM Subject: [PHP] receiving XML stream as server via PHP Hi

Re: [PHP] receiving XML stream as server via PHP

2003-01-02 Thread Kristopher Yates
Hi Chris, Long time no talk to! Hope you had a good new year. Thanks for the info. My development is basically similar to SOAP and XML-RPC like that used for RSS. I'll probably get more into it [SOAP] when they [PEAR gurus] get past the beta testing stage. I am happy with what I have to

[PHP] phpinfo() and HTTP_RAW_POST_DATA

2003-01-02 Thread Kristopher Yates
pickup the raw post as: $HTTP_RAW_POST_DATA Then just process this string as XML and return to buffer or not. Have fun. Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] HiTCHO | Open Platform Web Development Consutling - Outsourcing - Training - Support - Original Message - From: Kristopher

Re: [PHP] phpinfo() and HTTP_RAW_POST_DATA

2003-01-02 Thread Kristopher Yates
, though the val is now 1 in my php.ini (and I restarted apache), I dont see any data in phpinfo() output related to this var. Did I miss something? Thanks Kris Chris Shiflett wrote: That data is only populated when always_populate_raw_post_data is on (check your php.ini). Chris --- Kristopher

[PHP] receiving XML stream as server via PHP

2002-12-31 Thread Kristopher Yates
Hi, Using PHP with cURL, I am currently able to dynamically create XML documents and HTTP POST to a remote server, receive an XML response, and parse XML as needed. What I am having trouble finding information on is doing the reverse. Basically, I am trying to create a PHP script that acts as

[PHP] OSX compile problem (TSRM libs)

2002-11-04 Thread Kristopher Yates
Hello, I'm trying to compile PHP4.2.3 for Mac OSX 10.2 (Jaguar). Has anyone else had this problem (see below)? #./configure --with-apxs=/usr/sbin/apxs #make ld: multiple definitions of symbol _virtual_stat TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_stat in sectio n

[PHP] 4.2.3 compile problem on OSX

2002-11-04 Thread Kristopher Yates
Hello, I'm trying to compile PHP4.2.3 for Mac OSX 10.2 (Jaguar). Has anyone else had this problem (see below)? ./configure --with-apxs=/usr/sbin/apxs make ld: multiple definitions of symbol _virtual_stat TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_stat in sectio n

[PHP] xml parsing (while loop question)

2002-09-05 Thread Kristopher Yates
Hi, I have Marc Robards article on XML Parsing with PHP (wirelessdevnet.com).. which talks about parsing an XML FILE. My XML is from a remote server (used curl to get it back to PHP as a variable). How do I change the following while to read from variable instead of file without getting

[PHP] cURL and HTTP request header field/XML 2b

2002-09-03 Thread Kristopher Yates
Hi, I recently took a few minutes to install cURL library. A few minutes later, I had a working PHP script, which uses cURL to send some data to a remote server and get a response. I then, of course, parse the response and PHP creates the appropriate page for output to end user. Worked

Re: [PHP] cURL and HTTP request header field/XML 2b

2002-09-03 Thread Kristopher Yates
header through cURL before sending my XML. I can provide code if you cant find my original post. Maybe it is the way I am exec'ing curl??? help! thanks, Kris Tomasz Orzechowski wrote: Kristopher Yates wrote on Tue, Sep 03, 2002 at 04:14:35PM -0500: Please examine this snippet and let me

Re: [PHP] Credit card checks?

2002-07-23 Thread Kristopher Yates
You should contact Visa International Service Association to determine what constitues a valid credit card number. Just FYI, a valid format is 16 digits; ---. I believe VISA normally begins with 41 as the first two digits, however, I am not a Visa Int. agent but I am a

Re: [PHP] Credit card checks?

2002-07-23 Thread Kristopher Yates
for these companies. Hope this helps, Kris Jas wrote: So there is no way to use some sort of string comparison to check the number then? I would have to have a merchant account? Sorry for being nieve, just never tried to work with credit card numbers etc. Jas Kristopher Yates [EMAIL PROTECTED

[PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread Kristopher Yates
Hi, I have been running 4.1.2 for a while with no problems. This morning, I downloaded 4.2.2, did a configure/make/make install. All seemed to have gone well. However, it broke all my sites that use PHP. Here is a description of how it appeared to be broken. This is just an example, as

Re: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread Kristopher Yates
... - Original Message - From: Kristopher Yates [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Monday, July 22, 2002 3:51 PM Subject: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2) Hi, I have been running 4.1.2 for a while with no problems. This morning, I downloaded

[PHP] bug in php4 with postgres?

2001-04-06 Thread Kristopher Yates
How come sometimes I get this message and sometimes I dont? [Fri Apr 6 13:49:15 2001] [error] PHP Warning: 3 is not a valid PostgreSQL lin k resource in /usr/local/apache/htdocs/ltt-dev/htdocs/formproc.php3 on line 134 It worked fine until I upgraded to PHP4 and now a bunch of code is