Re: [PHP] Send HTML/plain text email using PHP

2004-05-31 Thread Jeremy Johnstone
Just as an FYI, the following line will get your email a lot of spam points in SpamAssassin: $headers .= X-MSMail-Priority: High\r\n; Also, I don't know if this has already been suggested, but there is an awesome class named htmlMimeMail which will handle your needs perfectly. Google it and

Re: [PHP] CVS web front end

2004-05-31 Thread Jeremy Johnstone
Although I have never seen a full app, I have seen PHP code which handles checkin/checkout of files as a class. I don't know if that will help you, but if it will then please let me know and I will dig it up. -Jeremy On Saturday 29 May 2004 09:50 pm, Brian V Bonini wrote: On Sat, 2004-05-29

Re: [PHP] Please help on session_destroy error...

2004-01-01 Thread Jeremy Johnstone
You problem is probably right here: session.gc_maxlifetime = 1800 That sets the garbage collection timeout to 30 minutes... Per the manual: session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up. It is not strictly followed, but PHP

[PHP] pure PHP implementation of GNU diff/patch functionality

2003-12-31 Thread Jeremy Johnstone
Has anyone ever seen a class which will allow most (if not all) the functionality of the diff/patch unix tools purely in PHP? I am looking for the ability to create a standard unified diff of the difference between two files, and also the ability to take a diff and apply it to a file. As mentioned

Re: [PHP] Re: Can't upload files then 400K to MySQL

2003-12-29 Thread Jeremy Johnstone
Might want to check the MySQL configuration. The max allowed packet size might be set extremely low. -Jeremy On Mon, 2003-12-29 at 15:25, Chris wrote: Have you taken a look at the post below: Can't upload files Greater than 11KB? We may have the same problem. Ahmetax [EMAIL PROTECTED]

Re: [PHP] How New Is HERE?

2003-12-25 Thread Jeremy Johnstone
AFAIK, it has been in PHP since the beginning of PHP4. I could be wrong, but I think it was one of the new features added when 4.0 came out. Here is a little reference material for you on it. http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc Without

Re: [PHP] Re: progress in PHP

2003-12-23 Thread Jeremy Johnstone
FWIW, here is a link to a PHP extension which enables the ability to track the progress of a PHP upload. I did not write the extension, so if it breaks something I am not responsible. It was previously discussed on the php-dev mailing list ([EMAIL PROTECTED]) a month or two ago, but it was never

RE: [PHP] File upload meter

2003-10-08 Thread Jeremy Johnstone
I can not say for sure, but the last time I saw it mentioned on the PHP-DEV list (besides today), the comments about it weren't that great. If memory serves me correctly, the code (although functional) is really bad and doesn't follow PHP standards. I may be wrong here and if so I apologize, but

Re: [PHP] Re: (native) linux-php-editor with some advanced features?

2003-10-08 Thread Jeremy Johnstone
That is really odd. From what I heard Zend Studio runs faster in Linux than Windows. I have only experienced the Windows version over someone's shoulder, but with similar machines mine seems to load faster and run better and I use Linux. Try upgrading to the new ZS3 if you haven't already. It is

Re: [PHP] php classes

2003-10-06 Thread Jeremy Johnstone
I don't know if these will help you, but maybe take a look here: phpclasses.org (code samples to read over) hotscripts.com (complete programs to read over) devshed.com (heard they had good articles, never really been there) Jeremy On Mon, 2003-10-06 at 07:13, Cameron Metzke wrote: Anybody know

Re: [PHP] OO parent/child relationship

2003-10-05 Thread Jeremy Johnstone
What I would do is pass the handles to the objects in the class constructor by reference. For example create one db object similar to this: class database { ... } $db = new database(); and then pass the reference to all other classes like this: class smarty { var $db; function

Re: [PHP] OO parent/child relationship

2003-10-05 Thread Jeremy Johnstone
-10-05 at 17:57, Gerard Samuel wrote: Jeremy Johnstone wrote: What I would do is pass the handles to the objects in the class constructor by reference. For example create one db object similar to this: class database { ... } $db = new database(); and then pass the reference to all

Re: [PHP] IP to Postal Code CSV? anyone messed around with this and PHP

2003-09-23 Thread Jeremy Johnstone
I doubt you will find such a thing. The closest you will probably find is doing it in a two step approach: IP Address to approx Lat/Long Lat/Long to Zipcode The second database is easy to find, the first one you usually have to pay money for. If you find a good public free resource

Re: [PHP] Full view of active sessions

2003-09-23 Thread Jeremy Johnstone
Here is a possible solution, but I don't know if it will work for your purposes: When a user logs in to your site, as part of the session store a random string (say a logincheck). Also insert this value into the database on the same row as the username/password is stored. Then on every page load

Re: [PHP] Re: PHP|Con insane pricing

2003-09-16 Thread Jeremy Johnstone
I apologize I couldn't help more, but if I knew a solution to your problem I would be going to! ;-) Jeremy On Tue, 2003-09-16 at 02:17, Jeremy Brand, B.S. wrote: Thanks again to all who at least had a mature answer. Cheers :) Jeremy Jeremy Brand, B.S. wrote: Does anyone know a way

[PHP] Updated PayPal IPN class for PHP

2003-09-15 Thread Jeremy Johnstone
Unfortunately it seems PayPal has broke IPN processing for PHP users recently. This is important news because a good majority of the people using IPN with a PHP script are no longer able to automatically process payments, and PayPal offers nothing to help PHP users who are having trouble. In fact

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Jeremy Johnstone
Actually the $495 is the conference fee only... It does not include the $160 a night for the hotel room (price of the hotel the conference is at), or food, or transportation. That is just your ticket into the conference. Factor in everything else, and your easily up to $1500-$2000. Using the

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Jeremy Johnstone
-15 at 21:23, John W. Holmes wrote: Jeremy Johnstone wrote: Actually the $495 is the conference fee only... It does not include the $160 a night for the hotel room (price of the hotel the conference is at), or food, or transportation. That is just your ticket into the conference. Factor