Mixing Php and Sql with Python -


i'm making sample page php, , it's respective database mysql, in it, ask user insert password , other data(name, email...), wan't encrypt password. have algorithm in .py file made before, want in way insert or make work php password revieved not stored untill encrypted, , so. can mix files happen? i've heard of python-sql not pretty sure it'll work.

sure, use exec function or put shell command in these little backtick things ``

$password = `command run python script here...`; 

however, that's overkill. write in php or use stuff exists md5()


Comments