Hi,

I'm pretty new to midgard and projects based on it. I like what I've
seen so far and am building some basic pages to learn it.
Right now I'm trying to write some PHP code creating a graphical
button for links. I'd like the user of this code (me, basically ;) to
be able to just attach the background image of the button and a font
file to the page creating the buttons and then passing the text of 
the
button as a parameter. Most of that stuff works. I just have to
overcome one problem:
Getting the background image from an attachment is working by using
http://domain/sitename/etc/NAME. PHP is doing all the magic for me
there. But for the TTF Font file PHP won't accept URLs but only local
files. Plus I'd like to be able to access the graphics directly as
that would make the page a little bit more efficient :)
So I need to know how I can get the full file name of an attachment.
Can anyone help me with this?

Thanks in advance,
Olli





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to