02-15-2011
On HP-UX the year between 1 and 9999.
Refer the link
cal - HP-UX
This User Gave Thanks to ungalnanban For This Post:
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what command can show calendar in unix system? (2 Replies)
Discussion started by: kennethchow
2 Replies
2. Shell Programming and Scripting
Hi,
Is there any autosys calendar for last day of a month(irrespective of holidays)
For eg., Jan 31, Feb 28(29), Mar 31, Apr 30 ...
Thanks in Advance (2 Replies)
Discussion started by: rspk_praveen
2 Replies
3. Web Development
Hi folks,
I am kind of new to these things. I want to create a web based database which will serve as a sort of vacation calendar for the employees so that we know how many men we have at a given date.
We want this to be seen on internal pages only, so it will be accessed by a username and... (3 Replies)
Discussion started by: apprentice
3 Replies
4. Shell Programming and Scripting
Hi,
I need a simple shell script to help filter weekends from the calendar of a month. In other words, i need a script to identify the working days in a month. (3 Replies)
Discussion started by: pravsripad
3 Replies
5. Shell Programming and Scripting
Hi, how should I use system command cal (calendar) in awk?, I have try several combinations and none works.
Here what I have done.
awk -f '{print cal}'
awk -f '{print 'cal'}'
awk -f '{print "cal"}'
awk -f {print cal}
Regards. (2 Replies)
Discussion started by: Godie
2 Replies
6. Shell Programming and Scripting
I have a few .calendar files
/usr/share/calendar
they look like
01/01<TAB>Anniversary of the Triumph of the Revolution in Cuba
01/24<TAB>Gold discovered in California at Sutter's Mill, 1848
01/28<TAB>First ski tow, Woodstock VT, 1914
01/28<TAB>Space Shuttle Challenger (51-L) explodes 74... (2 Replies)
Discussion started by: p100x1
2 Replies
7. Shell Programming and Scripting
Does anyone know if you can create an Extended Calendar in Autosys that will do the following...Schedule on the last business day of the month, but if the last business day falls on a Mon-Thur...schedule on the next business day (1st of the next month) ? (1 Reply)
Discussion started by: amarq0004
1 Replies
LEARN ABOUT PHP
http_redirect
HTTP_REDIRECT(3) 1 HTTP_REDIRECT(3)
http_redirect - Issue HTTP redirect
SYNOPSIS
bool http_redirect ([string $url], [array $params], [bool $session = false], [int $status])
DESCRIPTION
Redirect to the given url.
The supplied $url will be expanded with http_build_url(3), the $params array will be treated with http_build_str(3) and the session iden-
tification will be appended if $session is true. The HTTP response code will be set according to $status. You can use one of the redirect
constants for convenience. Please see RFC 2616 for which redirect response code to use in which situation. By default PHP will decide which
response status fits best.
To be RFC compliant, "Redirecting to <a>URL</a>." will be displayed, if the client doesn't redirect immediately, and the request method
was another one than HEAD.
A log entry will be written to the redirect log, if the INI settinghttp.log.redirect is set and the redirect attempt was successful.
PARAMETERS
o $url
- the URL to redirect to
o $params
- associative array of query parameters
o $session
- whether to append session information
o $status
- custom response status code
RETURN VALUES
Returns FALSE or exits on success with the specified redirection status code. See the INI settinghttp.force_exit for what "exits" means.
EXAMPLES
Example #1
A http_redirect(3) example
<?php
http_redirect("relpath", array("name" => "value"), true, HTTP_REDIRECT_PERM);
?>
The above example will output:
HTTP/1.1 301 Moved Permanently
X-Powered-By: PHP/5.2.2
Content-Type: text/html
Location: http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc
Redirecting to <a href="http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc">http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc</a>.
SEE ALSO
the HttpResponse class if you are using PHP 5.1.0 and above.
PHP Documentation Group HTTP_REDIRECT(3)