Jump to content

Matar

Members
  • Posts

    102
  • Joined

  • Last visited

Everything posted by Matar

  1. hi sorry am not very well in english i wsa asked before about a problem , thats when a user loged in his account and after that he click back button in the browser , and then he click forward in the browser my script redirct him to his account without ask him about login informationhow can i solve that ???many thanks
  2. Matar

    encrypt the url

    hi how can i encrypt the url content , this content is a query criteria ? and how i can prevent the user to back to the userhome page when he click back in the browser i use the session and i make a logout page , but when the user click back and then forward he back to his account i need to prevent this . many thanks to all matar
  3. Hi all Can i display a vedio stream of webcam in php page ?and how ? Thanks
  4. hi as justsomeguy tell you , you can use limit fuction in mysql database to view a spicific number of colmuns and there are many functions to get spicific data like max vlaue >> select max(col) from tbl min value >> select min(col) from tbl sum >> select sum(col) from tbl Matar
  5. Hi all i want chat scripts concepts , because i can't begin i don't have any idea about this . but i want a very small script . just to talk . Matar Do you know how the rain make me sad ?
  6. Hi all Can I Convert human Sound to signals that will be orders to spicfic System For Example i want to make a chair for people can't move there legs or hands so , there is will be a micophone when he said right the chair will go right . i want just to convert the sound to digtal data that will connected with PLC . can i convert the sound to digtal data using VB.NET
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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 .
  13. 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";}}?>
  14. Matar

    Web Spider

    hi thank you man ,,, but the link not work " not authroized to view this page " matar
  15. I think this link will help you http://particletree.com/features/degradabl...orm-validation/visit it matar
  16. 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
  17. 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
  18. 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 ?
  19. 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 ???
  20. 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)
  21. 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
  22. iam trying to connect asp.net with sql server database ,but there are a problem firstly this my code <%@ Import Namespace="System.Data.SqlClient" %><script Runat="Server">Sub Page_Load Dim conPubs As SqlConnection conPubs = New SqlConnection( "Server=localhost;uid=sa;pwd=secret;database=pubs" ) conPubs.Open()End Sub</Script>and 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)i setup the surface area to allow the remote connection with tcp/ip and still the same error ?plz help
  23. hi i want to know how to display a data thats stored in access database wiht editing control add,delete,updatedo u have any idea about that ??thx
  24. hi pulpfiction its long time ,,, i do it like your comment and still errors ****i will i ask you if you know about asp.net datagrid if you know plz post me a replay ...****best wishesMaTaR
×
×
  • Create New...