questions/web-development/php
Hello @kartik, If only using IPv4: use ip2long() to convert the ...READ MORE
Hello kartik, Actually there are many functions that ...READ MORE
Hello @kartik, Add this to the page that ...READ MORE
Hello @kartik, For 'long-lived connection' , you can ...READ MORE
I solved an issue with Apache and ...READ MORE
Hello @kartik, Try this: {% if var == constant('Namespace\\Entity::TYPE_PERSON') ...READ MORE
Hello @kartik, You can fetch the value of ...READ MORE
Hello @kartik, I don't think you can - ...READ MORE
Hello @kartik, Test different ports: $wait = 1; // ...READ MORE
Hello @kartik, Use array_unique(): Example: $array = array(1, 2, 2, 3); $array ...READ MORE
Hello @kartik, The proper way would be to ...READ MORE
Hello @kartik, Here is a sample code: <?php $sql="select ...READ MORE
Hello, Try this: if ($thing->trashed()) { ... } READ MORE
Hii @kartik, When an included file returns something, ...READ MORE
Hello @kartik, Replace < with < and& ...READ MORE
Hello, Considering that you have $replaced = array('1' => ...READ MORE
Hello @kartik, If this is just for debugging ...READ MORE
I am having trouble sending mail through ...READ MORE
I'm working on a PHP application that ...READ MORE
Hello @kartik, If you are using windows based ...READ MORE
Hii, The $_SERVER["PHP_SELF"] variable can be used by ...READ MORE
Hello @kartik, CURL-less method with PHP5: $url = 'http://server.com/path'; $data ...READ MORE
Hello @kartik, mime_content_type() is deprecated, so you won't ...READ MORE
Hello @kartik, Try this: SELECT * INTO OUTFILE "c:/mydata.csv" FIELDS ...READ MORE
Hello, Either decode them using html_entity_decode or remove them using preg_replace: $Content ...READ MORE
Hii @kartik, If you want to know php ...READ MORE
Hello @kartik, You can relocate it by editing ...READ MORE
Hello @kartik, you can do SELECT STR_TO_DATE(yourdatefield, '%m/%d/%Y') FROM ...READ MORE
I am working on functionality that removes the ...READ MORE
Hello @kartik, You could try the following: Route::controller('login','AuthController'); Then in ...READ MORE
Hello, To convert a date retrieved from MySQL ...READ MORE
Hii, Use the --no-scripts flag to prevent artisan from executing ...READ MORE
Hello @kartik, I have a codeigniter version for ...READ MORE
Use phpseclib, a pure PHP, SSH implementation. An example: <?php include('Net/SSH2.php'); $ssh ...READ MORE
Hello @kartik, The naming is not all that ...READ MORE
Hello @kartik, Try this query: mysql_query(" SELECT * FROM `table` WHERE `column` ...READ MORE
When I type localhost in my browser ...READ MORE
I am using an email I created ...READ MORE
Hello, The ./configure command is part of the compilation process ...READ MORE
Hii, Use mysqli_error() As in: $sql = "Your SQL statement ...READ MORE
Installing Image Magic in Windows 7: instructions ...READ MORE
Hello @kartik, You could download a free GeoIP ...READ MORE
I want to get data from the ...READ MORE
Hello @kartik, Try using batch file Open notepad type php -S ...READ MORE
Hello, Try this code: if (!function_exists('getallheaders')) { ...READ MORE
I have developed a drop-down login panel using ...READ MORE
Hello @kartik, If you're using PDO, use PDO::lastInsertId. If you're ...READ MORE
Hello @kartik, Use this code: function post_without_wait($url, $params) { ...READ MORE
Hii @kartik, The $_REQUEST variable is used to read the ...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.