![]() |
Can someone tell me how to put this code in a php page please?
!--#exec cgi="/cgi-bin/iplog.cgi" -->
Thank you. |
Why are you using SSI with PHP?
|
I dont think you can unless you set Apache to recognise the .php extention as a file type to use includes
Try this in your .htaccess (I havent ever done this so it might be wrong) AddOutputFilter INCLUDES .php |
I just want to know how to put it in a php page. Then it won't be ssi, right?
Hey, everyone knows I'm no coder. I get by. I just want it to work on a php page. So.. <.? * ?> ?? |
Quote:
|
Quote:
It would be an .shtml file though becasue by default those are the only files parsed through SSI. |
Ok. can do. Thank you.
All I want it to do is collect IP from http://adult-site-traffic.com/stats/order and run it against the flagging system on my secure order server where my cart pends orders.. Thank you :) |
50$ for the answer
|
PHP Code:
|
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. |
All times are GMT -7. The time now is 09:59 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123