Re: [PHP] remote scripting objects

2001-09-06 Thread Alfredo Yong

Ok, fine but what about something like this:

say you have a page with a dropdown to select cities and a second 
dropdown to select places in the previously selected city. You change 
the cities dropdown and normally you reload all the page to fill in the 
places for the second dropdown. Say also this page weigths a lot, with 
javascript menus, images and etc and don't want to reload all the page 
at each user interaction.

Is there a way to reload *just* the second dropdown based on the 
OnChange event in the first one? This is useful even using only MS-IE, 
because you can use it for restricted, maintenance modules users)

I know there is something about this using a Microsoft technology 
(called DSO?), allowing you to download a recordset, update several 
records on the MS-IE browser, and then send the updates in batch mode 
back to the database. (It doesn't work with my PWS)






Michael Kimsal wrote:

 The javascript would have to call a PHP script on the server instead of 
 an ASP script.  It's nothing specific to MS stuff.
 
 
 
 MailingLists wrote:
 
 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?
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] remote scripting objects

2001-09-06 Thread MailingLists

In the ASP page I've been developing for work (yeah, I know... icky ASP...) 
I have an order form on the screen.  The first field is a custmer 
number.  In the OnBlur even for that form field, the javascript on that 
page instantiates a remote scripting object, which calls another ASP page 
to lookup that customer number.  If it's found, it returns a string which 
the calling javascript function parses out and populates the form.  All 
without ever leaving the form in the browser or having to refresh the form.

Another example I'm using is exactly like you mentioned.  I have two 
dropdowns.  In the onChange even of the first one, it fires up a remote 
scritping object pulling back a string of values, retrieved from a 
database, and populates the second drop down.  All again without ever 
refreshing or leaving the current browser page.

Useful!!

Ther's a lot more to it, and there are some extensive scritping files you 
have to include, and I've not been completely through them, so I don't know 
what it would take to convert to other platforms.  It also relies on a 
non-visual java applet that loads as well.

At 10:42 AM 9/6/2001 -0500, Alfredo Yong wrote:
Ok, fine but what about something like this:

say you have a page with a dropdown to select cities and a second dropdown 
to select places in the previously selected city. You change the cities 
dropdown and normally you reload all the page to fill in the places for 
the second dropdown. Say also this page weigths a lot, with javascript 
menus, images and etc and don't want to reload all the page at each user 
interaction.

Is there a way to reload *just* the second dropdown based on the OnChange 
event in the first one? This is useful even using only MS-IE, because you 
can use it for restricted, maintenance modules users)

I know there is something about this using a Microsoft technology (called 
DSO?), allowing you to download a recordset, update several records on the 
MS-IE browser, and then send the updates in batch mode back to the 
database. (It doesn't work with my PWS)






Michael Kimsal wrote:

The javascript would have to call a PHP script on the server instead of 
an ASP script.  It's nothing specific to MS stuff.

MailingLists wrote:

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?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] remote scripting objects

2001-09-04 Thread MailingLists

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?  


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RES: [PHP] REMOTE SCRIPTING - RSexec() DOUBT

2001-05-18 Thread Felipe Moreno

Hi list members,

   I'm trying to develop a script that work like the MS jscript function
called RSexec () (Remote Script execute). During this develop, I'm having a
doubt regarding the use of that function RSexec(), cause I was reading about
it, and every reference points do use it with ASP (active server pages). My
doubt is: Anyone ever used it with PHP? Is it possible? Anyone know any
alternative function in Javascript or another solution to archive the same
effect as the RSexec() ? The scene is something like:

I have two select dropdown list boxes, the first one is MARK and the other
one is MODELS. The first contain all the MARKS...and the second is
EMPTY...waiting for the MARK to be select to query a Database and get the
results. So, when I select the MARK, the MODELS box value became WAIT... and
the query start...So, after the results arrive, the models box get all the
respective values. So, everything happen without refreshing the screen. It's
a very powerfull function...and don't work in Netscape...

Thanks for your attention! Thanks for any ideas!

Best Regards,

Felipe Moreno


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] REMOTE SCRIPTING - RSexec() DOUBT

2001-05-18 Thread Jon Haworth

Two things:

1. You might want to read the Zend article on chained selectors:
http://www.zend.com/zend/tut/drop-down.php
2. If it's a site to do with cars, it's marques, not marks.

Cheers
Jon


-Original Message-
From: Felipe Moreno [mailto:[EMAIL PROTECTED]]
Sent: 18 May 2001 15:10
To: [EMAIL PROTECTED]
Subject: RES: [PHP] REMOTE SCRIPTING - RSexec() DOUBT
Importance: High


Hi list members,

   I'm trying to develop a script that work like the MS jscript function
called RSexec () (Remote Script execute). During this develop, I'm having a
doubt regarding the use of that function RSexec(), cause I was reading about
it, and every reference points do use it with ASP (active server pages). My
doubt is: Anyone ever used it with PHP? Is it possible? Anyone know any
alternative function in Javascript or another solution to archive the same
effect as the RSexec() ? The scene is something like:

I have two select dropdown list boxes, the first one is MARK and the other
one is MODELS. The first contain all the MARKS...and the second is
EMPTY...waiting for the MARK to be select to query a Database and get the
results. So, when I select the MARK, the MODELS box value became WAIT... and
the query start...So, after the results arrive, the models box get all the
respective values. So, everything happen without refreshing the screen. It's
a very powerfull function...and don't work in Netscape...

Thanks for your attention! Thanks for any ideas!

Best Regards,

Felipe Moreno


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



**
'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or
confidentiality'

**

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RES: [PHP] REMOTE SCRIPTING - RSexec() DOUBT

2001-05-18 Thread Felipe Moreno

Jon,

Thank you for your help, but unfortunately, this won't help me, cause I
tested the script you told me in ZEND, and it is different of what I'm
trying to reach, cause it generate the javascript inside the file...but,
imagine if I have about 2000 models and 100 Maquees (now I got it!
hehehehehe! I must train my english often!!)...I will have a very heavy
file...So, the only solution I can see, is using the RSexec () for remoting
scripting...I'm trying to make it using hidden frames...but I'm having a
real problem, cause I can't have a FORM inside another FORM...So, I'm trying
to make something to jump this barrier!
A very good example of what I'm trying to make, is in the brazilian site
called www.automovel.com.br , you can go to the 0Km cars (Carros 0KM) and
you gonna find the dropdown I'm trying to make WITHOUT the use of the
RSexec(), cause in this site, they use this MS function...But, when you try
to enter with Netscape, it just don't work!...Any ideas?

Thanks for everything,

Best Regards,

Felipe Moreno

-Mensagem original-
De: Jon Haworth [mailto:[EMAIL PROTECTED]]
Enviada em: sexta-feira, 18 de maio de 2001 11:35
Para: 'Felipe Moreno'; '[EMAIL PROTECTED]'
Assunto: RE: [PHP] REMOTE SCRIPTING - RSexec() DOUBT


Two things:

1. You might want to read the Zend article on chained selectors:
http://www.zend.com/zend/tut/drop-down.php
2. If it's a site to do with cars, it's marques, not marks.

Cheers
Jon


-Original Message-
From: Felipe Moreno [mailto:[EMAIL PROTECTED]]
Sent: 18 May 2001 15:10
To: [EMAIL PROTECTED]
Subject: RES: [PHP] REMOTE SCRIPTING - RSexec() DOUBT
Importance: High


Hi list members,

   I'm trying to develop a script that work like the MS jscript function
called RSexec () (Remote Script execute). During this develop, I'm having a
doubt regarding the use of that function RSexec(), cause I was reading about
it, and every reference points do use it with ASP (active server pages). My
doubt is: Anyone ever used it with PHP? Is it possible? Anyone know any
alternative function in Javascript or another solution to archive the same
effect as the RSexec() ? The scene is something like:

I have two select dropdown list boxes, the first one is MARK and the other
one is MODELS. The first contain all the MARKS...and the second is
EMPTY...waiting for the MARK to be select to query a Database and get the
results. So, when I select the MARK, the MODELS box value became WAIT... and
the query start...So, after the results arrive, the models box get all the
respective values. So, everything happen without refreshing the screen. It's
a very powerfull function...and don't work in Netscape...

Thanks for your attention! Thanks for any ideas!

Best Regards,

Felipe Moreno


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



**
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or
confidentiality'

**

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] REMOTE SCRIPTING - RSexec() DOUBT

2001-05-18 Thread Jon Haworth

Hm, the function that loads the models uses /cotizar/mmv/getdata.asp with
RSExec, I see what you mean.

Don't know how to deal with this really (sorry), I'm no good with ASP, and
apart from using include() or require() in PHP, I'm not sure how else you
could run another file.

If you don't get any joy on this list, you could try asking on a more
general list like evolt.org's thelist or wdvl.com's wdvltalk.

HTH
Jon


-Original Message-
From: Felipe Moreno [mailto:[EMAIL PROTECTED]]
Sent: 18 May 2001 17:12
To: Jon Haworth; [EMAIL PROTECTED]
Subject: RES: [PHP] REMOTE SCRIPTING - RSexec() DOUBT
Importance: High


Jon,

Thank you for your help, but unfortunately, this won't help me, cause I
tested the script you told me in ZEND, and it is different of what I'm
trying to reach, cause it generate the javascript inside the file...but,
imagine if I have about 2000 models and 100 Maquees (now I got it!
hehehehehe! I must train my english often!!)...I will have a very heavy
file...So, the only solution I can see, is using the RSexec () for remoting
scripting...I'm trying to make it using hidden frames...but I'm having a
real problem, cause I can't have a FORM inside another FORM...So, I'm trying
to make something to jump this barrier!
A very good example of what I'm trying to make, is in the brazilian site
called www.automovel.com.br , you can go to the 0Km cars (Carros 0KM) and
you gonna find the dropdown I'm trying to make WITHOUT the use of the
RSexec(), cause in this site, they use this MS function...But, when you try
to enter with Netscape, it just don't work!...Any ideas?

Thanks for everything,

Best Regards,

Felipe Moreno

-Mensagem original-
De: Jon Haworth [mailto:[EMAIL PROTECTED]]
Enviada em: sexta-feira, 18 de maio de 2001 11:35
Para: 'Felipe Moreno'; '[EMAIL PROTECTED]'
Assunto: RE: [PHP] REMOTE SCRIPTING - RSexec() DOUBT


Two things:

1. You might want to read the Zend article on chained selectors:
http://www.zend.com/zend/tut/drop-down.php
2. If it's a site to do with cars, it's marques, not marks.

Cheers
Jon


-Original Message-
From: Felipe Moreno [mailto:[EMAIL PROTECTED]]
Sent: 18 May 2001 15:10
To: [EMAIL PROTECTED]
Subject: RES: [PHP] REMOTE SCRIPTING - RSexec() DOUBT
Importance: High


Hi list members,

   I'm trying to develop a script that work like the MS jscript function
called RSexec () (Remote Script execute). During this develop, I'm having a
doubt regarding the use of that function RSexec(), cause I was reading about
it, and every reference points do use it with ASP (active server pages). My
doubt is: Anyone ever used it with PHP? Is it possible? Anyone know any
alternative function in Javascript or another solution to archive the same
effect as the RSexec() ? The scene is something like:

I have two select dropdown list boxes, the first one is MARK and the other
one is MODELS. The first contain all the MARKS...and the second is
EMPTY...waiting for the MARK to be select to query a Database and get the
results. So, when I select the MARK, the MODELS box value became WAIT... and
the query start...So, after the results arrive, the models box get all the
respective values. So, everything happen without refreshing the screen. It's
a very powerfull function...and don't work in Netscape...

Thanks for your attention! Thanks for any ideas!

Best Regards,

Felipe Moreno


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



**
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or
confidentiality'

**

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Remote Scripting

2001-03-07 Thread Karl J. Stubsjoen

Hello,

I'm interested in the technology "Remote Scripting".  Basically, I would
like to deliver "real-time" information to a browser without having to
reload the page.

Is anyone familiar with this?

Thanks,

Karl


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Remote Scripting

2001-03-07 Thread Miles Thompson

Karl,

Check the archives, if you haven't done so already. I think this was 
already discussed in the last week of February, although not under the same 
heading as yours.

Miles

At 02:05 PM 3/7/01 -0700, Karl J. Stubsjoen wrote:
Hello,

I'm interested in the technology "Remote Scripting".  Basically, I would
like to deliver "real-time" information to a browser without having to
reload the page.

Is anyone familiar with this?

Thanks,

Karl


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]