questions/web-development/php/page/15
Hello @kartik, Use the php_sapi_name() function. if (php_sapi_name() == "cli") { ...READ MORE
Hello @kartik, Go to Tools->Plugins. In the Settings tab ensure that the ...READ MORE
Hello @kartik, Use a JOIN in the DELETE statement. DELETE p, pa ...READ MORE
Hello @kartik, It works both ways - you ...READ MORE
Hello @kartik, If you put an Iframe in ...READ MORE
Hello @kartik, Use this code: function post_without_wait($url, $params) { ...READ MORE
Hello @kartik, php_value upload_max_filesize 30M is correct. You will have ...READ MORE
Hello @kartik, You can write following codes to ...READ MORE
Hello @kartik, __CLASS__ always returns the name of the ...READ MORE
Hello @kartik, You cannot check it from the ...READ MORE
Hello @kartik, There's a lot of ways. The ...READ MORE
Hello @kartik, Try the below steps: edit app/config/config.yml then go to assetic: under ...READ MORE
Hello @kartik, Replace < with < and& ...READ MORE
The PHP and the HTML should each ...READ MORE
Hello, you can register the following code at Application ...READ MORE
Hello @kartik, Here is a sample code: <?php $sql="select ...READ MORE
Use procmail if it is installed on ...READ MORE
Hello @kartik, Here is a version in a functional ...READ MORE
Hello @saima , Before you extract values from $_POST ,$_SESSION, ...READ MORE
Hello @kartik, Simply try this: $first = $second = ...READ MORE
Hello @kartik, Try this php code. <?PHP function getUserIP() { ...READ MORE
Hello @kartik, Another option is to explicitly mark ...READ MORE
Hello @kartik, Use array_unique(): Example: $array = array(1, 2, 2, 3); $array ...READ MORE
Hello, Try: $result = curl_exec($cURL); $result = json_decode($result,true); Now you can ...READ MORE
Hello, You are looking for the extends keyword: Interface IFoo extends ...READ MORE
Simply, $source = 'Source_file_location' ...READ MORE
Hello @kartik, You can use basename() and $_SERVER['PHP_SELF'] to get current page ...READ MORE
Hello @kartik, the php command offers two switches to ...READ MORE
Hello @kartik, You need to use the -p flag to ...READ MORE
Hello @viven , This should be a simple fix ...READ MORE
Hello @kartik, Use an equals (=) sign in ...READ MORE
Hello @kartik, You could download a free GeoIP ...READ MORE
Hello @kartik, This is not a catchable fatal ...READ MORE
Hello @kartik, Try this: {% if var == constant('Namespace\\Entity::TYPE_PERSON') ...READ MORE
Hello @kartik, You can't run PHP in .html ...READ MORE
instead of: return traitcalc($v); use this: ...READ MORE
Hello @kartik, Here's a full example of what ...READ MORE
Hello @kartik, Use PHP's date() function. Example: echo date('m/d/Y', 1299446702); Hope it helps!! Thank ...READ MORE
Hello @kartik, Using array_search() and unset, try the following: if (($key = ...READ MORE
Hello @kartik, For 'long-lived connection' , you can ...READ MORE
Hello @kartik, Using password_hash is the recommended way to store ...READ MORE
Hello @kartik, Open command prompt in the root ...READ MORE
Hello @kartik, This is possible in HTML5. Example (PHP ...READ MORE
Hello @kartik, Try this: SELECT * INTO OUTFILE "c:/mydata.csv" FIELDS ...READ MORE
Hello @kartik, In SQL Server you can insert ...READ MORE
Hello @kartik, There is now a php artisan view:clear command ...READ MORE
Hello @kartik, Try this code below: <?php if (has_post_thumbnail( $post->ID ...READ MORE
Hello @kartik, If empName is a VARCHAR(50) column: ALTER ...READ MORE
Hello @kartik, The naming is not all that ...READ MORE
Hello @kartik, You can pass INI settings with ...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.