questions/web-development/php
Hello @kartik, You could have a single key ...READ MORE
Hello @kartik, Use: $url = preg_replace("(^https?://)", "", $url ); This ...READ MORE
Hello @kartik, Your server most like does not ...READ MORE
Try this: $files = array_values(array_filter(scandir($path), function($file) use ($path) ...READ MORE
Hello @kartik, You need to capture the stderr too. Redirecting stderr to stdout should do ...READ MORE
Hii, Use: $session_id = Session::getId(); or $session_id = ses ...READ MORE
Hello @kartik, It's trying to run it as ...READ MORE
Hello @kartik, You don't appear to have write ...READ MORE
Hello @kartik, Here's how you properly fetch the ...READ MORE
Hello @kartik, Try this: class MySimpleXMLElement extends SimpleXMLElement{ ...READ MORE
Hello @kartik, Try this: $session = Mage::getSingleton("core/session", array("name"=>"frontend")); // ...READ MORE
Hello @kartik, Replace TYPE=MyISAM with ENGINE=MyISAM The problem was "TYPE=MyISAM" which should ...READ MORE
Hello @kartik, Try this: str_replace('"', "", $string); str_replace("'", "", $string); Otherwise, ...READ MORE
Hello @kartik, You just need to enable this ...READ MORE
Hello @kartik, If your whole JavaScript code gets ...READ MORE
Hello @kartik, Try this: div.image { width:100px; ...READ MORE
Hello @kartik, Use spl_object_hash() for that. It returns an unique identifier ...READ MORE
Hello @kartik, If you are using windows based ...READ MORE
Hello @kartik, mime_content_type() is deprecated, so you won't ...READ MORE
Hello @kartik, Let's say you want to save ...READ MORE
Hello @kartik, This is how you do it: set_error_handler(function($errorType){ ...READ MORE
Hello @kartik, Use JSON to transfer data types (arrays and ...READ MORE
Hello @kartik, try this: function grab_image($url,$saveto){ ...READ MORE
dsihhidsvhhdi READ MORE
Hello @kartik, I don't think you can - ...READ MORE
Hello @kartik< Try this settings on my apache.conf: <VirtualHost ...READ MORE
Hello, set_time_limit() works in CLI scripts. <?php set_time_limit(1); //in ...READ MORE
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
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.