Jump to content

aspnetguy

Members
  • Posts

    6,787
  • Joined

  • Last visited

Everything posted by aspnetguy

  1. alot of companies that work with .Net framework or produce .Net apps and controls seem to be going for the .net extension. What you are using it for makes a big difference
  2. Generally I use the 1st eaxmple if I do not need to pass any parmamters with it and then useobject.onclick = function(){myFunc(param1,param2)}when I need to pass parameters.I doubt your second example will work it will be considered a string and you cannot assign a string to an event.
  3. It all boils down to what it will be used for and what you prefer..com is more popular and might be hard to get a name you want.I usually look for .net if I cannot find the .com I want.com will be the first extension anyone thinks of and chances are will try yourname.com first before seraching.
  4. Well that depends on if you code it to allow javascript execution...you can easily limit to HTML or even only certain tags using one handy regualr expression.I would suggest using either of these.http://kevinroth.com/rte/http://www.fckeditor.net/The first is more simplistic than the 2nd....depends on your needs
  5. There is no difference except the first 2 would have to be defined else where while hte 3 example defines and assigns all in one line.Does the 2nd example really work??? I have never seen it assigned that way before.
  6. If I were to input the following text how would you expect it to come out? How do you turn text into HTML?
  7. We all know how it was since they left their screenname and site in the hack...as far as legal action...I don't know what the admins are doing.A bunch of us petitioned GoDaddy.com (host of the the hackers community) to shut them down...but hus far no action.
  8. Just to note I have found more listed exploits on their site. So it is unclear which one they used, although most were just variations of cookie spoofing, changing passwords would be a good idea just in case.
  9. *huge sigh of relief*edit: just noticed that the backup was from July 8th...wow I thought backups got made more often.
  10. aspnetguy

    Blank screen

    what are the benefits of mysqli over regualr mysql....what is so "improved" ?
  11. hmmmm let me think about it....ASP.Net with C#
  12. I must admit I found w3schools after I was done college and had my training in most of what i know although it has helped my some in PHP, but I mostly google ofr a solution and look at many methods or goto php.net.I love it because it gives me a place to direct people how want ot know the basics without having ot explain it to them. It is a great tool for beginners and intermediate developers.
  13. no problem, but justsomeguy's solution would be far easier. Anytime I want ot display something that is a reserver char or something I resort to ASCII codes.
  14. aspnetguy

    Blank screen

    After you are done testing though you may want ot remove the mysql_error because it gives away info about your database. I have dicovered this will practicing my SQL injection on random community sites (local sites I knew where built poorly) and when my injection attempts caused an error it showed the mysql_error info that told me what constraints, etc I was violating and actually helped me know the fields they keep their usernames and passwords in, which lead to me hacking in.ASP.Net has 3 types of error messages (defined in config file) 1 - "off" shows full compiler error messages2 - "on" shows no message3 - RemoteOnly shows user friendly messages with no technicall info.
  15. aspnetguy

    Hashtable

    you can do it 2 ways Hashtable ht = new Hashtable();ht.Add("one","1");ht.Add("two","2");ht.Add("three","3");string[] vals = new string[ht.Count];ht.Values.CopyTo(vals,0);for(int i=0;i<keys.Length;i++){ Response.Write(vals[i].ToString());} Hashtable ht = new Hashtable();ht.Add("one","1");ht.Add("two","2");ht.Add("three","3");string[] keys = new string[ht.Count];ht.Keys.CopyTo(keys,0);for(int i=0;i<keys.Length;i++){ Response.Write(ht[keys[i]].ToString());} For whatever reason when the Hashtable is copied it is copied backwards. You will see what I mean when you run the code.You can fix that by running hte for loop like this for(i=keys.Length-1;i>=0;i--){ //i didn't test this part so it might be off a bit} EDIT: oops I didn't see pulpfictions post. His solution looks cleaner.
  16. I figured there must be something to do that, there usually is in PHP, I just don't know the functions very well.
  17. aspnetguy

    Hashtable

    I don't understand what you are trying to do. Can you explain a little more.
  18. you could store the number of important values as a constant just before you null them.Then when you call count you can subtract the constant you saved earlier.
  19. also if your CSS is missing a [;] between attributes it will cause CSS havoc (nothing will work)
  20. setTimeout executes only once but setInterval (used exactly the same as setTimeout) executes over and over again until you tell ti to stop (really go for constantly checking a page's status or something).
  21. aspnetguy

    Need Help

    well we don't just provide full scripts here but if you post what you have already we can help you improve it.You could also try here http://phpopenchat.org/ for a pre-made script
  22. oops sorry, must have been dozing again.
  23. nope not possible. I assume you used mailto: int he form action? Beware that this will probably fail for at least half your users. Many things interfer with this method and cause it to fail.
  24. your question doesn't make any sense. You want to conver the url to ASCII code? What?
×
×
  • Create New...