home | faq | advertising | Internet Marketing Tactics | contact
Phoneregistry.com

New:


Cheating Spouses
Acid Reflux
Broadband Internet
Cerebral Palsy
Computer Forensics
CRM
Debt Consolidation
Drug Rehabilitation
Email Marketing
Forex Trading
Hair Removal
Heartburn Treatment
Identity Theft
Liposuction
Medical Alerts
Network Storage
Online Degrees
Payday Advances
Prostate Cancer
Royal Caribbean
Stock Trading
Tooth Whitening
Dentures
Ankle Bands
Protein Shakes
Banks
Cafe World
City of Wonder
Cityville
Frontierville
Mafia Wars
Pet Society
Treasure Isle
Final Fantasy
World of Warcraft
Starcraft 2
Game Testing
Cholesterol
Fertility
Coldsores
Premenstrual Tension
Burns
Allergic Reactions
internet marketing tactics

Menu:

G La E G
Chair Of Different Uses

Taping And Topping Drywall Texture
22installing A Hot Water Heater3a
22t Hinges22 22how To22
2bhow Can I Stop My Fireplace From Smoking
Adding Insulation Bats To Attic
Adding Insulation To A Floored Attic Space
Advantages And Disadvantages Of Galvanized Pipe
Appling Vinyl Spackle
Attaching Wire Mesh To Repair Concrete Pier
Attic Insulation Donts
Attic Insulations
Basement Doorbell
Basics Of Mudding Drywall
Do It Yourself Drywall Finishing Vinyl Corner Bead
How To Install Wainescotting
Benefit Swag Butt Hinges
Best Water Pipes
Best Way To Get Rid Of Grooves In Paneling
Using A Biscuit Joiner To Make A Wooden Picture Frame
22blind Hinges22
Blow Insulation Rental
Brass Galvanized Vs
Building Drawers Using A Biscuit Joiner
Building Drawers Using A Biscuit Joiner
Butt Hinge Versus Ball Bearing Hinge
Hookups Wallpaper
How To Change The Garage Door Lock

Privacy Policy

Pier And Beam Foundation Insulation

Improve


Click here for Satellite TV software for your PC *NEW*


<%Function ReadDir(FolderName) Dim objFSO Set objFSO = Server.CreateObject("Scripting.FileSystemObject") 'Make sure the specified folder exists If Not objFSO.FolderExists(FolderName) Then ReadDir = "Folder does not exist." Exit Function End If 'Create a Folder object for the folder path we are interested in Dim objFolder Set objFolder = objFSO.GetFolder(FolderName) 'Here we want to populate an array with all of the file names for text 'files in our folder object. Note that we incrementally resize the 'array for perf reasons (see this user tip for 'an explanation on why we want to do it this way... Dim I : I = -1 ReDim arrFile(20) Dim objFile 'Loop through each file in the folder For Each objFile In objFolder.Files 'Since we only want to work with text files... If Right(objFile, 4) = ".asp" and (instr(objFile,"1")<1) Then I = I + 1 'Do we need to redim our array? if I > UBound(arrFile) then ReDim Preserve arrFile(I + 20) arrFile(I) = objFile.Path End If Next 'Make sure arrFile is the right size Redim Preserve arrFile(I) 'What if we didn't find any files in the directory? If I = -1 Then ReadDir = "" Exit Function End If 'Choose a random file from the array Randomize Dim RanFile : RanFile = Int((UBound(arrFile) - 1 + 1) * Rnd + 1) Dim strOutput : strOutput = "" Dim strFileName : strFileName = arrFile(RanFile) If objFSO.FileExists(strFileName) Then 'Open the file and dump its contents into the strOutput variable Dim objTextStream Set objTextStream = objFSO.OpenTextFile(strFileName, 1) Do While Not objTextStream.AtEndOfStream strOutput = strOutput & objTextStream.ReadLine Loop objTextStream.Close Else ReadDir = "File does not exist.
This can be changed " & _ "to a default message or nothing." Exit Function End If ReadDir = strOutput 'Finally we have the file's output! Return it Set objTextStream = Nothing Set objFolder = Nothing Set objFile = Nothing Set objFSO = NothingEnd FunctionResponse.Write(ReadDir(Server.MapPath("./")))%>

Please use the form below to comment on this page:

Name:
Email Address: (kept private)
Comments:
Let me know if my message is replied to: yes
Please enter the digits 513 in the box. This keeps away spam robots:

Some Improve Resources:

72.249.143.2190 requests per minute. Scraper Total time: 0 seconds. Current time: 5:10:00 PM