•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 397,710 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,397 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser:
Views: 3938 | Replies: 1 | Solved
![]() |
•
•
Posts: n/a
Solved Threads: n/a
Whilst wondering around aimlessly, I came across a pack of "Afterworld" cards, and printed on these cards in quite a few places, was this script:
Can anyone tell me what it is?
textOutput.append("Date : "+ new Date(usedURLConn.getDate())+"\n");
textOutput.append("Content-Type: "+usedURLConn.getContentType()+"\n");
len = usedURLConn.getContentLength();
textOutput.append("Content length: "+len+"\n\n");
if(len>0)
{
textOutput.append("The file's contents is as follows: \n--------------------\n");
InputStream input = usedURLConn.getInputStream();;
int i=len;
while (((c=input.read()) != -1) && (--i>0))
{
textOutput.append(""+(char)c);
}
input.close();
textOutput.append("\n--------------------\n");
}
else
{
textOutput.append("Sorry! That file is EMPTY, or that file does not exist!");
}
}
});
}
}![]() | Mark as Unsolved |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Computer Science and Software Design Marketplace
•
•
•
•
asm assembly x86 programming hla demo blog blogging business software c c++ code coding computer dell design developer development erp systems evaluation google india internet it java linux media microsoft microsystems mmorpg networking news office online open operating planning platform programming project management rss science security software software selection source sun system technology evaluation tutorials vista web windows xp
- Python noob needs random help (Python)
- ASP/SQL - Problem (ASP)
- When a host says "included scripts" (Networking Hardware Configuration)
- Object-Oriented Programming (C++)
- Random number generation (C)
- Safe Array (C++)
- Bash shell screipt help (Shell Scripting)
Other Threads in the Computer Science and Software Design Forum
- Previous Thread: Need help with Computer Science homework
- Next Thread: QuickSort


Linear Mode