Тёмный
No video :(

Upload a File to MySQL Database using PHP 

CodeFlix
Подписаться 9 тыс.
Просмотров 135 тыс.
50% 1

Learn how to upload a file or an image to the database using php and also to store that file at a particular location for future use.
SOURCE CODE : www.dropbox.co...
Link to My previous videos:
Login page using php : • Login Form In PHP And ...
Enter data into database using form : • Insert data into MySQL...
Thanks For Watching!
Track: Kozah - Haha [NCS Release]
Music provided by NoCopyrightSounds.
Watch:
Free Download / Stream: ncs.io/HahaYO

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 230   
@maibaum9719
@maibaum9719 2 года назад
Can u please show me the structure from your table in phpmyadmin? Thank you very much!
@sakshigoraniya4584
@sakshigoraniya4584 3 года назад
thankyou so much tried so many things but this worked on one go
@CodeFlix12
@CodeFlix12 3 года назад
❤️❤️
@AneesKhan-uz4mz
@AneesKhan-uz4mz 6 лет назад
Do more
@CodeFlix12
@CodeFlix12 6 лет назад
Do share it! It will help me make more :)
@Alexandra-no3lz
@Alexandra-no3lz 6 лет назад
it´s great, just what i need :D keep it up!
@CodeFlix12
@CodeFlix12 6 лет назад
Thanks! Will keep doing more :)
@senju31
@senju31 4 года назад
I am getting this error Warning: move_uploaded_file(): Unable to move 'C:\xampp\tmp\php3684.tmp' to 'images/6602-pastry.jpg' Could you please help?
@CodeFlix12
@CodeFlix12 4 года назад
Is the uploaded file path correct?
@albertb4460
@albertb4460 3 года назад
check if the folder images/ exists on your server, move_uplodaded_file() can't create directories
@CodeFlix12
@CodeFlix12 3 года назад
❤️❤️
@newtron762
@newtron762 Год назад
it doesn upload file into database, file needed to be converted into bytes array.
@xoxoo4877
@xoxoo4877 4 года назад
But here he only put the name of file in the database. Not the BLOB file.
@CodeFlix12
@CodeFlix12 4 года назад
Yes because saving whole file can take too much time and resources. So save only the name or path. Save actual file in a folder at server to save time and resources by 100x.
@wul-mz5qb
@wul-mz5qb 4 года назад
You do not upload images to the database. That's too big.
@amiralinaser2452
@amiralinaser2452 5 лет назад
Thank you it worked for me. great video
@CodeFlix12
@CodeFlix12 5 лет назад
Thank you so much!❤️
@priyanshpateriya7291
@priyanshpateriya7291 2 года назад
Anyone help, my file is not store in folder or not inserted data in database,path is correct,I use enctype,also but didn't get
@kothakapusriharshini5636
@kothakapusriharshini5636 3 года назад
Thank you for the tutorial!!!
@CodeFlix12
@CodeFlix12 3 года назад
♥️♥️
@hakir91
@hakir91 4 года назад
thank you for the tutorial !
@CodeFlix12
@CodeFlix12 4 года назад
Thanks for the comment!
@kriziacarissepangan1590
@kriziacarissepangan1590 Год назад
Thanks pooo. God bless!
@jimmyjayant8072
@jimmyjayant8072 6 месяцев назад
You are not REALLY uploading the file to mysql database. You are just uploading it to a folder on web server. Please check your title of the video.
@CodeFlix12
@CodeFlix12 4 месяца назад
Uploading file is an expensive operation. Best practice is what is shown in the video.
@aishwaryaiyer4097
@aishwaryaiyer4097 4 года назад
Thanks for the tutorial 🙌
@CodeFlix12
@CodeFlix12 4 года назад
Thank you!
@DBR384
@DBR384 4 года назад
works perfectly!! thank you so much!!!
@CodeFlix12
@CodeFlix12 4 года назад
❤️
@shwetadalal1549
@shwetadalal1549 3 года назад
I am getting error Undefined array key "files" in $tname = $_FILES["files"]["tmp_name"];
@CodeFlix12
@CodeFlix12 3 года назад
Check folder if created
@fahadhafeez8086
@fahadhafeez8086 4 года назад
There is an error in the code $_FILES['file'] instead of $_FILES['files'];
@CodeFlix12
@CodeFlix12 4 года назад
No brother, it's file only!
@wemzee
@wemzee Год назад
Thaks so much for this
@derekt.utterbach5099
@derekt.utterbach5099 3 года назад
Can you show how to set up the sql table? Thanks you!!
@CodeFlix12
@CodeFlix12 3 года назад
I have shown it sir
@tabdig
@tabdig 2 года назад
@@CodeFlix12 where?
@CodeFlix12
@CodeFlix12 2 года назад
In my vids
@shamithkumar6627
@shamithkumar6627 4 года назад
Thank you for the tutorial
@CodeFlix12
@CodeFlix12 4 года назад
❤️
@espressoinsight
@espressoinsight 2 месяца назад
did you have to go into the terminal to give daemon access to the directory in which the file was to be added for it to successfully upload?
@CodeFlix12
@CodeFlix12 2 месяца назад
Yes server needs to have access to the file directory. If running on local you don’t need to
@chiamcheekang9965
@chiamcheekang9965 4 года назад
Hi, may i know how is the 'files' come from at line 39?? I keep getting undefined index :files?
@CodeFlix12
@CodeFlix12 4 года назад
Files is for the files that you upload and it is the type fiir it. Undefined when there is no file passing or error in path
@samueljunior5677
@samueljunior5677 3 года назад
For me too, i cant find the 'files' reference name on the HTML page, just keeps getting undefined
@youngochiel3798
@youngochiel3798 3 года назад
@@samueljunior5677 should be file not files
@samueljunior5677
@samueljunior5677 3 года назад
​@@youngochiel3798 Thanks mate, after bouncing my head around i figured it out hahahah, it's amazing how an simple letter S can be such a stuborn on the code.
@amnesia4439
@amnesia4439 3 года назад
how about the structure of database? nothing to discuss about structure of database in this video
@CodeFlix12
@CodeFlix12 3 года назад
id, name, path
@judemikevicentillo944
@judemikevicentillo944 3 года назад
I dont understand.It Doesn't working.the echo is not working and what da freak?
@CodeFlix12
@CodeFlix12 3 года назад
What's the error?
@rishabhr7158
@rishabhr7158 Год назад
Is it possible to write PHP which will search the database using file name then download the file which this above code uploads to the server >> If yes plz help me
@CodeFlix12
@CodeFlix12 10 месяцев назад
Try mixing my code from some videos
@yotsusan_machi
@yotsusan_machi 2 года назад
Thanks alot dude
@CodeFlix12
@CodeFlix12 2 года назад
♥️♥️♥️
@a2zfunbegins273
@a2zfunbegins273 2 года назад
everything fine except that noicy music
@jessebelleman8070
@jessebelleman8070 4 года назад
Ive checked and i am connected to my sql database. My image does get uploaded to my folder in my server but my sql ‘INSERT’ command is where i think its going wrong. Do you know what it might be? Which datatype should i use in my sql database? edit: i got it working. My database had columns that (werent automated} which i did not add information to, i guess that caused the error cause as soon as i deleted them it worked . Thanks a lot!
@CodeFlix12
@CodeFlix12 4 года назад
No issues, i have shown in video what datatypes to keep! Thanks
@kennethdoria8016
@kennethdoria8016 4 года назад
@@CodeFlix12 yeah. what datatype did you use to id,title and image. it's not in the video sir
@phatiklad
@phatiklad 4 года назад
Hi there, having trouble: what filetype do we set in mysql for id, title, and image? Also file not uploading to server....
@CodeFlix12
@CodeFlix12 4 года назад
ID is int, title is varchar, image is text or varchar whatever you want
@phatiklad
@phatiklad 4 года назад
@@CodeFlix12 Ok thanks - and any idea why the file itself might not be uploading? I've specified a folder in my remote server, but nothing's being uploaded
@CodeFlix12
@CodeFlix12 4 года назад
You don't upload file to db, you upload file path. You upload file to a folder. So there is an issue with moving the uploaded file to the folder, check the folder, its path and the move_uploaded_file function
@bryanmellobarros6159
@bryanmellobarros6159 Месяц назад
thanks:)
@CodeFlix12
@CodeFlix12 Месяц назад
❤️❤️
@strangejmaster
@strangejmaster 3 года назад
Ooof, I need some help, First I'm trying to upload audio and not an image, would you know what type of value that'd be in phpMyAdmin Second, some of my names are different so here's my code: docs.google.com/document/d/1NjsQSV4MBjCpikb49PrhO5H7VGCNf9EqdXdTIaAzkpw/edit?usp=sharing I have one thing saying "Notice: Undefined index: files in /storage/ssd3/118/16092118/public_html/podcastSaver.php on line 26 " and also it's echoing me back "Error" instead of "File Successfully uploaded", please help!
@juanrepresent903
@juanrepresent903 2 года назад
awesome, thank u
@CodeFlix12
@CodeFlix12 2 года назад
♥️♥️
@arviro4517
@arviro4517 4 года назад
Thanks for this :)
@CodeFlix12
@CodeFlix12 4 года назад
Happy to help!🙌
@404VNOfficial
@404VNOfficial 2 года назад
thanks
@CodeFlix12
@CodeFlix12 2 года назад
❤️❤️
@shanggeethajeganathan2334
@shanggeethajeganathan2334 3 года назад
Hye, can i know what type did you used for image in database table? varchar or blob?
@CodeFlix12
@CodeFlix12 3 года назад
Varchar
@shanggeethajeganathan2334
@shanggeethajeganathan2334 3 года назад
@@CodeFlix12 thank you
@gallardajustineb.8127
@gallardajustineb.8127 3 года назад
Sir, It worked but it just work for once. after I upload a picture, i cant upload again. Can you help me? Thanks
@CodeFlix12
@CodeFlix12 3 года назад
Is there any error?
@aizatl513
@aizatl513 2 года назад
hye, after we success this, hot to view that file? i hope you reply
@peaceakoja2429
@peaceakoja2429 4 года назад
Thanks so much. This video was very helpful. My only issue is where i should create the images folder.
@CodeFlix12
@CodeFlix12 4 года назад
In the root
@agademetrial8120
@agademetrial8120 3 года назад
@@CodeFlix12 how can we create a directory in root?
@CodeFlix12
@CodeFlix12 3 года назад
Just create where index file is
@julietakinyi7815
@julietakinyi7815 4 года назад
how do we echo the image please help
@CodeFlix12
@CodeFlix12 4 года назад
Just call the select query and bring the last uplaoded image there :)
@johngeronimo8821
@johngeronimo8821 3 года назад
Is also applicable for docx files?
@CodeFlix12
@CodeFlix12 3 года назад
Yes for them too
@notesofasim
@notesofasim 3 года назад
very helpful
@CodeFlix12
@CodeFlix12 3 года назад
♥️♥️
@echizenryoma9648
@echizenryoma9648 3 года назад
im having error with the move uploaded file and with the tname=$_FILES["file" ] - and on this one, in your vid you put files* inside the square bracket but whenever i try the same it gives me an error, i checked the directory twice and the name spelling but there was nothing wrong
@CodeFlix12
@CodeFlix12 3 года назад
Error is in line above move uploaded
@echizenryoma9648
@echizenryoma9648 3 года назад
@@CodeFlix12 i did a complete carbon copy of the codes on the vid to try if its working and ofcoure i checked the name of the target directory folder but it still gives the same error
@CodeFlix12
@CodeFlix12 3 года назад
Can you copy paste your code in mail
@nmnghngfh
@nmnghngfh 4 года назад
I am looking for an excel file input from the user to my website, and wish to parse the file and store the contents in sql tables. Can anyone help me out with this?
@CodeFlix12
@CodeFlix12 4 года назад
Yep I have a video on that sir
@nmnghngfh
@nmnghngfh 4 года назад
CodeFlix Can i get a link as I didn’t find anything similar, that would be really helpful. Thank you!
@CodeFlix12
@CodeFlix12 4 года назад
Search for CodeFlix excel
@bashhlucky1038
@bashhlucky1038 3 года назад
can someone answer my question, what if i want it to be pdf does the upload_dir = /pdf or /images
@CodeFlix12
@CodeFlix12 3 года назад
Just make a directory called document and upload anything pdf or image
@lloydkay467
@lloydkay467 2 года назад
How do i do the database im new and have no idea what im doing
@CodeFlix12
@CodeFlix12 2 года назад
Just go to ui and on left you will get an option to create new db
@chome4
@chome4 4 года назад
How can you add some tex to the image and then display it with this text?
@CodeFlix12
@CodeFlix12 4 года назад
Yes
@tariqshaikh8022
@tariqshaikh8022 3 года назад
Can you please tell us how to fetch this pfd file from database and display on our webpage. Thank You.
@CodeFlix12
@CodeFlix12 3 года назад
Check download file using php video
@afshanhussain3594
@afshanhussain3594 4 года назад
I am getting the problem of undefined index file. What should I do?
@CodeFlix12
@CodeFlix12 4 года назад
Check the file that you are uploading It is not getting the file
@afshanhussain3594
@afshanhussain3594 4 года назад
@@CodeFlix12 I upload the file and image also goes to database but it gives undefined index error in file 36 and 39.
@CodeFlix12
@CodeFlix12 4 года назад
The file where it redirects, the location of that file is wrong or the path is not correct
@sarveshkulkarni6287
@sarveshkulkarni6287 2 года назад
Where do the files get saveed?
@harungb4428
@harungb4428 4 года назад
please, help me, how to show file, espesially pdf from mysql (php)
@CodeFlix12
@CodeFlix12 4 года назад
Just get the file path from db and invoke it from the server or local machine
@luisboateng8695
@luisboateng8695 3 года назад
Please i am gettong this error Notice Undefined variable: FILES ..pleease any help here
@CodeFlix12
@CodeFlix12 3 года назад
What's the version?
@nizado4133
@nizado4133 2 года назад
Hi, I have got the message: Warning: move_uploaded_file(images/2753-tree.jpg): failed to open stream: Permission denied in /var/www/html/pages/index.php on line 47 Warning: move_uploaded_file(): Unable to move '/tmp/phphNCigb' to 'images/2753-tree.jpg' in /var/www/html/pages/index.php on line 47 Error What might be the problem? Thank you!
@CodeFlix12
@CodeFlix12 2 года назад
Are you doing this on a server?
@nizado4133
@nizado4133 2 года назад
@@CodeFlix12 Yea, I think the issue was something about privileges and if it is allowed to get to the relevant folder as I remember
@CodeFlix12
@CodeFlix12 2 года назад
Yes exactly
@shouthosanna
@shouthosanna 4 года назад
The upload dir is directed to the folder named 'images' right? And you create that folder in the folder project right?
@CodeFlix12
@CodeFlix12 4 года назад
Yes sir, but you can create the folder anywhere and just give the path to it
@shouthosanna
@shouthosanna 4 года назад
@@CodeFlix12 okay. Thank you for being attentive to the comments 😊
@CodeFlix12
@CodeFlix12 4 года назад
❤️❤️
@shouthosanna
@shouthosanna 4 года назад
@@CodeFlix12 sir i have problem on this "undefined index and its the variable $tname_$FILES["files"]["tmp_name"];" but aside that the file is uploaded to the data base but not in the folder
@CodeFlix12
@CodeFlix12 4 года назад
Check if location given is correct
@aadityasulakhe3414
@aadityasulakhe3414 3 года назад
Can u tell what settings u did for database
@CodeFlix12
@CodeFlix12 3 года назад
Nothing, just created a default one
@wei-hao2147
@wei-hao2147 2 года назад
sir my program $pname = rand(1000, 10000)."-".$_FILES["file"]["NAME"]; and $tname = $_FILES["files"]["tmp_name"]; Undefined index, how to fix thks.
@CodeFlix12
@CodeFlix12 2 года назад
Are you entering correct file name? I mean valid file name?
@wei-hao2147
@wei-hao2147 2 года назад
@@CodeFlix12 I forgot to create a table XD
@wei-hao2147
@wei-hao2147 2 года назад
@@CodeFlix12 thks, I'll try it later
@CodeFlix12
@CodeFlix12 2 года назад
😂😂
@reznov00
@reznov00 3 года назад
what is the datatype used for storing files in mysql database? like what's the structure of database?
@CodeFlix12
@CodeFlix12 3 года назад
I store path and note file so datatype text
@love4ever026
@love4ever026 3 года назад
he gave random number to the file and then uploaded the file in /images directory.. he just entered the name in database, and location.. it is not stored in database, it is stored in filesystem.. to store these kind of files in db u need binary datatype.
@CodeFlix12
@CodeFlix12 3 года назад
On point 🙌
@rodwalterdelatorre3405
@rodwalterdelatorre3405 3 года назад
What is the data type of image in mysql?
@CodeFlix12
@CodeFlix12 3 года назад
Text
@moesatt4145
@moesatt4145 4 года назад
This is a very helpful video. Can you please also help me do a tutorial "after the users key in their id (eg 001), users can download the files that I uploaded in the database according to the id" Thank you very much in advnace! :)
@CodeFlix12
@CodeFlix12 4 года назад
Thank you so much
@amaliaks1413
@amaliaks1413 3 года назад
How to make 2 file upload in different input but same submit?
@CodeFlix12
@CodeFlix12 3 года назад
Same way as you do for 1
@amaliaks1413
@amaliaks1413 3 года назад
@@CodeFlix12 if i do that, this 2 file will be in the same id or different id?
@CodeFlix12
@CodeFlix12 3 года назад
Different Id Different name of input
@amaliaks1413
@amaliaks1413 3 года назад
@@CodeFlix12 Thankyou for your answer🙏
@CodeFlix12
@CodeFlix12 3 года назад
♥️♥️
@williamchangco833
@williamchangco833 3 года назад
hi sir, how can i adjust my post content length to the higher byte?
@CodeFlix12
@CodeFlix12 3 года назад
Can you explain that somewhat more?
@williamchangco833
@williamchangco833 3 года назад
CodeFlix oh i already solve it by editing the upload_max_filesize in php.ini btw thank you so much because you are so great and very responsive
@CodeFlix12
@CodeFlix12 3 года назад
❤️❤️
@nadila3416
@nadila3416 4 года назад
$_FILES["file"]. the "file" goes to what? is it default or i can change into other? cause im getting error Undefined index: file on line 36 and 39
@CodeFlix12
@CodeFlix12 4 года назад
It is the name of the file Change it in html input type as file in name
@nadila3416
@nadila3416 4 года назад
@@CodeFlix12 so actually I have 5 input type file and 5 input submit with differents name for each other. but I already wrote the same name there. the errors still shows undefined index
@CodeFlix12
@CodeFlix12 4 года назад
When you give the input type="file" and the name which you give, the ["file"] is the name in that input type
@nadila3416
@nadila3416 4 года назад
@@CodeFlix12 I have done with it btw, but thanks a lot! 🖤
@CodeFlix12
@CodeFlix12 4 года назад
You are welcome
@drishyakandpal1850
@drishyakandpal1850 3 года назад
Please show contents of your database!
@CodeFlix12
@CodeFlix12 3 года назад
Like what do you want exactly?
@drishyakandpal1850
@drishyakandpal1850 3 года назад
@@CodeFlix12 i want to know how you have created database for storing a file?
@CodeFlix12
@CodeFlix12 3 года назад
I have used varchar because I just store file location
@subbareddy285
@subbareddy285 3 года назад
need sql code for table creation
@CodeFlix12
@CodeFlix12 3 года назад
It's easy brother try it
@bhavyach1017
@bhavyach1017 4 года назад
Can you please help me make a video on multiple files uploaded
@CodeFlix12
@CodeFlix12 4 года назад
I have made a video please check it out on multiple file upload on php
@TECLOVENIA
@TECLOVENIA 5 лет назад
Good job bro. Kindly help me to create a Registration form with File Upload and save it to localhost database.
@CodeFlix12
@CodeFlix12 5 лет назад
Ok brother!
@TECLOVENIA
@TECLOVENIA 5 лет назад
Thank you brother 🙂👍
@m.aimansyfq
@m.aimansyfq 3 года назад
how to upload pdf file?
@CodeFlix12
@CodeFlix12 3 года назад
Just like any other file
@BustDatPussy
@BustDatPussy 2 года назад
Hey mate you still helping?
@CodeFlix12
@CodeFlix12 2 года назад
Yes
@robot2900-z6g
@robot2900-z6g 4 года назад
hi, thanks for the tutorial ! I have a problem with my connexion in my DB, i have an error and said the db doesn't exist but i created it in phpmyadmin :(
@CodeFlix12
@CodeFlix12 4 года назад
Check for the upper or lower case. Also check by connecting any other db :)
@robot2900-z6g
@robot2900-z6g 4 года назад
@@CodeFlix12 Thanks for the response :) Merry Christmas ! In my localhost they said my virtual host was disable I will reinstall everything tonight
@CodeFlix12
@CodeFlix12 3 года назад
Do you have a database named codeflix? If not then make one, else replace the db name in code with your db name
@umbertohe5723
@umbertohe5723 4 года назад
does it work if i upload just the file path, in your case is "localhost/images/".$pname. Then when i read data from the databse can i just use """ file_name """ ???
@umbertohe5723
@umbertohe5723 4 года назад
by the way nice tutorial, very clear and simple.
@CodeFlix12
@CodeFlix12 4 года назад
Yes you can use that
@umbertohe5723
@umbertohe5723 4 года назад
@@CodeFlix12 I tried and it worked thanks you
@CodeFlix12
@CodeFlix12 4 года назад
❤️
@valentinobahati9947
@valentinobahati9947 4 года назад
nice tutorial but you can try this too ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Hf8bJiRBPio.html
@darklup
@darklup 3 года назад
You did not upload a file to Database, you just uploaded a path of the file
@CodeFlix12
@CodeFlix12 3 года назад
Yes that is what you should do ideally and just take the file and put it in the server
@haziqfirdaus4956
@haziqfirdaus4956 3 года назад
Because you can't do that with phpmyadmin. If you're looking to do that, try searching Google Firebase API. Else, you're stuck with only storing the path of the file.
@darklup
@darklup 3 года назад
@@haziqfirdaus4956 you can
@haziqfirdaus4956
@haziqfirdaus4956 3 года назад
@@darklup How?
@darklup
@darklup 3 года назад
@@haziqfirdaus4956 google about blobs
@MM-hz3qc
@MM-hz3qc 4 года назад
For what? File zilla??
@CodeFlix12
@CodeFlix12 4 года назад
No On your application
@MM-hz3qc
@MM-hz3qc 4 года назад
@@CodeFlix12 But why this way if there is a filezilla application
@CodeFlix12
@CodeFlix12 4 года назад
Filezilla can't be used to upload a file through your application to the server.
@fahadhafeez8086
@fahadhafeez8086 4 года назад
use file instead of files
@CodeFlix12
@CodeFlix12 4 года назад
Because it is for one fine upload
@charlesmalama392
@charlesmalama392 5 лет назад
PHP Notice: Undefined index: file thats the error i am getting
@CodeFlix12
@CodeFlix12 5 лет назад
The file is not at the location which you have given! Problem in the file
@charlesmalama392
@charlesmalama392 5 лет назад
@@CodeFlix12 is it alright if i can send you the code so that you look at it
@CodeFlix12
@CodeFlix12 5 лет назад
Yes sure
@Jinx33311
@Jinx33311 4 года назад
how to fix "error" ??
@CodeFlix12
@CodeFlix12 4 года назад
Which "error"?
@Jinx33311
@Jinx33311 4 года назад
@@CodeFlix12 WHEN I UPLOAD A FILE SAYS "Error" AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@CodeFlix12
@CodeFlix12 4 года назад
Can you mail me a screenshot of that?
@bacomojornettecindy3204
@bacomojornettecindy3204 3 года назад
@@CodeFlix12 i have same problem with that error.
@CodeFlix12
@CodeFlix12 3 года назад
Email me
@bacomojornettecindy3204
@bacomojornettecindy3204 3 года назад
can i see your database ? thanks
@CodeFlix12
@CodeFlix12 3 года назад
Email me
@sumitrasinha9906
@sumitrasinha9906 4 года назад
I got an error. "Undefined index file" . Please help me out
@CodeFlix12
@CodeFlix12 4 года назад
The file you are selecting and uploading has an error and program cannot read it. Please upload a proper file
@nimmishareddy2363
@nimmishareddy2363 5 лет назад
In $uploads_dir='/' what we have to give ? Can anyone help me out
@CodeFlix12
@CodeFlix12 5 лет назад
This is the variable in which we declare the directory path in which we want to store the images or files. So give the path of the directory where you want the uploaded things to get stored!!
@nimmishareddy2363
@nimmishareddy2363 5 лет назад
Tqq
@nimmishareddy2363
@nimmishareddy2363 5 лет назад
@@CodeFlix12 but still iam getting error in move_uploaded_file()
@CodeFlix12
@CodeFlix12 5 лет назад
Please make sure the path is correct!! Or the move uploaded file function might have been used incorrectly! Check the correct usage and then try
@nimmishareddy2363
@nimmishareddy2363 5 лет назад
@@CodeFlix12 I got it ... Tqqq
@raiyankhodadin5820
@raiyankhodadin5820 3 года назад
kklik
@charendrareddy
@charendrareddy 4 года назад
Weast
@CodeFlix12
@CodeFlix12 4 года назад
❤️
Далее
How to win a argument
9:28
Просмотров 469 тыс.
Новый фонарик в iPhone с iOS 18
00:49
Просмотров 566 тыс.
ОБЗОР ПОДАРКОВ 🎁 | WICSUR #shorts
00:55
PHP File Upload and Download Script Project in MySQL
37:54
Save HTML Form Data to a MySQL Database using PHP
24:38
PHP: Video Upload & Playback (Using Database)
27:27
Просмотров 50 тыс.
Retrieving Data From Database Using PDO object in PHP
8:04
File upload in PHP
14:45
Просмотров 13 тыс.
Новый фонарик в iPhone с iOS 18
00:49
Просмотров 566 тыс.