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_CONTEN TS() - 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 2578
The solution is called DNS and virtual hosting.
Uzytkownik "Colman" <co************ ***@rominato.co m> napisal w wiadomosci
news:4a******** *************** ***@posting.goo gle.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_CONTEN TS() - 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_CONTE NTS() - 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.co m> wrote in message
news:4a******** *************** ***@posting.goo gle.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_CONTEN TS() - 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
authentificatio n 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.go ogle.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_CONTEN TS() - 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.co m> wrote in message
news:4a******** *************** ***@posting.goo gle.com... 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 authentificatio n 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.go ogle.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_CONTEN TS() - 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.CO M
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.co m> wrote in message
news:4a******** *************** ***@posting.goo gle.com... 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.CO M 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 reference like http://www.website.com/../../../tmp/tx.zip
if the root of my website is /var/www/html/Vwebsite ?
Due to restrictions, I cannot copy the file to /var/www/html/Vwebsite
Any solutions?
|
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 backend. There is one
application, which consists of a frontend and 3 backend mdb's.
Different companies (80) are using the application:
1. Companies with just one pc and one user.
2. Companies with a Cytrix environment.
|
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 NPF, dbo.importparsed IMP
LEFT JOIN IMP
ON (NPF.pkey = IMP.pkey)
WHERE (IMP.pkey IS NULL) AND
|
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
expect a much faster performance.
I submitted my search over two minutes ago. I just finished this
email to the list. The results have still not come back. I only
searched for:
SECURITY INVOKER
|
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 has been
working flawlessly for about 2 years. I am now at a point where these
databases need to be converted to Access 2003.
I think I read somewhere on this forum that the newer versions of
Access are not as tolerant to multiple users...
| |
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.
I could not find this error defined. Any ideas of what it means, it's
severity, how to track the cause and cure?
Cheers,
|
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 the look of the
website would be different for each client. How can we design the
frontend to address having multiple clients see different frontends
based on the client? What kind of design approach can we use?
Thanks,
|
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 necessity of going to SQL Server or IIS. Is this possible in .NET
or plain ASP3.0 using Javascript / VBScript?
Pls guide with details and code snippet.
|
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 to my page.
e.g. you goto my page, and it will display a list of google's search result based on a fixed search string i code into the page.
e.g.search "asdf"
in google it will show...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |