|
MillionsTocome2008 (November 30, 1999 at 12:00 am)
Thanks for your tutorial. It makes feel this upload page simple. I am studying some php, and other web language on my own. and tutorials like this make my journey easier...,. Thanks for sharing your knowledge
CBirdieUK (November 30, 1999 at 12:00 am)
and people would care... how? Its easier to demonstrate so quit moaning about insignificant things.
vknyvz (November 30, 1999 at 12:00 am)
$_POST[upload] == 1 professionally speaking is WRONG!It should/must be $_POST['upload'] to avoid $variable interpolation!it doesn't need to be equaled to 1 too if($_POST['upload'] would be suffice or $upload = ($_POST['upload']) ? true : false;then if($upload)
CBirdieUK (November 30, 1999 at 12:00 am)
glad you like it.I'll be making some others when I have time (mainly from requests I've been sent)
nolisting (November 30, 1999 at 12:00 am)
thank you for uploading this video. it is the easiest php file upload script i've seen yet, and it works just fine.
cppwhore (November 30, 1999 at 12:00 am)
Ahhh that good old bug, haha yeah I remember that, understandable now. :)
CBirdieUK (November 30, 1999 at 12:00 am)
yeah, used to use that but had problems with it on older versions of PHP because it never used to have POST as unset or something.
cppwhore (November 30, 1999 at 12:00 am)
Just a little tip mate, if you're re-loading php on the same page, call isset($_POST['submit']) it's a lot better :P
tuckbloor (November 30, 1999 at 12:00 am)
so how do you display the uploaded file thank you any help would be great
CBirdieUK (November 30, 1999 at 12:00 am)
over 5 years of php freelance work, i've never saw a problem with that technique as almost every browser on the web submits the submit button. Anyway, what i was checking on their was a hidden input value so if that doesnt submit, its not exactly a good browser. Its just easier to teach when this stuff can already be confusing for someone watching a 5 min video. |