questions/web-development/php/page/14
Hello @kartik, You can create a new group ...READ MORE
Hello @kartik, Use spl_object_hash() for that. It returns an unique identifier ...READ MORE
Hello @kartik, This grants root access with the ...READ MORE
Hello @kartik, max_allowed_packet is set in mysql config, not ...READ MORE
Hello @kartik, For the URI query use urlencode/urldecode; for ...READ MORE
Hello @kartik, You'll be wanting to use glob() Example: $files = ...READ MORE
Hello @kartik, PHPMailer has the ability to automatically ...READ MORE
Hello, On your migration class: public function down() { ...READ MORE
Hello @ Regina, First checks whether a variable is ...READ MORE
Hello @kartik, Put $_SESSION['login_time'] = time(); into the previous authentication ...READ MORE
Hello @kartik, This is fairly simple: if (!$data = ...READ MORE
Hello @kartik, In your home folder /Users/David for exmaple, you ...READ MORE
Hello, Try the following code : $username='ABC'; $password='XYZ'; $URL='<URL>'; $ch = curl_init(); curl_setopt($ch, ...READ MORE
Hello @kartik, Add this to the page that ...READ MORE
Hello @kartik, I have a codeigniter version for ...READ MORE
Hello @kartik, Create a new file in your ...READ MORE
Hello @kartik, You are looking for the extends keyword: Interface IFoo ...READ MORE
Hii @kartik, Try out this code $ens = $em->getRepository('AcmeBinBundle:Marks') ...READ MORE
I need to connect to some PostgreSQL ...READ MORE
Hello @kartik, Error occurred here was due to ...READ MORE
Hello @kartik, MySQL is most likely in STRICT ...READ MORE
Hello @kartik, Try this: preg_replace('/\\?.*/', '', $str) Hope ...READ MORE
Hello @kartik, You can do it with {{ form_widget(formView._token) ...READ MORE
You can try this one: error_reporting(E_ALL); ini_set('display_err ...READ MORE
Hello @kartik, Try the following script to see ...READ MORE
Hello @kartik, $_GET is not a function or language ...READ MORE
Hello @kartik, Replace TYPE=MyISAM with ENGINE=MyISAM The problem was "TYPE=MyISAM" which should ...READ MORE
Hello @kartik, Here is a sample: <?php // Snippet from ...READ MORE
Hello @kartik, If you're using PDO, use PDO::lastInsertId. If you're ...READ MORE
Hello @kartik, Single quotes are escaped by doubling ...READ MORE
Hello @kartik, To get only the name of ...READ MORE
Hello @kartik, The PHP and the HTML should ...READ MORE
Hello @kartik, You can use instanceof: if ($pdo instanceof PDO) ...READ MORE
Hello @kartik, Use this: ALTER TABLE `votes` ADD UNIQUE ...READ MORE
Hello @kartik, Try this: $session = Mage::getSingleton("core/session", array("name"=>"frontend")); // ...READ MORE
Hello, Use $_SESSION directly to set variables. Like this: $_SESSION['name'] = 'stack'; Instead ...READ MORE
Hello @kartik, Find your php.ini and look for XDebug. Set xdebug ...READ MORE
Hello, set_time_limit() works in CLI scripts. <?php set_time_limit(1); //in ...READ MORE
Hello @kartik, You can instruct curl to use ...READ MORE
Hello @kartik, using hidden array in model is good, but ...READ MORE
Hello @kartik, Here's how you properly fetch the ...READ MORE
Hello @kartik, Use this: $sth = mysqli_query($conn, "SELECT ..."); $rows ...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, Set the name in the form ...READ MORE
Hello @kartik, Use $_SERVER['REQUEST_URI']. The URI which was given in ...READ MORE
Hello @kartik, You access the property in the ...READ MORE
Hello @kartik, Works with both POST and GET ...READ MORE
Hello @kartik, Have a look at $_SERVER['REQUEST_URI'], i.e. $actual_link = ...READ MORE
Hello @kartik< Try this settings on my apache.conf: <VirtualHost ...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.