[RESOLVED] PHP Function Tag
(Apologies if this has been asked before.)
I often link to manual pages for functions in the PHP documentation. They use a very straightforward URL schema.
Is it possible that we could add a [phpfunc] tag that automatically creates this link?
For example:
Yes you can do this, refer to the [phpfunc=mail]mail() documentation[/phpfunc].
to produce the effect of:
Yes you can do this, refer to the [url=php.net/manual/en/function.mail]mail() documentation[/url].
It would be something like
<a href="http://php.net/manual/en/function.{option}" title="PHP: {option} - Manual">{param}</a>
Pretty please? :)
- P
P.S. The only downside to this is that they use - instead of _ in their URLs, but that is only a minor annoyance to remember when typing out the tag.
Re: [RESOLVED] PHP Function Tag
mail() - I don't see how it can be abused. But thanks :)