questions/web-development/php
If you are saying Basic authentication, then ...READ MORE
For (PHP 4 >= 4.0.3, PHP 5, ...READ MORE
Simply, $source = 'Source_file_location' ...READ MORE
Hello @kartik, Use this code: function post_without_wait($url, $params) { ...READ MORE
Yes good i like it so nice ...READ MORE
Hello, The "sql server error 40" is appears mostly ...READ MORE
instead of: return traitcalc($v); use this: ...READ MORE
Hello, niroj. Here is my idea session_start(); $_SESSION['USERNAME'] ...READ MORE
HI.. SQL is Structured Query Language, which is ...READ MORE
I want to study ReactJS; is there ...READ MORE
If I have understood your question right, ...READ MORE
You don't have to do this, since ...READ MORE
Start with simply typecasting the line:- $array = ...READ MORE
To solve your doubt, use the following ...READ MORE
Hi, @Dann, If you are using some variable ...READ MORE
You can try this one: error_reporting(E_ALL); ini_set('display_err ...READ MORE
Hello @kartik, you need to set the blending ...READ MORE
Hello @kartik, You just have to include the safestring.class.php before ...READ MORE
Hello @kartik, PHPMailer has the ability to automatically ...READ MORE
Hello @kartik, You upgraded to PHP 7, and ...READ MORE
Hello @kartik, Use the ampersand & to glue variables together: $url ...READ MORE
Hello, Try this code: if (!function_exists('getallheaders')) { ...READ MORE
Hello, Try this: if ($thing->trashed()) { ... } READ MORE
Hello, On your migration class: public function down() { ...READ MORE
Hello, Try this code: preg_match('/[a-zA-Z]+<\/a>.$/', $lastgame, $match); print_r($match); Using / as a delimiter ...READ MORE
Hello @kartik, Use the reference operator to get ...READ MORE
Hello, Use $_SESSION directly to set variables. Like this: $_SESSION['name'] = 'stack'; Instead ...READ MORE
Hii, You can pass an associative array to http_build_query() and ...READ MORE
Hello, Try this : echo exec('ping -n 1 -w ...READ MORE
Hello @kartik, Create a new file in your ...READ MORE
Hello @kartik, You could try the following: Route::controller('login','AuthController'); Then in ...READ MORE
Hello @kartik, You can do it with {{ form_widget(formView._token) ...READ MORE
Hello @kartik, Include has the scope of the ...READ MORE
Hello, Use PHP's $_POST or $_GET superglobals to retrieve the value of ...READ MORE
Hello, A simple example capturing anything starting with http:// and https:// could ...READ MORE
Hello, If A is a class, you can access it ...READ MORE
Hello, This error is often seen when the default_socket_timeout value ...READ MORE
Hello @kartik, You need to place the \n in double ...READ MORE
Hello, Try mysql_fetch_object(). It returns an object, not an ...READ MORE
Hello @kartik, Test different ports: $wait = 1; // ...READ MORE
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
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.