• Member Avatar
    developer707

    Replied To a Post in Best practices for sanitize POST parameters

    @jkon, regarding Databases queries I think that I am using the recommended way, here is an example: try { $query = 'INSERT INTO requests ( `request_id`, `email`, `ip` ) VALUES …
  • Member Avatar
    developer707

    Replied To a Post in Best practices for sanitize POST parameters

    Sorry regarding my terminology, maybe it is misleading. Till now in most of the cases I am dealing with this parameters types: 1. Integers(Numbers, IDs), that I secure them with …
  • Member Avatar
    developer707

    Replied To a Post in Dropzone JS get filenames of uploaded files

    Hello, With just this information I can't say exactly where may be your issue. Can I ask you if dropzone JS has be called on your page?
  • Member Avatar
    developer707

    Created Best practices for sanitize POST parameters

    Hello, After searching over the internet how to secure a web application(forms) in PHP, in most of the cases were just suggestions not a short and real example. In some …
  • Member Avatar
    developer707

    Replied To a Post in Best practices for sanitize POST parameters

    Hello, After searching over the internet how to secure a web application(forms) in PHP, in most of the cases were just suggestions not a short and real example. In some …
  • Member Avatar
    developer707

    Began Watching Best practices for sanitize POST parameters

    Hello, After searching over the internet how to secure a web application(forms) in PHP, in most of the cases were just suggestions not a short and real example. In some …
  • Member Avatar
    developer707

    Replied To a Post in How to use an php array in an sql query ?

    Hello, What about the security of this method, is it considered SAFE?! If not how it can be secured. Thank you!
  • Member Avatar
    developer707

    Began Watching How to use an php array in an sql query ?

    Hello to all, I am trying to execute a mysql query for selecting * rows from the table where user name = [one of the usernames stored in an array]. …
  • Member Avatar
    developer707

    Replied To a Post in print data in columns

    Also you should consider to start using mysqli*
  • Member Avatar
    developer707

    Began Watching print data in columns

    I am trying to print my data in columns. For some reason every column but the last one lines up. Is there a way to fix this? while ((row = …
  • Member Avatar
    developer707

    Replied To a Post in Dropzone JS get filenames of uploaded files

    I managed to change the code as suggest, for the moment it seems to be working. All the uploaded images are storen in a hidden input divided by a **,** …
  • Member Avatar
    developer707

    Created Dropzone JS get filenames of uploaded files

    Hello, In my project I have a form with many inputs and one object is using DropzoneJS to attach files. Since I store all the inputs when I post the …
  • Member Avatar
    developer707

    Replied To a Post in Dropzone JS get filenames of uploaded files

    Hello, In my project I have a form with many inputs and one object is using DropzoneJS to attach files. Since I store all the inputs when I post the …
  • Member Avatar
    developer707

    Began Watching Dropzone JS get filenames of uploaded files

    Hello, In my project I have a form with many inputs and one object is using DropzoneJS to attach files. Since I store all the inputs when I post the …
  • Member Avatar
    developer707

    Marked Solved Status for How to parse html content and manipulate it

    Hello, I am trying to manipulate a HTML content stored in a php variable. The logic is as follows: The variable should be checked if it contains an <img ... …
  • Member Avatar
    developer707

    Replied To a Post in How to parse html content and manipulate it

    Someone else helped me to fond a solution. Here is all the logic. $source = ' <img src="1.jpg"/>' . "\n" . ' <img src="2.jpg" alt="2" />' . "\n" . ' …
  • Member Avatar
    developer707

    Replied To a Post in How to parse html content and manipulate it

    Thank you @AndrisP This code works well, but it may needs some improvements. In some cases the editor of the website puts some other parameters to the image (width, height) …
  • Member Avatar
    developer707

    Created How to parse html content and manipulate it

    Hello, I am trying to manipulate a HTML content stored in a php variable. The logic is as follows: The variable should be checked if it contains an <img ... …
  • Member Avatar
    developer707

    Replied To a Post in How to parse html content and manipulate it

    Hello, I am trying to manipulate a HTML content stored in a php variable. The logic is as follows: The variable should be checked if it contains an <img ... …
  • Member Avatar
    developer707

    Began Watching How to parse html content and manipulate it

    Hello, I am trying to manipulate a HTML content stored in a php variable. The logic is as follows: The variable should be checked if it contains an <img ... …
  • Member Avatar
    developer707

    Replied To a Post in How to bind a parameter once as INT once as STR

    Sorry for my insecurities, but as I am not very good on this topics I got confused. How can I deal with the query when I have many parameters like …
  • Member Avatar
    developer707

    Replied To a Post in How to bind a parameter once as INT once as STR

    Thank you for the fast reply. This was the way I wanted to avoid :( I have many other parameters like $gjendja_id, so the only solution is to have many …
  • Member Avatar
    developer707

    Created How to bind a parameter once as INT once as STR

    Hello, Recently I am starting to code my scripts in PDO method to manage the information in a mysql database. In this case I am having an issue how to …
  • Member Avatar
    developer707

    Replied To a Post in How to bind a parameter once as INT once as STR

    Hello, Recently I am starting to code my scripts in PDO method to manage the information in a mysql database. In this case I am having an issue how to …
  • Member Avatar
    developer707

    Began Watching How to bind a parameter once as INT once as STR

    Hello, Recently I am starting to code my scripts in PDO method to manage the information in a mysql database. In this case I am having an issue how to …
  • Member Avatar
    developer707

    Replied To a Post in Php 7 with memcached example

    Dani thank you for your reply. I understand the theory how it works, but I wanted a detailed example. There are a lot of information in google and a lot …
  • Member Avatar
    developer707

    Created Php 7 with memcached example

    Hello, Recently I am dealing with bad performance in an php application that I have build, googling this issue I found out that using services like memcached you can archive …
  • Member Avatar
    developer707

    Replied To a Post in Php 7 with memcached example

    Hello, Recently I am dealing with bad performance in an php application that I have build, googling this issue I found out that using services like memcached you can archive …
  • Member Avatar
    developer707

    Began Watching Php 7 with memcached example

    Hello, Recently I am dealing with bad performance in an php application that I have build, googling this issue I found out that using services like memcached you can archive …
  • Member Avatar
    developer707

    Marked Solved Status for Insert an image into document header in phpexcel

    Hello, Recently I am using phpexcel and afer many tries I wasn't able to find out how to make a document with a image in its header. Here is a …

The End.