questions/web-development/php
Hello @kartik, You can create a new group ...READ MORE
Hello @kartik, Go to Tools->Plugins. In the Settings tab ensure that the ...READ MORE
Hello, Try this: if (isset($_POST['remove'])) { ...READ MORE
Hii, Use the --no-scripts flag to prevent artisan from executing ...READ MORE
Hello @kartik, MySQL is most likely in STRICT ...READ MORE
Hello, PHPMailer uses Exceptions. Try the following code: require_once '../class.phpmailer.php'; $mail = new ...READ MORE
Hii, Try this: require_once("./pdf/dompdf_config.inc.php"); $files = glob("./pdf/include/*.php"); foreach($files as $file) include_once($file); $html ...READ MORE
Hello @kartik, Store the ip as a INT(11) UNSIGNED, ...READ MORE
Hello @kartik, It is not working because you have to ...READ MORE
Hello @kartik, It seems that you need scandir instead of ...READ MORE
Hello @kartik, If this is just for debugging ...READ MORE
Hello @kartik, Try the below steps: edit app/config/config.yml then go to assetic: under ...READ MORE
Hii @kartik, Try to implement this: @if (env('APP_ENV')!='Production') Enviroment Test @endif Hope ...READ MORE
Hello @kartik, Use the strpos function: $haystack = "foo bar baz"; $needle ...READ MORE
Hello @kartik, You can instruct curl to use ...READ MORE
Hello, You could do something like this to ...READ MORE
Hello @kartik, Since PHP 5.4 it's possible to ...READ MORE
Hii @kartik, When an included file returns something, ...READ MORE
Hello, The fastest and easiest way to skip ...READ MORE
Hii, Use mysqli_error() As in: $sql = "Your SQL statement ...READ MORE
Hello @kartik, go to this address : /app/Providers/AppServiceProvider.php and append ...READ MORE
Hello, If your whole JavaScript code gets processed ...READ MORE
Hello @kartik, The warnings about foregoing enclosures are ...READ MORE
Hello @kartik, There's a lot of ways. The ...READ MORE
Hello @Hitesh, Yes, you can create a database using ...READ MORE
Hii, I would use isset and empty: session_start(); if(isset($_SESSION['blah']) && !empty($_SESSION['blah'])) { ...READ MORE
Hii, Use cURL. This function is an alternative to file_get_contents. function ...READ MORE
Hello, The ./configure command is part of the compilation process ...READ MORE
Hello @kartik, This is what I'm doing now: protected ...READ MORE
Hello, Php has a function for this, just ...READ MORE
Hello @kartik, Try: if (isset($_POST['remove'])) { ...READ MORE
Hello @kartik, You need simple line of code: $input ...READ MORE
If you are saying Basic authentication, then ...READ MORE
Hello @kartik, Using if( $ext !== 'gif') might not ...READ MORE
Hello @kartik, This is because a static variable ...READ MORE
Hello @kartik, edit these two lines in /etc/php.ini (or wherever ...READ MORE
Hello @kartik, The proper way would be to ...READ MORE
Hii, You can look at phpinfo() or check ...READ MORE
Hello, This single line would do that: $array = ...READ MORE
Hello @kartik, You'll be wanting to use glob() Example: $files = ...READ MORE
Hello, you can register the following code at Application ...READ MORE
Hii, Add this line inside the main index.php of codeigniter ...READ MORE
Hello @kartik, This code does the trick // Name ...READ MORE
Hello @kartik, using hidden array in model is good, but ...READ MORE
Hello @kartik, If only using IPv4: use ip2long() to convert the ...READ MORE
Hello @kartik, My script for installing an error ...READ MORE
Hello, You are looking for the extends keyword: Interface IFoo extends ...READ MORE
Hello @kartik, You are looking for the extends keyword: Interface IFoo ...READ MORE
Hello @kartik, Send the following headers before outputting ...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.