Jump to content

Matar

Members
  • Posts

    102
  • Joined

  • Last visited

Matar's Achievements

Member

Member (2/7)

0

Reputation

  1. Matar

    encrypt data by md5

    hi justsomeguy its long time so i must make an encryption algorithem and decryption algorithem ???!!!or what i can do to solve this problem ?anyway i need to save encrypted data and when request decrypte this data thank you matar
  2. hi all iam trying to add jpg picture to sqlserver2005 database with vb.net2005 interface . so the question is sqlserver can store the image it self in the database ??i dont need to save the path of image . matar
  3. Matar

    encrypt data by md5

    hi man no i dont mean that if i save md5("dog") in the database i want when the user request this value to show it without md5 encryption . thank you
  4. Matar

    encrypt data by md5

    hi all i work with project thats need encrypt the data using md5 when insert the data to the database "i make this "but i need anthor thing i need when the user request the data from the database ,the data showen without md5 ??who i can make this ??matar
  5. Matar

    Login Problem

    hi all thank you for replay i make all thing you said and the problem is still the code ***<?phpif(!isset($user)||!isset($pass)){echo "error1";}elseif(empty($user)||empty($pass)){echo "error2";}else{$user = $_POST['user'];$pass = $_POST['pass'];$con = mysql_connect("localhost","root","");mysql_select_db("log", $con);$sql = mysql_query("select * from info where username = '$user' AND password = '$pass'",$con);$row = mysql_num_rows($sql);if($row > 0){ while($row = mysql_fetch_array($sql)){ session_start(); session_register('user'); echo "welecom $user <br />";} } else{ echo "Incorrect Login";}}?>****can any one copy and paste this script and try it db name is logtable name is info the field in the database username char(20)password char(20) ******i was try this code without "where" and its work like this select * from info but when is user select * from info where user = '$user' and password = '$pass' not work **** thank u all matar
  6. Matar

    Login Problem

    hi this script is simple example ... i don't care about mysql_connect parmeterbecause i work on local host The problem is when i using where cluse when i edit select statement to "select * from info " it is work , but when i using where the script work as empty table although i fill it with users data .
  7. Matar

    Login Problem

    hi all i make a login script but i have a problemwhen i login with my user and password the script show me invalid login but my login info is corret !!!!this is the code ****<?phpif(!isset($user)||!isset($pass)){echo "error1";}elseif(empty($user)||empty($pass)){echo "error2";}else{$user = ($_POST['user']);$pass = ($_POST['pass']);$con = mysql_connect("localhost");mysql_select_db("log", $con);$sql = mysql_query("select * from info where username = '$user' AND password = '$pass'",$con);$row = mysql_num_rows($sql);if($row > 0){ while($row = mysql_fetch_array($sql)){ session_start(); session_register('user'); echo "welecom $user <br />";} } else{ echo "Incorrect Login";}}?>
  8. Matar

    Web Spider

    hi thank you man ,,, but the link not work " not authroized to view this page " matar
  9. I think this link will help you http://particletree.com/features/degradabl...orm-validation/visit it matar
  10. Matar

    Web Spider

    hi any one know about web spider thats used in search enginei am trying to make a search engine using php and mysql but i don't know anything about web spider any have a script to get the page content for exmaple small program when i give it the url , he will get the metatag information or get the h1 text ..etc kindly regardsmatar
  11. Matar

    vb.net with access

    hi am sorry for this late i make jesh but the data also added just to the dataset not to the orginal database ... pulpfiction ... there is no error the poroblem is that the data i add to the database via vb.net interface just inserted to the dataset so when i close the application no data added to orginal database ... thank you all matar
  12. Matar

    vb.net with access

    hi am trying to insert a data into access database with vb.net interface (2005)the porplem is the adding is completed succeful in the dataset only not in the real database this is the code **** Dim conn As New OleDb.OleDbConnection("Provider=Microsoft.jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\Nwind.mdb") Dim sql As String = String.Empty sql = "INSERT INTO Categories (CategoryID,CategoryName,Description)" & "values('" & txtid.Text & "','" & txtname.Text & "','" & txtdes.Text & "')" conn.Open() Dim command As New OleDb.OleDbCommand(sql, conn) command.ExecuteNonQuery() conn.Close()*********what's UP ?
  13. Matar

    Exam Script

    hi all i am working with vb6 to make an mulitble choice exam the qustions and answers are saved in access database and i show it in labeles and i put optionsbuttons to select the truth answer how i can know which option he select and how i will calc the true answers and the false ???
  14. hi i try your comment and still the same error this is the code<%@ Import Namespace="System.Data.SqlClient" %><script runat =server > Sub page_load() Dim oSQLConn As SqlConnection = New SqlConnection() oSQLConn.ConnectionString = "Data Source=(local);Initial Catalog=pubs;User ID=sa;password=secret;Trusted_Connection=yes;" oSQLConn.Open() End Sub</script>this is the error :An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
  15. hi if i understand you this link will help you to change the page text and some effects without re ftp it http://www.fckeditor.net/this link for the desgin i donoo if you dont know about hotscript its a huge site contaian thounds of script and theres asp.net user mangment scripts .www.hotscripts.comMaTaR
×
×
  • Create New...