Posts by Darkton Hallysson • 123 points
4 posts
-
0
votes1
answer53
viewsQ: Create numbered files in order
Well, I’m looking to do something that creates files with numbering, for example: 001.txt, 002.txt, 003.txt [...] 200.txt... That is, if the 001.txt file exists, create the 002.txt and so on. It is…
phpasked Darkton Hallysson 123 -
0
votes1
answer2731
viewsA: I can’t center the image!
You can use <center>...</center> or put in CSS: .minhaimg { margin-left: auto; margin-right: auto; } If you want to see more: https://www.w3.org/Style/Examples/007/center.pt_BR.html…
-
7
votes3
answers1170
viewsA: Generate 5 digit combinations
You can put this code the following: function gerarnumeros($length = 10) { return substr(str_shuffle(str_repeat($x='0123456789', ceil($length/strlen($x)) )),1,$length); } *If you want to add…
phpanswered Darkton Hallysson 123 -
1
votes3
answers14308
viewsQ: Adjust image to <div> size
Well, I’m creating a mini social network but I’m having a little problem, the profile image does not fit the div. My code is: <div class="profilepic"></div> <style> .profilepic {…