Jump to content

jimfog

Members
  • Content Count

    1,753
  • Joined

  • Last visited

Community Reputation

30 Excellent

About jimfog

  • Rank
    Dedicated Member
  • Birthday 10/28/1979

Previous Fields

  • Languages
    Englsh, Greek

Contact Methods

  • MSN
    papageorgiou40@hotmail.com

Profile Information

  • Location
    Athens, Greece
  • Interests
    Computing, in any form of it, whether is web development, control theory or other, enjoy reading history books, especially WWII books, movies, fast cars(i do not have one, just a humble toyota yaris).
  1. I am finally getting it...a parent element is different from an ancestor somehow...there is an overlap though in some cases. here is what I want to do: When the user clicks a menu item I want the arrow to appear directly below that menu item. Now clicking the mails(I do not use a click handler in the fiddle,a placed the arrow image inside a menu item just for demo purposes so as to find the problem) item the arrow appears somewhere else.... What do you propose?
  2. let us clarify some things....take a look again at the HTML of the fiddle....the image is placed inside the mails menu item...the problem is that it appears in front of the user stats menu item. I do not want that of course...so how can I fix it?
  3. take a look at this fiddle....I have placed an image(it is a blue arroe) in the mails menu item with a class name of show_inf.... Despite positioning it absolute it appears inside the the user_stats menu item(I cannot understand why it appears there)....I want it to appear inside the mails menu item as depicted in the HTLM-which is it's parent element anyway. What is wrong here?
  4. jimfog

    cookies and GDPR

    I agree with you that probably a notice is required even for a "remember me" cookie....the issue is though where to find it an expert for that matter so that I can get a definitive answer
  5. jimfog

    cookies and GDPR

    After reading this I have come to the conclusion that even for a simple "remember me " cookie I must ask the user's consent... Is this the case?
  6. jimfog

    cookies and GDPR

    I which forum should I ask some questions about cookies and GDPR?
  7. Hmmm...that really never occured to me...thanks.
  8. what is that zero besides the div element in dev tools element ispection panel: image
  9. Take a look at this fiddle here. Click edit and then click the plus sign...a new input is added and it;s name attribute value has a different form(form[1]...) than all the other(filled) inputs.... The reason for this is that this only new input gets to be serialized and NOT the others. Imagine the following though. The user goes to edit some of the currently filled inputs....the way the name attribute value it is set,serialization cannot take place. So what could I do in such a case...when editing inputs and not just adding new ones. Various things come into my mind about it....but I want to hear what you have to say about it.
  10. Your answer is very general and it does not address my issue....and you say there is identical ID...I see none. It seems your answer is relevant after all....I found the cause of the problem but for the time being I do not know how to solve it.
  11. In my app a business user fill in a form the services he/she offers along with the option if the prices of them are to be visible to the end-user. And if at sometime he/she wishes to edit these data he/she clicks the edit button...presented to him/her like this fiddle. You can see what happens when the user clicks the edit button. And now my problem: Focus on the price visibility section...when the edit button is clicked the radio button checked must be the one the user has selected from before.If the user has opted for price visibility then the radio button checked must reflect this...(yes in this case).In the JS pane you see code that gathers the values witch reperesent this(in both services this is 1 and this means the user has opted for price visibility in both services). The problem is that the radio button of only one service is selected...the other ought to be also(the top)...but it does not.We have the value of 1 also for the top service....as such YES must be selected too. So there must be something wrong with the JS code...specifically with the replace HTML method. I tried to be clear,if there is something you do not understand ask me to clarify further.
  12. I have a series of inputs(and more can be added by clicking the plus icon):https://jsfiddle.net/fiddlehunt/pu4qqnrd/ In the left input user enters service(s) and in the right price(s) and these must be sent with AJAX to the server... From a little search serialize() can do this but there is a problem. suppose that the values to be sent are these:service1 and 55...service name and it;s price...take a look what is sent to the server. form%5B0%5D%5Bservice%5D=service1&form%5B0%5D%5Bprice%5D=55 Many meaningless characters...is there something I can do to clean this string before or after it reaches the server or... serialize() maybe not the best solution for this type of problem after all....what do you think?
  13. Ι assume that this means using after all filter_input()
  14. I am using netbeans to code PHP...when using a superglobal array such as $_POST for example I get frequent the message that I should not access them directly for security reasons. I know the reason behind that and and the solution(filter_input). The question is if it is so safety critical that I should use filter_input in superglobals. Where it is critical,such as in database inserts I use prepared statements...but what about in other cases? Such as this for example: if(trim($_POST['email'])=='') { //do this } Must I use a filtering function?
  15. Tell me if I got this right cause I am little confused... There are 2 cases when throttling must be applied to a form...when an attacker performs an attack(dictionary attack,brute force etc) to a single account. In the above case throttling must be activated in this specific account AND when there is distributed brute force attack at which case throttling must be activated to ALL of the accounts. Am I correct?
×
×
  • Create New...