Possibly even easier would be to change the CREATE DB syntax to -
CREATE DATABASE /*!32312 IF NOT EXISTS*/ my_database_name
This assumes you don't really care about an error code being returned if
it does already exist.
Shawn Sellars
-Original Message-
> if ( database doesn't exists )
>
php-windows Digest 8 Sep 2002 10:32:29 - Issue 1328
Topics (messages 15707 through 15707):
Re: I got a little confusion about mysql and php
15707 by: Shawn Sellars
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail
Hello,
I'm working on a web front-end for our build system. One of the
things I need to do is allow the user to start a lengthy build in the
back and continue using the web page.
Unfortunately, I can't find out how to do it. I can start the
build, but the web page won't complete loadinguntil th
Hi,
In my HTML page I have a textarea called "filename.ext" when I submit
the page I get "filename_ext" in my $_POST array.
Anyone know why?!??!?
TIA
Kjell
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi! I'm a total newbie to php4 or web design and i (of course) have a
problem:
i'm using apache 2.x and php4 as a module.
so, when i use the GET method to pass data to my php script:
script.php?x=5
i can't access it as a normal global variable:
the only way i can get to it is:
what's wro
I am having problems as well with exec() but this may help in your case, try
single quotes, eg add this to your php script:
exec ('start C:\path\to\your\bat\file\build.bat');
Hope this helps.
"Noel Llopis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello
What does this do?
exec(getenv('COMSPEC').' /c c:\path\to\your\bat\file\build.bat >NUL');
Do you see any errors in the log file?
Rich
-Original Message-
From: Kurtis Harper [mailto:[EMAIL PROTECTED]]
Sent: 08 September 2002 15:33
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: exec() w
Comments below...
-Original Message-
From: XXXPixie [mailto:[EMAIL PROTECTED]]
Sent: 08 September 2002 09:52
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] GET / POST
hi! I'm a total newbie to php4 or web design and i (of course) have a
problem:
i'm using apache 2.x and php4 as a module.
so,
Your naming conflicts with javascript. Remember what dots are used for in
js.
Avoid using other characters than alphanum and underscore. There is no
reason you should need to use any other character.
I am not quite even sure that it is valid HTML to use dots in attributes
values.
HTH
Ignatius
On Sun, 08 Sep 2002 15:32:31 -0700
Kurtis Harper <[EMAIL PROTECTED]> wrote:
> I am having problems as well with exec() but this may help in your
> case, try single quotes, eg add this to your php script: exec ('start
> C:\path\to\your\bat\file\build.bat');
I'm afraid it didn't. Still the same p
Hi,
I want to be able to use error_log() ( or mail() ) in a W2K Pro installation
(PHP 4.2). I suppose some kind of message queuing service or SMTP server has
to be installed.
I would appreciate if somebody who has done this successfully could give me
some indications.
Ignatius
_
Sorry ... I misunderstood (i.e. didn't bother to read your post fully!) -
look into running the AT command to run the command asyncronously
i.e.
Rich
-Original Message-
From: Noel Llopis [mailto:[EMAIL PROTECTED]]
Sent: 08 September 2002 13:43
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WI
On Sun, 08 Sep 2002 22:42:44 -0700
Rich Gray <[EMAIL PROTECTED]> wrote:
> Sorry ... I misunderstood (i.e. didn't bother to read your post fully!) -
> look into running the AT command to run the command asyncronously
>
> i.e.
> $time=date("H:i");
> exec(getenv('WINDIR').'\\system32\\at.exe '.$t
php-windows Digest 8 Sep 2002 23:27:05 - Issue 1329
Topics (messages 15708 through 15718):
exec() without waiting for completion in Win2k
15708 by: Noel Llopis
15711 by: Kurtis Harper
15712 by: Rich Gray
15715 by: Noel Llopis
15717 by: Rich Gray
"Ignatius Reilly" <[EMAIL PROTECTED]> wrote in message
004e01c25778$8ce4c490$a04d933e@satellite">news:004e01c25778$8ce4c490$a04d933e@satellite...
> I want to be able to use error_log() ( or mail() ) in a W2K Pro
installation
> (PHP 4.2). I suppose some kind of message queuing service or SMTP serve
If I recall, PHP4 has built in mySQL function calls.
On a Windows NT 4.0/2000 server system:
Is myODBC required to access mySQL with PHP?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nope. MySQL support is built in. Give it a try.
-Dash
If you think last Tuesday was a drag, wait till you see what happens
tomorrow!
On Sun, 8 Sep 2002, Kerry Kobashi wrote:
> If I recall, PHP4 has built in mySQL function calls.
>
> On a Windows NT 4.0/2000 server system:
>Is myODBC requi
17 matches
Mail list logo