|
|
|
|
![]() ![]() |
Dec 5 2005, 08:16 PM
Post
#11
|
|
|
the Q Group: [HOSTED] Posts: 1,094 Joined: 13-July 05 From: Lithuania, Vilnius Member No.: 7,059 myCENTs:70.96 |
you can place them in your site and make the extension .shtml, I didn't write perl for a long time (as a matter of fact I never wrote my perl script just edited them), but I did it like that and used an include function to later include my php file (which the serber executed), the upload script worked and it included from the perl my php script which parsed my site
|
|
|
|
Dec 10 2005, 01:37 PM
Post
#12
|
|
|
Wheeeeeeee! Group: Members Posts: 245 Joined: 19-October 05 From: DG, Belgium Member No.: 9,200 |
Hi,
it works for me now, thank you. But when I tried to upload a 2MB+ file for testing purposes I was stuck in the loading process forever.. ISP problem or is there a low limit for Perl too? I don't know if there is a cgi.ini so I was wondering where to find out this limit. Thanks for your help, Quatrux! Ruben |
|
|
|
Dec 11 2005, 11:09 AM
Post
#13
|
|
|
the Q Group: [HOSTED] Posts: 1,094 Joined: 13-July 05 From: Lithuania, Vilnius Member No.: 7,059 myCENTs:70.96 |
Well, if you want to do it with php, you could use an .htaccess file, but not all servers lets to do this, try putting a .httaccess file in your public_html directroy with this code.
CODE # Change Upload Max Filesize php_value upload_max_filesize 8M also you can use it to change php/apache configuration, like I always turn this off for better programming. CODE php_flag register_globals off php_flag magic_quotes_gpc off php_flag magic_quotes_runtime off Try and tell me the results if php will let you upload more than 2mb I never tryed it. |
|
|
|
Dec 11 2005, 12:18 PM
Post
#14
|
|
|
Wheeeeeeee! Group: Members Posts: 245 Joined: 19-October 05 From: DG, Belgium Member No.: 9,200 |
Oh nice to know, that this is possible, I always thought we couldn't change the php.ini. You should make a nice tutorial some time! This is the thing that I was searching for, thanks a lot.
Are register_globals on on Astahost? I never tried cos I do it the "right" way anyway, but I thought they were off.. You just opened a door for me, thanks! |
|
|
|
Dec 11 2005, 06:47 PM
Post
#15
|
|
|
the Q Group: [HOSTED] Posts: 1,094 Joined: 13-July 05 From: Lithuania, Vilnius Member No.: 7,059 myCENTs:70.96 |
no problems, always happy to help if I can.. yeah, register globals is on on astahost and that is quite unsave.. hmm maybe I could write some tutorial, need to try.
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 22nd November 2008 - 09:16 PM |