Jump to content
Sign in to follow this  
martinszutner

a tipical run function

Recommended Posts

martinszutner

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 by martinszutner

Share this post


Link to post
Share on other sites
enaiman

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 :)

Share this post


Link to post
Share on other sites
PsaltyDS

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×