Daniel, your voice hasn't changes for the 3 years I've been learning from your tutorials; you're like the most positive guy ever! Keep being you, I love it.
@Dani_Krossing6 жыл бұрын
Thank you :) Creating video lessons is what I love, which is probably why I'm still staying positive :)
@iammrkc8 жыл бұрын
Please do a video on how to send emails to confirm email accounts and forgot password recovery. Awesome teacher!! Stay blessed.
@phoenixfront3 жыл бұрын
I’d recommend using an external api for it such as Facebook account kit or use php stmp send mail
@HannesF8 жыл бұрын
I really love your tutorials, they are so easy to learn and your voice is so calming and smooth, haha, thank you for these.
@Dani_Krossing8 жыл бұрын
Hannes F. Haha thank you for noticing my "smooth" voice :)
@HannesF8 жыл бұрын
Haha. ;p
@masteravity99917 жыл бұрын
Hannes F. x mmtuts
@math2608794 жыл бұрын
@@Dani_Krossing Nice tutorial but *how can I hide the login button when the users are already logged in ? AND how can I hide the logout button when the users already have logged out* ?
@malibaturhan3 жыл бұрын
@@math260879 already shown in login system tutorial look at the playlist
@tharunrocky147 жыл бұрын
So awesome! I know its such a pain to record all these videos with Quality Content in it! Thanks for it! You're a Pro!
@ulosturedge7 жыл бұрын
I was able to do your login/signup system with just a few mistakes and then I rushed through your command lines on this one and had all kinds of errors lol. I was a little frustrated at first and stomped, but I eventually caught all my mistakes. I actually learn more by messing up the code then doing it right, haha. It forces me to learn to read the code and learn how the errors correlate with my syntax mistakes. It also forces me to experiment to validate how far the code is actually processing correctly. Thanks Daniel, your tutorials are very informative with your explanations. Keep them coming. :)
@Dani_Krossing7 жыл бұрын
I'm glad you got it working :)
@AtesotFlavor7 ай бұрын
HI Dani! I'm a recent fan of yours myself. Love your teaching style. So positive and a great sense of humour. Aside that, I am having issues with mysqli_connect. In other lessons when you use PDO there hasn't been any issues in-that I could submit data to the database. But with mysqli_connect, nothing happens. Any suggestions on how to make mysqli_connect to work properly on my Mac? @@Dani_Krossing
@cleverengineer24105 жыл бұрын
IF I was to praise you for your tutorials it won't stop but thank a millions times
@muneezanasir32765 жыл бұрын
Your tutorials are amazing. They are so well explained and you have covered every bit of the language. FYI, I followed your tutorials and I got an internship. So thank you for making all these wonderful, full of php knowledge videos.
@weler2491 Жыл бұрын
I have a question: in the index.php, in the echo that uploads the custum user's profile image, it's currently set to 'jpg', followed byt the question mark and the mt_rand() functiion. What if the users uploads then a 'png' image? I did the teste and the broweser uploadted a broken image. Is there a way in html language to accept different extensions in the image source? Great tutorial tho, you are a greate teacher!
@niro6856 Жыл бұрын
the same thing, did you get answer?
@weler2491 Жыл бұрын
@@niro6856 I tried to find the solution for a couple of minutes at the day but i couldn't find it and started taking care of other parts of the project. I tried using * in the extension part to allow any extension but it didn't work on my html..
@niro6856 Жыл бұрын
@@weler2491 Thank you for your reply! I tried to solve this problem with gpt, and it's worked! You need to try it
@weler2491 Жыл бұрын
@@niro6856 Lol of course chatgpt is always handy in these situations!
@suraamilbahar9485 жыл бұрын
@42:54 I am stuck in this part. I don't see default pic and the username.. But I did follow everything.. Help..
@legendofgaming84812 жыл бұрын
Hey love the video, I am not sure why isn't my profileimg table updating when the users sign up even though I followed all your steps. Do you get any clue what might be the issue?
@gonefishing20063 жыл бұрын
Question: On the upload section you allow .jpg, gif, pdf, etc. to be saved to the uploads directory but line 26 when you log in appears in my head at least to only recognize .jpg. Do I need to consider the filename like was done in upload.php so it will process the other types? Otherwise I got it work (with some minor modifications.)
@YPTechDATIA3 жыл бұрын
Dani you are great , you are better than stack overflow
@ashleyehle33826 жыл бұрын
I already did your tutorial on how to make a login system. how would I ad the image upload to that?
@gonefishing20063 жыл бұрын
@Visions Weekly Magazine I kind of agree. He did update the login one and I wish he would have updated this one but connected it to the login form and made it it into some sort of profile page with image. But I'm actually figuring much of it just using the few of Dani's videos and the stuff I've been picking up along the way.
@patrickrenzgarcia17653 жыл бұрын
Finally! your tutorial helps me a lot for my school project
@lebronzejames4 жыл бұрын
WOW Man was this one ever the bees knees.. I had a 3 day time (I'm legit a beginner just started coding php last week thanks to you) figuring out how not only to mash this into the previous episode but also your large 2 hour login system video which idk on your upload schedule but it seems like it was a reupload and came years after this lol.. good fight though I STILL dont have the idea 100% at this time but I'm PRETTY sure I know where to go from here and this video has helped me as far as it can so thank you so much Daniel you are awesome brother. If anyone's having problems with this still let me see if I can point you in the right direction with issues I faced: FIRST let me disclose i tossed away his second table profileimg all together and used the previous login database which in that other video he called "users" which already had 4 categories idUsers uidUsers then email and pass but those two are the important ones. so first I added a column to my table called status just like his: int (11) not null etc issues I faced were not paying attention to when I was supposed to be SELECTING from the number column or the name column.. you have to follow this video exactly and anywhere he writes ANYTHING with an id first its always referenceing the number one in my case was idUsers. likewise anything he writes with a username for me was uidUsers Dont be a hero and write your own attachments or improvements if your a beginner like me .. you dont know the jack you think you do lmao big tip here wasted a lot of hours like "man i know whats going on here so what if i..." yeah dont lol I ran into an issue where i accidently called my default profile image "profiledefault.jpg" lmao it kept showing up as a blank square instead of the image and glancing over the comments i might have been the only dummy on this one lol. I was essentially looking for something called "profiledefault.jpg.jpg" unintentionally. Lastly I have completely different login and signup systems .. if you have one like me you can circumvent that entire signup segment in here by just simply adding a parameter to your signup.php or whatever you call it in the INSERT INTO section youd already have and add a VALUE to it of 1 in my case hed used several questionmarks mine looks like this now: INSERT INTO users (uidUsers, emailUsers, pwdUsers, status) VALUES (?, ?, ?, 1) thus rendering all this: $sql= "SELECT * FROM users WHERE uidUsers='$username'"; $result = mysqli_query($conn, $sql); if (mysqli_num_rows($result) > 0){ while ($row = mysqli_fetch_assoc($result)){ $username = $row['uidUsers']; $sql = "INSERT_INTO users (status) VALUES (1)"; mysqli_query($conn, $sql); } } Useless... (note the types of changes i had to make from his original code and you could easily do this also) but make sure you look in your login system and be mindful that your _SESSION ids are set correctly i was trying to use stuff like idUsers and my uidUsers in places i should have had my actual _SESSION id's .. Which as a quick example are $_SESSION['userId'] = $row['idUsers']; so i had to go back and find anywhere he referenced his first table which i diddnt have as either just "id" or "username" or anything like that and make sure i had the right ones.. using one table it actually streamlines the process cutting out a lot of EXTRA stuff. Hopefully this helps anyone lol I wish someone would answer some of the questions in these comments much more when they figure them out haha .. oh well help where I can much love all =)
@JhayPTv3 жыл бұрын
all the codes are running but it keeps giving me an error of "Undefined array key "id"" in this code for the profile "$id = $row['id'];" 27:54
@RubaAab6 жыл бұрын
So nice of you for teaching us all these about php. Please guide how can i launch mob camera in feed back form.. Like there will be a feedback form with submit option and capture image option.. The capture image option should turns on the mobile camera and take the picture, save it in sql data base and send along with the form when clicked on submit button.
@jaycelila62586 жыл бұрын
Best tutorial on KZbin.
@gamehupbrowsergames40847 жыл бұрын
hey bro i did all what you said and it work for me but when i ever signup new user the first user image dosint disapear so the new user will see the old user img and i dont want that how to fix this
@jessreygarrido10474 жыл бұрын
I love the tutorials but I get genuinely confused sometimes. The discontinuity of the projects feels so bad and I get confused in editing some parts because I don't know how to connect the things together. But I learned a lot. I'm probably just stupid anyway.. thank you ^_^
@chrisvillareal71406 жыл бұрын
The tutorial is good but I suggest you also discuss about checking mime types of images. The hackers can name their shell scripts to any image file by just changing the extension name and bypass your validation.
@adnanshoukat23007 жыл бұрын
u r such a great teacher i ever seen respect from pakistan
@daverdal17 жыл бұрын
Awesome video. Thanks for doing my assignment. Gives me time to go for a bike ride today!
@mackynikat88334 жыл бұрын
Tnx a lot to the efforts sir ... Now only had left about statuses not alone in their data
@minsoemoe51454 жыл бұрын
At 23:00 , how does 'uid' become "Admin" in the output while the placeholder is 'Username'?
@pianoLee-sx9dx6 жыл бұрын
What does not null mean? I am assuming that if you don't type not null.. the user can leave this blank? At 18:00, you put the form at line 17 but can't you put it straight after line 15?
@alenasuvorova13404 жыл бұрын
Great tutorial, thank You!! I only can't understand one thing: in the end we can upload only .jpg photos?
@abdallahaldeghli71273 жыл бұрын
yes, because he echo ""; in index.php and we must bring $allowed from upload.php but iam not knowing to make it.
@jayce51286 жыл бұрын
after I log out from other user then log in again for another user, the image from the past user is still in there, how can I display only the profile image of the logged in user?
@adamjones64735 жыл бұрын
I'm running into the same problem.. rip
@helena89184 жыл бұрын
@@adamjones6473 I guess you only need to do show the img where the userid is equal to the $_SESSION id variable with a "if" stmt
@SanjeevBeekeeper6 жыл бұрын
If you get a blank page after you Signup. Make sure your Signup form has an action to the 'signup.php' page and not 'login.php' page
@manvswildjungle80812 жыл бұрын
💯💯
@brucetamata71512 жыл бұрын
videos still useful today . Thank you
@filiphalldin96786 жыл бұрын
If i was using this for an website logo for example. How could i get it to show the "latest" image where i want? can i assign the lastest filename to a variable and then just use that in my "source" part of the imagedisplay tag?
@pianoLee-sx9dx6 жыл бұрын
At 27:56, instead of using userid, can you use username instead and match it with their username from the user's table?
@HarshdeepSingh-iz6gr4 жыл бұрын
It's a wonderful tutorial. I just think there's one flaw, when you echo the image that we uploaded, you mention the extension to be ".jpg". But it will not find the image if it had some other extension. Please correct me if I'm wrong.
@natnaelalemayehu91124 жыл бұрын
Yes that is true. I am thinking of solving that problem by having an extension column in my profile image table. So instead of putting .jpg I will put the respective file extension which I will have previously uploaded to the database when uploading the image. I don't know if this makes sense to you.
@SdotFive4 жыл бұрын
@@natnaelalemayehu9112 im thinking of doing the same
@jessephrolandcatalan78248 жыл бұрын
i am curious about how if the file extension is png not jpg ?? may error will occur to???
@Dani_Krossing8 жыл бұрын
The next video shows me fixing that :) By mistake I forgot it in this episode
@gonefishing20063 жыл бұрын
@@Dani_Krossing I guess I may have found the answer to the question I had earlier. So next episode I go when I have time.
@theunboxingchannel37356 жыл бұрын
In this lesson when we login by one user id and then log out and then again login with another user id, and then when we go to the profile photo section, then it shows the profile of both the users. The user previously logged out and the user currently logged in. How to manage users profile according to the current session of a single user. Please help me with this.
@nabeeltech78856 жыл бұрын
maybe u need to watch episode 39 or 44 i completely logged out and logged in and logged out and showed current user on website
@Holyschytt6 жыл бұрын
@@nabeeltech7885Neither of them videos have anything to do with this.. its something to do with the sessions.. ids now if there 2 or more accounts registered it shows those accounts it showed them in his video
@nabeeltech78856 жыл бұрын
@@Holyschytt hummmm now i am moved to node js which is much tougher but more faster then php next era is node js, go lang and java script type server languages because of their asynchronous behaviour it means they can execute many requests
@ck00246 жыл бұрын
*Understood all videos except this one. Watched 5 times but couldn't understand the logic behind it.* 😥😥😥
@thezvid4 жыл бұрын
yeah me too and is it better to merge tow tables and inside the user table create a field called profile image status?
@rodbongosia4 жыл бұрын
@@thezvid you're right this while login is not good. it always appear multiple row of profile image in your login because of different table he used can't get specific row from the same id
@ivansavchenco56364 жыл бұрын
When you do not understand something just go to the previous lesson with corresponding topic. It really helps.
@mjhmobilemedia4 жыл бұрын
It's just an exercise. I learned something. Whether I ever use this method myself or not, I'm not sure. If I do, I'm sure I will probably build on top of it and do a lot of refactoring.
@SdotFive4 жыл бұрын
same....i would've like it better if he only wouldve focused on the profile image. Signing in and out has been covered by him several times over
@jackmuxy5 жыл бұрын
I did the same thing but the updating profile picture part doesn't work in my case
@sunilbehera81608 жыл бұрын
Here, we can only change the profile picture of the 1st user, due to in login.php if(isset($_POST['submitLogin]')) { $_SESSION['id'] = 1; } but how to change profile picture of individual user who logged in ??
@hamzaiqbal86467 жыл бұрын
you got answer of this thing ?????
@japsonnahigan96267 жыл бұрын
yeah how to do that
@jjuless71437 жыл бұрын
mmtuts How do you log in an individual user?
@adamhardy67657 жыл бұрын
You have to set the userid in the url using a get method. The url should look like www.website.com/index.php?id=$userid. with this you can target the individual user through a select statement. "SELECT * FROM user WHERE id=''userid". make sure to set the $userid = sessionid or row[id] of the user.
@magicshroomliberety7 жыл бұрын
Can you copy the code out I have been trying and cant get it to work PLEASSSSE??
@CodemasterJamal5 жыл бұрын
Would it be smart to create a parser to parse through the file first or is this method pretty good in terms of security?
@sergiu23256 жыл бұрын
At last a guy who can explain stuff.
@typ0_cratz4 жыл бұрын
So may things are not clear regarding the while after $id = $row["id"]; if you have more than a user, it still gets all of the users right? Am I missing something?
@rickynelson32437 жыл бұрын
I got stuck here at 19:03 after click the Login button, the url shows: localhost:8080/uploadimages/login.php?submitLogin= The page is blank.
@sandy30285 жыл бұрын
Your channel have saved me many times now! Thank you!
@SDVVideoProductions7 жыл бұрын
Great tutorials so far! Is there a reason why you created two tables instead of just inserting the status column into the user table or even just checking if the correct file exists (by naming the pictures according to the user's id)?
@Dani_Krossing7 жыл бұрын
I created two tables because I wanted to keep the users startup information (the info provided when signing up) in a separate table, and the later added information in a separate table (such as profile image, banner image, profile settings, etc). But it is perfectly doable if you add all the information in a single table.
@SDVVideoProductions7 жыл бұрын
Thanks for the response! :) Is it to keep it clean or to avoid performance issues (or some other reason) that you keep track of the status in the database instead of just checking if a correspondingly named file exists in the uploads folder?
@nukeman44 жыл бұрын
Isnt it eazier to put like file name of users pic in database and get it from db when needed?
@maajabusafaris98265 жыл бұрын
You are amazing you solved my 2 nights of sleeplessness i will check other things you offer and if there are some sort of courses then i have to buy from you!
@XJerome1246 жыл бұрын
Thanks for all these tuts, they are really helpful, this one was a handful tough!!! I just finally got it.
@junoha69966 жыл бұрын
can you make a tutorial on how to upload or post multiple photos on website?? using php??
@ivansavchenco56364 жыл бұрын
Why in SQL statements you don not concatenate SQLstrings.variables.SQLstrings with dots as in other places you do?
@adamjones64735 жыл бұрын
At 31:51 you use the file extension .jpg If I wanted the user to upload all picture extensions how would this work?
@danielchetrari34535 жыл бұрын
You would need to save the actual file extension in the database, I believe.
@adamjones64735 жыл бұрын
Click Click Dan Ok, Another problem I’m running into is that if a user uploads a png or a jpeg, they don’t replace each other instead they both stay in the uploads folder
@danielchetrari34535 жыл бұрын
Hi @@adamjones6473. I just solved the same issue for myself. First of all, regarding the file extension, you should watch the #53 episode of the series, where Daniel shows a method that requires no usage of the database. Secondly, regarding the different ending, you have to first delete the current picture of the user, and afterwards upload the new picture. You can find how to delete pictures in episode #53 and #54 and #55.
@ndastreams7 жыл бұрын
How do you make it so it only shows the user's single profile picture instead of all of them? By the way great video!
@dayoungkim14844 жыл бұрын
Thank you so much for this video!! I finally put user profile pic function on my project. I have a question. echo ""; With this code, if user selects the file such as png or jpeg not jpg(which is set as default), how can I change the code? It's not like just changing to echo ""; Can you help me?
@adamjones64735 жыл бұрын
Personal Checkpoint 29:00
@aleksandarkrasic83246 жыл бұрын
I did similar as you since I already used the finished log in system and just implemented all from this lesson and i also used the prepared statements and everything went well, but ... in the database, in user table, whenever I insert a new user the index numbers are going in the reverse direction, from the highest to the smallest, what do you think, what could be the problem?
@gastroesophagealreflux62854 жыл бұрын
Great teachings! Thank you! :) I got it all to work together with your last tutorial on how to make a login system. If you are anyone else is reading this, can you please help me with one more thing, as I am not educated in programming. Currently I can see all the users when logged in, but is there php/sql code that shows only the avatar of the current person that is logged in? session if you will. Many thanks and best regards! :)
@vishantsoni12426 жыл бұрын
hey! daniel your tutorials are very good and easy to follow keep up the good work
@johncedricdeluna37816 жыл бұрын
great tutorial bro! nice easy to understand and you did it from scratch .
@fernandozuluaga27736 жыл бұрын
hi mmtuts as would be done in the case that instead of submit in close session out Colomnas as an example when you close facebook?
@olukoyaabbey55344 жыл бұрын
Thanks so much Dani, you are an amazing teacher. Interestingly concepts from your teachings have been so helpful in preferring solutions to some of my projects , sometimes unrelated to the tutorial. Keep up the good work sir!
@itszipzon4 жыл бұрын
is it important to have the 0 and 1 to see if the picture is uploaded?
@konstantinoskontras55237 жыл бұрын
Great videos learning everything properly and probably better than uni. You should take a look at the
@Dani_Krossing7 жыл бұрын
Hi and thank you :) I know about these attributes, however you shouldn't use them instead of what we did in this video. Because it is incredible easy for anyone to get around attributes, by simply going into the browsers build-in developer tool, and then remove them before submitting the form.
@RaheemDurrant Жыл бұрын
I've already created a JSON file to store user's data using php, and MySQL to store user profile images. Explain as to how i can connect both databases to upload the correct profile image to the user logged in. Or maybe you caan create a video on this please?
@siriykeiceweb41255 жыл бұрын
You are pretty cool in your teachings man.....
@pianoLee-sx9dx6 жыл бұрын
At line 17.. do you need to store that in another variable called $id? Can't you just use.. $row ['user_uid'].. directly? Also, why did you use 0 and not 1 as already has a picture?
@gabrielfono8443 жыл бұрын
sir this is a really great tutorials , however, I do have problem even though I download the course materiaux on your patreon. I can see the file on the uploads folder but on the website the user's photo doesn't display. on my database, I still have status = 1 , even though we update the status = 0 before uploading the folder, therefore the default photo still displays do you think something has changed with php overtime ?? please can you check your course's materiaux to see if something has changed overtime?? I look forward to hearing from you back
@Dani_Krossing3 жыл бұрын
Hi there! No PHP hasn't changed in a way that would destroy any current applications out there. 🙂 If they were to do that, it would mean thousands of websites would receive errors and everything would be in chaos hehe. I tested out the code myself a few months ago, and it still worked then. 😊 If you used my lesson material, it is most likely a mistake in how you set up your database. Such as a spelling mistake in your table/column names, either in your database itself, or in your PHP code when you reference the tables/columns. 9/10 times when a person tells me that their code isn't working, it is because of a spelling mistake hehe. Even when they claim they "followed my tutorial to the point" it is always still because they made a typo 🙂 I can only recommend double checking your SQL or PHP code for spelling errors related to your database names.
@joannaubbi57014 жыл бұрын
Hi Dani, thanks for these tutorials! Transparent and very helpful. Although I'm struggling with getting changes visible on my website straight away, the changes only appear after clearing cache; or the uploaded profile picture will show on the user profile after logout and login again. Please can you help ? I read many pages on cache etc, I saw this code function refresh() { var req = new XMLHttpRequest(); console.log("Grabbing Value"); req.onreadystatechange = function () { if (req.readyState == 4 && req.status == 200) { .... etc But I still struggle with putting this together... is this a right way to reflect changes and uploads on the website immediately? I appreciate your time, thanks x
@jimmysaid42396 жыл бұрын
Can i use this for like changing the background for someones own page
@joeyGunz1-w1r4 жыл бұрын
shouldn't the action of signup be sent to signup.php instead of to login.php?
@svenlietz3655 жыл бұрын
hey you just do if the user with id number 1 is going to login... but how it will be if user number 5 or 7 is gonna login ? you just figure for only one user
@glensymns68774 жыл бұрын
The default image isn't showing for me. I've checked and my image name in uploads/ and echo string are the same and they are jpg any one know why this is happening?
@buniculflorin4 жыл бұрын
There are multiple errors, even with the help of our colleague EL EL, still the code doesn't cooperate, while my coding is still incipient, even with the code from Patreon something doesn't add up.
@masinditower7704 жыл бұрын
Me too
@masinditower7704 жыл бұрын
The default img doesn't show up
@sruthigopi72245 жыл бұрын
Here you didn't insert any values directly to database but whatever the values we are giving will be stored omin database...is it right plzzz answer this
@T33H3302 жыл бұрын
can you put the signup php in a functions.php instead??
@emanmazenrb28383 жыл бұрын
Thank you so much. I love all your tutorials and I appreciate your sharing. However, this tutorial -and only this one- is kind of messy with incomplete parts. like not being able to log in other than user #1. And having to list all DB users at the top of index page. Anyway, thanks a lot again and again; I know it was for focusing on this certain-topic and I acknowledge that you know best. Highly Appreciated.
@loxiurasitz62488 жыл бұрын
Great vid! I wish u a beautiful new year! Have some nice days.
@jonathanguerrero49947 жыл бұрын
can you explain how the uniqid functions is linked to the file that you uploaded in the previous video, ?
@BichaelStevens5 жыл бұрын
Will you make a tutorial on making/editing/deleting posts like on a forum?
@georgiatanasov42736 жыл бұрын
I have some kind of an error, the userid from profileimg wasn't the same as user's id so I put an equal sign related to their ids which I think is the better option from creating a usless userid column in profileimg table.
@sindisss38973 жыл бұрын
So you can only change the first users (admin) image . What about 123?
@rabinpradhan56036 жыл бұрын
i didn't see any styleesheet. There is one problem with me. Everything is working but after i choose the profile image, when i clicked the upload button, it doesn't work. But, when i choose image to upload from my computer to the upload folder, it works but not in case with uploading profile Image. is there anyone who can help me?
@robinsonenrique24666 жыл бұрын
I have the same problem , right now
@rabinpradhan56036 жыл бұрын
if you get the answer, then let me know.... :)
@robinsonenrique24666 жыл бұрын
Did you declare the action, method and enctype well? What happens is that my problem was more with what I had in the database than with the program.
@rabinpradhan56036 жыл бұрын
yup i declare the method post but i am doing with the picture so i don't need enctype. profile image is not related with the enctype i guess. there must be mistake regarding the code inside the upload final destination but it looks look. so i am feed up with these error? did you solve the problem?
@robinsonenrique24666 жыл бұрын
Sorry but I can not help you, in the end it happens that the problem is my database, the user was different from 1 person who did not identify the state that wanted to change the image.
@pianoLee-sx9dx6 жыл бұрын
At line 13, how come you didn't set any where statement to check to see if their user_uid matches or not? Also, at line 17, you used the id, which I think is the id or number for that person, can you also use their user_uid or username instead? I just find it more reliable if you use their username instead of id
@aftabjamali85617 жыл бұрын
hey daniel i am having an issue updating my profile pic it doesn't update until i change or edit its css properties i dont know what to do can you please help me?
@121surajvishwakarma54 жыл бұрын
I am getting like you did... Logged Users Profile Signed up user profile1 Signed up user profile2 .. And so on I just want to show only that logged user... What changes should I do?
@emberspiritember79717 жыл бұрын
hey men mmtuts which is more efficient to use? making a separate document for every login/logout script or just put it in the same document and make it a function? I think making it a function, but I want to get your side of view :) sorry for bad English :/
@pianoLee-sx9dx6 жыл бұрын
I can't get the div class of user-container to work... I can't get any of the div class for my images to work at all! Shouldn't it just be .user-container, without any div?
@souravsingh7634 жыл бұрын
Multiple default images are showing at the same time when signup
@loveyvishnani31084 жыл бұрын
Ya...did you fix the problem?
@kylepook72927 жыл бұрын
Hey man i wanted to ask if you've done a video on downloads, i was wondering if there is a way to download a Full directory and all sub directories without using zip extensions
@madisentancre58112 жыл бұрын
Followed ep 51 and 52, when I fill out first name, last name, username, and password and click signup, it says you have an error, also for the index.php( the one with the file size > 100000)
@povilasbikmanas16433 жыл бұрын
Was following along the video. At the very end, when you press sing up, it goes to login.php file and then it's just blank. So, I don't know, either I missed something, or there is a mistake. I even compared/copy/pasted the code, and it does the same thing. Very informative videos though.
@turbosardar394 жыл бұрын
Don't you think we should use $_SESSION['id'] in index page when we are checking if image is uploaded or not instead of checking for all user? And aren't we supposed to save img to db? 🤔
@anaciaciru56538 жыл бұрын
I tried to put the code on my website, but the images are not going in the uploads folder even if it appears "uploadsuccess". Can you explain me why and try to find a solution, please? In localhost it works. I don't know what to do anymore. :(
@andrew.schaeffer40324 жыл бұрын
Hello, thanks for the great video! I went to your source files and wasn't able to find the css file. When do you expect that will be up? Thanks again! :)
@ivansavchenco56364 жыл бұрын
What are the shortcuts for changing double quotes to single quotes?
@math2608794 жыл бұрын
*Daniel Crossing* Nice tutorial but how can I hide the login button when the users are already logged in ? AND how can I hide the logout button when the users already have logged out ?
@sougatasaha36733 жыл бұрын
Hi, Thanks you for your details tutorial. Also I wants to know, now my question is after the user Free register, now I need if any subscription taken for any service I need VIP TAG must add Auto with his profile photo. Example Smule VIP ID. Please explain the too. Hope I could able to tell you my query.
@Joao12PT8 жыл бұрын
Hi, I have a question. The user can upload either .jpg .png .jpeg. . However when printing the image, if the user choosed to upload a .png image the site won't find the image because its written (echo "" ). Any solution ? Btw, great video ;D
@Dani_Krossing8 жыл бұрын
Thank you :) Yes i realized afterwards that I made that mistake. The next video has the solution in it where I fix it.
@Joao12PT8 жыл бұрын
Thanks Man :D
@djleisheng6 жыл бұрын
You could just save the file extension as another field in the table
@gabrielfono8443 жыл бұрын
@@Dani_Krossing sir please there is no video where you fixed it even in your patreon
@omranshahrour72912 жыл бұрын
@@Dani_Krossing could you mention it! Thank you in advance
@pianoLee-sx9dx5 жыл бұрын
I am trying to do a simple if statement to ban the users but can only get this to work if I put the code in the header2.php file and not the login file in the login system... if I put it in the login file, everyone gets banned...
@nicosilva90222 жыл бұрын
I have an issue with the second while loop, when u try to display the default img. I doesnt get to the loop, this is what i get if i print_r $resultImg : mysqli_result Object ( [current_field] => 0 [field_count] => 3 [lengths] => [num_rows] => 0 [type] => 0 ) If i try to do anything inside the loop doenst display anywere. And yes i have been 3hs trying to see if there is any typo error Can someone give me a hand? thanks in advance :)
@riskitall74216 жыл бұрын
Hey Daniel, I am getting the default image and the uploaded image. How do I just show one at a time?
@riskitall74216 жыл бұрын
Nevermind Daniel, I got it. I had to add some code. $rowGetStatus['status'] == 0 && $_SESSION['id'] == $id
@frankpacheco88436 жыл бұрын
Hey Rob, where exactly do y0ou put this piece of code?
@HarryTeran8 жыл бұрын
pleasee make the next video about templates, and use bootstrap to make the page without using tools like (twig). Love your vids! You are an incredible teacher!
@eosforfly8 жыл бұрын
bleach boostrap, is for leasy...
@shalempanthagani60344 жыл бұрын
But we need not display every user information(images and username) when signed up. Second thing, when user got signed up there is no header function in "signup.php" that redirects to "index.php". Correct me if I'm wrong :)