martinszutner Posted September 8, 2008 Share Posted September 8, 2008 (edited) Hi, when I run CODE'ma FixEncode(''ma" onmouseover') Func FixEncode($vHTML) $resultado =StringRegExpReplace($vHTML, '\&\#([0-9]+)\;',("\1")) ConsoleWrite( $resultado) return ($resultado) EndFuncoÝ÷ Ú·º¹â¶Ø^rëyËh "{¦n·¬×OZÝ=í»Â§!Øb+hjëh×6FixEncode('ma" onmouseover') Func FixEncode($vHTML) $resultado =StringRegExpReplace($vHTML, '\&\#([0-9]+)\;',chr("\1")) ConsoleWrite( $resultado) return ($resultado) EndFunc It don`t return nothing (should be "ma") whait is the razon??????? Edited September 8, 2008 by martinszutner Link to comment Share on other sites More sharing options...
enaiman Posted September 8, 2008 Share Posted September 8, 2008 Pay attention to use of quotes ' and double-quotes " FixEncode('"ma" onmouseover') SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 8, 2008 Share Posted September 8, 2008 This is a duplicate (sort of) post. I think the other one has the formatting the OP intended. This one got glitched by HTML contained in the code provided. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now