Hello there,
I’m currently attempting to follow a tutorial on the process of gathering a user’s IP address for potential security reasons down the line. In the video, the instructor demonstrates storing the IP address as a singular entity, which presents an issue.
If the user’s IP address changes, the new one will simply overwrite the previous entry, leading to data loss. This prompted me to consider an alternative approach: utilizing a list to store multiple IP addresses. However, I’ve encountered a challenge where my conditions aren’t functioning as seamlessly as those presented in the video. I’m seeking guidance on how to effectively address this discrepancy.
Thankful for any help!
My condition:
His condition: