2014-10-08, 08:32 PM
So, I am trying to make a mycode take a steamID and use it in a php calculation to find a value out of that steam id, and then return an image based on it.
My questions are:
1: How do I parse the arguments of mycode to the replacement string? It isn't clearly explained anywhere I can find.
2: Can the replacement string include PHP or not?
FYI, I am trying to turn this:
into some long lime php code that I haven't exactly nailed down yet that will convert the string into its 64 bit brother and then output an image in html
My questions are:
1: How do I parse the arguments of mycode to the replacement string? It isn't clearly explained anywhere I can find.
2: Can the replacement string include PHP or not?
FYI, I am trying to turn this:
\[steam=STEAM_0:(0|1):\d{1,8}\]
into some long lime php code that I haven't exactly nailed down yet that will convert the string into its 64 bit brother and then output an image in html
<a href="http://steamsignature.com"><img src="http://steamsignature.com/profile/english/64BITSTEAMIDGOESHERE.png" alt="" title="" /></a>