Difference between revisions of "GETURL()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return a URL as text
 
Function to return a URL as text
 
  
 
==Syntax==
 
==Syntax==
GETURL(<expC> [, <expN>])
+
GETURL(<expC1> [, <expN> [, <expO> [, expC2>]]])
 
+
  
 
==See Also==
 
==See Also==
[[AT()]], [[ATNEXT()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FILETOSTR()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[ISSERVER()]], [[SUBSTR()]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[TRIM()]]
+
[[AT()]], [[ATNEXT()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FILETOSTR()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[ISSERVER()]], [[JSON_DECODE_FILE()]], [[SUBSTR()]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[TRIM()]], [[XML_DECODE_FILE()]]
 
+
  
 
==Description==
 
==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.
+
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==
 
==Example==
Line 28: Line 23:
 
</code>
 
</code>
  
 
==Products==
 
Recital Web, Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 07:55, 14 November 2012

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(), 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>