- Strength to Increase Rep
- +16
- Strength to Decrease Rep
- -4
- Upvotes Received
- 1K
- Posts with Upvotes
- 935
- Upvoting Members
- 350
- Downvotes Received
- 13
- Posts with Downvotes
- 13
- Downvoting Members
- 13
- Interests
- Nature photography, hiking, running.
- PC Specs
- Ubuntu 14.04 LTS Pentium(R) Dual-Core CPU T4200 @ 2.00GHz
Re: Hi, the article you're reading seems a bit outdated and it does not support the Laravel Auth system, in 5.2 now you can specify you're own guards, follow: * https://laravel.com/docs/5.2/authentication#authenticating-users * http://blog.sarav.co/multiple-authentication-in-laravel-5-2/ It should work fine. | |
Re: Try to add: Memcached::OPT_TCP_NODELAY => true It seems to work for me. | |
Re: This brings me straight to 2000-2003 years, at that time I was working in a small lab assembling & repairing computers, the worst was when people wanted to recover EFS encrypted files from Windows XP drives. Windows XP policy was insane, they allowed to use EFS without a recovery agent, … | |
Re: Hi, what's the result of curl_error()? | |
| Re: Try also Dabangg, English title is Fearless. |
Re: **@Arpita_1** Hi, I did not downvoted you, but I suspect you got them because you resurrected an old thread without a good reason (it does not contribute to the topic) and you are not showing what you have done. I suggest you to open a new thread and to show … | |
Re: Make a directory named index and place an index.php there. Probably the configuration of your server needs an index.php in the root, you can place an header redirect in this file: [code]<?php header("Location: /index/",TRUE,301); ?>[/code] So your structure will be: /index.php /index/ /index/index.php bye | |
Re: Hi, if you're using an old version of PHP, lower than 5.4 then change the array syntax to: $posts = array(); Starting from [PHP 5.4](http://php.net/manual/en/migration54.new-features.php) you can use the short syntax: $posts = []; So the array should look like: $posts = array( "GROUP1" => array( "565167146975015" ), "GROUP2" => … | |
Re: Hi, just a side note: back in Windows XP days by pressing `CTRL ALT DEL` for two times, in the login screen, made the admin account visible. I do not know if this is still valid as I have not used those systems lately. Hope it helps, bye! | |
Re: You get *undefined* because `get_result()` is a function introduced by the `mysqlnd` (MySQL Native Driver). Usually if you're using **PHP 5.4** and above this is the default, otherwise PHP will use the `libmysqlclient` driver, see: * http://php.net/manual/en/book.mysqlnd.php In practice the MySQLi extension can be served by two drivers, that can … | |
Re: In Javascript this is never a simple task, at least for me, so I prefer to stick with libraries. While waiting for more appropriate suggestions, try with the `difference()` function in **moments.js** library: * http://momentjs.com/docs/#/displaying/difference/ Bye! | |
| Re: To get the difference between two dates you can use `datediff()`: * http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_datediff To get the difference without weekends you could also do: drop function if exists diffdate; delimiter // CREATE FUNCTION diffdate(date2 DATETIME, date1 DATETIME) RETURNS INTEGER DETERMINISTIC BEGIN DECLARE dt1 DATETIME; DECLARE i INT; DECLARE wd INT UNSIGNED; … |
Re: **@Luzinete** Hi, please, open a new thread with the error message and the code that generates that error. | |
Re: Hi Julie, if the OS set the azerty layout try to press shift and comma to get the question mark. Anyway you should set the keyboard layout to match the keyboard not the language of the OS, see if this helps: * https://support.microsoft.com/en-us/help/258824/how-to-change-your-keyboard-layout Also from the Lenovo documentation for your … | |
Re: Hi, you can try **HackerRank:** https://www.hackerrank.com/ Once logged, you can choose the domain you want to explore, some are language specific, but there are many challenges that can be answered in different languages, including javascript, if this is your interest. | |
Re: Also, try *The Expanse*, not zombiesque but worth to see: * https://www.wired.com/2017/01/geeks-guide-the-expanse-season-2/ | |
Re: In other words you want to return back the new name of the uploaded file? In the PHP script you can send a JSON response with the filename, so move line 12 to 11 and replace the `echo` with: header('Content-type: application/json'); echo json_encode(['target_file' => $targetFile]); and use the **success** event … | |
Re: Hi, you cannot do this with plain HTML. You need javascript: you could use AJAX to submit the two forms, but you are going to generate two separated requests, with two separated responses from the server(s). Which means the second could return before the first is completed. Or one could … | |
Re: Hi, what does returns from: echo $this->image_lib->display_errors(); | |
Re: Hi, the target directory must be an internal path, not the domain as defined here: $target_dir = "http://www.XXXXXX.com/uploads/"; Start by changing that. | |
Hello, I hope not to scare you with this long post. I'm testing [Solr](https://lucene.apache.org/solr/) (read solar) and it works fine. I have an issue with the **DataImport** handler, it's set to get data from a MariaDB database, which works fine if I save the database credentials in plain text in … | |
Re: Hilarious & exhausting :) Do you think it would possible to log the offending entry through Process Monitor, while running the update instance? https://docs.microsoft.com/en-us/sysinternals/downloads/procmon | |
Re: It happens when you use the GET method, use POST instead. | |
Re: Hi, probably putting the server offline, removing the disk and accessing it in readonly mode from an OS that will not execute any of the code in that disk could be a starting point to backup what is still available. It's important to make sure it cannot spread in your … | |
Re: Hi, you could use the replication model shipped with MySQL, see: * http://dev.mysql.com/doc/refman/5.7/en/replication.html * http://dev.mysql.com/doc/refman/5.7/en/replication-howto.html Where each node acts like master and slave. See if a multi-master approach could work: * https://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-replication-multi-master.html | |
Re: Hi, are you following his tutorial? https://www.9lessons.info/2017/06/ionic-angular-php-login-restful-api.html The part in which he writes about how to *"Create an Authentication Service Provider"* explains how to connect to the api. | |
Re: And have you checked the contents of the event log? If you're using Windows see: https://www.howtogeek.com/222730/how-to-find-out-why-your-windows-pc-crashed-or-froze/ | |
Re: In addition, you may want to try the cli-tools package: * https://github.com/wp-cli/php-cli-tools It's great to send formatted output in command line environments. | |
Re: Hi, supposing you are not trying to load a user defined function named `routes()`, have you read the documentation? https://laravel.com/docs/5.5/routing#named-routes and the source in which this function should be defined? Does exists? Use an editor that can autocomplete the code, in SublimeText for example, when you hover a method/function it … | |
Re: You want to avoid: 1. overall repetition (i.e. if I connect I don't get your same questions) or 2. only for the current user (i.e. I never see the same questions anymore, but another user can repeat the path) or 3. only for the current user's session (i.e. if I … |