GETURL()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to return a URL as text


Syntax

GETURL(<expC> [, <expN>])


See Also

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


Description

The GETURL() function reads the specified URL, <expC>, 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>


Products

Recital Web, Recital Server, Recital