Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Few Small Questions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Few Small Questions

 Post Reply Post Reply
Author
neotrix View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 09 November 2003
Location: Pakistan
Status: Offline
Points: 433
Post Options Post Options   Thanks (0) Thanks(0)   Quote neotrix Quote  Post ReplyReply Direct Link To This Post Topic: Few Small Questions
    Posted: 13 June 2004 at 11:21pm
  1. What is <% Option Explicit %> and what dose it has to do with The definition of variable
  2. when the variable (Excluding Arrays) works without Defining it (Dim strblablabla) then why define it ???
  3. Can asp read a text file using http Stream ? like php ? i mean can asp read a file from http://mysite.com/blablabla/file.txt ? php can, but dont think asp can as well..


Edited by neotrix
Back to Top
808Rider View Drop Down
Senior Member
Senior Member

Vebro Solutions CEO http://www.vebro.net

Joined: 20 April 2003
Status: Offline
Points: 405
Post Options Post Options   Thanks (0) Thanks(0)   Quote 808Rider Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2004 at 1:28am
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2004 at 2:46am

1. It prevents usage of undefined variables

2. It speeds up your code and development time. I.e. is you mis-type a variable name i.e. tabel instead of table ASP will just create a new blank variable called tabel. Which will confuse you because you would think that table has no value - and it has. With Option Explicit turned on when ASP see's the tabel variable it will throw an error because it is not defined. You can then just rewrite the variable name and you don't have to bother with any diagnostics.

3. Yes, ASP can. Take a look at Microsofts XML HTTP component

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2004 at 11:59am
Example of XMLHTTP here...
http://www.sitetechnique.com/stuff/

Lead me not into temptation... I know the short cut, follow me.
Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2004 at 12:08pm
Please note that when using XMLHTTP the page generation time will go up.. sometimes you may maybe get script timeout errors..
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.