hello!!
-----------Content of PAGE.CFM-----------------
<a href=" ..... </a>
other codes.......
<a href=" ..... </a>
other codes.......
<a href=" ..... </a>
other codes.......
<a href=" ..... </a>
other codes.......
------------End of Page-----------------------
I´m connecting with CFhttp....
<cfhttp url="method="get" resolveurl="Yes"></cfhttp>
I want do match in cfhttp.content
for retrieving all urls
(<a href=""></a>)
<cfset url=REFind("(<a href=+</a>)", cfhttp.filecontent, 1, TRUE')>
<CFLOOP index="i" from="2" to="#ArrayLen(url.pos)#">
<CFOUTPUT>
Pos is #url.pos#;
Lngth is #url.len#;
Substring is
[#Mid(HttpQuery,url.pos,url.len)#]<br>
</CFOUTPUT>
</CFLOOP>
didn´t workd!!
any idea????
sorry...I´m Chilean
-----------Content of PAGE.CFM-----------------
<a href=" ..... </a>
other codes.......
<a href=" ..... </a>
other codes.......
<a href=" ..... </a>
other codes.......
<a href=" ..... </a>
other codes.......
------------End of Page-----------------------
I´m connecting with CFhttp....
<cfhttp url="method="get" resolveurl="Yes"></cfhttp>
I want do match in cfhttp.content
for retrieving all urls
(<a href=""></a>)
<cfset url=REFind("(<a href=+</a>)", cfhttp.filecontent, 1, TRUE')>
<CFLOOP index="i" from="2" to="#ArrayLen(url.pos)#">
<CFOUTPUT>
Pos is #url.pos#;
Lngth is #url.len#;
Substring is
[#Mid(HttpQuery,url.pos,url.len)#]<br>
</CFOUTPUT>
</CFLOOP>
didn´t workd!!
any idea????
sorry...I´m Chilean