if you want to replace inline style with preg replace use this code: –
Discy Latest Questions
if you want to install mongodb in your ubuntu. you can use below command in your terminal.
There are two method for save image from url If you have allow_url_fopen set to true: $url = 'http://example.com/image.php'; $img = '/my/folder/flower.gif'; file_put_contents($img, file_get_contents($url)); Else use cURL: $ch = curl_init('http://example.com/image.php'); $fp = fopen('/my/folder/flower.gif', 'wb'); curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); fclose($fp);
Day of the week to day number (Monday = 1, Tuesday = 2)
php is a server side language. if you want to create a qr code in then use below code. in this you can create qr code or make qr code image. if you want to use qr code then click ...
Cookie: A Cookie is a small file sent by the server to preserve state full information for a user. It is stored on the user’s computer and sent to the server every time the user makes a request for the ...
Hello Guys We are here to explain detect device detail
if you want a create a zip of files or images or anything else you can use below code For Codeignator use belowe code :
Use code: Generate random 5 char string in php
in php if you want to detect your browser name thne you can use below code. A browser is a application where we can open our web page. For More Info you can CLICK HERE
PHP returns an appropriate error code along with the file array. The error code can be found in the error segment of the file array that is created during the file upload by PHP. In other words, the error might ...
In php if you want to translate a text from one language to other language then you can use below code. you have to create a google api key for translate word.In this we should pass a source language code ...
When you make commits on your local system. The commit data determines which account name.If you want to change your username and password then you can use below code. Use Below Code :
if you want to give permisison of a folder by using cmd then use below code :