I couldn't think of a concise way to describe this in the Subject!
Anyways...
I am creating a PHP/MySQL driven website. I would like to provide
other users a sort of customized front-end PHP script which they can
install on their own server which will basically act as an alias for
my site; that is, when someone goes to WWW.THEIR-SITE.COM they
actually see and interract with the content on WWW.MY-SITE.COM,
passing back and forth the same GET, POST, and COOKIE vars (uh...
that's all I need, right?). I don't just want to forward/redirect
them to my site; I want the user to use WWW.THEIR-SITE.COM in the URL
and any links in the page (this front-end script would also contain
some kind of authentication for "connecting" to my site - but one
thing at a time!).
I've tinkered with:
INCLUDE() - causes problems by using relative paths.
FILE_GET_CONTENTS() - see the content well, but can't see GET and POST
vars.
Any suggestions for a solution or at least a better set of keywords to
search the newsgroups? Thanks in advance for any help! 7 2564
The solution is called DNS and virtual hosting.
Uzytkownik "Colman" <co***************@rominato.com> napisal w wiadomosci
news:4a**************************@posting.google.c om... I couldn't think of a concise way to describe this in the Subject! Anyways...
I am creating a PHP/MySQL driven website. I would like to provide other users a sort of customized front-end PHP script which they can install on their own server which will basically act as an alias for my site; that is, when someone goes to WWW.THEIR-SITE.COM they actually see and interract with the content on WWW.MY-SITE.COM, passing back and forth the same GET, POST, and COOKIE vars (uh... that's all I need, right?). I don't just want to forward/redirect them to my site; I want the user to use WWW.THEIR-SITE.COM in the URL and any links in the page (this front-end script would also contain some kind of authentication for "connecting" to my site - but one thing at a time!).
I've tinkered with: INCLUDE() - causes problems by using relative paths. FILE_GET_CONTENTS() - see the content well, but can't see GET and POST vars.
Any suggestions for a solution or at least a better set of keywords to search the newsgroups? Thanks in advance for any help!
Hi!
On 2 Feb 2004 13:35:52 -0800, co***************@rominato.com (Colman)
wrote: I couldn't think of a concise way to describe this in the Subject! Anyways...
I am creating a PHP/MySQL driven website. I would like to provide other users a sort of customized front-end PHP script which they can install on their own server which will basically act as an alias for my site; that is, when someone goes to WWW.THEIR-SITE.COM they actually see and interract with the content on WWW.MY-SITE.COM, passing back and forth the same GET, POST, and COOKIE vars (uh... that's all I need, right?). I don't just want to forward/redirect them to my site; I want the user to use WWW.THEIR-SITE.COM in the URL and any links in the page (this front-end script would also contain some kind of authentication for "connecting" to my site - but one thing at a time!).
I've tinkered with: INCLUDE() - causes problems by using relative paths. FILE_GET_CONTENTS() - see the content well, but can't see GET and POST vars.
Any suggestions for a solution or at least a better set of keywords to search the newsgroups? Thanks in advance for any help!
Write some kind of proxy with the curl extension or Snoopy on
Sourceforge.
HTH, Jochen
--
Jochen Daum - CANS Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces. http://sourceforge.net/projects/phpdbedittk/
my 2 cents:
if you are trying to host an entire site this way, dude, just use dns, and a
virtual host, or heck, just add lines in the .conf file:
ServerName www.my-site.com
ServerAlias www.thier-site.com
ServerAlias www.thier-site2.com
if you are just wanting parts of content, then use file() or do some socket
stuff.
--
Mike Bradley http://www.gzentools.com -- free online php tools
"Colman" <co***************@rominato.com> wrote in message
news:4a**************************@posting.google.c om... I couldn't think of a concise way to describe this in the Subject! Anyways...
I am creating a PHP/MySQL driven website. I would like to provide other users a sort of customized front-end PHP script which they can install on their own server which will basically act as an alias for my site; that is, when someone goes to WWW.THEIR-SITE.COM they actually see and interract with the content on WWW.MY-SITE.COM, passing back and forth the same GET, POST, and COOKIE vars (uh... that's all I need, right?). I don't just want to forward/redirect them to my site; I want the user to use WWW.THEIR-SITE.COM in the URL and any links in the page (this front-end script would also contain some kind of authentication for "connecting" to my site - but one thing at a time!).
I've tinkered with: INCLUDE() - causes problems by using relative paths. FILE_GET_CONTENTS() - see the content well, but can't see GET and POST vars.
Any suggestions for a solution or at least a better set of keywords to search the newsgroups? Thanks in advance for any help!
Thanks for your responses!
--1--
Socket Stuff / Proxy / Curl / Snoopy ... My knowledge is completely
lacking in these areas. I will try to investigate.
--2--
DNS / Virtual hosting ... I think I see where you guys are going with
this (I'm not entirely knowledgable in that area and will look into
it), but it sounds like -- and please correct me if I'm wrong -- that
by going that route I will be unable to (as hinted in my original
post*) insert a script in between which will handle some
authentification for the "connection" between MY-SITE and the
requesting/client THEIR-SITE script and be invisible to the user.
That is, the site using this front-end script is basically accessing
only a subset of my site's entire content.
Therefore, what I would like to have happen is when someone goes to WWW.MY-SITE.COM they will have access to everything, but when someone
goes to WWW.THEIR-SITE.COM, the front-end script at THEIR-SITE makes a
request of some kind (include()?) from MY-SITE in a way which would
identify itself as THEIR-SITE by providing the proper authentication
and then MY-SITE would return the appropriate content.
I Hope I'm making sense. Perhaps DNS/Virtual hosting can do this for
me? I certainly wouldn't have access to the conf files on any of
these servers.
* (this front-end script would also contain some kind of
authentication for "connecting" to my site - but one thing at a time!)
-- Original Post -- co***************@rominato.com (Colman) wrote in message news:<4a**************************@posting.google. com>... I couldn't think of a concise way to describe this in the Subject! Anyways...
I am creating a PHP/MySQL driven website. I would like to provide other users a sort of customized front-end PHP script which they can install on their own server which will basically act as an alias for my site; that is, when someone goes to WWW.THEIR-SITE.COM they actually see and interract with the content on WWW.MY-SITE.COM, passing back and forth the same GET, POST, and COOKIE vars (uh... that's all I need, right?). I don't just want to forward/redirect them to my site; I want the user to use WWW.THEIR-SITE.COM in the URL and any links in the page (this front-end script would also contain some kind of authentication for "connecting" to my site - but one thing at a time!).
I've tinkered with: INCLUDE() - causes problems by using relative paths. FILE_GET_CONTENTS() - see the content well, but can't see GET and POST vars.
Any suggestions for a solution or at least a better set of keywords to search the newsgroups? Thanks in advance for any help!
The dns/virtual hosting is nothing more than serveral names for the same
website, thus no reason for authentication.
This is the best/simplest way to have more than one domain name for a web
site, you will have complete controll over it, not the client, thus
eliminating the *nned* for authentication.
NOW, if you are only wanting to allow access to certain parts of the
website, this too can be done easily (in linux), but we still do not know
what you are trying to do, tell us what you are doing not what you think you
need to do. I mean this only, becouse I think you are trying to allow
access to parts of your data, no entire site, you you are doing affiliate
sites, every goal, has a differnt solution
--
Mike Bradley http://www.gzentools.com -- free online php tools
"Colman" <co***************@rominato.com> wrote in message
news:4a**************************@posting.google.c om... Thanks for your responses!
--1-- Socket Stuff / Proxy / Curl / Snoopy ... My knowledge is completely lacking in these areas. I will try to investigate.
--2-- DNS / Virtual hosting ... I think I see where you guys are going with this (I'm not entirely knowledgable in that area and will look into it), but it sounds like -- and please correct me if I'm wrong -- that by going that route I will be unable to (as hinted in my original post*) insert a script in between which will handle some authentification for the "connection" between MY-SITE and the requesting/client THEIR-SITE script and be invisible to the user. That is, the site using this front-end script is basically accessing only a subset of my site's entire content.
Therefore, what I would like to have happen is when someone goes to WWW.MY-SITE.COM they will have access to everything, but when someone goes to WWW.THEIR-SITE.COM, the front-end script at THEIR-SITE makes a request of some kind (include()?) from MY-SITE in a way which would identify itself as THEIR-SITE by providing the proper authentication and then MY-SITE would return the appropriate content.
I Hope I'm making sense. Perhaps DNS/Virtual hosting can do this for me? I certainly wouldn't have access to the conf files on any of these servers.
* (this front-end script would also contain some kind of authentication for "connecting" to my site - but one thing at a time!)
-- Original Post -- co***************@rominato.com (Colman) wrote in message
news:<4a**************************@posting.google. com>... I couldn't think of a concise way to describe this in the Subject! Anyways...
I am creating a PHP/MySQL driven website. I would like to provide other users a sort of customized front-end PHP script which they can install on their own server which will basically act as an alias for my site; that is, when someone goes to WWW.THEIR-SITE.COM they actually see and interract with the content on WWW.MY-SITE.COM, passing back and forth the same GET, POST, and COOKIE vars (uh... that's all I need, right?). I don't just want to forward/redirect them to my site; I want the user to use WWW.THEIR-SITE.COM in the URL and any links in the page (this front-end script would also contain some kind of authentication for "connecting" to my site - but one thing at a time!).
I've tinkered with: INCLUDE() - causes problems by using relative paths. FILE_GET_CONTENTS() - see the content well, but can't see GET and POST vars.
Any suggestions for a solution or at least a better set of keywords to search the newsgroups? Thanks in advance for any help!
First (in case it matters) I'm developing all this stuff with
PHP/MySQL/Apache on a Win2k machine and my webhost acct runs on some
flavor of BSD; I don't have all the version numbers handy.
The core structure of my site is based on a "folder tree" scheme, with
each folder having content and subfolders. These relationships are
all defined and the content stored in a MySQL db. That is, the
folders don't actually exist anywhere except as records in the db.
So basically I would want the front-end script to provide users of
THEIR-SITE to only have access to a certain branch of the folder tree
on MY-SITE and still be able to use all the features (searching,
discussion, joining, etc.) which are built in to MY-SITE.
It would be like setting up say... imagine if SLASHDOT.ORG provided
you with a front-end script that allowed you to use COUNTSCUBULA.COM
as an alias for just SLASHDOT'S SCIENCE section, and the scripts on
SLASHDOT were savvy enough to provide users of COUNTSCUBULA with the
appropriate URLs/links and a different CSS and banner.
Am I making any sense?
Yes, this was my question, I thought you were doing something like this,
only providing partial content.
if it is purely subdirecty driven, and nothing dynamic, you can use a
virtual host entry, pointed to that sub directory.
Now if you want to provide dynamic content to users, then set your site up
this way from the beginging, have scripts on thier site that call scripts on
your site for the conentent.
--
Mike Bradley http://www.gzentools.com -- free online php tools
"Colman" <co***************@rominato.com> wrote in message
news:4a**************************@posting.google.c om... First (in case it matters) I'm developing all this stuff with PHP/MySQL/Apache on a Win2k machine and my webhost acct runs on some flavor of BSD; I don't have all the version numbers handy.
The core structure of my site is based on a "folder tree" scheme, with each folder having content and subfolders. These relationships are all defined and the content stored in a MySQL db. That is, the folders don't actually exist anywhere except as records in the db.
So basically I would want the front-end script to provide users of THEIR-SITE to only have access to a certain branch of the folder tree on MY-SITE and still be able to use all the features (searching, discussion, joining, etc.) which are built in to MY-SITE.
It would be like setting up say... imagine if SLASHDOT.ORG provided you with a front-end script that allowed you to use COUNTSCUBULA.COM as an alias for just SLASHDOT'S SCIENCE section, and the scripts on SLASHDOT were savvy enough to provide users of COUNTSCUBULA with the appropriate URLs/links and a different CSS and banner.
Am I making any sense? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ernst |
last post by:
Hello,
I'm using Linux Redhat 8.0 (LAMP).
I have a file tx.zip , that is placed in /tmp.
Now I want people to be able to download this file without copying it to
the website tree
Can I make a...
|
by: w |
last post by:
Hello all!!!
For a year and a half now, we have been developing different Access
2000 applications. Most of them are access frontend and access
backends. Some of them have SQL server 2000 as a...
|
by: shumaker |
last post by:
I'm trying to learn how to make and use aliases for two tables in in
this update statement:
ALTER PROCEDURE dbo.UpdateStatus
AS UPDATE dbo.npfields
SET Status = N'DROPPED'
FROM dbo.npfields...
|
by: D. Dante Lorenso |
last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org
is extremely SLOW. Considering this is a website for a database
and databases are supposed to be good for indexing content, I'd...
|
by: Wayne Aprato |
last post by:
I have several Access 97 databases which are split into front end and
back end running off a server. The front end mde is shared by 2 or 3
- absolute maximum of 6 concurrent users. This scenario...
|
by: Steve Crawford |
last post by:
I've started seeing the following in my logs:
FATAL: invalid frontend message type 8
I searched back over a month and there are 5 instances of this error
of which 4 are in the last 24 hours.
...
|
by: JJ |
last post by:
Hi,
We have two websites that are almost identical except for the
frontend. The business rules and the databases are the same. We want to
basically use one website for our different clients but...
|
by: =?Utf-8?B?aXdlYg==?= |
last post by:
Hi,
How to create a website URL alias and related SQL Database automatically
from the front end using .NET?
I mean, our application has to have a control panel to design the above
without the...
|
by: zerodevice |
last post by:
Hi, I'm trying to code my php that allows me to extract or fetch the html codes from another website, then i'll filter it myself to get only the specific text i want and display or echo it directly...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |