<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Folks, sorry
for the question, I figured out that it's $pagename. Actually, I had
tried that before, but had forgotten to declare it as a global in my
function.<br>
<br>
PHP beginner at work... :-)<br>
<br>
<br>
</font></font><br>
Mike wrote on 01.10.2006 20:32:
<blockquote cite="mid452009A3.3000409@widowitz.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi all,<br>
<br>
I suppose this is a really easy one: I'm writing a custom directive <br>
<br>
(:mydirective:)<br>
<br>
and from within the PHP code behind this directive, I need to know the
pagename which is calling the directive, e.g. "Main.Test". How can I
access this variable from within my PHP code?<br>
<br>
Thanks,<br>
Mike<br>
<br>
<br>
</font></font>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
</pre>
</blockquote>
</body>
</html>