Re: remote scripting objects
| From: | Richard Lynch | Date: | Wed, 05 Sep 2001 07:13:47 +0000 |
| Subject: | Re: remote scripting objects | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66001@lists.php.net to get a copy of this message | ||
Sure. You can have JavaScript load a PHP URL in your onChange.
I forget how JavaScript does it, exactly, but if you have sample
JavaScript/ASP code, just alter the part that says "...asp" to "...php" and
it'll work just fine.
Note that some browsers have no JavaScript or users turn it off, so you
shouldn't have any critical functionality in this.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Mailinglists <justformailinglists@wizaerd.com>
Newsgroups: php.general
To: PHP List <php-general@lists.php.net>
Sent: Tuesday, September 04, 2001 4:53 PM
Subject: remote scripting objects
> I don't know if it's IIS or ASP that handles this, but there's a beast
> called a remote scripting object. It combines JavaScript and ASP to call
a
> remote script on your server without having to submit your browser or load
> a new page. SO I can add a value to a form field and in the onchange
event
> for that form call a function which resides in a script on the server, it
> hits a database or whatever and then returns a value that I can display on
> the same page.
>
> Is there any way to do this within a PHP script on Linux?
>