GETURL()

From Lianjapedia
Revision as of 23:24, 9 December 2012 by Admin (Talk | contribs)

Jump to: navigation, search

Purpose

Function to return a URL as text

Syntax

GETURL(<expC1> [, <expN> [, <expO> [, expC2>]]])

See Also

AT(), ATNEXT(), FCLOSE(), FCREATE(), FERROR(), FGETS(), FILETOSTR(), FOPEN(), FPUTS(), FREAD(), FREADSTR(), FWRITE(), ISSERVER(), JSON_DECODE_FILE(), POSTURL(), SUBSTR(), STUFF(), STR(), STREXTRACT(), STRTOFILE(), STRTRAN(), STRZERO(), TRIM(), XML_DECODE_FILE()

Description

The GETURL() function reads the specified URL, <expC1>, and returns its contents as text. The optional <expN> parameter allows a timeout in seconds to be set.

Example

<!-- twitter.rsp -->
<html>
<body>
<%
? geturl("http://twitter.com/recitalsoftware",60)
%>
</body>
</html>