Re: [PHP] Re: PHP files in the SRC attribute of an SCRIPT element

2006-03-17 Thread Karl-Heinz Christian Zeck
Thank you very much. That was the problem, I didn't noticed that I don't use the server path. On 3/17/06, Barry <[EMAIL PROTECTED]> wrote: > > Karl-Heinz Christian Zeck wrote: > > Thank you for your quick reply. > > > > I tried to modify the file. I r

Re: [PHP] Re: PHP files in the SRC attribute of an SCRIPT element

2006-03-17 Thread Karl-Heinz Christian Zeck
lient machine. > > So you would want to do something like: > > <?PHP > $string = "I want a new pop-up message"; > $javascript = "<script>alert( $string )"; > echo $javascript; > ?> > > Karl-Heinz Christian Zeck wrote: > > >Thank yo

Re: [PHP] Re: PHP files in the SRC attribute of an SCRIPT element

2006-03-17 Thread Karl-Heinz Christian Zeck
This way it doesn't work, no alert message, so the file wasn't loaded. Any ideas? Thanks! On 3/17/06, Barry <[EMAIL PROTECTED]> wrote: > > Karl-Heinz Christian Zeck wrote: > > Hi everybody, > > > Are you allowed to do this? I mean, is the php file parsed by t

[PHP] PHP files in the SRC attribute of an SCRIPT element

2006-03-17 Thread Karl-Heinz Christian Zeck
Hi everybody, Does anybody know if it's possible to specify a php file as the src attribute of an script element in a html page. For example: I've installed the HORDE framework (www.horde.org) and I'm trying to make their AJAX web client work. It seems that this line of code causes problems. T

[PHP] Creating protected Excel files from PHP

2006-01-20 Thread Karl-Heinz Christian Zeck
Hi, I would like to know if any from you guys have a solution to my problem. I use PHP and a PEAR class (PEAR::Spreadsheet_Excel_Writer) to generate some reports as Excel files. My problem is that I want these files to be protected with a password (because these reports will be downloaded to the u

Re: [PHP] Restarting windows from php

2005-08-10 Thread Karl-Heinz Christian Zeck
I don't want to restart windows locally, I want to restart it remotely. I need a php script that restarts the server. Is this possible or not? On 8/10/05, Jay Blanchard <[EMAIL PROTECTED]> wrote: > [snip] > Does anyone have any idea how to restart windows from a php script? > I tried the followin

[PHP] Restarting windows from php

2005-08-10 Thread Karl-Heinz Christian Zeck
Does anyone have any idea how to restart windows from a php script? I tried the following: exec('SHUTDOWN -r -t 01'); or exec('SHUTDOWN /r'); I received the following warning message: Warning: exec(): Unable to fork [SHUTDOWN -r -t 01]. I never used this kind of functions before. What'