[PHP] Re: Chat with PHP and MySQL - come and chat about Linux problems...

2001-03-15 Thread John Hinsley
Marian Vasile <[EMAIL PROTECTED]> wrote: //snipped! This list is long enough! >The main problem I have with my chat is that after some use of it, the >server is going very very slowly. >Someone with (256Mb, 800Mhz and just my chat running (Linux also)) told me >that the chat is still doing this

[PHP] Re:Fw: can't start apache

2001-03-03 Thread John Hinsley
> > > Scott Wagner wrote: > To: php > Sent: Thursday, March 01, 2001 11:55 PM > Subject: can't start apache > > > Hi > I just installed mysql, apache and php4 on Linux Mandrake 7.0 from a cd I got with >the book "PHP Fast and Easy" > After installing apache it seemed ok and started normall

Re: [PHP] PHP Editors

2001-02-14 Thread John Hinsley
You could try Xemacs, which has colour syntax highlighting and a built in psychoanalist! (No, really!) But I prefer Gvim. You need (say) gvim 5.7 and the vim 5.7rt. If you're running a *nix, build it against Gtk. It's charityware, and looks and works the same on any platform. Menu driven and Grep

[PHP] Re:shows up in IE but not Netscape

2001-02-10 Thread John Hinsley
"Erik Boles" <[EMAIL PROTECTED]> wrote: > > We are running a webform, that asks for user ID and pass, then passes it on > to a .php3 file that shows them a page to continue (not a security thing, > just a tracking thing). > > This .php3 file, called login.php3 works just fine in IE

[PHP] Re:Apache and PHP

2001-02-04 Thread John Hinsley
"Patrick L. Olson" <[EMAIL PROTECTED]> wrote: > if I call it like http://127.0.0.1/cgi-bin/one.php > with the shebang line #!php.exe > I get the following error > No input file specified > if I call it without the shebang I get > the Internal Server Error > Error logs indicate the the #! is neede

Re: [PHP] Re:What version of Linux?

2001-02-03 Thread John Hinsley
Christian Reiniger <[EMAIL PROTECTED]> wrote: > Well, my home server is a wimpy P90 with 48MB RAM. It serves as web > server (all my technical docs, php website testing, more), web cache > (WWWoffle), web filter (junkbuster), file server (nfs and samba), > masquerading internet gatewa

Re: [PHP] Re:What version of Linux?

2001-02-02 Thread John Hinsley
Christian Reiniger <[EMAIL PROTECTED]> wrote: > > On Friday 02 February 2001 05:32, John Hinsley wrote: > > > > I want to install my personal server on a old Intel 486 machine, 36 > > > Mb RAM, 2 Gb HardDisk, VGA, to develop in PHP. What version of

[PHP] Re: PHP a lightweight language?

2001-02-01 Thread John Hinsley
> Michael Hall <[EMAIL PROTECTED]> wrote > > I'm interested in the proposition made recently on this list that PHP is > somehow a 'lightweight' language that some people don't take seriously. I > am relatively new to Linux and open source programming and only really > know PHP and som

[PHP] Re:What version of Linux?

2001-02-01 Thread John Hinsley
> "Andrés de la Varga" <[EMAIL PROTECTED]> wrote: > > I want to install my personal server on a old Intel 486 machine, 36 Mb RAM, > 2 Gb HardDisk, VGA, to develop in PHP. What version of Linux do I need to > install? Stay clear of any version built specifically for 586 machines. This c

[PHP] Re: Editor

2001-01-30 Thread John Hinsley
[EMAIL PROTECTED] wrote: > Hi, > > I know this has been asked before but I can`t seem to get the archive email > thingy to work, basically I`m looking for a free or cheap editor that has the > lines numbered so that it`s a bit easier for me to debug my scripts. You don't mention w

Re: [PHP] Re: HTTP_USER_AGENT and preg_match

2001-01-23 Thread John Hinsley
Teodor Cimpoesu wrote: > I've got a nice browsecap.ini file from php4win.de. > You can then simply use get_browser() [ listed under Miscellaneous functions] Hi Teodor I can't find it! I went to the site and downloaded the complete php_for_windows install thinking that I could unzip the lot in L

[PHP] Re: HTTP_USER_AGENT and preg_match

2001-01-22 Thread John Hinsley
Got it in the end. It should be: if ((preg_match("/Mozilla/i", "$agent")) && (preg_match("/Gecko/i", "$agent"))) { $result = "You are using Netscape 6 or a later version of Mozilla."; But the thought occurs that there must be a site out there somewhere which lists the HTTP_USER_AG

[PHP] HTTP_USER_AGENT and preg_match

2001-01-21 Thread John Hinsley
This seems trivial at first (and maybe at last!): Browser Match Results $result"; ?> But, just as it's a good idea to use the HTTP_USER_AGENT environment to dynamically set the size of type so that Internet Explorer users are not forced to view huge text (which appears fine in Amaya,

Re: [PHP] Spell checker?

2001-01-20 Thread John Hinsley
Nik Gare <[EMAIL PROTECTED]> wrote > Does anyone know where I could find a text list of every > word in the English language ;-) You could try (also) getting hold of ispell a search on www.google.com/linux or sunsite should get it. You'll need something capable of uncompressing tar archives t

Re: [PHP] RE: Ethics question...

2001-01-19 Thread John Hinsley
Rasmus Lerdorf wrote: > > > I think the single most importand piece of software that saves us the > > most money is thttpd. That all runs in a single thread and uses > > select to pump out content. Since it is a single thread, it never > > chews up tons of memory forking children. > > By the w

RE: [PHP] RE: Ethics question...

2001-01-18 Thread John Hinsley
"Randy Johnson" <[EMAIL PROTECTED]> wrote: > is there any benchmarks or proof that I should host a high traffic site on a > FREEBSD/APACHE instead of a redhat Linux/Apache server? I don't know where thetre is any proof as such, but certainly the consensus is that FreeBSD is better than

Re: [PHP] Ethics question...

2001-01-18 Thread John Hinsley
Frank Joerdens <[EMAIL PROTECTED]> wrote: (the context is Microsoft using other OSs) > Do you know for a fact that they do? If so, how? That'd be a very cool > tidbit of information to share . . . See also: http://www.unix-vs-nt.org/kirch/ A good document to hit clients/funders/bosses over t

Re: [PHP] how do I do this, please?

2001-01-18 Thread John Hinsley
Thanks Richard: I finally got it. I'm *really* rusty 'cos I went completely code blind and struggled for a day with a silly syntax error! This works just fine: http://localhost/calculate_form.html"); exit; } if ($calc == "add") { $result = $val1 + $val2; } else if ($calc == "su

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread John Hinsley
Coming in on this late and from another platform: I use Bluefish and Gvim under Unix. Of the two, Gvim is probably the most configurable editor out there (macros, syntax highlighting, runs its own scripts, uses a variety of scripting languages) and is available for Windows. It's free (well, it's

[PHP] how do I do this, please?

2001-01-15 Thread John Hinsley
Can anyone show me how to do this? I'm using a script out of Julie C. Meloni's book: http://localhost/calculate_form.html"); exit; if (ereg !=("^[0-9]+[.]?[0-9]*$", $val2)) { header("Location:http://localhost/calculate_form.html");