[PHP] file to blob

2006-10-03 Thread Joshua Capy
Hi, I am relatively new to php and could use a good pointing in the right direction. I have a soap client in NuSoap that I developed for a webservice that I wrote in another language and I need it to be able to send a file in a blob. I can't find an example of how you load a file in

[PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Hi, I am a newby having a configuration problem. I am using PHP 4.3.6 and postgres 7.4.3 The problem is when I try to execute my php scripts that connect to postgres from the command line I get error like this: Fatal error: Call to undefined function: pg_connect() in

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Thanks On Aug 23, 2004, at 12:04 PM, Jay Blanchard wrote: [snip] Fatal error: Call to undefined function: pg_connect() in /Users/jcapy2/Sites/Jesper/SyncPosgresToMbrMaxData .php on line 28 [/snip] http://www.php.net/manual/en/features.commandline.php -- PHP General Mailing List

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Yes I have found that I am running v 4.3.2 on the command line and 4.3.6 under apache Is it possible to run the same version both on the command line and running on apache? On Aug 23, 2004, at 12:23 PM, Michal Migurski wrote: I am a newby having a configuration problem. I am using PHP 4.3.6

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Ok next stupid question At the command line how to I force the execution of the 4.3.6 apache version or change the default to it. On Aug 23, 2004, at 2:39 PM, Jay Blanchard wrote: [snip] Yes I have found that I am running v 4.3.2 on the command line and 4.3.6 under apache Is it possible to run

[PHP] Problem querying postgres

2004-08-13 Thread Joshua Capy
Hi, I am new to postgres using PHP. I have gotten PHP POSTGRES and PHPADMIN installed and have a database setup using PHPADMIN. The problem that I am having is that when I connect to postgres outside of PHPADMIN and try use pg_query() to do a select such as SELECT PersonID FROM person the