Posts by Fydellys • 63 points
8 posts
-
0
votes1
answer75
viewsQ: Cookie problem
I would like my script to verify the existence of the informed Cookie and if it did not exist enter,. My code is this: $protocol = (strpos(strtolower($_SERVER['SERVER_PROTOCOL']),'https') === true)…
-
2
votes1
answer113
viewsQ: Query execution after a few seconds
I have a script that records all the views of the pages of my site that I downloaded, and it’s working very well. Only now some problems have arisen in what it comes to GOOGLE visitation, and has "a…
-
0
votes0
answers57
viewsQ: Security Login Anti Injection Mysqli
I am the following doubt, I gave a good research, but I would like to know... My administrative login system I was using only addslashes, for search reason for greater security, I added…
-
1
votes3
answers3324
viewsQ: Removing Accents and Transforming Spaces into PHP strokes
I updated my PHP and my following Script which I used to transform the text without accents, and the spaces in strokes (-) no longer works in PHP due to the ereg_replace is obsolete. <?php…
-
0
votes0
answers109
viewsQ: Problem with mysqli_insert_id - Class
I have a problem getting the last id inserted in a table, for the same is returning empty. I searched the stack but couldn’t find a solution. Script for inclusion of information in the BD: if (…
-
1
votes1
answer100
viewsQ: Search with explode and url friendly (problem)
I have a problem. I was using a search system with multiple variables with no friendly url. And it worked normally. Put several keywords and the same searched in the database without any problem…
-
0
votes0
answers70
viewsQ: Mysql to MYSQLI connection (class)
Would you like to make this connection on mysqli, could someone help me? I’m having some difficulties. <?php Class mysql { public $query; public $data; public $result; public $rows; protected…
-
0
votes1
answer44
viewsQ: php search with UNION - mysql_num_rows error
I am making a simple search system that brings only the amounts of results from the specified tables The problem is that it is causing an error due to the different tables and their lines. Check out…