Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- any file size limit in ?
April 10, 2005, 12:15 am
rate this thread
I embed an applet in my php script which has a parameter providing an
input file for the jar. Does this file has size limit?
The code is as follows:
<APPLET ARCHIVE="myapplet.jar" WIDTH=372 HEIGHT=360 VSPACE=0 HSPACE=0
<?php echo "<PARAM NAME=\"data\" VALUE=\"myfile.\">";?>
when "myfile" is beyond 15M, my applet cannot load sucessfully, but
while this file is limited like 5M or 7M, it works well.
Does anybody know is the reason caused by php script limit, applet
mechanism, or by different browser?
Re: any file size limit in ?
Now that I think about it, I fairly sure the applet gets downloaded to
the client and executed there. In php.ini, look at max_execution_time,
which is the maximum amount of time a script will be allowed to execute
(defaults to 60 seconds). It could be that it times out because of the
time it takes to download the file.
Of course I'm just guessing here, though.