Jump to content


Demo_Get.asp?t=" + Math.random()


  • Please log in to reply
1 reply to this topic

#1 brian



  • Members
  • Pip
  • 8 posts
  • Gender:Male
  • Location:Kathmandu
  • Interests:Am intrested in learning new things in web site designing.
  • Languages:X / HTML , css , xml , xslt , php, MySQL, javaScript

Posted 22 December 2011 - 04:23 AM

hello all, i see the link ("demo_get.asp?t="+ math.rondom() ) according to w3school it says that it avoids catch result but i saw in google search that even there is written "www.google.com.np/search?btnG=google+search&q= " well i really didnt get those keywords. what really those t= and q= doing . Can anyone make me clear or explain those keyword more clearly

#2 justsomeguy


    More Human Than Human

  • Moderator
  • PipPipPipPipPipPipPip
  • 29,654 posts
  • Gender:Male
  • Location:Phoenix
  • Languages:Focusing on PHP and JavaScript

Posted 22 December 2011 - 06:02 PM

Those are variables that are sent in the URL. In ASP, you can access the value of the first one using Request.Querystring("t"), which will be the random number that was generated.

Know your history: Babbage | Lovelace | Turing | Hopper | Ritchie
ConTEXT Sublime Text Opera PHP MySQL phpMyAdmin
Use a debugger: Firefox, IE, Chrome, Safari, or Opera
Know the foundations of computer science: algorithms, machine architectures, data structures, etc. Don't just blindly copy techniques from application to application. Know what you are doing, that it works, and why it works. Don't think you know what the industry will be in five years time or what you'll be doing then, so gather a portfolio of general and useful skills. Try to write better, more principled code. Work to make "programming" more of a professional activity and less of a low-level "hacking" activity (programming is also a craft, but not just a craft). Learn from the classics in the field and the better advanced textbooks; don't be satisfied with the easily digested "how to" guides and online documentation - it's shallow.
-- Bjarne Stroustrup

He that teaches himself has a fool for a master.
-- Benjamin Franklin (paraphrased)

Also tagged with one or more of these keywords: link

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users