Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

[PHP3] Running php3-Skripts out of JavaScript generated Code From: Geocrawler.com (archiver <email protected>)
Date: 08/30/99

This message was sent from Geocrawler.com by "GiANCARLO" <ping <email protected>>
Be sure to reply to that address.

                        
Look in the mail archives for Remote Scripting Proxy (RSProxy.class) and it's php implementation

It'a a java class/applet that, loaded in the page called by javascript, lets you call a remote script eg in php, Perl and read it output to, for example, fill a droèp-down <SELECT> on-the-fly, without reloadin the page or another frame or posting anything

gian

---------------------------------------
In a php3-File I am generating some JavaScript-Code. These Code again
contains php3-Scripts to output them in a different frame. The generated
JavaScript-Code seems to be correct. It output in Netscape Source viewer
looks like follows:

<SCRIPT LANGUAGE="JavaScript">
        function showChooseList(param) {
                parent.help.document.open("text/html", "replace");
                parent.help.document.write(`<BODY BGCOLOR="#F5F5F5"><?php
require("varlib.phtml"); showChooseTable(1, `+param+`, GraphicControllers,
insertParameter.phtml, Name=BlaBla); ?></BODY>`);
                parent.help.document.close();
                window.alert(`Added
something!`+document.InputForm.Category.value+"
"+param);
        }

So the output should load the function showChooseTable with some Parameters
from the File varlib.phtml. Unfortuatly it seems like it does not interpret
the php3 tag. I cannot change the Mimetype from text/html to text/php3. It
would just ask where to save the downloaded file.
Are there any suggestions how I can generate dynamically a document, which
contains php3 tags which will be interpreted?
Thanx for any help
Bernie

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>
		

Geocrawler.com - The Knowledge Archive

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>