A question of getting data for PHP3
| From: | Huiyuan Ma | Date: | Tue, 19 Dec 2000 06:17:19 +0000 |
| Subject: | A question of getting data for PHP3 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30999@lists.php.net to get a copy of this message | ||
Hello,
I'm completely new to PHP3 and have to ask for
help.Working with a project,I find a function in the
source code of a web page:
function LoadFeedback() {
var URL = "feedback.php3" ;
esdc=document.datasource ; //esdc is the name of a
java class
URL += "?_Title=" + escape( esdc.getTitle() ) ;
//These methods are in the java program to return some
data
URL += "&_Units=" + escape( esdc.getUnits() ) ;
URL += "&_Case=" + escape( esdc.getCase() ) ;
URL += "&_Max_Load=" + escape( esdc.getMaxLoad() ) ;
URL += "&_Max_Length=" + escape( esdc.getMaxLength() )
;
URL += "&_Min_Load=" + escape( esdc.getMinLoad() ) ;
var msgWindow=window.open(
URL,"m","innerWidth=750,innerHeight=900,location=no,menubar=no,resizable=yes,scrollbars=yes"
) ;
}
And the author then created a feedback.php3 file to
feedback what the user's input from the Java applet
interface ,and the feedback form included all the
values like _Title,_Maxload....all the things shown
above.
I wonder how does the web page get the data of these
values? I'm sure only this LoadFeedback function is
related to this.But when I downloaded this webpage to
my local drive,I saw the web page couldn't get the
data anymore.Why?
Any help is appreciated,and I just need this function
badly.my email:mahuiyuan@yahoo.com
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/