[PHP] Re: sending/notifying a server process

2005-11-14 Thread tony yau
] wrote in message news:[EMAIL PROTECTED] On Fri, November 11, 2005 4:57 am, tony yau wrote: I have a server process that sends fax,print, etc (both in C# and in Java). Currently it polls says the fax table in the database for any fax jobs. How can I get my PHP script to call or notify

[PHP] sending/notifying a server process

2005-11-11 Thread tony yau
to the server vai the PHP so what mechanism do I use? Any hints will be grateful -- Tony Yau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] can't get IIS to run php if the script is not directly under wwwroot

2005-10-17 Thread tony yau
Can someone help please, in w2k, when i put a test.php directly under wwwroot then it works, when i try using a virtual directory it fails/refused to run the script?! any hint anyone? -- Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: can't get IIS to run php if the script is not directly under wwwroot

2005-10-17 Thread tony yau
control and both allow inheritable permission from parent. (I'm logged in with Admin prev) thanks Tony tony yau [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can someone help please, in w2k, when i put a test.php directly under wwwroot then it works, when i try using a virtual

[PHP] Re: Re: can't get IIS to run php if the script is not directly under wwwroot

2005-10-17 Thread tony yau
Executable : C:\Apache\Apache2\php501\php5isapi.dll Extension .php Verb All checked Script engine I've have tried php.exe here but with no joy! Tony Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] the security for my 'Project' folder (aliases 'phpproject' where

[PHP] Re: Re: Re: can't get IIS to run php if the script is not directly under wwwroot

2005-10-17 Thread tony yau
Hi Jay thanks for your time. i installed it as ISAPI can i ask if you have had IIS5 on win2k professional running php scripts that is not under the \wwwroot ? some how i getting to think it can't (?!) be done although it does work for II6 win2003 server! Tony Jay Blanchard [EMAIL PROTECTED]

[PHP] Re: Re: Re: Re: can't get IIS to run php if the script is not directly under wwwroot

2005-10-17 Thread tony yau
THANKS JAY, YOU ARE A SAINT :) I commented out the doc_root and restart and it came alive :) Thank you all Tony Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] thanks for your time. i installed it as ISAPI can i ask if you have had IIS5 on win2k professional

Re: [PHP] novice: how to run .sql script from php?

2005-05-30 Thread tony yau
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] tony yau wrote: I realised that there is a fundamental problem with using mysql_query( ...) to run a .sql script to setup a database, and that was the database needs to be there in the first place for php to connect to! also there was a lot

Re: [PHP] novice: how to run .sql script from php?

2005-05-29 Thread tony yau
but does the job. thanks for all the help tony yau Rory Browne [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm assuming that the .sql file consists of a list of MySQL queries, that when performed sequentially will set up your system. That being the case, the perfered way ot install

[PHP] novice: how to run .sql script from php?

2005-05-27 Thread tony yau
the comment lines first in the script!! can someone give me a better idea of doing this. (there must be an equivalent php function like mysql_run_script(setup.sql)) thanks -- Tony Yau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: novice: char to varchar

2005-05-19 Thread tony yau
Hi Kim, I've found the same article that Philip Hallstrom [EMAIL PROTECTED] had posted Tony Kim Madsen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: tony yau [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 9:03 PM found the answer

[PHP] novice: table design FOREIGN key

2005-05-19 Thread tony yau
into the table? Thanks Tony Yau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] novice: char to varchar

2005-05-18 Thread tony yau
) I don't understand, please help (or point me to RTFM page) Tony Yau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: novice: char to varchar

2005-05-18 Thread tony yau
found the answer sorry about this Tony Yau [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY