Re: [PHP] Effecient mass mailings

2008-02-04 Thread Robert Fitzpatrick
On Mon, 2008-02-04 at 08:53 -0800, Jim Lucas wrote: > If you were sending HTML formatted emails and included images for the layout, > that would be fine. But a 2-5MB attachment? Why would want to send that as > an > attachment. Give them a link back to your website. If it is a private > thi

[PHP] Effecient mass mailings

2008-02-04 Thread Robert Fitzpatrick
I a currently re-writing a web app from ASP to PHP and have come to the part where the app sends mass mailings to their customer base. This has always been problematic for them with the existing setup and I am looking for the best approach. While I've setup mailings with PHP, never such mass mailin

[PHP] Maps

2007-12-05 Thread Robert Fitzpatrick
Well, I have two clients that both want mapping for their sales people. I have been looking at the Google API and Phoogle (www.systemsevendesigns.com/phoogle). I assume with these examples I will be able to produce what they need? Which is to select several addresses and produce a fastest route map

Re: [PHP] Image upload

2007-02-05 Thread Robert Fitzpatrick
Jochem Maas wrote: Robert Fitzpatrick wrote: I have a small application that ran on one server and now gives me a problem with uploading images on a new server. I am running PHP 4.4.4 now on this server and hoping it is just something that needs adjusted in php.ini, but cannot seem to find

[PHP] Image upload

2007-02-05 Thread Robert Fitzpatrick
I have a small application that ran on one server and now gives me a problem with uploading images on a new server. I am running PHP 4.4.4 now on this server and hoping it is just something that needs adjusted in php.ini, but cannot seem to find. The file is posted as a file fields in a multipart/f

[PHP] Help with a complex scenario

2006-04-07 Thread Robert Fitzpatrick
I have an order table that we are trying to figure out a way to find the best (cheapest) scenario to sending to vendors to fill the orders. Let's say we have 10 parts ordered, if we split that amongst vendors, even paying a higher shipping cost in some cases can be cheaper. We can send 2 of those p

[PHP] Running php scripts under cygwin

2006-01-15 Thread Robert Fitzpatrick
I have a php script that I use for backup with rsync over ssh and those tools work great under cygwin. I'd like to use this same script that I use on my unix/linux servers. You would think I could find lots of info on this subject, but for some reason I can't. I found info from googling the subje

[PHP] Running php scripts under cygwin

2006-01-15 Thread Robert Fitzpatrick
I have a php script that I use for backup with rsync over ssh and those tools work great under cygwin. I'd like to use this same script that I use on my unix/linux servers. You would think I could find lots of info on this subject, but for some reason I can't. I found info from googling the su

RE: [PHP] COPY with PostgreSQL

2004-10-22 Thread Robert Fitzpatrick
On Fri, 2004-10-22 at 14:55, Jay Blanchard wrote: > [snip] > I am using COPY for PostgreSQL and having problems... > [/snip] > > So, is this a PHP problem, or a PostgreSQL problem? If I took the file it is trying to COPY into PostgreSQL and psql to bring it in on the server directly, no issues.

[PHP] COPY with PostgreSQL

2004-10-22 Thread Robert Fitzpatrick
I am using COPY for PostgreSQL and having problems now that the incoming file contains more than approx 1500 lines. Is this an issue anyone is aware of? Lot's of files over 1000 lines have worked fine, but after getting a file over 1800 I began having problems. I have broke the file down to a appro

Re: [PHP] Intalling PHP 4.3.7 with PGSQL support and Heimdal

2004-06-07 Thread Robert Fitzpatrick
On Sun, 2004-06-06 at 17:48, Marek Kilimajer wrote: > Robert Fitzpatrick wrote: > > On Sun, 2004-06-06 at 16:49, Marek Kilimajer wrote: > > > >>Robert Fitzpatrick wrote: > >> > >>>Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 suppo

Re: [PHP] Intalling PHP 4.3.7 with PGSQL support and Heimdal

2004-06-06 Thread Robert Fitzpatrick
On Sun, 2004-06-06 at 16:49, Marek Kilimajer wrote: > Robert Fitzpatrick wrote: > > Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 support and > > getting this error below. Trying to setup postgresql with Heimdal Kerberos 5 > > support, believe I have, b

[PHP] Intalling PHP 4.3.7 with PGSQL support and Heimdal

2004-06-06 Thread Robert Fitzpatrick
Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 support and getting this error below. Trying to setup postgresql with Heimdal Kerberos 5 support, believe I have, but not tried anything with it, yet. /usr/local/lib/libpq.so: undefined reference to `krb5_cc_get_principal' /usr/loc

[PHP] Error building PHP with PostgreSQL support

2004-05-24 Thread Robert Fitzpatrick
I am getting the following problem with trying to install from source PHP 4.3.6 with PG support on FreeBSD 5.2.1. I have PostgreSQL 7.4.2 recently upgraded from 7.3.x and it is up and running fine. I also have Heimdal 0.6 installed and PostgreSQL was built with that support. Is the error below from

[PHP] XML error: junk after document element

2003-07-26 Thread Robert Fitzpatrick
I am trying to parse and xml document: http://api.newedgenetworks.com/dtd/prequalresponse.dtd";> 1005Authentication failed: Invalid user name or password I received 'XML error: junk after document element at line 5'. I found some mention searching the web that the xml_parse() function does no

[PHP] RE: XML handlers in classes

2003-07-25 Thread Robert Fitzpatrick
> Use xml_set_object, and away you go. Perhaps you would benefit from > using PEAR's XML_Parser or XML_Transformer, or even PEAR's > HTTP_Request > class. > http://php.net/xml_set_object http://pear.php.net/xml_parser http://pear.php.net/xml_transformer http://pear.php.net/http_request Thanks

[PHP] XML handlers in classes

2003-07-25 Thread Robert Fitzpatrick
I have a class that receives an XML response from a HTTP request and I am trying to parse the XML after receiving it. The problem I'm having is the error when trying to use xml set handlers, such as 'xml_set_element_handler'. It seems the class is having trouble seeing the handler functions. For in

Re: [PHP] REVISED: PHP timeout doing fread from Apache Coyote

2003-07-24 Thread Robert Fitzpatrick
> > I tested it here: > http://zirzow.dyndns.org/php/fread/timeout.php > Thanks, I took your source and pasted it in my debugger and ran it fine like on your server. I narrowed down the, evidently significant, difference. Your content is has line endings, hence, the 'Missing query parameters: xml

Re: [PHP] REVISED: PHP timeout doing fread from Apache Coyote

2003-07-24 Thread Robert Fitzpatrick
> Try not having the connection kept alive. (just a thought) > Same long reponse :( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] REVISED: PHP timeout doing fread from Apache Coyote

2003-07-24 Thread Robert Fitzpatrick
Sorry, the correct request and response is below, the one I copied before was from the browser: Request: Request:POST /XMLCommunicationServlet HTTP/1.0 Content-Type: application/x-www-form-urlencoded User-Agent: PHP XMLRPC Host: api.newedgenetworks.com:80 Connection: keep-alive Content-Length: 758

Re: [PHP] PHP timeout doing fread from Apache Coyote

2003-07-24 Thread Robert Fitzpatrick
> > if (!fputs($fp, $op, strlen($op))) { > > which HTTP version are you requesting? I know that if you send a > HTTP/1.1 then a lot of servers send the data in chunks, thus your > retrieval code needs to be different. If it is HTTP/1.1 try using > HTTP/1.0 instead. > Same difference with the 1.0, I

[PHP] PHP timeout doing fread from Apache Coyote

2003-07-24 Thread Robert Fitzpatrick
I am trying to communicate with an API of a vendors of ours. They provide a Perl example that works fast and well. I am trying to do the same thing with a PHP class. The response takes over a minute before the response comes back. I see from the response text that the API is running on Apache Coyot

[PHP] PHP Compile Error

2003-01-30 Thread Robert Fitzpatrick
Running Redhat 8.0 PHP 4.3.0 When I try to configure with the following: ./configure --with-apxs=/web_root/bin/apxs --enable-track-vars --enable-versioning --with-mysql=/usr/mysql --with-gd=/usr/local --with-jpeg-dir=/usr/local/bin/ --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-zlib --e