View Single Post
Old 11-25-2003, 09:39 PM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
system("/PATH/TO/cgi-bin/iplog.cgi");

I'm not sure that would have the desired affect though, since it's PHP executing the program, not Apache (that's why you need a full path). I don't know if the variables your CGI needs will be passed through.

If that doesn't work, then why not img src it? Much cleaner than an if<b></b>rame if you can get iplog.cgi to return a 1x1 transparent gif.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote