- 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
2,113 Posted Topics
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 … | |
Re: The extra bytes could be source port and destination port, see this: * https://www.pacificsimplicity.ca/blog/reading-packet-hex-dumps-manually-no-wireshark bye! | |
Re: Also, for which platform? And can you use something different from PHP? | |
Re: Hi! I remember reading that there was a failure point on SSL as antiviruses were performing a MITM against browsers to verify the contents of connected pages. In practice they used to replace certificates in the client machine. Is this still an issue? See: http://ieeexplore.ieee.org/document/6956558/ Anyway, just a drop in … | |
Re: Hi, in addition, have you tried with SplFixedArray? It should be faster than standard arrays. Also if you want to open files from the script, than use `fopen()` instead of `file_get_contents()`, because the latter will load the entire file in memory before starting processing, while the former will read in … | |
Re: The code seems to be okay, are you sure opcache is disabled? If you are using PHP 7.0 then it's enabled by default, so if you ran the delete.php script and this was cached by the engine, then even after changing the code you still hit the cached version, until … | |
Re: Hi! If you have access to the configuration file for the virtualhost then got the `<Directory>` and set `AllowOverride` to `All`: <Directory /path/to/www/public> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> Remember to adjust the *options* to your needs, the above example will show directory contents and so … | |
Re: Hi, `fadeIn()` [unhides the element,](http://api.jquery.com/fadein/) so it reverse what is done by `hide()`. Here you want to use `hide()` or `fadeTo()`, not both: $("container").hide(); // <- method 1, immediate hide $("container").fadeTo(250, 0); // <- method 2, with transition A part this your snippet works for me on jsfiddle: * http://jsfiddle.net/wj4vmmef/ … | |
Re: Hi, according to the source of the `get_where()` method in `system/database/DB_query_builder.php`, sending NULL is acceptable as it would skip to set the `WHERE` conditions. So looking at your code: $data['result'] = $this->myguestbook_model->read(null, null, null); It seems it should work fine. So, in order to debug, change the configuration so that … | |
Re: Hi Andris, you may want to use `SELECT ... INTO OUTFILE 'file_name_here'` and perhaps use `CONCAT()` to create the query, if you do: set @file = concat('/tmp/file_', UNIX_TIMESTAMP(), '.log'); select 'hello' into outfile @file; It will not work, so you have to do: set @file := concat("/tmp/file_", UNIX_TIMESTAMP(), ".log"); set … | |
Re: In addition, see also: https://openai.com/ | |
Re: It may be true that Linux offers a smaller surface attack with the default configuration, but as RJ states, it depends a lot more on how you use the system. Lately [I read about a user hit by a ransomware on Linux,](https://forums.gentoo.org/viewtopic-t-1060828.html) he was running Mozilla Firefox as root, who … | |
Re: It happens because the POST request write is executed at the end of the script, in practice your write block (`file_put_contents()`) is placed after the reading block (`file_get_contents()`), so when a POST request is performed the script: 1. reads the contents of the file which has not still been modified … | |
Re: Also look at [declension](https://en.wikipedia.org/wiki/Declension) rules to apply specific syllables and make names look more natural. | |
Re: diafol! Why delete? Keep the account and allow us to keep a contact with you, I cannot imagine this forum without your posts :( | |
Re: Hi Fabiana_1, if you have a question then, please, start a new thread by clicking on **Contribute**. | |
Re: You can use `varbinary(16)` to store IPV4 (4bytes) and IPV6 (16bytes), MySQL has some functions to convert the IP from a string representation to a blob and reverse, see for `INET6_ATON()` and `INET6_NTOA()`, which deals with both IP types: * https://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html#function_inet6-aton Note, the `HEX()` function in the documentation example is … | |
Re: Hi, try to follow the other suggested steps on their site: * https://malwarefixes.com/threats/pup-optional-ask-a/ | |
Re: The above would not be an inline code, which is defined by backticks. Here you should use a code block, when you want to do such and you have other text above, then hit Return two times, so that you go to a new line and set a line of … | |
Re: Hi, see the recommendations made by the SANS Institute, pdf: * https://www.sans.org/security-resources/policies/server-security/pdf/database-credentials-policy it could help you, bye! | |
Re: Hi, `%bytes%` must be surrounded by quotes, because it's a string search, so change this: sqlCommand.CommandText = " select CaseFileNumber from ecms.fingerprint where FingerP like %bytes% " to: sqlCommand.CommandText = " select CaseFileNumber from ecms.fingerprint where FingerP like '%bytes%' " and see if it works. |
The End.