Wat are scripts?

Discussion in 'HTML & Website Design' started by allwayslearning, Dec 17, 2008.

  1. #1
    What is a script? How does a script work. How do I get it in my website and activate it?
     
    allwayslearning, Dec 17, 2008 IP
  2. SGBoise

    SGBoise Peon

    Messages:
    647
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In basic, a script a web site written in php. You need linux web hosting to run them and there are plenty out there.
     
    SGBoise, Dec 17, 2008 IP
  3. Yesideez

    Yesideez Peon

    Messages:
    196
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Correction: a script is a set of instructions

    Scripts can be used for almost anything and even specific to computers saying "a script" is far too generic.

    PHP is used for scripting - allowing the user to interact with a web server.

    True, PHP does require a Linux server.

    As for getting one in your website and activating it, it all depends on what you want it to do. You can have scripts to run a guestbook, count visitors, manipulate a database (generally MySQL) and so much more.
     
    Yesideez, Dec 17, 2008 IP
  4. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No.. you can write scripts with PHP but scripts do not consist solely of PHP. Scripts can be written in PHP, ASP, JS, etc. It's basically just, as was said, a set of instructions for a server to execute.
     
    garrettheel, Dec 18, 2008 IP
  5. innovati

    innovati Peon

    Messages:
    948
    Likes Received:
    63
    Best Answers:
    1
    Trophy Points:
    0
    #5
    innovati, Dec 18, 2008 IP
  6. Yesideez

    Yesideez Peon

    Messages:
    196
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    As I stated "a script is a set of instructions" and doesn't have to be a server.

    You can get scripts in almost anything. DOS and many applications have their own scripts even video conversion. Scripts can be absolutely anywhere.
     
    Yesideez, Dec 18, 2008 IP
  7. Nancy1234

    Nancy1234 Peon

    Messages:
    93
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    scripts are basically small programs written in any scripting languages, like Perl, Python, java for generating a graphical user interface, validation on web forms and to get better results in the most readable form (e.g graphs, animations, web pages, video etc.)
     
    Nancy1234, Dec 19, 2008 IP
  8. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #8
    No.. they are not just for graphical user interfaces or validation. What about cron jobs? SQL?
     
    garrettheel, Dec 19, 2008 IP
  9. SGBoise

    SGBoise Peon

    Messages:
    647
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I can't believe so many people responded to this simple question.
     
    SGBoise, Dec 19, 2008 IP