questions/web-development/php/page/13
Hello, You have to use CURL function does_url_exists($url) { ...READ MORE
Hello, Try this without regular expressions: <?php ...READ MORE
Hii, Use mysqli_error() As in: $sql = "Your SQL statement ...READ MORE
Hello @kartik, You could try the following: Route::controller('login','AuthController'); Then in ...READ MORE
Hello @kartik, addslashes() isn't fully adequate, but PHP's mssql ...READ MORE
Hello @kartik, I don't think you can - ...READ MORE
Hello @kartik, The proper way would be to ...READ MORE
Hello @kartik, To evaporate the warning, you can ...READ MORE
Hello @kartik, Go to Tools->Plugins. In the Settings tab ensure that the ...READ MORE
Hii @kartik, Try to implement this: @if (env('APP_ENV')!='Production') Enviroment Test @endif Hope ...READ MORE
Hello, Try this: if ($thing->trashed()) { ... } READ MORE
Hello @kartik, If this is just for debugging ...READ MORE
You can use isset function: if(isset($_GET['id'])) { ...READ MORE
Hii, Add this line inside the main index.php of codeigniter ...READ MORE
Hello @kartik, The problem is that the package ...READ MORE
Hello, Try this code: if (!function_exists('getallheaders')) { ...READ MORE
Hello @kartik, With ip2long() it's easy to convert your addresses ...READ MORE
Hello @kartik, It should be $_COOKIE['name'], not $_COOKIE('name') $_COOKIE is an array, ...READ MORE
Hello @kartik, This error message gets triggered when anything is ...READ MORE
Hello @kartik, This worked for me: $cmd = "ping ...READ MORE
Hello @kartik, Instead of using HTML comments (which have ...READ MORE
Hello @kartik, You just have to include the safestring.class.php before ...READ MORE
Hello, Submitting multi-value form fields, i.e. submitting arrays ...READ MORE
Hii @kartik, When an included file returns something, ...READ MORE
Hello @kartik, Since you're using XAMPP, uncomment the ...READ MORE
Hello @kartik, go to this address : /app/Providers/AppServiceProvider.php and append ...READ MORE
Hello @kartik, Provided that your server is receiving ...READ MORE
Hello @kartik, If you're already logged into the ...READ MORE
Hello @kartik, mime_content_type() is deprecated, so you won't ...READ MORE
Hello @kartik, Use: $url = preg_replace("(^https?://)", "", $url ); This ...READ MORE
Hello @kartik, If you are using windows based ...READ MORE
Hello @kartik, Suppose, item_id is an integer identity column in items table ...READ MORE
Hello, Php has a function for this, just ...READ MORE
Hello @kartik, you need to set the blending ...READ MORE
Hello @kartik, If only using IPv4: use ip2long() to convert the ...READ MORE
Hello @kartik, The @ symbol is the error control operator ("silence" or "shut-up" ...READ MORE
Hii, Use the --no-scripts flag to prevent artisan from executing ...READ MORE
Hello, Try this code: preg_match('/[a-zA-Z]+<\/a>.$/', $lastgame, $match); print_r($match); Using / as a delimiter ...READ MORE
Hello, The ./configure command is part of the compilation process ...READ MORE
Hello, Either decode them using html_entity_decode or remove them using preg_replace: $Content ...READ MORE
Hello @kartik, You have to use br when ...READ MORE
Hello, Something like: SELECT id, email, IF(active = 1, ...READ MORE
Use phpseclib, a pure PHP, SSH implementation. An example: <?php include('Net/SSH2.php'); $ssh ...READ MORE
Hello @kartik, Use the reference operator to get ...READ MORE
Hello, To switch to PHP 4.4: AddHandler application/x-httpd-php4 .php To ...READ MORE
Hello @kartik, This code does the trick // Name ...READ MORE
Hello @kartik, Try using batch file Open notepad type php -S ...READ MORE
Hello @kartik, You have to modify the php.ini ...READ MORE
Hello @kartik, Store the ip as a INT(11) UNSIGNED, ...READ MORE
Hello @kartik, Try this: div.image { width:100px; ...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.