questions/web-development/php/page/13
Hello @kartik, With ip2long() it's easy to convert your addresses ...READ MORE
Hello @kartik, You can use $_SERVER['REQUEST_URI'] to get requested path. ...READ MORE
Hello @kartik, This error message gets triggered when anything is ...READ MORE
Hello @kartik, This worked for me: $cmd = "ping ...READ MORE
Hii @kartik, When an included file returns something, ...READ MORE
Hello @kartik, You just have to include the safestring.class.php before ...READ MORE
Hello @kartik, go to this address : /app/Providers/AppServiceProvider.php and append ...READ MORE
Hello @kartik, mime_content_type() is deprecated, so you won't ...READ MORE
Hello, Submitting multi-value form fields, i.e. submitting arrays ...READ MORE
Hello @kartik, If you are using windows based ...READ MORE
Hello @kartik, Provided that your server is receiving ...READ MORE
Hello @kartik, you need to set the blending ...READ MORE
Hello @kartik, Use: $url = preg_replace("(^https?://)", "", $url ); This ...READ MORE
Hello, Php has a function for this, just ...READ MORE
Hello @kartik, Since you're using XAMPP, uncomment the ...READ MORE
Hello @kartik, Instead of using HTML comments (which have ...READ MORE
Hello @kartik, If only using IPv4: use ip2long() to convert the ...READ MORE
Hello @kartik, Suppose, item_id is an integer identity column in items table ...READ MORE
Hello @kartik, If you're already logged into the ...READ MORE
Hello, Try this code: preg_match('/[a-zA-Z]+<\/a>.$/', $lastgame, $match); print_r($match); Using / as a delimiter ...READ MORE
Hii, Use the --no-scripts flag to prevent artisan from executing ...READ MORE
Hello @kartik, The @ symbol is the error control operator ("silence" or "shut-up" ...READ MORE
Hello, Either decode them using html_entity_decode or remove them using preg_replace: $Content ...READ MORE
Hello, The ./configure command is part of the compilation process ...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, 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, This code does the trick // Name ...READ MORE
Hello @kartik, You have to use br when ...READ MORE
Hello @kartik, Try using batch file Open notepad type php -S ...READ MORE
Hello @kartik, Try this: div.image { width:100px; ...READ MORE
Hello @kartik, Store the ip as a INT(11) UNSIGNED, ...READ MORE
Hello @kartik, You have to modify the php.ini ...READ MORE
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, max_allowed_packet is set in mysql config, not ...READ MORE
Hello @kartik, For the URI query use urlencode/urldecode; for ...READ MORE
Hello, On your migration class: public function down() { ...READ MORE
Hello @kartik, PHPMailer has the ability to automatically ...READ MORE
Hello @kartik, You'll be wanting to use glob() Example: $files = ...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 grants root access with the ...READ MORE
Hello, Try the following code : $username='ABC'; $password='XYZ'; $URL='<URL>'; $ch = curl_init(); curl_setopt($ch, ...READ MORE
Hello @kartik, I have a codeigniter version for ...READ MORE
Hello @kartik, Create a new file in your ...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 @kartik, You are looking for the extends keyword: Interface IFoo ...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.