Let’s me just say that Iam from Islamabad Pakistan and living and working as a software developer in USA and I wish This Channel started early in my 20s 10 years ago I would have donated everything to it , I always come to this channel for understanding programming concepts in my own language and Yahoo baba is one instructor that We all need in our life
You are saying that I am working as a software engineer in USA.. And here are you learning basics of PHP. Wah Bhai gajab ka software engineer hai tu😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
Arre sir ji! Kya zabardast samjhaate ho. Mujhe yeh aaj pta chla ke $_FILES[ ] , array return krta hai. Thank you so much sir, sabh cheez details mei samjhaane ke liye. 😊🙏🙏🙏🙏
@@YahooBaba thanks sir, both mann hai, poori Series Shuru se dekhu aapki php ki, lekin itna time nahi nikal paa raha hu but jo Topic nahi aate, wahi search krke dekh raha hu. Thanks for helping all of us again.
I've just mastered php super global variables by watching your video tutorials. You are the best coding teacher I have followed in my life. Love from Bangladesh!
@@YahooBaba sir ji same yahi coading maine ki h but submit p click krne ke bad kuchh ho hi nahi raha bss page refresh ho jata h maine apki site se code copy paste bhi kr k dekh liya...
Thank u so much sir, ur lectures are performing most imp role to clear our doubts about coding. plz mention that from which video u will start my sql. if anyone knows about plz comment thanks
sir, first of all thanks a lot.. really sir you are great. sir only from your channel i have learnt a lot, everyday about 8-10 hours i watch your videos. now i have become a good developer on php... but one requset sir, please make the video on framework like laravel and codeigniter.. please please please sir, i have visited number of channel to learn framework but i am facing many difficulties. i cant understand properly from them. there are no one like you who teaches difficult things in easiest way. please sir.
Thank you soo much I watch many videos but could not understand $_Files Groble variable and image uploading in direectory but you taught me well in easy way. I'm vary happy to learn from your videos. Thanks a lot.
I have learnt from you as HTML. Css, JavaScript, even jQuery. After that I have started PHP but I doubted that it becomes easier for me to code like phyton after specialist in PHP coding
See if you want to learn Python then no need to learn PHP first because coding in Python for web development is almost same. So you can directly opt for python if you are planning web development. But if you are planning some other stream with Python like Desktop Software developer, Data Analysis, Data Science or Machine Learning so you have to learn some specific library with Python after completing python basics. Here is my suggestion that if you are planning a career in Python except web development then you have to work very hard because their is a tough competition and very less jobs. I know you also heard that their is a scope in python but that is only salary wise scope... their is not so much jobs right now. So be prepare hard with mathematical skills , static skills if you are planning for Data Analysis, Data Science or Machine Learning. Good Luck
@sir, please start python tutorial, python most power-full language and fast that's reason most of the people like python. I also learn it if you make this topies video it will be top video on youtube. because you are best teacher who makes best coder for beginner.
Sir, You are really awesome, I'm really grateful to you. Thank you very much for this amazing content. I always follow your channel and always learn something new, sir please pray for me as if I'll be a successful web developer like you :)
Thanks for the video, I can see the message upload successfully in my system whlie running the code but there is no file in the Target folder. Can you please help me with this?
sir thank you so much for this php playlist! this is the best step by step youtube channel for php. sir, if possible, please create one playlist on how to master mern stack. or if you know any channel like yours which explains mern stack like you have explained php, please put a link in reply. thank you once again!
Sir is video mai aik cheez bta dy k agar ham picture upload krty he to action mai agar koi aur file bna ly kia waha picture display ho skti he anchor ka tag use kr k plz guide me sir
sir aap yaha pe video timeline 04:23 at this time aapne kese yaha pe "/" lga ke input tag ko kese close kr skte ho, maine bhi same chiz kia but waha pe text typing k liye aa rha hai, kya yha pe atom editor koi roll hai?
Hello. Good work .. I have a qus. .... Jis trh se online examination form me Photo aur sign alg alg upload and display hota h wo kese hoga .... Plz samjhao
@@YahooBaba sir single image to ho rhi h lekin dusri image upload krte hi phli wali ht jati h yha dusri image upload krne k liy choose btn aur upload btn alg bana rkha h .. Ap link share kr de ...... Thank you ....
Sir can you please explain what is the use of keeping files on server and how we will know which user uploaaded which image?? We can directly save it in our databse i think i have done it in past. Using query we can just insert the image in database.
Hello, we can't save image or any file in database. We can only save their names in database. I thinks you didn't see "News Blog Project" in PHP course playlist. Please see that videos to get more detail how we manage uploaded files.
@@YahooBaba thank you for replying. Yes i dint saw news blog project but i will. I started building project after watching crud operations. I want to ask you when should i switch to a framework like laravel. Should i learn oops In php or i can switch now. I already know oops as i have worked in java core and java swing.
Most common Warning: failed to open stream: No such file or directory…” Solution: This error occurs if a target folder location is not valid. For example: create “uploaded-images” folder if this error occurs in above program.
ak complete form hoga jisme name email no and othe info hoga and sathe imag hoga..,,oo jak date base me save hoga ,,and us information se user ka ak card type box banega bootstrap me...iss project ka requst me apko karta hu
Should we need to do sone additional settings while deploying code on a www website because file is not getting uploaded as like on local server Plz help!!
sir kya yeh possible hai ki hum executable file, folders, online game data, zipfiles stire kr skte hai kya, humari ek team hai jo game develop krti hai, just for testing hum use upload and download krwana chahte hai user ko to wo kese kr skte hai.
THANKU SIR JI, isme ek question or tha file ko replace kese krenge , man lo ek pdf ko up load kiya usko dubara change krke upload krni h tho vo kese hoga...
Sir, but kisi image ko delete kaise krte hain, aur agar kisi user k image mein ka koi name hain jo already server k folder mein exist krta hain phir(similar name cannot be strored in same folder)?
Sir hum mysql database me kisse file ka ya kisse site k complete url kaise store kara sakte ha maine jab store karaya to MySQL database backslash ko remove kar rha ha.
Notice: Undefined variable: _Files in C:\xampp\htdocs\LearnPhp\file-upload.php on line 10 Notice: Undefined variable: _Files in C:\xampp\htdocs\LearnPhp\file-upload.php on line 11 Notice: Undefined variable: _Files in C:\xampp\htdocs\LearnPhp\file-upload.php on line 12 Notice: Undefined variable: _Files in C:\xampp\htdocs\LearnPhp\file-upload.php on line 13
In live project multiple users ki same name ki file ho sakti hai to or folder name assume dir1/ hai to kese file uploading system banaye ye video ke according to successfully msg aa jata hai lekin same name accept nahi karegi system then solution ?
sir i need to ask one thing k agar ak form ha jis me baqi name last name or other details hen to is k liye hamen insert ki query lganai parti ha to uska php b banta ha ab image upload krni ho usi form k through to iska function alag banana pary ga ?
@@YahooBaba believe me ap k news project se bht kch sekha ha abi mujhy project mila hua ha me us me bz hon tb hi videos ni dekh pai i will definitly watch your series.
Sir plz can u guide us about images gallery using Javascript..... Buttons ka use kr k next aur previous picture aye sir plz is k bary mai bta dy Javascript use kr k
ro gya tha me subah se is ko karne k liye 5 ghante se ghise ja rha hu yaar, ankhe nam ho gai jab uploads folder me kutte ki pic dekhi thank you so much yaar #subscribed #liked #commenting share to me nahi karu kisi ko bhi mene apni ghisi he to bakiyo ko kese free me dedu
You have to change the name of image when ever you save the image with (date and time) or (any random text). See the "News Blog Project" in PHP course playlist where I have done this work.
Sir mene canvas ki andar me 10second ki liy ak Animation banaya me chatahu is animation video me mp4 me convert hozay Sir ky aisa hosakhta hyy sir piz piz🙏🙏🙏 reply me
Sir I have a doubt, I want to upload only excel file, other file formats like PPT, jpg should not get uploaded, it should display the error for other file formats except excel. Sir please tell how to do this?
Let’s me just say that Iam from Islamabad Pakistan and living and working as a software developer in USA and I wish This Channel started early in my 20s 10 years ago I would have donated everything to it , I always come to this channel for understanding programming concepts in my own language and Yahoo baba is one instructor that We all need in our life
How much experience do you have?
Thanks bro
yes, yahoo baba is also one of great teachers in youtube.
You are saying that I am working as a software engineer in USA.. And here are you learning basics of PHP. Wah Bhai gajab ka software engineer hai tu😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
Arre sir ji! Kya zabardast samjhaate ho. Mujhe yeh aaj pta chla ke $_FILES[ ] , array return krta hai.
Thank you so much sir, sabh cheez details mei samjhaane ke liye. 😊🙏🙏🙏🙏
(Thanks Raj. $_) walie jitne bhi variable functions hote hai wo sab Array return karte hai jaise $_POST, $_GET, $_SERVER etc.
@@YahooBaba thanks sir, both mann hai, poori Series Shuru se dekhu aapki php ki, lekin itna time nahi nikal paa raha hu but jo Topic nahi aate, wahi search krke dekh raha hu. Thanks for helping all of us again.
Your welcome :)
I've just mastered php super global variables by watching your video tutorials. You are the best coding teacher I have followed in my life. Love from Bangladesh!
Thanks and welcome :)
@@YahooBaba sir ji same yahi coading maine ki h but submit p click krne ke bad kuchh ho hi nahi raha bss page refresh ho jata h
maine apki site se code copy paste bhi kr k dekh liya...
This is one of the best explanation of this function on UA-cam.. helped pass my interview test :-p
Thanksss aloottt
Any tips? I have interview tmrw.. wordpress
@@japeshcollege7144 I wish you best of luck
Sir aapke padhane ka tareeka sabse zyada achha laga really 👍👍👍👍👍
You are doing a tremendous job , hats off to you from depth of my heart.
bahut bhadiya sir......ek brain mein chala gaya,.....i liked ur way of explaining
Your welcome :)
السلام عليكم
Sir app ki video super hai me kafi kuch aap ki videos ko dekh kar clear karta hoon
That's Great :)
I have seen many video but you are the best sir, very good explaination my code successfully runned at first time..
Glad you like it :)
Thank u so much sir,
ur lectures are performing most imp role to clear our doubts about coding.
plz mention that from which video u will start my sql.
if anyone knows about plz comment
thanks
full great video classes php tutorail,
bhut acha pdate hn sir ji so proud of you
sir, first of all thanks a lot.. really sir you are great. sir only from your channel i have learnt a lot, everyday about 8-10 hours i watch your videos. now i have become a good developer on php... but one requset sir, please make the video on framework like laravel and codeigniter.. please please please sir, i have visited number of channel to learn framework but i am facing many difficulties. i cant understand properly from them. there are no one like you who teaches difficult things in easiest way. please sir.
yahoo baba is the best for php among all php tutorials
Thanks for appreciating my work :)
your way of teaching style is just perfect.
Glad you think so!
Thank you sir very easily you explained ❤ this topic.
the way you explain every single thing is amazing...love it
Thank you so much 😀
sir haapy diwali to yahoo baba and family .. continue....
THanks Human being and Happy Diwali :)
Thank you soo much I watch many videos but could not understand $_Files Groble variable and image uploading in direectory but you taught me well in easy way. I'm vary happy to learn from your videos. Thanks a lot.
first time watching your video. But you've done such a great work. Really appriciate you, sir.
Thanks and welcome
they way u explain u r the bestttttttttttt
thank you so much , i really used to face problem , when i try to upload image
Sir, You are just awesome. Take more and more love from BD. May Allah bless you for your good work. Live long sir.
Thank you so much 😀
you told the meaning of every little thing ... thanks man . i have been learning from since the starting of this year.
Your way of teaching is awsome 👍 keep up the good work
Thank you, I will
U are my saviour . Thanks 🙏🏻
Excellent sir for explaining line by line code and thank you somuch sir.
You are most welcome
I have learnt from you as HTML. Css, JavaScript, even jQuery. After that I have started PHP but I doubted that it becomes easier for me to code like phyton after specialist in PHP coding
See if you want to learn Python then no need to learn PHP first because coding in Python for web development is almost same. So you can directly opt for python if you are planning web development. But if you are planning some other stream with Python like Desktop Software developer, Data Analysis, Data Science or Machine Learning so you have to learn some specific library with Python after completing python basics.
Here is my suggestion that if you are planning a career in Python except web development then you have to work very hard because their is a tough competition and very less jobs. I know you also heard that their is a scope in python but that is only salary wise scope... their is not so much jobs right now. So be prepare hard with mathematical skills , static skills if you are planning for Data Analysis, Data Science or Machine Learning. Good Luck
@@YahooBaba Bhaiya me to Tut gya😥😫
Kuuu?@@BTW_ITS_ANIL
@@HelloSoftware-e7w wo 6 month pehle toota aur tum abi puch rahay ho
Haha magic sy PATA chalta Kia pehly?@@HassanAli-bq8vc
you explaination style is really awesome.
nice explanation ..........................👍👍👍
Thank You Soo Much Sir😇🙏It is really helpful
Thank you so much .... you clear all my doubts
Great 👍
@sir,
please start python tutorial, python most power-full language and fast that's reason most of the people like python. I also learn it if you make this topies video it will be top video on youtube. because you are best teacher who makes best coder for beginner.
I will start Python course in next 2 months
It is the slowest language than java
Sir, You are really awesome, I'm really grateful to you. Thank you very much for this amazing content. I always follow your channel and always learn something new, sir please pray for me as if I'll be a successful web developer like you :)
Thanks for the video,
I can see the message upload successfully in my system whlie running the code but there is no file in the Target folder. Can you please help me with this?
Zabardast video. Thanks. Upload to sql bhi batain
Sab bataya hua hai Abbas in PHP course "News Blog Project"
Amazing, thank you very much.
sir thank you so much for this php playlist! this is the best step by step youtube channel for php. sir, if possible, please create one playlist on how to master mern stack. or if you know any channel like yours which explains mern stack like you have explained php, please put a link in reply. thank you once again!
Explained very well 👌👌
You are amazing sir .....
Thankx alot sir g, u are great Ma sha Allah ,,,
Thanks and welcome
very good teaching
Thanks and welcome
Thankyou...Keep making these awesome tutorials
Glad you like them!
Sir is video mai aik cheez bta dy k agar ham picture upload krty he to action mai agar koi aur file bna ly kia waha picture display ho skti he anchor ka tag use kr k plz guide me sir
sir aap yaha pe video timeline 04:23 at this time aapne kese yaha pe "/" lga ke input tag ko kese close kr skte ho, maine bhi same chiz kia but waha pe text typing k liye aa rha hai, kya yha pe atom editor koi roll hai?
Nice explanation.
sir, sath yeh b btaya kren na k yeh function boolean return kr rha hai ya int etc, us k behalf pe ham us function ko if() men use kr saken
Hello.
Good work .. I have a qus. ....
Jis trh se online examination form me Photo aur sign alg alg upload and display hota h wo kese hoga .... Plz samjhao
Yeh sab detail mein maine bataya hua hai aage aani wali videos mein. Please check "News Blog Project" in PHP course for that.
@@YahooBaba sir single image to ho rhi h lekin dusri image upload krte hi phli wali ht jati h yha dusri image upload krne k liy choose btn aur upload btn alg bana rkha h ..
Ap link share kr de ......
Thank you ....
Dear iss tutorial se toh sirf ek he image upload hogi agar aapko is tutorial ko follow karna hoga : ua-cam.com/video/Bz9JqfJOyd8/v-deo.html
Sir can you please explain what is the use of keeping files on server and how we will know which user uploaaded which image?? We can directly save it in our databse i think i have done it in past. Using query we can just insert the image in database.
Hello, we can't save image or any file in database. We can only save their names in database. I thinks you didn't see "News Blog Project" in PHP course playlist. Please see that videos to get more detail how we manage uploaded files.
@@YahooBaba thank you for replying. Yes i dint saw news blog project but i will. I started building project after watching crud operations. I want to ask you when should i switch to a framework like laravel. Should i learn oops In php or i can switch now. I already know oops as i have worked in java core and java swing.
Java or php which is better for web development?
You are great Sir
Such an amazing method. Love it!
Glad you like it!
Most common Warning: failed to open stream: No such file or directory…”
Solution: This error occurs if a target folder location is not valid. For example: create “uploaded-images” folder if this error occurs in above program.
my error saying permission denied
ak complete form hoga jisme name email no and othe info hoga and sathe imag hoga..,,oo jak date base me save hoga ,,and us information se user ka ak card type box banega bootstrap me...iss project ka requst me apko karta hu
Yeh sab maine already teach kiya hua hai in "News Blog Project" in PHP course playlist.
Sir super globals k baad konsi video dekhu aapki sequence mai php sikh ne k liya??
Here is complete playlist of PHP course in sequence : ua-cam.com/play/PL0b6OzIxLPbyrzCMJOFzLnf_-_5E_dkzs.html
@@YahooBaba thank you sir
Great great explanation..
Glad you liked it!
Should we need to do sone additional settings while deploying code on a www website because file is not getting uploaded as like on local server
Plz help!!
sir kya yeh possible hai ki hum executable file, folders, online game data, zipfiles stire kr skte hai kya, humari ek team hai jo game develop krti hai, just for testing hum use upload and download krwana chahte hai user ko to wo kese kr skte hai.
Thank u very so so much for this series sir :)
Most welcome
Thank You so much❤❤❤❤❤❤❤❤
You're welcome 😊
Awesome
Excellent....
Thanks a lot
Waiting for java tutorials
THANKU SIR JI,
isme ek question or tha file ko replace kese krenge , man lo ek pdf ko up load kiya usko dubara change krke upload krni h tho vo kese hoga...
Yha pe replace nahi hogi file ...aapko pehle purani file delete karni padegi. Yeh sab mein PHP ke CMS project mein batane wala hun.
@@YahooBaba ye KB tak upload ho jeyga sir
Kal se mein PHP CMS Project ke lessons shuru kar rha hun.
@@YahooBaba Sir ji ek choti si help chey thi..
mane pdf upload or download krne ka tho shik liya but pura nhi .... vo tho apke project m or shik lunga
filhal ek help chey pdf ko view kese krwaeya jaey
// Downloads files
if (isset($_GET['file_id'])) {
$id = $_GET['file_id'];
// fetch file to download from database
$sql = "SELECT * FROM upload_pdf_file WHERE id=$id";
$result = mysqli_query($conn, $sql);
$file = mysqli_fetch_assoc($result);
$filepath = 'uploads/' . $file['name'];
if (file_exists($filepath)) {
/*
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename=' . basename($filepath));
header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize('uploads/' . $file['name']));
readfile('uploads/' . $file['name']);
*/
header('Content-type: application/pdf');
header('Content-Disposition: inline; filename="' . $filepath . '"');
header('Content-Transfer-Encoding: binary');
/* // Now update downloads count
$newCount = $file['downloads'] + 1;
$updateQuery = "UPDATE upload_pdf_file SET downloads=$newCount WHERE id=$id";
mysqli_query($conn, $updateQuery);
*/
exit;
}
}
ID
Filename
size (in mb)
Downloads
Action
View
Sir , this PHP playlist course is full course??
And second it is advance or medium level ?
Right Now it is not a Full Course but shortly within a month it will become Full Course List and also become Advance Level Course.
amazing
Great video.It worked well. can you do the same with validation part please.
Sir, but kisi image ko delete kaise krte hain, aur agar kisi user k image mein ka koi name hain jo already server k folder mein exist krta hain phir(similar name cannot be strored in same folder)?
Very nice tutorial!
Glad you liked it!
Thanku soo much sir
Most welcome Basit
Sir hum mysql database me kisse file ka ya kisse site k complete url kaise store kara sakte ha maine jab store karaya to MySQL database backslash ko remove kar rha ha.
Best explanation!!
Thanks Akif :)
Bro aap jo apne website pe code diya hai waha enctype ke jagah entype likha hai ese fix kar dijiye
Notice: Undefined variable: _Files in C:\xampp\htdocs\LearnPhp\file-upload.php on line 10
Notice: Undefined variable: _Files in C:\xampp\htdocs\LearnPhp\file-upload.php on line 11
Notice: Undefined variable: _Files in C:\xampp\htdocs\LearnPhp\file-upload.php on line 12
Notice: Undefined variable: _Files in C:\xampp\htdocs\LearnPhp\file-upload.php on line 13
You have not made a variable with name " _Files"
Good guide.
In live project multiple users ki same name ki file ho sakti hai to or folder name assume dir1/ hai to kese file uploading system banaye ye video ke according to successfully msg aa jata hai lekin same name accept nahi karegi system then solution ?
sir i need to ask one thing k agar ak form ha jis me baqi name last name or other details hen to is k liye hamen insert ki query lganai parti ha to uska php b banta ha ab image upload krni ho usi form k through to iska function alag banana pary ga ?
Nahi koi function alag nahi banega. Yeh sab maine PHP course ke andar "News Blog Project" mein detail mein bataya hai. See that videos
@@YahooBaba believe me ap k news project se bht kch sekha ha abi mujhy project mila hua ha me us me bz hon tb hi videos ni dekh pai i will definitly watch your series.
very very thanks
Most welcome
thank u so muchhh
good effort.
Sir meine php or mysql ka project bana aur mhuje Laravel ka internship mil gaya tog lag gaya hu sahi hai kya kyu ke mere basic clear nhi hai oops
Sir plz can u guide us about images gallery using Javascript..... Buttons ka use kr k next aur previous picture aye sir plz is k bary mai bta dy Javascript use kr k
Use swipper.js
Thanks a lot
Most welcome
Great,can you tell how to get the upload time of a file from a website.
You can use filemtime() function for that :
www.php.net/manual/en/function.filemtime.php
check file is image or not after change extension in php. It means change jpg extension in php extension.
What is ur question ? I didn't understand.
type ki condition and size ki condition kese lagate hai. Please help me....
ro gya tha me subah se is ko karne k liye 5 ghante se ghise ja rha hu yaar, ankhe nam ho gai jab uploads folder me kutte ki pic dekhi
thank you so much yaar
#subscribed #liked #commenting
share to me nahi karu kisi ko bhi
mene apni ghisi he to bakiyo ko kese free me dedu
Sir I have a query.
When I uploaded same image two times then in the folder only one image is appearing
You have to change the name of image when ever you save the image with (date and time) or (any random text). See the "News Blog Project" in PHP course playlist where I have done this work.
thank u so much sir
By default which location is set as tmp_name in Linux
Database mein hum temp name store krwate hai kya ???
Nahi aisa jaroori nahi hai. Maine yeh sab detail mein next "News Blog Project" mein kar ke dikhaya hua hai ki exactly karte kya hai.
@@YahooBaba uska link de do sir
thank you
You're welcome
Sir, Agr m koi condition lgana chahta hu, jese ki sirf .jpeg vali files hi upload ho , vrna error show ho jaye ,
To kese krenge ?
Yeh sab maine PHP News Project mein seekhya hua hai. App please aage ki videos dekhe
$file_type = pathinfo($file_name, PATHINFO_EXTENSION);
if ($file_type != "jpg" && $file_type != "jpeg") {
echo "Sorry. Only image files .jpg and .jpeg is allowed to upload";
die();
}
Sir, please make a video for laravel please sir
thankkkkkkkkkkkkkkkkkkkkkkkkkk u
Sir mene canvas ki andar me 10second ki liy ak Animation banaya me chatahu is animation video me mp4 me convert hozay
Sir ky aisa hosakhta hyy sir piz piz🙏🙏🙏 reply me
You can use this website to convert HTML5 Canvas animation into MP4 : html5animationtogif.com/html5tovideo
@@YahooBaba sir me animation app banana chatahu sir javascript cord se animation ko video me convert kyse kare? Sir piz aap example du piz🙏 sir
Jubraz I can't help you in this topic because it's not a unusual topic.
Sir I have a doubt, I want to upload only excel file, other file formats like PPT, jpg should not get uploaded, it should display the error for other file formats except excel. Sir please tell how to do this?
What error message is showing ?
You can try these code. ===
Im writing this program in sublime text editor,Image is not getting to its destinated folder.. pls help
send your code file at my email id : hello@yahoobaba.net
sir, once i have uploaded the image on server site how can i get that image and display on html page???
See the"News Blog" Project in PHP course playlist.
Sir file choose krne k baad .. submit krne Mai
No file chosen aa rha h.... Kya problem hogi ??
can you make file upload video with validation
thanks for the tutorial on how to use the second part of the array of the file that is being uploaded, tip of the hat to you ma friend