• Member Avatar for jkon
    jkon

    Created How can this be more difficult for users ?

    I just came in and had a topic to discuss with other programmers ... I remembered DaniWeb because in the past I have received very clever answers in questions that …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Return array from prepared statement

    Md.Shams , rproffitt is right (for some reason I can't upvote his comment). I disagree about the "good tutorial" part , I can't see any other reason for resurrecting a 4 year …
  • Member Avatar for jkon
    jkon

    Replied To a Post in How to call php validation function using ajax

    A quick response , all in one file ( it is not a good idea to have php , html , JavaScript and Css in one file ) ... I …
  • Member Avatar for jkon
    jkon

    Replied To a Post in How to call php validation function using ajax

    Hello pandglobal it's not java it is JavaScript (and no , this not a technicality) . You wrote: > i know how to hide and validate the function using jquery, but i don't …
  • Member Avatar for jkon
    jkon

    Replied To a Post in How do you handle your CAPTCHA?

    We use something very similar with what Dani explained. But before getting to it , I would like to point out that the first step is the server side prevention of …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Invalid Email DNS

    > Gmail marks @daniwebmail.com email as spam?? Sadly yes , of course is not spam ...
  • Member Avatar for jkon
    jkon

    Replied To a Post in Invalid Email DNS

    - flag the low hanging fruit - you wrote (....what a phrase) .... do that by pinging that domain section of email and see if how responds , why sometimes …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Invalid Email DNS

    There is no automated way to validate an eMail address in my knowledge without sending an email with an activation link (or an old way image pixel that gives back …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Freelancers or companies?

    You will need someone that you can find any time and make changes in your software. Many years ago some people thought that having magento or all the other ready …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Keep session data after 3rd party script is loaded?

    Sorry but I didn't quite get it , wou wrote: > When I run the search item (using a Json GET to their API), using my own created search input …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Keep session data after 3rd party script is loaded?

    I guess the "3rd party script" you are referring to is something that runs in the same server where you serve your site. If so then the "I need this …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Want to conditionally load CSS for responsive layout

    Dani obviously the "don't know anything about web development" was an exaggeration. I hear (and read) sometimes false , stupid or even dangerous things about web development or programming that …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Want to conditionally load CSS for responsive layout

    The "Vary" is not the only thing there are many things that has to be done right , if you are willing to give it a try I would be …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Want to conditionally load CSS for responsive layout

    There is no need to continue this , you don't know anything about web development , and how google see those , you don't have made any tests but you …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Want to conditionally load CSS for responsive layout

    Of course Google doesn't consider cloaking if you load different JS files in different versions of your app based on adaptive - dynamic serving (and then responsive view on each …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Want to conditionally load CSS for responsive layout

    > The issue with this approach is it tends to be based on useragents. This doesn't take into consideration browser window size That's why I am talking about first adaptive …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Increase Google site performance

    Lets talk a bit about the facts , https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.daniweb.com%2Fprogramming%2Fweb-development%2Fthreads%2F521412%2Fincrease-google-site-performance this is the PageSpeed inshight about this spesific page of a site / sector of an app that we are talking …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Want to conditionally load CSS for responsive layout

    Dani I believe is time to reconsider the "adaptive and then responsive" approach. We have talked about it in the past again but what you are planing to do is …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Web Development career

    Tailor made software + front end vs ready made is something that is around for more than 50 years. It is nothing new there. Some prefer the cost that comes along with …
  • Member Avatar for jkon
    jkon

    Replied To a Post in What does DaniWeb mean to you?

    A great idea with great people , that brought a communication channel but since then it has lost its purpose and it has filled with misery against big companies like …
  • Member Avatar for jkon
    jkon

    Replied To a Post in How to send modified url when get mention form get submitted?

    lets say that you have a #searchBtn div or span or what ever that triggers the search $("#searchBtn").click(function() { var value = $("input[name='search']").val(); if (value.trim() != "") { var searchField …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Login Problems (aftermath)

    This is what happens when you change your login password hash algorithm without considering to create a fallback mechanism , no big deal after all because we are really few …
  • Member Avatar for jkon
    jkon

    Gave Reputation to Reverend Jim in Strongest and weakest points of the progr. languages that you can code in

    An example of concise - to create a deck of cards (each card consisting of a value and a suit) you can do deck ← ⊂[1](52⍴'A23456789TJQK'),[0.5](13⍴'S'),(13⍴'H'),(13⍴'D'),(13⍴'C') where `(13⍴'S'),(13⍴'H'),(13⍴'D'),(13⍴'C')` generates `SSSSSSSSSSSSSHHHHHHHHHHHHHDDDDDDDDDDDDDCCCCCCCCCCCCC` …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Strongest and weakest points of the progr. languages that you can code in

    rproffit I agree with you, we don't choose our tools (and the language is just a tool) when we work in a company that is not ours. But being a …
  • Member Avatar for jkon
    jkon

    Created Strongest and weakest points of the progr. languages that you can code in

    As you noticed by the title I didn't used the term “know” since I find it more ambiguous then “you can code in”. To keep answers short lets limit ourselves …
  • Member Avatar for jkon
    jkon

    Replied To a Post in AND OR in the same statement

    I forgot to enter SELECT after the UNION so it is: SELECT e.uid_fk,e.message,f.username FROM (SELECT d.uid_fk,d.message FROM (SELECT a.friend_one AS uid_fk FROM friends AS a WHERE a.friend_two = '99' AND …
  • Member Avatar for jkon
    jkon

    Replied To a Post in AND OR in the same statement

    I am not sure I have understood the question but I will give it a try. Your data structure is a bit weird especially in the friends association tables , …
  • Member Avatar for jkon
    jkon

    Replied To a Post in use of $(this) for a class

    The answer of Dani is of course the correct one , > You must use .on() with code dynamically inserted into the DOM. But let me write more about that …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Java vs PHP for web application decision (again)

    Thank you all for your answers , some issues in those I have thought some others its great to read them before having to thought them myself. The dilemma here …
  • Member Avatar for jkon
    jkon

    Replied To a Post in jQuery does not support mobile touch

    For the mobile / tablet version (adaptive and then responsive front end architecture) we use jquery.mobile.just-touch.js allong with jQuery. Its never a good idea to use the onclick event of …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Nice Interface

    Yes with copy paste works , but doesn't say who you are quoting , wouldn't a quote and reply (or just reply) button at the bottom of each reply would …
  • Member Avatar for jkon
    jkon

    Gave Reputation to happygeek in Nice Interface

    > also I really tried to quote you but it didn't worked * Highlight text you want to quote * Hit the " button in the reply editor * Paste …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Nice Interface

    <dani> // You need to clear your browser cache. You could use a js and a css minifier with a version after them (e.g. the timestamp of when the minified …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Java vs PHP for web application decision (again)

    Yes you can have apache and tomcat in same servers , you can have them as completly seperate enviroments (in differnt ports), one other option is to manualy set apache …
  • Member Avatar for jkon
    jkon

    Created Java vs PHP for web application decision (again)

    The facts: We are talking about a small company (5 persons) with many clients that making real money (we don't) . We provide our own software that has unique features …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Download file from a specific folder using php and ajax

    You can't use AJAX to force / suggest a browser to download a file. With AJAX you can send data and receive data in JS. What you could do is …
  • Member Avatar for jkon
    jkon

    Gave Reputation to pty in What is the latest most important trend in digital marketing?

    I think the next big thing is to sign up for forums with a female name and fake avatar and make nothing posts with links to shit websites that like …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Biggest DaniWeb pain points

    Dani I wrote you that many times , what is missing is an interactive online programmers magazine. DaniWeb could be that , it has the base and persons with good …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Regarding website security

    As alan.davies wrote you you made a lot (not just four) questions and answering in detail those would take a lot of space , not mentioning explaining those answers. I …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Best practices for sanitize POST parameters

    Don't sanitize , in that way. ALWAYS use PREPARED STATEMENTS (sorry for my caps … but yes I am yelling). A logical confirmation is almost always required (both front-end and …
  • Member Avatar for jkon
    jkon

    Replied To a Post in htaccess redirect to mobile subfolder without changing the URL

    Using htaccess for mobile detection and subfolder redirection is a primitive way. You can as rrproffitt suggested first try to built a responsive web app and then when you will …
  • Member Avatar for jkon
    jkon

    Replied To a Post in List Sort Function

    An array of object is not a list of objects. A list of object is an object by itself , so you can do a lot of things with it, …
  • Member Avatar for jkon
    jkon

    Replied To a Post in String Operators?

    The simplest solution could be to create a db table for your images (or files generally) first save a row in that file that has an auto increment id and …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Php

    Just a thought , opening a modal window is one option the other would be the content of it to be inside the “page” and to scroll , to change …
  • Member Avatar for jkon
    jkon

    Gave Reputation to gentlemedia in Php

    There are loads of ready made scripts for this. Here's for example a tiny javascript modal library with no dependency. https://github.com/oigil/dndod / https://oigil.github.io/dndod/demo Or do you need a more robust …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Will a true AI have a net positive or negative impact on society?

    The question implies that there will be a “true AI” meaning all the functions that the human brain does. I don't believe that it will never be a “true AI” …
  • Member Avatar for jkon
    jkon

    Liked / Shared Will a true AI have a net positive or negative impact on society?

    I've been listening to various debates on the potential impact of AI and the two sides seem to boil their arguments down to 1. AI is dangerous because it will …
  • Member Avatar for jkon
    jkon

    Gave Reputation to rproffitt in what is the correct way of creating a member view page (profile page)

    @divinity02. "Best" is achieved by stating what is best. The above fails one of the criteria of user login systems on a very basic item. Since you are asking for …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Polling database

    Dear friend first understand what databases are about. You don't need to read the theory to write tests just to understand the basics of it. Then ask your self about …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Jokes

    - manager : “your code produced unexpected results , sometimes loosely based on input” - programmer : “thank you , you now have to pay me for this AI”

The End.