Hi , I wanna indicate to two small and petty serious notes I reached and experiences gotten in php programming , however each programmer has his manner but it’s necessary to read php changelogs .
Read more…
General, PHP, Programming
difference between explode() and split(), difference between preg_replace and ereg_replace, ereg_replace(), explode(), preg_replace(), split()
Today I’ve been accidentally paying attention to a php code that reminds me a issue that it ain’t totally important how long has somebody been in programing world , just his ability to reduction and maintenance ! Read more…
General, PHP, Programming
explode(), list(), passwd, preg_match_all, split()
In the present paper there will be a speech about one of safety ways of the programming language PHP . in each web application you surely must care about any processing data obtained from the user and operating for their storage the database MySQL . Read more…
General, PHP, Programming, Security
eregi, filtering the characters in php, get_magic_quotes_gpc(), mysql_real_escape_string, PHP security class, prevention of attacks in php, strip html tags in php, strip_tags(), validate the string in php
I had my own PHP source analyzer , I used it in my projects and it helped me write content management systems efficiently . I have it right now , all it does is showing the dynamic queries , dynamic inclusions and important dynamic variables clearly . for example I give it a blah project directory so it searches into source of all files in all main and sub directories then if it finds something , returns the the result in HTML page containing the path of file besides the line of file which the word located on , at last it classifies the information . Read more…
General, PHP, Programming
Finding writable files by php, ISCN x-searcher, PHP searcher.PHP local searcher
In the way of changing of style of coding to OOP , I tried to wrote various classes and call them back whenever I want , as a efficient one you would feel comfortable with that is MySQL class . in old way the query had to frequently be assigned to a variable and then the mysql_query() , mysql-fetch-array() , mysql-num-rows() or etc … appeared by default in most cases . Read more…
Developing, General, PHP, Programming
MySQL class, OOP, OOP Mysql class
Today I wanna speak around a function from file system functions in php , file_get_contents . I’d like to tell you something about , it’s worth posting I think Read more…
PHP, Programming
DNS, file_get_contents, maxlen, offset, string functions, strlen(), substr()
Today I wanna speak about ” Remote File Inclusion” the most known hole ( maybe ) between hackers depending on configuration of php.ini , the ” Register_globals ” plays dangerous role here Read more…
Hacking, PHP, Programming, Security
C99, Define, Include shell, patching RFI, register_globals, Remote file inclusion, RFI, webshell