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] wrote: How

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! print (int)((8.85-8)*100); I

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, Mark Maggelet wrote

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 [EMAIL PROTECTED

RE: [PHP] MySQL connection

2001-08-08 Thread Bjorn Van Simaeys
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 - start Apache but forget to start SQL

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 PHP I am running at this point

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 [EMAIL PROTECTED

Re: [PHP] last modification time

2001-08-08 Thread Bjorn Van Simaeys
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 the time(); function, select

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 nature. Corporate people usually do

[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 updated by their respective

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: Hi, I have run accross

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 through WDDX recordsets

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. Is anybody in the PHP mailing

Re: [PHP] close browser

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

Re: [PHP] mySQL date converting

2001-08-07 Thread Bjorn Van Simaeys
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 there anyway to convert this to 08-02-2001 outside