questions/web-development/php
Hello @kartik, I have a codeigniter version for ...READ MORE
Hello @kartik, Works with both POST and GET ...READ MORE
Hello @kartik, Here is a version in a functional ...READ MORE
Hello @kartik, You can't run PHP in .html ...READ MORE
Hello @kartik, This can be nearly done by setting a ...READ MORE
Hello, Something like: SELECT id, email, IF(active = 1, ...READ MORE
Hello, You need to set the error mode ...READ MORE
Hello @kartik, it seems that your JSON is ...READ MORE
Hello @kartik, You can change Apaches httpd.conf by ...READ MORE
Hello @kartik, Go to the phpMyAdmin Home page ...READ MORE
Hello @kartik, Another option is to explicitly mark ...READ MORE
Hello @kartik, This is not possible in PHP. All ...READ MORE
Hello @kartik, PHP mail function can send email ...READ MORE
Hello @kartik, Change $data[$parts[0]] = $parts[1]; to if ( ! isset($parts[1])) ...READ MORE
Hello @kartik, This worked for me: $cmd = "ping ...READ MORE
Since Composer works with the current working ...READ MORE
Hello @kartik, You cannot check it from the ...READ MORE
Hello @kartik, You access the property in the ...READ MORE
Hello @kartik, Use this: curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'PATCH'); should do it. Hope ...READ MORE
Hello @kartik, Use this: echo '<pre>'; var_dump($_SESSION); echo '</pre>'; Or you can ...READ MORE
Hello @kartik, Use the below piece of code ...READ MORE
Hello @kartik, For the URI query use urlencode/urldecode; for ...READ MORE
Hello @kartik, Provided that your server is receiving ...READ MORE
Hello @kartik, Here's a full example of what ...READ MORE
Hello @kartik, Add this to the page that ...READ MORE
Hello @kartik, To evaporate the warning, you can ...READ MORE
Hello @kartik, addslashes() isn't fully adequate, but PHP's mssql ...READ MORE
Hello @kartik, If your PHP server allows url ...READ MORE
Hello @kartik, Using password_hash is the recommended way to store ...READ MORE
Hello @kartik, Instead of using HTML comments (which have ...READ MORE
Hello @kartik, In Laravel 4 & 5 (up ...READ MORE
Hello @kartik, If you put an Iframe in ...READ MORE
Hello @kartik, This should work fine $arr = array( ...READ MORE
Hello @kartik, Try this php code. <?PHP function getUserIP() { ...READ MORE
For (PHP 4 >= 4.0.3, PHP 5, ...READ MORE
Hello @kartik, Since you're using XAMPP, uncomment the ...READ MORE
Simply, $source = 'Source_file_location' ...READ MORE
Hello @kartik, Using property_exists( mixed $class , string $property ...READ MORE
Hello @kartik, the php command offers two switches to ...READ MORE
Hello @kartik, There is now a php artisan view:clear command ...READ MORE
Hello @kartik, Go to the file to include ...READ MORE
Hello @kartik, The $GLOBALS array can be used instead: $GLOBALS['a'] = ...READ MORE
Hello @kartik, You can do the following using array_map: $new_arr ...READ MORE
Hello, if you are going to store the ...READ MORE
I'm having sql query as $login = mysql_real_escape_string(GetFromPost('login')); $password ...READ MORE
Hello @kartik, The following should help realpath — Returns canonicalized ...READ MORE
Hello @kartik, You can use the URL facade ...READ MORE
Hello @kartik, Use an equals (=) sign in ...READ MORE
Hello @kartik, $_GET is not a function or language ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.