Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.
All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!
•Use md5() in password
•Use addslashes(), trim(), htmlentities() for validation
•Use PDO extension for secured SQL transactions
•Use md5() in password
•Use addslashes(), trim(), htmlentities() for validation
•Use PDO extension for secured SQL transactions
d ko gets ang 2nd at 3rd pero try ko e-research at pag-aralan. pag may problema balik lang po ako d2. heheheh salamat nga po pala sa 2long
1. Using md5() or other hash functions makes your password hard to crack. Kasi di cya the actual password, need pa yong attacker to decrypt. Compare to storing your password directly to your database madali cyang ma.hack. Like mas secure if you store your password as "1232ds493sfk3894fk549fk4" than the exact string "MyPassword".
2. Add some php functions.
-addslashes() will escape some strings such as ' or other string this will prevent from breaking your queries. For example you have your user name na my'Username observe you have a quote (') in it. Pag.e.ru.run mo yan sa script mo. Without escaping it your query will break. Invalid SQL command on line bla bla blah... Magiging ganito kasi yong SQL mo. SELECT * FROM table WHERE username = 'my'Username', kaya mali.
-trim() will clean some trailing spaces. If you don't clean it. You might end up confusion. Like you will be expecting "My String" dun sa database mo. Pero when you stored it you, instead you type "My String" naging "My String " tapos when you retrieve it di mo makuha yong expected output kasi mali yong pagka.store.
-htmlentities() this will convert special characters to htmlentities like & or ' into & or " respectively. This is helpful especially when you deal with different encoding dun sa database and your html.
3. Use PDO extension ng PHP, php_pgsql or php_mysql extensions these will link your PHP script to your database and add security features and functions para mas mapadali yong interaction between your databases. I think the author try to emphasize this function mysql_real_escape_string().
Hope that would clarify you. Many more functions in PHP and your Databases that will help you with your security features. Just go over with the documentation or read some codes related to this so that you will learn how other programmers attempt to minimize or solve this ones.
The thing is no matter how you apply it, if your algorithm has leaks meron paring problem.
Mga master, sino po ba may alam kung pano gawin tong site na to http://totalmarketingclub.com/membership/
yung di sya mag drag at pag na right click mo walang save image as (kahit parang my image yung site diba?)
ano sa tingin nnyo?
hey baka po meron kayo jan sample system using php+js tas ms access ung database, kahit ung simple functions lang po na add/edit/delete/update/search wala po kase ko makita eh salamat po sa makakatulong
pano sir mag create mag generate ng pdf file ung na search na data... example po... nag search ako ng sample data sa db ko tapos gusto ko to isave sa pdf file para maprint.... help po
Sir. How to reset sql configuration. ininstall ko kasi e, kaso nakalimutan ko po yung password na nilagay ko. after ko iuninstall syempre reinstall ko po. kaso hinihingi na ung current password w/c is yung nakalimutan ko na. panu po ireset un para pag ininstall ko xa ulit gagawa nq ulit ng new password?? tnx!
Use PDF class in php. Try to review their API from http://www.php.net/
Use PDF class in php. Try to review their API from http://www.php.net/
Use CSS background property and an empty div to where you wanted the background to appear.
A quick example would be:
<div style="height: 100px;width: 750px;margin: 0;padding: 0;background: url('//path/to/the/image/file.png')"></div>
although you can also download the background image by using "Inspect Element" of google chrome.
newbie lang po ako sir sa pag pphp pde po give ka po sample ng magquery ng sa db tapos print sa pdf ung result... thx
Pls. help po...ano po kaya problema ng script na to at may error...
/**
* selects and sets the current database
*
* @param string $database
*
* @return void
*
* @access public
*/
function SelectDB($database) {
mysql_select_db($database,$this->conn_id) or die("CDatabase::SelectDB() error");
$this->current_db = $database;
}
thanks in advance!