Multiple file upload in php
Sometimes we need to allow our users to upload multiple file upload. Today I am going to show you how to allow users to upload multiple files. It is almost similar like simple file upload but we need to do…
Sometimes we need to allow our users to upload multiple file upload. Today I am going to show you how to allow users to upload multiple files. It is almost similar like simple file upload but we need to do…
Generally, character encoding is done in various ways in PHP which provides many functions to perform these conversions, onto a given input string, from one form to another. You may also like PHP htmlspecialchars_decode() Function. Example <?php $str = ‘<a…
The html_entity_decode() function is used to convert all HTML entities to their applicable characters. The html_entity_decode() function is the opposite of htmlentities(). You may also like PHP htmlspecialchars_decode() Function. Example <?php $str = ‘<a href="https://scriptsgurus.com">scriptsgurus.com</a>’; echo html_entity_decode($str); ?> Output <a…
The PHP hex2bin() function is used to decode a hexadecimally encoded binary string. In other words, you can use this function to convert a string of hexadecimal values to ASCII characters. You may also like PHP convert_uuencode() Function and How…
First create an array with some numeric value. Now create a temporary variable $temp in which stored array’s first index’s value i.e 100 and follow below example. You may also like How to find minimum value in array using JavaScript.…
The hebrevc() function converts Hebrew text from a right-to-left flow to a left-to-right flow. It also converts new lines (\n) into. Tip: hebrevc() and hebrev() can convert Hebrew logical text (the Windows encoding) to Hebrew visual text. Hebrew visual requires…
The hebrev() function converts Hebrew text from a right-to-left flow to a left-to-right flow. Tip: hebrev() and hebrevc() can convert Hebrew logical text (the Windows encoding) to Hebrew visual text. Hebrew visual requires no special right-to-left character support to be…
The get_html_translation_table() function returns the translation table used by the htmlentities() and htmlspecialchars() functions. Tip: Some characters can be encoded several ways. The get_html_translation_table() function returns the most common encoding. You may also like How to Dynamic PHP and html…
The fprintf() function writes a formatted string to a specified stream resource. Returns a formatted string formatting, using the inputs to dynamically input their values into the formatted string using a preset set of rules, specified below. You may also…
The echo() function outputs one or more strings. Note: The echo() function is not actually a function, so you are not required to use parentheses with it. However, if you want to pass more than one parameter to echo(), using…