Re: [PHP] Upper or Lower Case

2001-08-07 Thread Bjorn Van Simaeys
Hi, I have run accross this problem too, and I solve it this way: if(strtolower($name1) == strtolower($name2)) I compare both variables in lower case, this way capitals don't matter at all. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Tarrant Costelloe <[EMAIL PROTECTED

Re: [PHP] Upper or Lower Case

2001-08-07 Thread Bjorn Van Simaeys
I must agree with Don that strcasecmp is the best way to go. Combined with the 'trim' function this is completely foolproof. Thanks, Don! Bjorn Van Simaeys www.bvsenterprises.com --- Don Read <[EMAIL PROTECTED]> wrote: > > On 07-Aug-2001 Bjorn Van Simaeys wrote: >

Re: [PHP] WDDX recordset data

2001-08-07 Thread Bjorn Van Simaeys
You can find nice documentation for all WDDX functions on php.net: http://www.php.net/manual/en/ref.wddx.php Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Vikram Vaswani <[EMAIL PROTECTED]> wrote: > Can anyone point me to a resource which explains how > to iterate th

Re: [PHP] MySQL connection

2001-08-07 Thread Bjorn Van Simaeys
t the SQL server is inaccessible. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Tyler Longren <[EMAIL PROTECTED]> wrote: > If the SQL server is down how will he hack it? > That's like hacking a > webserver that doesn't exist. > > Tyler Longren > Captain

Re: [PHP] Help me please.(Running stand-alone php)

2001-08-07 Thread Bjorn Van Simaeys
Miguel, I see that your script has the extension .html Rename that file to .php and it normally should work. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- miguel valero <[EMAIL PROTECTED]> wrote: > Unfortunately the -q parameter didn't fix the > problem. > >

Re: [PHP] close browser

2001-08-07 Thread Bjorn Van Simaeys
Hi, Yes, Javascript can do this. Look at this: this.window.close(); You can wrap this in a tag as well. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Jeremy Morano <[EMAIL PROTECTED]> wrote: > Hi, > > Can anybody tell me what the code to close the > browser

Re: [PHP] mySQL date converting

2001-08-07 Thread Bjorn Van Simaeys
x27;ll find all references in the php.net manual. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Christopher CM Allen <[EMAIL PROTECTED]> wrote: > Greetings: > > I have a field entry in a MYQSL table that stores > the date as: > August 02, 2001 :( > > Is

Re: [PHP] Bug?

2001-08-08 Thread Bjorn Van Simaeys
you get good habits in programming. And your code will be easier to read as well! Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- "[Intent A/S] Tais M. Hansen" <[EMAIL PROTECTED]> wrote: > Hi! > > I just came across this weird thing. Bug? You tell > me! >

Re: [PHP] checking for null form fields fails

2001-08-08 Thread Bjorn Van Simaeys
Hey Renze, Don't you think that checking too much is useless and takes a bite out of your performance too? Don't waste your time. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Renze Munnik <[EMAIL PROTECTED]> wrote: > On Tue, Aug 07, 2001 at 09:26:48AM -0700, Ma

Re: [PHP] Re: blank form

2001-08-08 Thread Bjorn Van Simaeys
Hi David, This is indeed not a php problem, but a browser feature. The browser forces a reload whenever you have a '?' in your code! (unless you use some proxy..). I would also like to know how to overcome this - if possible. Greetz, Bjorn Van Simaeys --- David Ovens <[EM

RE: [PHP] MySQL connection

2001-08-08 Thread Bjorn Van Simaeys
t.php file. Maybe that's a secure way to connect without anyone seeing your password in case of sqlserver problems. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- BRACK <[EMAIL PROTECTED]> wrote: > If you have Apache and MySQL servers make this > experiment - > sta

RE: [PHP] Session problem

2001-08-08 Thread Bjorn Van Simaeys
Maybe you have your cookies turned off in your browser? Something that is easily forgotten.. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Chad Day <[EMAIL PROTECTED]> wrote: > Nope. Same problem. I'm seriously thinking there's > a bug in the version of >

Re: [PHP] array + checkbox

2001-08-08 Thread Bjorn Van Simaeys
Hey Colin, You will need some javascript to handle the checkbox' onchange event because when the user clicks the checkbox off and back on, the value will be 'on' - and your if-condition will not work! Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Colin Viebrock &l

Re: [PHP] last modification time

2001-08-08 Thread Bjorn Van Simaeys
OTHER SERVER*. But I hope I have clarified Youri's question once again. Greetz, Bjorn Van Simaeys www.bvsenterprises.com *** Efficient Communication starts by LISTENING! *** --- Matt Kaufman <[EMAIL PROTECTED]> wrote: > What I do is put a timestamp in the database, using >

Re: [PHP] Re: PHP in corporate settings?

2001-08-08 Thread Bjorn Van Simaeys
That's right. I have been working for a large computer company (2800 people), and my project manager had never even heard about PHP and such. Bjorn Van Simaeys --- Inércia Sensorial <[EMAIL PROTECTED]> wrote: > I don't think the problem is the open source > na

[PHP] last modification time

2001-08-08 Thread Bjorn Van Simaeys
(hit enter twice) enjoy Twigman... On 2001.08.09 08:01 Bjorn Van Simaeys wrote: > Hey, > > This is not what BRACK a.k.a. Youri meant (it seems > that Youri is being misunderstood daily...) > > He meant that if you can see when the remote server > pages have been update

RE: [PHP] MySQL connection

2001-08-09 Thread Bjorn Van Simaeys
Hey Youri, Could you let us know what file extension you use for you php files? And give us the exact code/error message you get on screen. Of course you can hide your username/pass with x. Thanks Bjorn Van Simaeys www.bvsenterprises.com --- Matthew Loff <[EMAIL PROTECTED]>