[midas] adjs.php

Tim Gorter email at teletechnics.com
Tue Aug 26 11:10:14 PDT 2003


Hello,

Was wondering if there was a method, or someone had written a script
to be able to call ads from outside the horde server.

ie. That I can insert the line
<script language="JavaScript"
src="http://horde.web.server/midas/adjs.php">
and it would serve the ad.

At the moment I have that it calls dirname(__FILE__) wrong, i.e. of
the result is of the server where the script is called from, and not
the horde server where the add is being served from. The result that
the link is there, with a broken image and false address when pass
over it with a mouse. Although it does get registered in the showings
count.

If not, what clues are out there to help, that I could follow this up?
As simply rewritting MIDAS_BASE and HORDE_BASE in all files seems
slightly not useful..

thanks,
tim.

---------------------------------------------------
Teletechnics Afield
Tel +34 65 22 60 777 Fax +34 63 73 01 920
mailto:email at teletechnics.com   http://www.teletechnics.com

currently in: Barceloneta, Spain



More information about the midas mailing list