source: www/manuals/PHP_manual/function.sha1-file.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

File size: 2.7 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>sha1_file</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
8REL="HOME"
9TITLE="Manuál PHP"
10HREF="index.html"><LINK
11REL="UP"
12TITLE="Funkce pro práci s øetìzci"
13HREF="ref.strings.html"><LINK
14REL="PREVIOUS"
15TITLE="setlocale"
16HREF="function.setlocale.html"><LINK
17REL="NEXT"
18TITLE="sha1"
19HREF="function.sha1.html"><META
20HTTP-EQUIV="Content-type"
21CONTENT="text/html; charset=ISO-8859-2"></HEAD
22><BODY
23CLASS="refentry"
24BGCOLOR="#FFFFFF"
25TEXT="#000000"
26LINK="#0000FF"
27VLINK="#840084"
28ALINK="#0000FF"
29><DIV
30CLASS="NAVHEADER"
31><TABLE
32SUMMARY="Header navigation table"
33WIDTH="100%"
34BORDER="0"
35CELLPADDING="0"
36CELLSPACING="0"
37><TR
38><TH
39COLSPAN="3"
40ALIGN="center"
41>Manuál PHP</TH
42></TR
43><TR
44><TD
45WIDTH="10%"
46ALIGN="left"
47VALIGN="bottom"
48><A
49HREF="function.setlocale.html"
50ACCESSKEY="P"
51>Pøedcházející</A
52></TD
53><TD
54WIDTH="80%"
55ALIGN="center"
56VALIGN="bottom"
57></TD
58><TD
59WIDTH="10%"
60ALIGN="right"
61VALIGN="bottom"
62><A
63HREF="function.sha1.html"
64ACCESSKEY="N"
65>Dal¹í</A
66></TD
67></TR
68></TABLE
69><HR
70ALIGN="LEFT"
71WIDTH="100%"></DIV
72><H1
73><A
74NAME="function.sha1-file"
75></A
76>sha1_file</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN82724"
81></A
82><P
83> (PHP 4 CVS only)</P
84>sha1_file&nbsp;--&nbsp;Calculate the sha1 hash of a file</DIV
85><DIV
86CLASS="refsect1"
87><A
88NAME="AEN82727"
89></A
90><H2
91>Description</H2
92>string <B
93CLASS="methodname"
94>sha1_file</B
95> ( string filename)<BR
96></BR
97><P
98>&#13; Calculates the sha1 hash of <TT
99CLASS="parameter"
100><I
101>filename</I
102></TT
103> using the
104 <A
105HREF="http://www.faqs.org/rfcs/rfc3174.html"
106TARGET="_top"
107>US Secure Hash Algorithm 1</A
108>,
109 and returns that hash. The hash is a 40-character hexadecimal number.
110 Upon failure, <TT
111CLASS="constant"
112><B
113>FALSE</B
114></TT
115> is returned.
116 </P
117><P
118>&#13; See also <A
119HREF="function.sha1.html"
120><B
121CLASS="function"
122>sha1()</B
123></A
124>, <A
125HREF="function.crc32.html"
126><B
127CLASS="function"
128>crc32()</B
129></A
130>,
131 and <A
132HREF="function.md5-file.html"
133><B
134CLASS="function"
135>md5_file()</B
136></A
137>
138 </P
139></DIV
140><DIV
141CLASS="NAVFOOTER"
142><HR
143ALIGN="LEFT"
144WIDTH="100%"><TABLE
145SUMMARY="Footer navigation table"
146WIDTH="100%"
147BORDER="0"
148CELLPADDING="0"
149CELLSPACING="0"
150><TR
151><TD
152WIDTH="33%"
153ALIGN="left"
154VALIGN="top"
155><A
156HREF="function.setlocale.html"
157ACCESSKEY="P"
158>Pøedcházející</A
159></TD
160><TD
161WIDTH="34%"
162ALIGN="center"
163VALIGN="top"
164><A
165HREF="index.html"
166ACCESSKEY="H"
167>Domù</A
168></TD
169><TD
170WIDTH="33%"
171ALIGN="right"
172VALIGN="top"
173><A
174HREF="function.sha1.html"
175ACCESSKEY="N"
176>Dal¹í</A
177></TD
178></TR
179><TR
180><TD
181WIDTH="33%"
182ALIGN="left"
183VALIGN="top"
184>setlocale</TD
185><TD
186WIDTH="34%"
187ALIGN="center"
188VALIGN="top"
189><A
190HREF="ref.strings.html"
191ACCESSKEY="U"
192>Nahoru</A
193></TD
194><TD
195WIDTH="33%"
196ALIGN="right"
197VALIGN="top"
198>sha1</TD
199></TR
200></TABLE
201></DIV
202></BODY
203></HTML
204>
Note: See TracBrowser for help on using the repository browser.