Re: [PHP-WIN] need help displaying random records

2001-04-30 Thread Chris Adams
On 30 Apr 2001 17:27:44 -0700, r.gelstharp <[EMAIL PROTECTED]> wrote: > As a university degree student my final year project is a comparison on ASP > v PHP. I have to make two identical sites in both languages, but am at the > moment having trouble duplicating a function on my ASP pages in PHP. >

Re: [PHP-WIN] msvcr70.dll ?

2001-05-07 Thread Chris Adams
On 2 May 2001 02:58:04 -0700, Ermanno Iannacci <[EMAIL PROTECTED]> wrote: > When I start Apache, I get a lot of errors saying "Could not find > msvcr70.dll". Which dll is this? > (NT4 Apache 1.3.17 PHP 4.0.5) It's one of the Visual C runtime DLLs. It'll apparently ship with Windows XP from what I

Re: [PHP-WIN] ISAPI

2001-05-09 Thread Chris Adams
On 9 May 2001 12:07:54 -0700, Tim Uckun <[EMAIL PROTECTED]> wrote: > Is there a document that explains the intracasies of this environment. > If I decide to scrap IIS and go to apache will php run as a loadable module > or CGI? Will it be fast and efficient like ISAPI? Loadable module. And yes,

Re: [PHP-WIN] HTML -> PHP -> HTML calling sequence

2001-04-22 Thread Chris Adams
On 21 Apr 2001 17:06:05 -0700, Bob Sears <[EMAIL PROTECTED]> wrote: > >I'm stuck. Module A is a HTML program with a FORM/ACTION/GET that xctls to >a PHP module. I have no problem getting to >the PHP module, displaying a dummy screen, and returning to the HTML >program. In a PHP text I perused th

Re: [PHP-WIN] error in ip2long

2001-05-16 Thread Chris Adams
On 16 May 2001 19:56:52 -0700, Ruslan Ohitin <[EMAIL PROTECTED]> wrote: > hello all! > > I try to convert ip address (aaa.bbb.ccc.ddd) > to IPv4 integer using ip2long(). > > ip2long("200.200.200.12") = 3368601612 > but it must be -926365684. That's the same value - the first time is treating it

Re: [PHP-WIN] DOM

2001-01-13 Thread Chris Adams
On 13 Jan 2001 14:22:24 -0800, James Duncan <[EMAIL PROTECTED]> wrote: >the client's last request. If I do a client pull I will have all the clients >polling the server every minute or so asking for new data regardless if any >exists or not. This could cause serious overloading of the server, wher

Re: [PHP-WIN] PHP Editor

2001-01-14 Thread Chris Adams
On 14 Jan 2001 07:16:11 -0800, Angus Mann <[EMAIL PROTECTED]> wrote: >Does anyone know of an editor that has good syntax colouring and also can >handle braces matching? Textpad (http://www.textpad.com/). It's pretty customizable, allows a fair amount of configuration per file-type and has a few

Re: [PHP-WIN] String Replacement

2001-01-14 Thread Chris Adams
On 14 Jan 2001 19:40:28 -0800, Toby Butzon <[EMAIL PROTECTED]> wrote: >Ok, so you want to replace ONLY the word "boy" with the word "girl"... you >don't want to touch "boys". > >Perhaps str_replace("boy ", "girl ", $myStr) would do the trick? Better yet, preg_replace("/\bboy\b/i", "girl", $myStr)

Re: [PHP-WIN] passing windows username to apache

2001-01-16 Thread Chris Adams
On 16 Jan 2001 03:57:10 -0800, Matt Williams <[EMAIL PROTECTED]> wrote: >we're just considering setting up Apache/Linux for our intranet server. Is >there any way that we can get the users windows logon username available to >the scripts on the intranet machine. If they're using IE, just enable H

Re: [PHP-WIN] PDFLib

2001-02-21 Thread Chris Adams
On 21 Feb 2001 20:45:52 -0800, Randall Barber <[EMAIL PROTECTED]> wrote: >Now, within PHP, I try to call pdf_set_font($pdf, "Times-Roman", 12, = >"host", 1); >Do to a lack of information in the PHP manuals (for instance, where = >fonts need to reside; how you call them if they don't reside there

Re: [PHP-WIN] transparent

2001-03-06 Thread Chris Adams
On 5 Mar 2001 10:56:59 -0800, Bacon Luvva <[EMAIL PROTECTED]> wrote: >Is there a way to transparently download from another server such that >no url is ever seen in the status bar using PHP. Have you tried something like this: http://some.other.server/file"); ?> -- PHP Windows Mailing List (htt

[PHP-WIN] Benchmark humor

2001-03-09 Thread Chris Adams
I was running some simple database performance tests this morning using PHP and Cold Fusion using MS SQL on an NT box. On my first test, I did a number of select statements. To my surprise, Cold Fusion (using OLEDB) came in at 4 seconds to PHP's 8. When I looked at the inner benchmark loops, I fou

Re: [PHP-WIN] PHP+Apache question

2001-03-15 Thread Chris Adams
On 15 Mar 2001 06:12:43 -0800, Martin Lindhe <[EMAIL PROTECTED]> wrote: >the execution can take a long time, so i would want to execute it >on a regular interval instead, so the data can be fetched from >the database only, with close enough up-to-date information. > >however php (of course) execut

Re: [PHP-WIN] Case insensitive str_replace

2001-04-03 Thread Chris Adams
On 3 Apr 2001 00:49:05 -0700, Matthew <[EMAIL PROTECTED]> wrote: >I'm not sure where to put the /i. >If I had code like: > >$print preg_replace("test", "this is a test", "test TEST tEsT TEst") > >where in that code would i put the modifier? I don't think that code would work as it is without putt

Re: [PHP-WIN] Security Win2000/PHP4/Apache 3.1.19 - help!

2001-04-08 Thread Chris Adams
On 8 Apr 2001 08:02:44 -0700, Steve Prentice <[EMAIL PROTECTED]> wrote: >Has anyone got any good ideas because this seems to be a very important >issue, and we can't be the only people running win32 apache and php. What user are you running Apache as? If it's a special account which low privilege

Re: [PHP-WIN] include

2001-04-20 Thread Chris Adams
On 20 Apr 2001 14:04:00 -0700, Olivier Botineau <[EMAIL PROTECTED]> wrote: >Good evening all, >do you know if its possible to give an absolute path instead of a relative path for >include: >include( '../../menu.php' ); is OK >incude( '/inculde/menu.php' ); is Not OK That's the