
Search In
Hi Reader's,
Welcome to FindNerd, today we are going to discuss How to upload restrict file in PHP ?
If you want upload only jpg, gif image and other type of images not allow to upload
then, you have to use bellow php code:
<?php
//here def
In PHP, to search for a specific text within a string a function strpos() is used. It includes 3 parameters:
string: It is required parameter which specify the string to search.
find: It is also a required parameter which specify the string to find.
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use error_log() function in php ?
The error_log() function is used for sending an error message to a log, to a file, or to a mail account.
The error_log() function always ret
Many times the webpage footer comes up due to no or less content on the webpage. We can resolve that with the help of Bootstrap CSS this is also known as Sticky Footer. This CSS will make sure that the footer will remain at the bottom of the screen w
Hi Readers
Recently when I was working in Laravel, I came across an issue. It was regarding the selection of a particular layout as per the logged-in user. I have to show a particular layout according to the role of the user logged-in. When I used e
To convert hexadecimal values to ASCII characters we will use a PHP function hex2bin().
Syntax:
hex2bin(string);
In above line we have a passed a parameter string in the function which is basically the hexadecimal value that we need to convert t
FROM_BASE64('string')
FROM_BASE64 function in mysql is used to decode the encoded value. The value which is encode with the BASE64 rule to encode by the MySQL function TO_BASE64, is decoded by this FROM_BASE64 mysql function.
The argument which is p
Hello Friends,
If you are looking to remove index.php from URL. By default Codelginter Path will appear like this "http://www.abc.com/index.php/users/userinfo", if you want to change this with "http://www.abc.com/users/userinfo"
//Replace your .hta
If you want to getting current time instant from a seconds since the epoch floating-point value into a time-tuple, pass the floating-point value to a function .For example you can see below code.
#!/siva/bin/python
import time;
localtime =
Hello Reader's you want to generate the 8 digit password with random characters (lower case, upper case and number), Then this function will work for you.
Lets see how genrate the password :-
$ASCIRangeFrom = 48;
$ASCITo = 122;
$MakeRandomInText
