RE: [PHP-WIN] Re: function parser

2004-04-24 Thread John Yu
It's going to be a standard mysql database. Nothing fancy -Original Message- From: Jason Barnett [mailto:[EMAIL PROTECTED] Sent: Saturday, April 24, 2004 10:32 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: function parser John Yu wrote: > Hi guys > > If I want to input a function (

[PHP-WIN] Re: function parser

2004-04-24 Thread Jason Barnett
John Yu wrote: Hi guys If I want to input a function (for example x = 2y + 5) and then have it stored in a database, so next time when I input the values for x and y, I would like php to retrieve the function and compute it. I know how to store and retrieve, anyone got any ideas about writing a

[PHP-WIN] Re: Re: The COM problem when converting from ASP to PHP[works now!!]

2004-04-24 Thread Steven Kidd
Thx Dvdmandt, I have enable it and use var pass by reference but it still doesn't work. However, when I switch to the PHP5 RC1, it works!~~ I use the recommonded php.ini setting( means the "pass by reference" is DISABLED ). my previous version is 4.3.6. I really love PHP 5! :) Strongly suggest a

[PHP-WIN] Re: COM on remote machine

2004-04-24 Thread Jason Barnett
M.Staiger wrote: Hello NG, Imagine that you have one machine running iis with php and want to call a COM-Server (e.g. Word) on a remote machine.Would this be possible? How would it look like, if this is the call for the local machine : $word = new COM("word.application"); Thanks, Marc I haven't p

[PHP-WIN] Re: Request: Get cURL 7.11.1 (current) included in PHP5 Win32 Builds

2004-04-24 Thread Jason Barnett
[EMAIL PROTECTED] wrote: Hello, Thank you in advance for any help you can provide. I have a prod linux server running PHP5CVS with the latest cURL 7.11.1 compiled in. It has several new features I require. The Win32 PHP5CVS includes an older version of the Curl extension. Is there any way

RE: [PHP-WIN] function parser

2004-04-24 Thread John Yu
Hmmm... What if I parse the function and store it as a binary tree with the operators at the root. I can perform an inorder traversal and compute no? Or is there an easier way to do this? John -Original Message- From: Jordi Canals [mailto:[EMAIL PROTECTED] Sent: Saturday, April 24, 200

Re: [PHP-WIN] function parser

2004-04-24 Thread Jordi Canals
John Yu wrote: Hi guys If I want to input a function (for example x = 2y + 5) and then have it stored in a database, so next time when I input the values for x and y, I would like php to retrieve the function and compute it. I know how to store and retrieve, anyone got any ideas about writing a p

RE: [PHP-WIN] function parser

2004-04-24 Thread Svensson, B.A.T. (HKG)
Interresting concet. I duno if this work, but: In php you might like to have a function template, wich you spool to a file with the cinction, then include this file in another script. Like: if ($fp = fopen($functionFile, "w)) { fwrite($fp, "function $funcName($arglist)\n"); fwrite($fp, "{\

[PHP-WIN] function parser

2004-04-24 Thread John Yu
Hi guys If I want to input a function (for example x = 2y + 5) and then have it stored in a database, so next time when I input the values for x and y, I would like php to retrieve the function and compute it. I know how to store and retrieve, anyone got any ideas about writing a parser to parse

[PHP-WIN] Re: The COM problem when converting from ASP to PHP

2004-04-24 Thread DvDmanDT
Try $com->GenerateSigningKeys(&$privkey,&$pubkey); and enable allow_calltime_pass_by_reference or whatever it's called.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Steven Kidd" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi, > > < again,sorry. -- stev>