Jump to content

pulpfiction

Members
  • Posts

    1,210
  • Joined

  • Last visited

Everything posted by pulpfiction

  1. Check out this site for postgresql and mysql...http://www.vitavoom.com/postgresql.html
  2. Hi,Check out the link below, it uses the part of the hashed password as "salt"http://www.phpit.net/article/handling-passwords-safely-php/
  3. If you want to save the base url and use it for every url, then try this, add this in the web.config file<configuration> <appSettings> <add key="BasePath" value="http://localhost/foldername/"/> </appSettings>And to get the value from Application's Configuration Settings, using System.Configuration;string aURL;aURL = ConfigurationSettings.AppSettings.Get("BasePath");
  4. Hi phileplanet,you are absolutly right, its really cool....
  5. pulpfiction

    Redirection

    Hi UnDeaD,Yes it will work..
  6. pulpfiction

    PHP Editors...

    Hi, I use Eclipse, check this out...http://www.eclipse.org/
  7. pulpfiction

    Redirection

    Hi,Javascript code to redirect would be like this,function red(){window.location = "http://www.google.com/"}You'>http://www.google.com/"}You can use this function for any event, like <body onload="red();">This will redirect to the new page(google), when the original page loads..<body> <script type="text/javascript"> window.location = "http://www.google.com/" </script></body>
  8. pulpfiction

    LIKE problem

    Try this, i guess it should work....SELECT * FROM tblAV WHERE Year(tblAV.[Datum uitleen]) = 2006;
  9. recordset.RecordCount, if this value is zero then the recoder set is empty.check out this site...http://www.4guysfromrolla.com/webtech/092398-1.shtml
  10. pulpfiction

    easyphp help

    I am not sure what lilcali means, but easyphp is for local system, like calvin said you dont need to upload php file into the server but run it in the "localhost". i dont see any security issues in that..... you start the apache server when you want to run PHP pages and shutdown when done.
  11. Hi bsewall,Are you saying that its enough to check that the user enters the password as "fuji+any5digit number" then that doesnt make any sense, But if you need different 5 digit number for each user then you need to store that information in some place to compare, so again Database.If you are in a network why not try "Windows Authentication".
  12. <script>function validate(){var cardexp=/^\d{4}\s{0,}\d{4}\s{0,}\d{4}\s{0,}\d{4}$/var regexp=/^[A-Z]{1,2}\d{1,2}\s{0,}\d[A-Z]{2}$/iif (!regexp.test(document.frmname.fldname.value)) {document.frmname.fldname.value="Please enter PostCode";document.frmname.fldname.focus();return false}if ((document.frmname.fldname.value=="Enter the delivery address.")||(document.frmname.fldname.value=="")||(document.frmname.fldname.value=="Please enter your correct Shipping Address")) {document.frmname.fldname.value="Please enter your correct Shipping Address";document.frmname.fldname.focus();return false}if (!cardexp.test(document.frmname.fldname.value)) {document.formname.fldname.value="Please enter your credit card number";document.frmname.fldname.focus();return false}}</script>Use the function validate()Example:<form name="frmname" onSubmit="return Validate()"><input class="textbox" type="Text" name="fldname"Try this, when there is some error it will come back to the same form, when the validation is successful then it can redirect to another page....
  13. <a href="xxx.doc" target=_blank>Click here</a>
  14. This could be just crazy idea, but I still suspect the font which is causing this error, try doing this, open a new notepad, set a simple font like"arial" or Times New Roman, and type the HTML code again and save that file. then try opening it. may be u'll get it...
  15. Hi,I tried to search the error you get in google, and kinda got an idea that its got somthing to do with the font in the title you are using, I am guessing this... could be wrong.
  16. To avoid outlook to open blank with just mail id in it,mailto:itsme@yahoo.com?subject=hi&body=byeas the name values in the URL explains clearly, value of "subject" goes into the subjectline and value of "body" as the body of the message.i guess this URL can be done with Javascript, by getting the text from the textbox and add it in the URL.
  17. Or this ,<script type="text/javascript">document.write("<a href=\"#\" onclick='history.back();'>Please try again.</a>")</script>
  18. pulpfiction

    DSN Connection

    This should help you a lot.http://www.connectionstrings.com/
  19. java script:function op(){window.open('http://www.google.com','Google','width=200,height=200')}HTML:<a href="#" onclick="op();">Click here</a>This should work..
  20. If this capitalizing the text is not working out using CSS, i guess you can use server side scripting for such string manipulation..you had earlier mentioned that you are getting the string from a database, then manipulate it and display in using server side scripting.I tried doing it in asp.net (vb) Dim str As String = "HI FELLAS HOW ARE DOING"str = str.ToLowerstr = str.Concat(str.Substring(0, 1).ToUpper, str.Substring(1, str.Length - 1))response.write(str)Correct me if I am wrong.
  21. Hi, Check out the link for syntax of popup window.http://www.javascript-coder.com/window-pop...ndow-open.phtmlThe size of the window can be altered by changing the "WIDTH" and "HEIGHT" attributes of window.open commandeg: width=350,height=250
  22. pulpfiction

    ASP.Net

    Try this....<%@ Page Language="C#" %><html><body bgcolor="yellow"><center><h2>Hello W3Schools!</h2><p><% Response.Write(System.DateTime.Now.ToString()); %></p></center></body></html>
  23. Addition is pretty much straight forward, it will just add two numbers, but we have to check if it goes inside the if loop... check for the value of $result and see if its "true"... I dont see anyother problem if its a normal sum of two numbers.
  24. try this color, its shade of blue "lightsteelblue" #b0c4de
  25. pulpfiction

    between dates

    write the query like this, then it will retrieve all the records of the date 4/4/2006SELECT Id, Date FROM CallsWHERE Date BETWEEN #4/4/2006# AND #4/5/2006#
×
×
  • Create New...