RE: [PHP-WIN] sql dumps

2004-03-14 Thread Svensson, B.A.T. (HKG)
That will fail if the query is broken into several lines. In any case I would suprise me if MySQL did not have the ability to do batch queries - e.i. with an interactive shell tell the shell to execute a certain file. -Original Message- From: Bobo Wieland To: Svensson, B.A.T. (HKG); [EMA

[PHP-WIN] load data infile

2004-03-14 Thread Bobo Wieland
This code... $q = "LOAD DATA INFILE '".str_replace("\\","/",$sqlfil["tmp_name"])."' REPLACE INTO TABLE sortiment"; $res = mysql_query($q, $link_id); print(mysql_affected_rows($link_id)."".str_replace("\\","/",$sqlfil["tmp_name"])); ...gives the output: -1 C:/WINDOWS/TEMP/php1D0.tmp Any ide

Re: [PHP-WIN] sql dumps

2004-03-14 Thread Bobo Wieland
A file with the .sql extension When I use MySQL-Front and export tables and data they are saved in sql-files. Just a simple txtfile with all INESET queries... I think I know how to do this now, but have just one problem; thought of using this bit of code from the users comments from the mysql_

RE: [PHP-WIN] sql dumps

2004-03-14 Thread Svensson, B.A.T. (HKG)
What does "sql file" mean? (no such thing exists) -Original Message- From: Bobo Wieland To: [EMAIL PROTECTED] Sent: 14-3-2004 13:58 Subject: [PHP-WIN] sql dumps Hi! Is there some good tutorial or example code for dumping sql-files back-and-forth via php? .bobo -- PHP Windows Mailing

RE: [PHP-WIN] Windows 95

2004-03-14 Thread Svensson, B.A.T. (HKG)
AS far as I know: For apache, yes, php should be yes, MySQL I don't know, but think so, but to have any use of it you need to have winsocket installed. There is an explanation on the apache pages how to deal with Win95. -Original Message- From: Bobo Wieland To: [EMAIL PROTECTED] Sent: 1

[PHP-WIN] Re: servers in php

2004-03-14 Thread Comex
On Sat, 13 Mar 2004 19:06:38 -0500, Comex <[EMAIL PROTECTED]> wrote: I was wondering how to go about making a server in PHP that would accept multiple connections..in windows, so I can't use forks. I'd need to call the program from itself but I don't know how the listening works. I found an e

[PHP-WIN] sql dumps

2004-03-14 Thread Bobo Wieland
Hi! Is there some good tutorial or example code for dumping sql-files back-and-forth via php? .bobo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Windows 95

2004-03-14 Thread Bobo Wieland
Hi! Is it possible to install apache/php/mysql under Windows 95? .bobo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] servers in php

2004-03-14 Thread Svensson, B.A.T. (HKG)
>> And if you don't use fork(), how did you plan to handle the >> port situation, once a process has connected to the server? >I don't know, which is why I asked. The answer is: unless you bifurcate your process, you can't. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit

php-windows Digest 14 Mar 2004 12:17:42 -0000 Issue 2164

2004-03-14 Thread php-windows-digest-help
php-windows Digest 14 Mar 2004 12:17:42 - Issue 2164 Topics (messages 23130 through 23133): Re: servers in php 23130 by: Robert Twitty 23131 by: DvDmanDT 23132 by: Svensson, B.A.T. (HKG) 23133 by: Comex Administrivia: To subscribe to the digest, e-mail:

Re: [PHP-WIN] servers in php

2004-03-14 Thread Comex
And if you don't use fork(), how did you plan to handle the port situation, once a process has connected to the server? I don't know, which is why I asked. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] servers in php

2004-03-14 Thread Svensson, B.A.T. (HKG)
And if you don't use fork(), how did you plan to handle the port situation, once a process has connected to the server? -Original Message- From: Comex To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 14-3-2004 1:06 Subject: [PHP-WIN] servers in php I was wondering how to go about making a s