View Single Post
Old 10-15-2006, 08:38 AM  
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by spacedog View Post
You're missing the point here.. I'm not talking about rotating images or tables on my own sites, I am talking about rotating tables/images of MINE to be able to be php included on OTHER PEOPLES pages.. were I disussing my own pages, I would just code right into the page itself, or include with php extension, but since I am trying to have this include work on others pages, the page/table/image being included coming from my domain & hosting, & the php include string being called from a different domain/host.

Certainly there are other various methods of getting a simple potd/motd, etc to work, however, standard potd/motd, etc are only images & links, whereas what I want to accomplish is similar to the method of Jaymancash & some others where the potd/motd etc is enclosed within a table so that there is also text, etc, so that with other webmasters placing the php include on their pages would have my table/image etc being displayed on their sites, but the page/table etc is hosted by me.. get it now?

If I need be fucking with apache, & all this other server admin shit, looks like I need to have someone do it for me as I haven't a friggen idea about any of that, lol.... I did however spend several hours reading about fread, fopen, etc.. so, eventually can figure all this out, I hope
I had it working fine with php and with perl (for those that didn't have php remote include configured in their php) long before AFF did their geoIP ads - I had over 300 people using my ad includes and made me a mint.

With php, it's a simple include("http://foo.com")
with perl/cgi: it's make a client cgi file called "proxy.cgi" with the contents:

Code:
use LWP::Simple;
print "Content-type:text/html\n\n";
getprint ($ENV{'QUERY_STRING'});
then have the clients add this code wherever they want to include your html:

<!--#include virtual="/cgi-bin/proxy.pl?http://yourserver.com/yourpage.html" -->
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote