Re: [PHP] Version 4.2 changes

2002-03-23 Thread Andrew Lopucki

On Saturday 23 March 2002 11:34 am, Gaylen Fraley wrote:
 Where can I find the changes coming in 4.2?

There is a 'NEWS' file in the download of the RCx.tgz.  You should download 
and extract it and read the top section which gives news on the 4.2 release.

And since you've already gone to the trouble of downloading it, you may as 
well build and provide the feedback for which the QA team asks ;)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] shell_exec() or passthru()

2002-03-23 Thread Andrew Lopucki

You may need to redirect output (both stderr and stdout) atleast that helped 
me with a similar problem.  My system is Linux.


On Saturday 23 March 2002 11:06 pm, Douglas wrote:
 Hi,

 I have a bash script I need to run.
 I have tried all the various program execution commands.

 My script never completes. It only get 1/4 of the way through.
 I have tried running the script in the background.

 Any ideas?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] shell_exec() or passthru()

2002-03-23 Thread Andrew Lopucki

And by redirect I mean to /dev/null possibly if you don't want to capture 
output.

On Saturday 23 March 2002 03:52 pm, Douglas wrote:
 Hi,

 I have a bash script I need to run.
 I have tried all the various program execution commands.

 My script never completes. It only get 1/4 of the way through.
 I have tried running the script in the background.

 Any ideas?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Calling Javascript-function from php-script ...

2002-03-20 Thread Andrew Lopucki

I think the point here is that it be made clear to those who might get 
confused that the javascript (unless it's a server-side script) is running in 
a browser and as such there is no way for the server to 'make a call to it by 
URL.'  The Javascript can call the server but the server-side PHP script 
cannot call the client.  Therefore, no PHP script can 'call' a javascript 
function.


On Wednesday 20 March 2002 12:44 pm, Kevin Stone wrote:
 I'm not quite sure what you mean...  If Javascript were disabled then
 this whole argument would be moot.  Since our method requires Javascript
 to properly function we're really not interested in that particular
 situation.  :)

 There are two ways a PHP script (or any scripting language for that
 matter) can send input to a Javascript.  One, by dynamically generating
 a local Javascript with the lines of code necessary to perform a certain
 task.  Two, by sending information through the URL string to a remote
 Javascript which runs functions based on that information.

 Classic Input/Output.  It doesn't matter where the input is coming from
 so long as the program gets what is expecting.  So in this sense the two
 unrelated programs (one server side, one client side) are communicating,
 just not directly.

 Bottom line is the method works so I don't understand what there is to
 debate.  See here for a working example

 http://www.helpelf.com/fetch_data.html

 It's not very sophisticated yet (all the junk left in the URL, et al).
 But it does what I'm talking about.  You can copy  paste this
 Javascript into any web page and it'll return the same database
 information gathered by the PHP script.
 -Kevin

 -Original Message-
 From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, March 19, 2002 4:27 PM
 To: Kevin Stone
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] Calling Javascript-function from php-script ...

 »Kevin Stone« sagte am 2002-03-19 um 14:11:42 -0700 :
  Not entirely true.  Javascript is directly linked to HTML and HTML is
  directly linked to PHP so you can have PHP talk to Javascript through
  HTML.

 I still don't agree.  You can of course create JavaScripts dynamically
 in PHP.  However, PHP won't talk to JS, it's the browser which will
 execute the dynamically created JS and then maybe talk back to the
 server and thus execute some PHP code.  This may seem like nitpicking,
 but I don't think it is.  If PHP were to execute the JS, it would work
 even when the user had disabled JS in his browser.

 Alexander Skwar

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php