[PHP-WIN] HTML event handling

2005-11-28 Thread Panos Laganakos
Is it possible to handle the X/HTML events through PHP or, its only
possible through JS?

i.e. could I handle an onload event?

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



[PHP-WIN] Re: HTML event handling

2005-11-28 Thread M. Sokolewicz

Panos Laganakos wrote:

Is it possible to handle the X/HTML events through PHP or, its only
possible through JS?

i.e. could I handle an onload event?


Seen as PHP is a *serverside* language and JS is a *clientside* language 
 combined with the fact that DOM events (which includes XHTML/HTML 
events) is completely client-side... the answer seems clear to me.


No.

- tul

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



[PHP-WIN] Re: HTML event handling

2005-11-28 Thread Ciprian Constantinescu
JS is client side, while PHP is server side, so you can't handle XHTML
events with PHP

"Panos Laganakos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Is it possible to handle the X/HTML events through PHP or, its only
possible through JS?

i.e. could I handle an onload event?

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



Re: [PHP-WIN] HTML event handling

2005-11-28 Thread David Collard

Panos Laganakos wrote:


Is it possible to handle the X/HTML events through PHP or, its only
possible through JS?

i.e. could I handle an onload event?

 

i suppose you could use something ajax-style to do it. try usinga 
javascript xmlhttprequest.


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



Re: [PHP-WIN] Parse errors not showing up in the browser

2005-11-28 Thread David Collard

Wayne Khan wrote:


Hi all,
I am using Sokkit 3.5, and my parse errors are not showing up in the
browser. I'm sure its something to do with php.ini, and trust me I've 
tried
changing it, but it still doesn't show the parse errors. The result is 
that

I spent a lot of time looking for that extra (or missing) bracket... Or
brace. Quite silly really.

I switched back to PHPTriad and the error came up straightaway. Anybody
knows which setting to change? And whether to reboot the server? Of course
I'm a PHP newbie. Thanks a lot!

Wayne


have you tried using error_reporting(E_ALL) ?

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



[PHP-WIN] Changes to php.ini file have no effect

2005-11-28 Thread Charlie Wong
Hi Everyone, please excuse me if this post breaks protocols in any way, 
since I'm new to this.


I've been running a php-nuke site for some time, but recently it started 
acting funny. I made some changes to my php.ini, but discovered that 
changes have no effect. Even if I delete the php.ini from my windows 
directory and the php directory, there is no effect. Is there some 
chance that a variable somewhere, possibly changed by an error or a 
hacker, now points to a hidden php.ini file somewhere?


I'm running Apache and PHP 4.3 on Windows XP Pro.

Thanks, Charlie

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