questions/web-development/php
Hello kartik, Use session_id(), it returns an empty string ...READ MORE
Hello, The fastest and easiest way to skip ...READ MORE
Hello @kartik, In Ubuntu for install imap use sudo ...READ MORE
Hello @kartik, We setup wildcard DNS like they ...READ MORE
Hello @kartik, You just need to enable this ...READ MORE
Hello @kartik, This error message gets triggered when anything is ...READ MORE
Hello @kartik, This grants root access with the ...READ MORE
Hello @kartik, it seems that your JSON is ...READ MORE
Hello, Try to display the website first on ...READ MORE
Hello @kartik, I use Privoxy and cURL to scrape Tor ...READ MORE
I am trying to install xampp. But ...READ MORE
Hello @kartik, Change your syntax because it was invalid. Updated syntax: $purchaseOrder = ...READ MORE
Hello @kartik, Each YouTube video has four generated ...READ MORE
Hello @kartik, max_allowed_packet is set in mysql config, not ...READ MORE
Hello, Prior to PHP 7 type hinting can only be ...READ MORE
Hello @kartik, This is not possible in PHP. All ...READ MORE
Hii, You can look at phpinfo() or check ...READ MORE
Hello @kartik, addslashes() isn't fully adequate, but PHP's mssql ...READ MORE
Hello @kartik, You need to capture the stderr too. Redirecting stderr to stdout should do ...READ MORE
Hello @kartik, To evaporate the warning, you can ...READ MORE
I am using json_encode($data) on an array ...READ MORE
Hello @kartik, This is what I'm doing now: protected ...READ MORE
Hello @kartik, Use this: ALTER TABLE `votes` ADD UNIQUE ...READ MORE
I am not able to access: localhost/phpmyadmin/ ...READ MORE
Hello @kartik, Try this: class MySimpleXMLElement extends SimpleXMLElement{ ...READ MORE
Hello @kartik, file_put_contents() does not create the directory structure. ...READ MORE
Hello @kartik, If you only have 2 keys ...READ MORE
Hello @kartik, Since you're using XAMPP, uncomment the ...READ MORE
I have to get the selected value ...READ MORE
Hello @kartik, You need ImageMagick and GhostScript <?php $im = new imagick('file.pdf[0]'); $im->setImageFormat('jpg'); header('Content-Type: image/jpeg'); echo ...READ MORE
Hello @kartik, Try: if (isset($_POST['remove'])) { ...READ MORE
Hello, use this code echo '<script language="javascript">'; echo 'alert("message successfully ...READ MORE
Hello, You can use TestCase instead PHPUnit_Framework_TestCase // use the following namespace use ...READ MORE
I have a new webpage but the ...READ MORE
Hello @kartik, Instead of using HTML comments (which have ...READ MORE
Depending on the responsibilities that have been ...READ MORE
When I tried to enter it returns ...READ MORE
Hii, You can pass an associative array to http_build_query() and ...READ MORE
Hello, Try mysql_fetch_object(). It returns an object, not an ...READ MORE
Hello @kartik, To get only the name of ...READ MORE
I want to send emails in Gmail ...READ MORE
Hello @kartik, Try the following script to see ...READ MORE
Hello, Try this code: function rrmdir($dir) { if (is_dir($dir)) { ...READ MORE
Hello @kartik, Find your php.ini and look for XDebug. Set xdebug ...READ MORE
Hello @kartik, You can fetch the value of ...READ MORE
Hello @kartik, The warnings about foregoing enclosures are ...READ MORE
Hello @kartik, Open command prompt in the root ...READ MORE
Hello @kartik, Put $_SESSION['login_time'] = time(); into the previous authentication ...READ MORE
Hello @kartik, The permissions for the storage and vendor folders should stay ...READ MORE
Hii, Just unset the node: $str = <<<STR <a> ...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.