This is by far the best PHP tutorial! Thanks a million!
@ProgramWithGio Жыл бұрын
Thank you 💙
@spieska3 жыл бұрын
I can't express enough how much I appreciate your course! If you would get yourself a Patreon account or something, I would definitely support you!
@ProgramWithGio3 жыл бұрын
Thank you so much 🙌
@php34183 жыл бұрын
I know you may not have a lot of time but please upload more as you can .. This series is the only modern one on the internet and many people depend on it for learning php
@ProgramWithGio3 жыл бұрын
I put out 2 videos per week whenever I can, sometimes 1. That is what I physically am able to record & edit at the moment given the limited free time that I have.
@php34183 жыл бұрын
@@ProgramWithGio I appreciate your efforts ❤
@user-vh3lm3qo4t3 жыл бұрын
@Program With Gio your work on this channel is a genuine service to the global web development community, thank you
@ifetmartinovic9 ай бұрын
I dalje jedan opd najboljih časova PHP-a na koje sam naišao dosad. Svaka čast Gio !
@ProgramWithGio9 ай бұрын
Thank you 💙
@AlirezaSalehi-xz3ch3 жыл бұрын
this channel has very good and useful tutorials the topics that are discussed are definitely practical in action , thanks for making them and Hope you complete his course as complete as u can
@ProgramWithGio3 жыл бұрын
Glad you like them. Thank you.
@Zubbee2 жыл бұрын
This was great. Will come back to it when I start practicing (at the end of section 2). I'll move on. Thanks Gio
@ProgramWithGio2 жыл бұрын
Awesome, thank you
@asmotovlogs228 Жыл бұрын
This series is very very valuable. Thank you so much, Gio
@ProgramWithGio Жыл бұрын
Happy to hear, thank you 🙌
@asmotovlogs228 Жыл бұрын
@@ProgramWithGio You're welcome
@michaelplichart32243 ай бұрын
Great explanation, great course
@ProgramWithGio2 ай бұрын
Glad you think so!
@mahmudsulemansheikhwunnam35803 жыл бұрын
Good Job! a little suggestion, please. As a PHP developer, I have faced issues dealing with file includes, for example; file B includes file A and when you include file B into file C, there will be a problem with the inclusion of A from the B file. I would be much grateful to see a future video on proper ways of dealing with nested files includes and how to resolve their path.
@ProgramWithGio3 жыл бұрын
My reply was deleted again by youtube. Not sure if you got my previous reply but basically we covered include/require in first section of the course. You should use namespaces & avoid include/require to avoid issues that you mentioned. Namespaces were covered in the composer lesson so check it out if you missed it.
@madibenallou5562 Жыл бұрын
Gio you are awesome explaining
@ProgramWithGio Жыл бұрын
Thank you 🙏
@1NC1S1VOFFICIAL2 жыл бұрын
This series is very valuable. Thank you so much !
@ProgramWithGio2 жыл бұрын
Glad you like it, thank you
@federicobau86513 жыл бұрын
great video, best php course
@SenpaiCodes3 жыл бұрын
Awesome tutorial 👌
@ProgramWithGio3 жыл бұрын
Thank you! Cheers!
@lotuslando199410 ай бұрын
I had the issue of not being able to move the file due to a permission error while using Docker. I ended up changing the storage folder owner to www-data and that sorted out the problem. sudo chown -R www-data:www-data storage I put this here for other noobs like me who may be challenged with a similar situation. 🙂
@ProgramWithGio10 ай бұрын
Good job, you could also add the user & group via Docker, you might see that in source code of Expennies project (later section)
@ilya_123__11 ай бұрын
thank you for your great job!
@ProgramWithGio10 ай бұрын
Glad it was helpful!
@emekatimothyiloba699 Жыл бұрын
Thank you Gio
@ProgramWithGio Жыл бұрын
You're welcome
@noreddinseflawi6462 Жыл бұрын
this vidéo is legendary
@ProgramWithGio Жыл бұрын
Thank you
@bakosyy Жыл бұрын
Hey Gio. Did you forget to also mention about `post_max_size` configuration? I read that `post_max_size` should not be less than `upload_max_filesize`.
@ProgramWithGio Жыл бұрын
post_max_size is the directive for the whole POST body & the file size does contribute to that as well. You would have same issue of reaching that post max size even if u set it at same or slightly bigger than upload_max_filesize when you try to upload multiple files at the same time since their size would go over the max post size. So in general yes you should try & keep post_max_size much higer than upload_max_filesize but it mainly depends on the application & what sort of post requests you will have.
@abdfadee826711 ай бұрын
Thank you
@ProgramWithGio10 ай бұрын
you're welcome
@samuelakinnuoye99385 ай бұрын
Hello Gio how were you able to use the storage path constant in the Home.php without including or requiring it?
@ProgramWithGio4 ай бұрын
Storage path is defined in index.php I think & index.php is entrypoint to all requests
@memack1012 жыл бұрын
Thank you.
@ProgramWithGio2 жыл бұрын
💙
@leonardohirsch9086 Жыл бұрын
Hi! Got a question. What about the folder permissions (in a web hosting for example) in order to securly upload files? Do you have any video or article about it? Thanks a lot!
@ProgramWithGio Жыл бұрын
Hi, no video specific to that but there is a video about production & deploying the app in third section.
@wanwan-swagg10 ай бұрын
How do you set this up on the other php pages so the post code can function properly ->post(/upload , [ App\Classes\Home\::class, 'upload']) I'm confuse on this code I already installed composer to get autoload.php working properly
@ProgramWithGio10 ай бұрын
Maybe you missed some of the previous lessons? Check the routing lesson
@CtrlGame4 ай бұрын
I have a question, that tmp file storage will ever get cleaned?
@ProgramWithGio4 ай бұрын
Yes on server restart, the files uploaded however are deleted at the end of the request. From php docs: "The file will be deleted from the temporary directory at the end of the request if it has not been moved away or renamed." www.php.net/manual/en/features.file-upload.post-method.php
@CtrlGame4 ай бұрын
@ProgramWithGio great answer, thank you.
@tommauro2023 Жыл бұрын
Hi, thanks for the tutorials
@ProgramWithGio Жыл бұрын
Yes that's correct, if you want to add extension you can add it but you don't have to. You can add extension during download & keep files stored without it. About tmp folder it depends what your storage path constant is set to
@tommauro2023 Жыл бұрын
@@ProgramWithGio Thank you very much!
@user-vh3lm3qo4t3 жыл бұрын
Fantastic tutorial. But I do have one complaint🤔, I am taking a two year web development program in September and you haven't left anything for them to teach me 😢😂🤣
@ProgramWithGio3 жыл бұрын
That's amazing haha. Thank you. I'm sure you will learn a lot of things there too 👍
@akhileshkumar-iu9uq2 жыл бұрын
I am doing ID card project where I have created one 'template'. Using dompdf to create the ID card. But its creating all the ID cards in one pdf document. I would to to generate multiple ID's cards in individual pdf in one click. Please help me on this
@ProgramWithGio2 жыл бұрын
I haven't worked with dompdf before & can't really help you without more information.
@mearjuntripathi10 ай бұрын
I have using a hosing and my file upload didn't work in my local host it work i changed upload_tmp_dir in .htaccess and php.ini file but nothing happen my file didn't upload and i get error code 6 can you help me please.
@ProgramWithGio9 ай бұрын
I would need to see your code & configuration. Hard to guess the issue this way. Feel free to DM me on X (Twitter)
@SupremeTec3602 жыл бұрын
I find myself compelled to look for another video since I can't find the code samples related to this one. It's either me who can't see it or you didn't put it... I had to leave a comment cause I see a missed potential on this video... *ciao
@ProgramWithGio2 жыл бұрын
We work on project later on that has source. This needed no source because it's just a concept. Feel free to write it by hand while watching video, that will help you understand it better 👍
@ProgramWithGio2 жыл бұрын
@UC0ciKWze0ytRYIQw6gMkbhg where do you see upload.php? It's pointing to /upload route which invokes upload method on Home class. All the code is there, maybe you missed that part?
@SupremeTec3602 жыл бұрын
My bad. I confused: action="upload/" As something like: action="upload.php" and thus been looking for an imaginary file whereas it just points to index.php. I will take full advantage of this now that I worked that out. I'm working on a production project and was in a bit of a hurry. Otherwise this is a really useful piece of content. I can agree with everyone now...
@ProgramWithGio2 жыл бұрын
@@SupremeTec360 no worries, glad it worked out at the end, thank you 🙌
@amijazz1941 Жыл бұрын
I am learning PHP OOP using Ubuntu Linux, but when uploading, I encounter the error 'move_uploaded_file failed to open stream: Permission denied.'
@ProgramWithGio11 ай бұрын
Check permissions of the directory where you are uploading to
@amijazz194111 ай бұрын
@@ProgramWithGio Thank you for responding. I granted permissions for creating and deleting files in the folder where I uploaded my file, and it worked. You're an excellent teacher, responding to everyone's comments. Hats off to you!
@syrup8345 Жыл бұрын
Hiiii love the tutorial series. I got an error about this file upload Two warning: -Warning: move_uploaded_file(/var/www/public/../storage/Screenshot from 2023-03-04 21-01-09.png): Failed to open stream: Permission denied in /var/www/app/Classes/Home.php on line 27 -Warning: move_uploaded_file(): Unable to move "/tmp/phpSZ39tl" to "/var/www/public/../storage/Screenshot from 2023-03-04 21-01-09.png" in /var/www/app/Classes/Home.php on line 27
@ProgramWithGio Жыл бұрын
Are you using docker? Might have to do with permissions, ping me on Twitter and I can help troubleshoot it