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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-27-2004, 02:53 PM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Serious Thread (ST) - SSI or equivalent to include a page across several domains?

All domains are on same box..... will SSI work across server for a few domains?

I need to include links on each page and dont want to update evry page rather one main page the the SSi or whatever will call.


????
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:00 PM   #2
bluff
Too lazy to set a custom title
 
Join Date: Jan 2004
Location: Bluffville
Posts: 6,253
Quote:
Originally posted by juicylinks
All domains are on same box..... will SSI work across server for a few domains?

I need to include links on each page and dont want to update evry page rather one main page the the SSi or whatever will call.


????
I think it will. Just give it a try!
bluff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:01 PM   #3
bluff
Too lazy to set a custom title
 
Join Date: Jan 2004
Location: Bluffville
Posts: 6,253
Quote:
Originally posted by bluff
I think it will. Just give it a try!
better include a (pic) in your title next time instead of a (ST) if you know what I mean...
bluff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:01 PM   #4
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:25 PM   #5
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:30 PM   #6
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
If i dont get help

I wont post funny pics anymore
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:31 PM   #7
MrIzzz
If u touch it, I will cum
 
Join Date: Sep 2003
Location: long island
Posts: 22,923
funny how a serious thread doesnt get any answers
__________________


WHO WANTS TO PLAY GRAB-ASS?
MrIzzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:39 PM   #8
sumphatpimp
Confirmed User
 
Join Date: Aug 2002
Posts: 5,235
hit this link or your Q factor will suffer
sumphatpimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:42 PM   #9
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
yes, will work with files OR directories, have a few clients that use shared content for members areas, and asl long as everything sits on the same machine, will work fine.
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:44 PM   #10
hibbidiji
Confirmed User
 
Join Date: Sep 2002
Location: Las Vegas
Posts: 208
You can do it on the same server easily. if you want to do it across servers you're gonna want to use something like php which if setup properly can do it very easily. (easiest in fact) if you need help hit
36670850

D
__________________
---------------
hibbidiji is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:45 PM   #11
jimboc
Confirmed User
 
Join Date: Jun 2002
Location: Internet of course
Posts: 1,614
Quote:
Originally posted by juicylinks
If i dont get help

I wont post funny pics anymore
Someone help juicy
__________________
jimboc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:45 PM   #12
gornyhuy
Chafed.
 
gornyhuy's Avatar
 
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
This is why god gave hosting companies tech support.
__________________

icq:159548293
gornyhuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:45 PM   #13
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
this is also helpfull and might help with what you need doing:
http://linux.about.com/library/cmd/blcmdl1_ln.htm
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:46 PM   #14
cluck
Confirmed User
 
Join Date: Dec 2002
Location: New Jersey
Posts: 5,248
I do that with galleries. Like my gallery list is on one domain and I do a php include of ../www.picshow.net/galdump/teens7.txt or whatever.
__________________
icq 279990726
www.mcdonalds.com <- great money making opportunity
cluck is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:48 PM   #15
modifried
Registered User
 
Join Date: Feb 2004
Location: BC, Canada
Posts: 38
SSI won't be able to help as it has no access to any sort of URL wrapper, PHP is something that would work. When compiled with the proper configuration options, you're able to include other files via HTTP.

Keep in mind, though, you will _not_ be able to include PHP code and have it be run on the local server it's being included on.

General syntax would be:

&lt;?php
include("http://www.yoursite.com/includes/include.htm");
?>

Any questions feel free to ICQ me.

Andy
__________________
Coder.

ICQ - 39959568
Email - [email protected]
modifried is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:48 PM   #16
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally posted by gornyhuy
This is why god gave hosting companies tech support.
I dont use tech support for educational purposes. I try to figure and learn it myself.


I am just teaching myself juicy stuff
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:51 PM   #17
gornyhuy
Chafed.
 
gornyhuy's Avatar
 
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
Quote:
Originally posted by juicylinks
I dont use tech support for educational purposes. I try to figure and learn it myself.


I am just teaching myself juicy stuff
In that case you should use PHP includes, you can include basically anything anywhere. If have .php files gives you heartburn there are tricks to avoid that.
__________________

icq:159548293
gornyhuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:53 PM   #18
modifried
Registered User
 
Join Date: Feb 2004
Location: BC, Canada
Posts: 38
Quote:
Originally posted by gornyhuy
In that case you should use PHP includes, you can include basically anything anywhere. If have .php files gives you heartburn there are tricks to avoid that.
Yeah, the most effective of which being to either edit the httpd.conf file or use an .htaccess file with the line:


AddType application/x-httpd-php .php .php3 .htm .html

To make .htm and .html files work with the PHP parser.


Edit: Assuming it's an apache webserver.
__________________
Coder.

ICQ - 39959568
Email - [email protected]
modifried is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:53 PM   #19
AWC
Confirmed User
 
Join Date: Aug 2001
Location: Bumfuck
Posts: 1,223
why not use symbolic links to the file... and then ssi to include.

then update your primary file.
AWC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:56 PM   #20
hibbidiji
Confirmed User
 
Join Date: Sep 2002
Location: Las Vegas
Posts: 208
Quote:
Originally posted by modifried
SSI won't be able to help as it has no access to any sort of URL wrapper, PHP is something that would work. When compiled with the proper configuration options, you're able to include other files via HTTP.

Keep in mind, though, you will _not_ be able to include PHP code and have it be run on the local server it's being included on.

General syntax would be:

&lt;?php
include("http://www.yoursite.com/includes/include.htm");
?>

Any questions feel free to ICQ me.

Andy
hehe now lets be precise so long as we're teaching juicy the ropes on php. you CAN include remote php code, but you have to treat it well you can pop the code as plaintext (non parsed) on one machine (SO insecure it hurts) and include it on another box and EVAL it which works fine... base64encoding and gzipping then removing the code bits helps to secure it a bit if you dont mind a 12 year old figuring it out.

but fair's fair, mod is right (and I'm sure he knew all this) you cant just include php code from remote servers as it will be parsed by apache (or whatever) before it gets to you.

dont even get me started on SOAP ;)

D
__________________
---------------
hibbidiji is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 03:58 PM   #21
jayeff
Confirmed User
 
Join Date: May 2001
Posts: 2,944
You can access via SSI files and directories across domains on a single machine. But first you need to set up an alias for each directory (tree) that you want to be able to address in this way.

You do this in httpd.conf and an example would be:
Alias /common /full_server_path_to_one_of_your_domains/common

Using that example, you would then be able to address files and subdirectories in the directory "common" using the same SSI commands as if that directory existed on each domain. BTW this works not only for SSI includes, etc., but also for normal href= calls, img src= etc.
jayeff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 04:00 PM   #22
milambur
Mainstream since 2010
 
milambur's Avatar
 
Industry Role:
Join Date: Jan 2003
Posts: 1,327
Since it's all on the same server use the absolute path to the file with php include instead, much faster then a http reference.
__________________
Alea iacta est
milambur is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 04:03 PM   #23
hibbidiji
Confirmed User
 
Join Date: Sep 2002
Location: Las Vegas
Posts: 208
Quote:
Originally posted by milambur
Since it's all on the same server use the absolute path to the file with php include instead, much faster then a http reference.

terry goodkind? milamber?
__________________
---------------
hibbidiji is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 04:04 PM   #24
modifried
Registered User
 
Join Date: Feb 2004
Location: BC, Canada
Posts: 38
Quote:
Originally posted by hibbidiji
hehe now lets be precise so long as we're teaching juicy the ropes on php. you CAN include remote php code, but you have to treat it well you can pop the code as plaintext (non parsed) on one machine (SO insecure it hurts) and include it on another box and EVAL it which works fine... base64encoding and gzipping then removing the code bits helps to secure it a bit if you dont mind a 12 year old figuring it out.

but fair's fair, mod is right (and I'm sure he knew all this) you cant just include php code from remote servers as it will be parsed by apache (or whatever) before it gets to you.

dont even get me started on SOAP ;)

D
Yeah. Although, technically, it'd be parsed by PHP before it gets to you. Apache passes it to the PHP parser, which returns the modified code back to Apache to server. ;)

And yes, you _could_ include remote PHP code, using the methods you mentioned. Another would be to use PHP's sockets support to open an https connection to the server with the code, and send a password via POST to retrieve the content. The server could keep an active list of allowed domains/scripts that it will serve, and if you're not on the list, OR you're on it and supply an invalid pass, just spit out an error instead.
__________________
Coder.

ICQ - 39959568
Email - [email protected]
modifried is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 04:05 PM   #25
modifried
Registered User
 
Join Date: Feb 2004
Location: BC, Canada
Posts: 38
Quote:
Originally posted by milambur
Since it's all on the same server use the absolute path to the file with php include instead, much faster then a http reference.
Yeah, I didn't pay enough attention to the original post, I thought he wanted to include across separate servers. I agree with the above post (namely because it's right;), including via absolute path will save you some overhead and make for faster response times in general.
__________________
Coder.

ICQ - 39959568
Email - [email protected]
modifried is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2004, 04:07 PM   #26
milambur
Mainstream since 2010
 
milambur's Avatar
 
Industry Role:
Join Date: Jan 2003
Posts: 1,327
Quote:
Originally posted by hibbidiji
terry goodkind? milamber?
Raymond E. Feist , I misspelled it the first time i used it and it stuck after that.
__________________
Alea iacta est
milambur is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.