19.08.2008 -
Ai hiểu về cái này thì chỉ tui với nào.
Tôi tạo 1 file upload.html như trên, 1 file upload.php như trên và up lên host. Sau đó tôi chạy file upload.html và chọn upload để tiến hành, nhưng ko được. Ai biết thì chỉ với
Webmaster resources
Including Wordpress & Vbulletin from $145 - Learn More
Learn the basics of coding an upload file form in PHP.
This was rather easy and did not take long to grasp the syntax especially with the comments etc. Rather surprised at how fast I was able to get this up and working. Thanks.
i wanna know how to change the php.ini file to increase the upload size...
Ai hiểu về cái này thì chỉ tui với nào.
Tôi tạo 1 file upload.html như trên, 1 file upload.php như trên và up lên host. Sau đó tôi chạy file upload.html và chọn upload để tiến hành, nhưng ko được. Ai biết thì chỉ với
Very well written, thanks! It works perfectly.
Nothing happens when I click upload :(
is it possible to add a random number to the end of the file that's being uploaded so that there will be no overlap?
Finally one that works, I love you man, seriously. Now memebers can upload animations to my website ^^ Just go to work out how to stick it on a dynamic page that will show the file I send to it on screen...
OH MY GOD!!! IT WORKED!!!
THANKYOU , THANKYOU ,THANKYOU!!!
REALY NICE WORK!!!!!!!!!!!!!!!!
YAYAYYA, ill open my own imagehoster!!!
dont understand a think .. i need help in php
its gr8 and very easy to learn..i didnt try it i hope it works..thx very much 4 ur help i really appreciate this..
devil man just change this in the code
$max_filesize = 524288; // Maximum filesize in BYTES (currently 0.5MB).
to
$max_filesize = 2000000; // Maximum filesize in BYTES (currently 2.0MB).
Hotmail is now Windows Live Hotmail. Free e-mail with security by Microsoft.var g_QS="wa=wsignin1.0&rpsnv=10&ct=1188505234&rver=4.5.2130.0&wp=MBI&wreply=http:%2F%2Fmail.live.com%2Fdefault.aspx&id=64855&bk=1188505235";var srf_sBrTtl='Windows Live Hotmail';var srf_sBrSTtl='The new Hotmail brings you more. More space (2 GB), more security, still free. Sign up for our award-winning service.';var srf_uBrImg='http://gfx1.mail.live.com/mail/w1/ltr/LoginImages/login_en.jpg';var srf_uPost='login.srf.htm';var srf_uRet="http://mail.live.com/default.aspx";var srf_uSSL='https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&rver=4.5.2130.0&wp=MBI&wreply=http:%2F%2Fmail.live.com%2Fdefault.aspx&id=64855&bk=73235721';var srf_uReg="http://join.msn.com/GBB?wa=wsignin1.0&rpsnv=10&ct=1188505234&rver=4.5.2130.0&wp=MBI&wreply=http:%2F%2Fmail.live.com%2Fdefault.aspx&id=64855&bk=1188505235&cru=http://login.live.com/login.srf%3fwa%3dwsignin1.0%26rpsnv%3d10%26rver%3d4.5.2130.0%26wp%3dMBI%26wreply%3dhttp:%252F%252Fmail.live.com%252Fdefault.aspx%26id%3d64855";var srf_uPwRst="https://login.live.com/resetpw.srf?wa=wsignin1.0&rpsnv=10&ct=1188505234&rver=4.5.2130.0&wp=MBI&wreply=http:%2F%2Fmail.live.com%2Fdefault.aspx&id=64855&bk=1188505235&lc=1033";var srf_uLogin = "http://login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&ct=1188505234&rver=4.5.2130.0&wp=MBI&wreply=http:%2F%2Fmail.live.com%2Fdefault.aspx&id=64855&vv=500&lc=1033";var srf_uSwUsr='http://login.live.com/logout.srf?wa=wsignin1.0&rpsnv=10&ct=1188505234&rver=4.5.2130.0&wp=MBI&wreply=http:%2F%2Fmail.live.com%2Fdefault.aspx&id=64855&wlsu=1&ru=http://mail.live.com/default.aspx&bk=1188505235&lm=I';var srf_iCredType=0;var srf_fCSObj=1;var srf_aFedTiers=[4,1];var srf_sFedQS='';var srf_iFedState=0;srf_sBlkDom=',,';var srf_fEnInstr=1;var srf_sRBlob='Pas';var srf_sNUsr='';var srf_sLOpt='';var srf_iCredPostType='';var srf_sPreMn='';var srf_sDispMn='';var srf_sFT='';
Windows Live ID
requires JavaScript to sign in. This web browser either does not
support JavaScript, or scripts are being blocked.To find
out whether your browser supports JavaScript, or to allow scripts, see
the browser's online help.
Windows Live HotmailThe new Hotmail brings you more. More space (2 GB), more security, still free. Sign up for our award-winning service.
HelpWindows Live IDWorks with MSN, Office Live, and Microsoft Passport sitesHave an MSN Hotmail, MSN Messenger, or Passport account? It's your Windows Live ID.Sign in
Windows Live ID:
(example555@hotmail.com)Password:
Forgot your password?Remember me on this computer (?)Remember my password (?)
Use enhanced security©2007 Microsoft Corporation About Privacy Trademarks Account Help Central Feedback
$max_filesize = 2524288; // Maximum filesize in BYTES (currently 0.5MB).
như cặc! ai việtnam gặp cái này ra đi nha! mệt ! như loz
How do you make This Script so it can handle more than 2MB?
it works GREAT Other than the size Limit.
nhu lon`
Very nice! Thanks a lot
Wooow ... i was looking for that code a week ago xD ... but still useful =)
Can't agree more with you all, so great ... i learn alots from here !
i had the php strict mode prob with move_uploaded_file but wen i used this code its over and evrythngz workin fine...danxxxxxxxxx a lot.
excellent tutorial was looking all over for one like this, thanks alot
Very nice. be sure to try this as soon as zymic lets me log back into my domain.
lol
Im clicking LOGIN but its not finding the page.
ah well
nice!
Thanx a lot... realy good
thx
Wow, this is good! I am currently constructing my website (http://www.freewebs.com/ultisoft), and I am going to use this for a file hosting part of my site!
This was brilliant:D
I am as beginner in php as can be, and even I understood this tutorial:)
Could you PLEASE write some MORE simpel ones like this one...
aaaa
superb... very nice thank you
AXAAAAAAAAAAAAAAAA
it's good
very good tutorial, we need more examples in php
A good tutorial all i know is html and javascript so thats helping me learn php!
Thank ... very good!
thanks..it help dummies like me...
very good
So good !!!!
This is a fantastic tutorial. However, for some reason, I got it to work once i transfered my webpage and my php file to the server, then overnight the upload button just doesn't work anymore. The same happened to my other site at a different time as well. What is the reason? Is there anything I can do aobut it?
its too nice. but how can we make it with ajax?
Is there an alternate way to use this function if exec() is disabled on my server (the error message I get when I try to use it)?
this is very useful tutorial
It's good
Is there an alternate way to use this function if exec() is disabled on my server (the error message I get when I try to use it)?
kooooooooooooooooooooooooooo;
kooooooooooooooooooooooooooo;
this is very useful tutorial
It's good
its very important
nice... i need it
The fact that the server seems to turn on Safe mode and this codes need safe mode to be turned off.
it dont help at all
get me chicken!!!!
nice! ill try it
I dont get any email when the form is submitted, it says Safe mode restriction effect is ON. What to do?
Safe mode closed. How can we open *Safe mode
هذا الموقع جزء من منتدى الناس
http://alnas.yoo7.com
http://al-nas.yoo7.com
I like it !
Un bon cours php ;)
J'ai forgé un site avec Joomla; c'est facile côté programmation. http://monweb.zzl.org
Esta muy bueno, tambien visita: www.purovie.tk
Eye opening
great thanks.
This tutorial is very good. I like free web tutorials :)
nice
thanks
dont u have a noob tutorial for this
my experience of php is 0 zero nada nothing
a tried but no luck
nice
selamat datang
where i want type all this code.
LoL not if u know html
ac
Deben poner tambien para descargar archivos del servidor y asi este mas completo
cho coi hình đi chứ chilong.99k.org
wtf, This is so complacted.
teqstyle
goodjob
really helpfull
more needed on sql
dntii.99k.org
where can I find the php.ini file?
very nice but there is lacking
Helpful, you should also put a way to block certian types of files
Helpful !
still to be implemented
May I ask, how would you alter the code to allow for uploading the picture into a mysql database?
thank's for the tutorial....
Doesn't work for me, maybe i'm doing something wrong?
extremely helpful... simple yet effective tutorial. If it were me, I would have written it a lot longer.
dont understand any of it
this is relay how to understand
Its really good!!!
Es realmente bueno!!!
ummm don't understand it at all...
good, thanks
System.php
>>>method=>>>POST>>>
>submit>> value=>>submit>
bad
can you send me zip file
to confusing to understand in my sense.
if you don't get you don't know php...
sucks
bad
sucks
I DON'T GET IT BAD TUTORIAL
fgnsdg
NICE TUTORIAL!
- http://crygam.99k.org/
how can i rename the files when they are upload?
unde bag ala bag pola in ele de situri
You cannot upload to the specified directory, please CHMOD it to 777.
help?
Super.
thanks... very2 good
Thank you man! I really got this work!
the button dint work, i fixed it
[code]
Select a file:
Press here if your done
[/code]
wow? call me super clueless
PHProxy
" method="get" action="">
" value="" id="url_input" />
" value="" />
" method="get" action="" onsubmit="return submit_form();">
URL
New WindowOpen URL in a new window
PHProxy © 2005 whiteFyre
mmmm very basic
I want to add PHP to my desktop computer. I have an external hard drive and the php program. How do I create a link to the php interpreter on my harddrive so that my web documents can process it by just accessing the interpreter on the harddrive of my home computer?
thanks
hello how can i have access into my database???????????
don´t understand
nice tutorial(but the script is primit)
somehow i cant understand it all.
ok
my site is great kindly check it out
www.ganeshweb.co.cc
i dont' understand
What do you think of this tutorial? Type your comment here!
sdd
i think should be
and i think tag before the should be closed
Emi gore-dolu biva zavisi s kva cel q izpolzvate la pichove..
biva la pichove :P
This is a good upload script.. Great piece to learn from.
Its verry nice! =D
could be better
You can let me know more details in step 3. The code in step 3, What could I give it the name? While in the step 1 ans step 2 you can let us know..the name of the file..but in the step 3, you could not tell what the name is...?
this is fucking ballin dawg
i got a more better
2 Maps uploader/images
nice :)
omg gr8 tut
Omg! Great!
PortaleMedia: we set the final filename on line 7. If you want to strip characters or choose a different name that's the place to do it.
How can I rename the file, before finishing the upload? the reason is to delete ñ, tilde, etc... ???
What does PHPMyAdmin have to do with this tutorial? Ask in the forums.
i'm new to php didn't understand anything.. and how do i acces phpmyadmin ?
Very nice, will use definitely.
Pretty good tutorial .. although I doubt someone new to php would understand it.
Pretty clean and originally explained.