(i dunno what part of htmlforums this fits in so i put it here)
how can i upload an image to my website? and how do i check that the filesize aint too big and what filetype it is?ok, one quick question, do you mean to just upload pics on your own, or are you hoping to do a file uploader thing on your site so you and/or others can upload files?a uploader thingy so that users may upload screenshots, but no worries i found this nice tutorial at phpfreaks
<!-- m --><a class="postlink" href="http://www.phpfreaks.com/print.php?cmd=tutorial&tut_id=85">http://www.phpfreaks.com/print.php?cmd= ... &tut_id=85</a><!-- m -->
now i have bedtime reading...yay, glad you found what you needed I want to make one but I don't need it that advanced so i dont want to read through all that. I am thinking just for me.
I have this:
<input class='textinput' type='file' size='30' name='upload'>
but i need to know how to save $file to a directory. Like save it to /files
how can i upload an image to my website? and how do i check that the filesize aint too big and what filetype it is?ok, one quick question, do you mean to just upload pics on your own, or are you hoping to do a file uploader thing on your site so you and/or others can upload files?a uploader thingy so that users may upload screenshots, but no worries i found this nice tutorial at phpfreaks
<!-- m --><a class="postlink" href="http://www.phpfreaks.com/print.php?cmd=tutorial&tut_id=85">http://www.phpfreaks.com/print.php?cmd= ... &tut_id=85</a><!-- m -->
now i have bedtime reading...yay, glad you found what you needed I want to make one but I don't need it that advanced so i dont want to read through all that. I am thinking just for me.
I have this:
<input class='textinput' type='file' size='30' name='upload'>
but i need to know how to save $file to a directory. Like save it to /files