[PHP] Gzip compression

2001-02-02 Thread David VanHorn
I'm looking at implementing Gzip compression and output buffering. I think I have it working, but for some reason, the page isn't displayed for 8-10 seconds. It seems that the compressed page is sent immediately, but the browser hangs on to it for some reason.

Re: [PHP] Gzip compression

2001-02-02 Thread David VanHorn
At 04:24 PM 2/2/01 +0100, Dimitar Tsolov wrote: May be the reason is somewhere in your browser? I can see both pages /compressed and another one/ and I'm using Netscape 4.75 with Linux? They both get there, (I'm running latest MSIE) but I can't seem to work out why the delay between when the

Re: [PHP] Microsoft's new naming convention...

2001-02-03 Thread David VanHorn
At 05:03 AM 2/3/01 -0600, Ahmad Navid Yar wrote: FYI folks... Microsoft is planning on a new naming convention for it's latest products. The next OS version is supposed to combine features from ME, CE, and NT, into windows CEMENT. :) -- Where's dave?

RE: [PHP] New buzz SOAP?

2001-04-03 Thread David VanHorn
This is going to be big because it is a very large part of the new Microsoft .NET strategy. In essence it will enable everyone and everything to talk together without worrying about hardware, software or OS's incompatibilities (well, that's the theory, anyway). Of course, I'm sure that MS will

Re: [PHP] Uptime script?

2001-05-16 Thread David VanHorn
At 08:18 PM 5/16/01 +0200, Christian Reiniger wrote: On Wednesday 16 May 2001 15:16, Matthew Schroebel wrote: Why would you want to advertise that? Seems like you would be leaking information to crackers ... It's very difficult to imagine how 'uptime' information could be used to cause

Re: [PHP] Uptime script?

2001-05-16 Thread David VanHorn
At 03:30 PM 5/16/01 -0500, Ben Gollmer wrote: Uptime.exe is available on the WinNT / Win2k resource kit. You can also download it here: http://www.microsoft.com/ntserver/nts/downloads/management/uptime/default. asp Does the windows version have the ability to count larger than hours? :) --

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread David VanHorn
At 12:05 PM 5/17/01 -0500, Troy Moreland wrote: I fully understand what you are saying. The problem is that I'm storing their password so that they don't have to re-enter it on each new page visited. If I can't decrypt it, then I can't pass that password for the user. How do I keep passing the

Re: [PHP] preprocessing

2001-05-17 Thread David VanHorn
At 10:18 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote: I have what I feel to be a strange problem (I'm most likely wrong here). I have page A, which is an internal page, which posts to page C which is external (belongs to another company). What I would like is to insert a preprocessing script

RE: Re: [PHP] preprocessing

2001-05-17 Thread David VanHorn
At 10:48 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote: Unfortunately, I don't control page c, or else this would be a mute point. That's why I need page B. Good idea though. Well, it sounds like an auto-redirect is about your only choice. -- Dave's Engineering Page: http://www.dvanhorn.org

Re: [PHP] Re: Lists are back up

2001-06-18 Thread David VanHorn
If we didn't have Microsoft, we'd have to blame ourselves for all of our programs crashing Most of my systems don't even HAVE a reset button. :) -- Dave's Engineering Page: http://www.dvanhorn.org I would have a link to http://www.findu.com/cgi-bin/find.cgi?KC6ETE-9 here in my signature

Re: [PHP] Re: Lists are back up

2001-06-19 Thread David VanHorn
At 12:01 AM 6/19/01 +0200, Alexander Skwar wrote: So sprach Clayton Dukes am Mon, Jun 18, 2001 at 05:38:26PM -0400: Why not just set your filter to look for [EMAIL PROTECTED] in the to or cc line? Because not all filters support that, and it makes reading mails eg. via webmail interfaces

RE: [PHP] include files

2001-02-05 Thread David VanHorn
At 12:50 PM 2/5/01 -0500, Brian V Bonini wrote: DOCUMENT_ROOT ??? http://php.net/manual/en/language.variables.predefined.php Ok, but having read the docs you pointed to (thanks), I still don't see how to use it in an include directive. I assume that since the vhost is specified to use

Re: [PHP] Questions about simple php problems

2001-02-06 Thread David VanHorn
I think it's just "test.html", although I am not 100% sure. I will check that. Maybe this is the reason... I hit this early on too. I write my code on a windows machine, and upload it using cute-ftp to the server, which is linux. I started out trying to make files like "file.ext" on windows,

Re: [PHP] MD5 / crypt

2001-02-06 Thread David VanHorn
GET or POST-Parameters are for user-input. Handing information over to the client and taking it back later is a potential security leak. If you have no means of revalidating the information after it crossed the so called trust boundary, you should't do it. Send a handler, some random and

Re: [PHP] Questions about simple php problems

2001-02-06 Thread David VanHorn
Here's what my normal "Index.php" looks like. ? include($DOCUMENT_ROOT . "/headmeta.inc")? ? include ("Header.inc")? ? include("Index.inc") ? ? include($DOCUMENT_ROOT . "/Footer.inc") ? ? include($DOCUMENT_ROOT . "/Do_webtrends.php") ? Well.. the mailing list munged it.. I can email you a

[PHP] Variable quantity chooser.

2001-02-07 Thread David VanHorn
Is there a way, using PHP, to generate a quantity chooser that maxes out at the quantity on hand? IOW, I have $quantity from the database, for a given line item, and I'd like to have a slider that lets you run up to, but not over, the quantity on hand. This might be more of an HTML

Re: [PHP] Variable quantity chooser.

2001-02-08 Thread David VanHorn
I'm sure I can help you, but I'm not able to follow your terminology. What's a "quantity chooser" and what's a "slider"? Are you referring to select boxes? I'm not trying to be rude, I just don't understand what you're referring to. I'm confident you can accomplish what you want using a

[PHP] New Mod-gzip

2001-02-16 Thread David VanHorn
There's a new mod_gzip out that does work with PHP output. Have a look at www.dvanhorn.org All the pages are PHP generated, with nothing special in the PHP code. -- Dave's Engineering Page: http://www.dvanhorn.org Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9 -- PHP General

Re: [PHP] New Mod-gzip

2001-02-16 Thread David VanHorn
At 04:53 PM 2/16/01 -0500, Michael Kimsal wrote: Does it work when you print from Netscape? I don't have a printer hooked Hmm. Couldn't tell you, I don't have Netscape. The only bug reports so far, all involve a relatively minor config tweak. I've had no problem reports on my page. -- Dave's

RE: [PHP] Session support in PHP (buffering output to browser)

2001-02-19 Thread David VanHorn
At 05:53 PM 2/19/01 -0800, ..s.c.o.t.t.. wrote: there was an awesome article on phpbuilder about buffering output, controlling when things got to the browser... so that you could set cookies/headers anywhere in your script (or, as he talks about, gzip content on the fly beofre outputting it to

Re: [PHP] Password Generator?

2001-04-18 Thread David VanHorn
At 02:20 PM 4/18/01 -0600, Ashley M. Kirchner wrote: Is there an easy way to generate generic passwords based on (combined) dictionary words? (ej: take two different words and put them together) Would be huge, and vulnerable to dictionary attack (of course) You'd have to have a file

Re: [PHP] math calculations query

2001-04-26 Thread David VanHorn
At 08:31 PM 4/26/01 +0100, [EMAIL PROTECTED] wrote: hi all, i have a script which selects description, price and quantity from a mysql table. i have displayed the results on a page in the form of description, price, quantity but I was wondering how best to go about calculating a total total,

Re: [PHP] Re: [PHP] Large Memory Problem

2001-05-07 Thread David VanHorn
At 02:59 PM 5/7/01 +0100, Tom Carter wrote: Hi This isn't a PHP thing, but most unix/linux distributions have a program called wget in. You can use this to very easily download a file to your server (eg. wget http://www.freebsd.com/man.php) Wget is VERY powerful. I have a php based site that