×
Past year
  • Any time
  • Past hour
  • Past 24 hours
  • Past week
  • Past month
  • Past year
All results
Feb 8, 2024 · Simple way to tokenize search parameters, including double or single quoted keys. If only one quote is found, the rest of the string is assumed to be part of ...
Jun 22, 2023 · Unlike strpos(), strrpos() function helps us to find the position of the last occurrence of a string in another string. This function returns an integer value ...
Feb 9, 2024 · This function is identical to calling fopen(), fwrite() and fclose() successively to write data to a file. If filename does not exist, the file is created.
Feb 10, 2024 · The best solution would be to create a function that generates absolute URLs ... // Is the user using HTTPS? $url = (isset($_SERVER['HTTPS ... My PHP.net · Contact ...
Jun 22, 2023 · The strstr() function is a built-in function in PHP. It searches for the first occurrence of a string inside another string and displays the portion of the ...
Missing: url | Show results with:url
Feb 8, 2024 · The problem with this is that there is no "magic" way to find $i-th character inside UTF-8 string, other than reading it byte by byte from the begining. Thus a ...
Missing: url | Show results with:url
Feb 8, 2024 · The following function decodes named and numeric HTML entities and works on UTF-8. Requires iconv. function decodeHtmlEnt($str) { $ret = html_entity_decode($str ...
Missing: url | Show results with:url
Dec 15, 2023 · php file, we have been able to include all the php files in the Model directory by using the spl_autoload_register() function. So, let's look at how we can ...
Feb 7, 2024 · ip2long. (PHP 4, PHP 5, PHP 7, PHP 8). ip2long — Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address.
May 12, 2024 · RCE via usort(). This function is used to sort an array of items using an specific function. To abuse this function:.