21 Discussion / Question Topics

Remove Filter
Member Avatar for cereal

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 …

Member Avatar for tesseract1919
0
2K
Member Avatar for cereal

Hello, so, I'm playing a bit with **MariaDB 10.0.29** and I cannot understand why `FOUND_ROWS()` keeps returning the `1` whatever happens to the latest select query. Here's my test: > CREATE TABLE `test` (`id` INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, `msg` VARCHAR(100) NULL) ENGINE = InnoDB; Query OK, 0 rows affected …

Member Avatar for cereal
0
3K
Member Avatar for cereal

I was asked to fix few bugs, looking at the code, this is what I saw at the end, 600 lines later: } } } } } } } } Looks like vertical [brainf4ck code.](https://en.wikipedia.org/wiki/Brainfuck) You can imagine how it looks the rest.

Member Avatar for Dani
0
165
Member Avatar for cereal

Hello, everytime I set the checkbox to get community related e-mails and update the profile, it seems to work and if it occurs an event I get the notification, but if I close the window and come back the option is again unchecked and I don't get anymore notifications. Dani, …

Member Avatar for cereal
0
607
Member Avatar for cereal

Hello, on Hotmail/Outlook webmail, when I receive an email message in the spam folder (formally Junk), I can mark the message as **Not Junk**. The server will then start to deliver the messages from that source, directly into the Inbox, working like a whitelist. Is it possible to do the …

Member Avatar for cereal
0
2K
Member Avatar for cereal

Hello everybody, so, I realized that when I try to load some XML into a MySQL table through the `LOAD XML LOCAL INFILE ...` statement, if there is a parent with the same name of the child, MySQL will insert an extra row. Here's the example to reproduce the issue: …

0
407
Member Avatar for cereal

Hello, I was trying to send a PM but it seems to hang: after clicking the submit button this disappears and it does not happen anything else. With short messages it seems to work fine, but it appears slow. When I try to submit a message with ~9k characters, I …

Member Avatar for Dani
0
462
Member Avatar for cereal

Hello Dani, how can I remove my image from the Dazah.com profile? It seems it was acquired through the GMail access. Thanks!

Member Avatar for Dani
0
294
Member Avatar for cereal

Hello, while browsing my posts I saw that sometimes quoted text is not displayed, yet there is an empty space in the corresponding area, I think the quote block is floating somewhere, if I inspect the document I can see the quoted text, here are few screenshots: ![quotes.jpg](/attachments/large/0/69b78841f35118216a98096ba3d24af7.jpg "align-center") ![inspect.jpg](/attachments/large/0/c65f82fcec55fc9f580fa59bde01393b.jpg …

Member Avatar for Dani
0
304
Member Avatar for cereal

Hi Dani, I pushed the cash button one month ago and since then the status is `Last Cash Out: Pending for $21.63`, is there something wrong? I remember there was a bug related to the reward system: * https://www.daniweb.com/community-center/daniweb-community-feedback/threads/494132/cannot-cash-out-reward-points#post2161746

Member Avatar for cereal
0
438
Member Avatar for cereal

Hi, when trying to access this thread: * https://www.daniweb.com/web-development/php/threads/496793/security-web-architecture the browser returns `ERR_TOO_MANY_REDIRECTS`.

Member Avatar for Dani
0
198
Member Avatar for cereal

Hi all! I don't know if this occurs only to me but in the forum list view the **read** text icon wraps to a new line, like this: ![read_gif.jpg](/attachments/small/0/9fe408e01220f3a9086241a5f936c486.jpg) Here's a larger screenshot: http://i.imgur.com/k9w09hn.jpg I noticed this few days ago. I don't have extensions on. I tested the zoom, but …

Member Avatar for cereal
0
259
Member Avatar for cereal

Hello, so I was trying few relations between tables and I noted an unexpected behaviour when using `group_concat()`. Let say I have three tables: fruits, fruitstock and fruitprices. These are the structures: create table fruits ( id tinyint unsigned not null auto_increment primary key, name varchar(50) not null, quality varchar(50) …

Member Avatar for cereal
1
4K
Member Avatar for cereal

Hello, I'm wondering if I can get help to understand the behaviour of a PHP function: `dns_get_record()`. This returns an array with DNS records for the given domain name, here is an example of the output: php > print_r(dns_get_record('php.net', DNS_TXT)); Array ( [0] => Array ( [host] => php.net [type] …

1
345
Member Avatar for cereal

Hello, I've an array with different type of values: int, null, strings, arrays. I'm trying to remove nulls and empty strings, but I want to save ints, even when it equals to zero, so I tried with `array_filter()`, by default it will remove `0`, `''` and `null`, but by applying …

Member Avatar for cereal
2
435
Member Avatar for cereal

Hello there! I noticed a little bug. I was trying to write a nested list, like this one: * Item One * Item Two 1. Item One 2. Item Two * Item Three I'm not sure this is related, it appears almost fine in the preview box, but it adds …

Member Avatar for cereal
0
201
Member Avatar for cereal

> There is a vulnerability in certain CGI-based setups (Apache+mod_php and nginx+php-fpm are not affected) that has gone unnoticed for at least 8 years... read more: http://www.php.net/archive/2012.php#id2012-05-03-1

Member Avatar for LastMitch
2
525
Member Avatar for cereal

Hello, I'm trying to display a message depending on the value of an input field. But it stops working when going back to default. Here's the JQuery code: $(document).ready(function(){ test(); }); function test() { $('#quantity').keyup(function(){ var quantity = $('input:text#quantity').val(); if(isInteger(quantity)) { var msg = false; if(quantity > 1) { msg …

Member Avatar for cereal
0
196
Member Avatar for cereal

Hello, when I try to enter to the **PHP forum** (but also in the others under **Web Development** section) I get redirected to a malformed url: http://www.daniweb.com-development/php/17 I tried also with curl: curl --head http://www.daniweb.com/web-development/php/17 HTTP/1.1 301 Moved Permanently Date: Tue, 18 Dec 2012 15:31:11 GMT Server: Apache/2.2 Location: http://www.daniweb.com-development/php/17 …

Member Avatar for diafol
2
268
Member Avatar for cereal

Hello. The problem is in [this post](http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/434969/php-and-apache#post1868055). First block of code, line 5 and line 9. I see a difference between normal view and raw view (on double click). In normal view line 5 appears like: <Directory /> in raw: <Directory ></Directory> and the same happens on line 9. These …

Member Avatar for Dani
1
257
Member Avatar for cereal

Hello all :) I'm experiencing a little problem in the post textbox: I can select the text but this is not highlighted, so I don't see where my selection ends. This happens if I select from the keyboard and also with the mouse. It happens with normal text and also …

Member Avatar for Dani
0
230

The End.