![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Mar 2003
Location: South-East of the Border of Disorder
Posts: 5,093
|
Can someone tell me how to put this code in a php page please?
!--#exec cgi="/cgi-bin/iplog.cgi" -->
Thank you.
__________________
![]() ALL Domains and Websites are GOING AWAY NOW! Ask me! Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here } .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
|
Why are you using SSI with PHP?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
|
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
__________________
Amen |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Mar 2003
Location: South-East of the Border of Disorder
Posts: 5,093
|
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.. <.? * ?> ??
__________________
![]() ALL Domains and Websites are GOING AWAY NOW! Ask me! Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here } .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Mar 2003
Location: South-East of the Border of Disorder
Posts: 5,093
|
Quote:
__________________
![]() ALL Domains and Websites are GOING AWAY NOW! Ask me! Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here } .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
|
Quote:
It would be an .shtml file though becasue by default those are the only files parsed through SSI.
__________________
Amen |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Mar 2003
Location: South-East of the Border of Disorder
Posts: 5,093
|
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 ![]()
__________________
![]() ALL Domains and Websites are GOING AWAY NOW! Ask me! Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here } .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Aug 2003
Location: Montreal!
Posts: 6,285
|
50$ for the answer
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
|
PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |