08-03-2009
Looking for a web page that won't let me in
Hi,
I have a project for school using wget and egrep to locate pattern locations on a web page.
One of the things we have to do is handle an "access denied" exception.
Here is the problem, I can not think of/find any web pages that give me an access denied error to play with, can anyone suggest any?
Please no government/banking pages, or any other pages that may get my IP address logged as a hacker.
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I built my website based on Dreamweaver, on Windows platform. My server uses Unix, and the page doesn't look too good. Is there any way to solve this problem without too much of a headache? (1 Reply)
Discussion started by: PCL
1 Replies
2. UNIX for Dummies Questions & Answers
Hey im new to unix!
I am tryin to create a web page in unix and have done it all but when i try and load it it says permission denied!?>
i have chmod a+rx for folder and file to make sure but still permissions wont let me?!
any ideas can anyone do a quick run through of how to make a web page... (4 Replies)
Discussion started by: shashora
4 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am new to unix, but wanted to know how can we fetch data from a web page (i.e. an HTML Page), my requirement is to read an html page and wanted to create a flat file (text file) based on the contents available in the mentioned HTML page.
Thanks
Imtiaz (3 Replies)
Discussion started by: Imtiaz
3 Replies
4. UNIX for Dummies Questions & Answers
I'm 13 years of age and I am into computers. I am trying to learn how to make a webpage.
I could use the help and I would greatly appriciate it. (1 Reply)
Discussion started by: lydia98
1 Replies
5. Programming
Hello,
I'm a total newbie to HTTP commands, so I'm not sure how to do this. What I'd like is to write a C program to fetch the contents of a html page of a given address.
Could someone help with this?
Thanks in advance! (4 Replies)
Discussion started by: rayne
4 Replies
6. Shell Programming and Scripting
Hi all,
I am having an XML file.
And as per requirement I need to map fields of this file with various field of web page.
So how can I use wput command into it ?
Regards,
gander_ss (3 Replies)
Discussion started by: gander_ss
3 Replies
7. UNIX Desktop Questions & Answers
Is there a way we can get a web page through CLI on a unix machine? Please help! (3 Replies)
Discussion started by: Pouchie1
3 Replies
8. Shell Programming and Scripting
I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this. (1 Reply)
Discussion started by: lassimanji
1 Replies
9. AIX
nmon and web page !
Is there any way to let nmon be configured with external Web Page and updating the same web page to be graphic monitoring.
Pls advice ... (1 Reply)
Discussion started by: Mr.AIX
1 Replies
10. Slackware
OS: Slackwar 13.37
Printer: hpDeskjet 1000 j110
Printer Drivers/Software: HPLIP 3.11.3a (min was 3.10.9) and Cups
The printer will print the first of n-pages but from page 2 on it prints the page (or part of it) backs up and starts again down about 0.8 lines and does this repeatedly till the... (2 Replies)
Discussion started by: slak0
2 Replies
LEARN ABOUT PHP
ob_gzhandler
OB_GZHANDLER(3) 1 OB_GZHANDLER(3)
ob_gzhandler - ob_start callback function to gzip output buffer
SYNOPSIS
string ob_gzhandler (string $buffer, int $mode)
DESCRIPTION
ob_gzhandler(3) is intended to be used as a callback function for ob_start(3) to help facilitate sending gz-encoded data to web browsers
that support compressed web pages. Before ob_gzhandler(3) actually sends compressed data, it determines what type of content encoding the
browser will accept ("gzip", "deflate" or none at all) and will return its output accordingly. All browsers are supported since it's up to
the browser to send the correct header saying that it accepts compressed web pages. If a browser doesn't support compressed pages this
function returns FALSE.
PARAMETERS
o $buffer
-
o $mode
-
RETURN VALUES
EXAMPLES
Example #1
ob_gzhandler(3) example
<?php
ob_start("ob_gzhandler");
?>
<html>
<body>
<p>This should be a compressed page.</p>
</body>
</html>
NOTES
Note
ob_gzhandler(3) requires the zlib extension.
Note
You cannot use both ob_gzhandler(3) and zlib.output_compression. Also note that using zlib.output_compression is preferred over
ob_gzhandler(3).
SEE ALSO
ob_start(3), ob_end_flush(3).
PHP Documentation Group OB_GZHANDLER(3)