Jump to content

Chocolate570

Members
  • Posts

    1,550
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Chocolate570

  1. It's that way because both are based on C, like I said.
  2. Yup, they're both pretty much based on C, with javascript having SOME similarities with java. (KEYWORD SOME)
  3. http://ripway.comMake a new account. If you don't have too many songs, 30mb should do just fine. Hope that helps.Choco
  4. Thanks, I really didn't even notice O_OI've been on a couple that do, and I'm sure there are other ways to read files on a server.
  5. Hey, that's not a bad idea! I never thought o that. But the problem is most sites are accessible through anonymous FTP if run on ameteur servers, so it would be pretty easy to try out most of the files. Server side code is better But still, great idea. :)Choco
  6. I could say the number 1 is in everything. Can you believe that the number of all living things on the planet can be divided by one? O_O
  7. Remove your other additions and try it---maybe your security is wonky?
  8. He's right. You should always use server side code or the htaccess file to password-protect a page/site. That way, the client can not just view the source to procure the password.
  9. It's called a rich text editor. Cross-browser ones are *DARN* hard to find, but tinyMCE is a great one. If you'd like to attempt making one, try this site:http://www.webreference.com/programming/ja...pt/gr/column11/Andhttp://www.webreference.com/programming/ja...pt/gr/column12/
  10. Here's a javascript sample: <script type="text/javascript"> function refresh() { window.location.reload(); } /* In this, you'll have to have a function named "menuUp()" that returns "true" or "false" depending on whether your menu is up or not. */ if(menuUp) { //checks if the function returned true x=setTimeout(refresh,12000); } else { x=setTimeout(refresh,5000); }</script> Hope that helps.Choco
  11. I don't think its possible to make it so that the user gets a "save as" dialogue box for an image in firefox. (with javascript)But after a bit of research, the PHP code is as follows:<?phpheader('Content-type: image/jpeg');header('Content-Disposition: attachment; filename="name.jpg"');?>Save that as...whatever.php, and here's the javascript code:window.location="./whatever.php"And just put a redirect back to the previous page afterwards if a condition is fulfilled. Hope that helps :)Choco
  12. From what I know, JS is not capable of detecting IP addresses currently. Maybe in later versions. But right now, the only way to do this is use AJAX and a php page, rename your page to name.php and add the following line:<? echo $REMOTE_ADDR ?>where the IP should appear, or use an iframe. Oh, you can also use ASP and whatever, but it's most probable you have a server with php installed. As for emailing the IP to you, you'll definitely need server side code like PHP. Then you just use the mail() function inide the page. Hope that helps.Choco
  13. Posts about my-language-is-better are completely redundant. (just a statement )Unless you've created your own language, don't post it! What's the point? Xml is as much my language as is A++. Even though I don't know either
  14. It's a simple problem, but like most, it requires an Admin to fix it. Give it a bit of time, and it'll be repaired.
  15. div.style.backgroundImage="url('image url')";Should work. I think :)Or you could just do:div.background="url of image"Tell me if neither works. I'm slightly sleepy right now.
  16. An explanation:All functions (like alert() and submit() and so on) can be either called through:1. A statement: alert("blah");2. A function, called through an event, or through #1: function myFun(){alert("blah")}So, if you want the page to alert without any trigger, just put alert(). If you want a trigger, put it in a for, if, while-else, or function.Hope that helps!
  17. Hi! To do this, you just need a simple timeout statement. Here's a sample, if your form name is "fname". <script type="text/javascript">var timer=setTimeout("document.fname.submit",300000);</script>
  18. Just use a regular expression available from reglib.com, or go and copy/learn from this script (preferably the latter)http://dynamicdrive.com/dynamicindex16/emailvalidate.htm(By the way, that script also uses a regular expression. It just gets it for you. )
  19. I was just kidding dan I don't think my type of humour really works over the internet
  20. I've been on vacation. Or am I not allowed to have one? Let me check the job perks...
  21. Not a very smart idea to say that with me patrolling the forums. By searching, you grant us mods the privelage of not having to delete the extra topic. And you can save yourself the trouble of typing it, because within 48 hours, it'll have dissapeared into the mysterious place called "&mode=delete"
  22. Well then, we better call Sylvester along to kick THAT SITE'S BUTT!But leave it to him, ok guys? We don't want this forum to be associated with hacking. That makes us about as low as their forum. It's not the action, it's the reaction...
  23. You should check out xampp, guys. If you're running firefox, just type xampp into the address bar. If you're running any other browser, search google.
  24. Aspnet...it might be because of Littlegoats 'ie bug fixer' article. Try setting that to invisible and checking the page?
×
×
  • Create New...