473,473 Members | 4,176 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

reference files from external server

35 New Member
Hi, im building my own CMS and wish to have my files hosted on 1 server for easy updating rather than sepperate uploads into different hosting packages etc.

My clients websites will all be hosted on different servers but i want them to access the CMS from one set of files so when i make updates they are applied to all clients.

I've tried using fopen/file_get_contents etc which works fine but my problems are with server variables etc as its using my external server details rather than the ones the files are displayed on....for example after they log in it sends them back to referer which was the external server rather tan theirs.

So i would rather they accesses the system where it actually was on my server....so im wondering what method i should use or is there a standard way of doing this.

Thanks
Aug 26 '11 #1
2 1594
Dormilich
8,658 Recognized Expert Moderator Expert
I’d recommend you provide a sensible update mechanism like the linux repositories.

reason: each client server would have to send all configuration data (some of them sensitive) to your CMS server which will result in a large amount of network traffic (if the CMS were on the client server, PHP could use file access, which doesn’t generate HTTP traffic). then it receives the processed webpage and sends that to the requesting user agent. somewhat like double or triple the network traffic than if the CMS were on the client server. I doubt your clients like to pay that in exchange for an always-up-to-date CMS. another reason is implementation changes. say you change something in the CMS and for some reason that causes a malfunction with the client’s set-up. are you gonna pay their downtime? what if someone hacked your server (deleted your data)? can you ensure that even then the CMS will work? what about Databases? are they hosted on the CMS server? what about the DB security?

I think the advantage is not worth the risks you’ll encounter.
Aug 30 '11 #2
ukfusion
35 New Member
Hi, if i was to implement this then i'd make sure i had a rollback feature aswell as a testing environment.....its just to make things easier for me in the long run...if i had 1000 sites im sure it would get more and more difficult to keep them all updated...but thanks for the feedback.

For now ill just stick with multiple uploads.
Aug 31 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: allard poldermans | last post by:
How can I make a reference to an external CSS or JS file that is relative to the XSL stylesheet, and not relative to the XML data? If you simply put : <link rel="stylesheet" type="text/css"...
2
by: David Hofmann | last post by:
I'm setting up 2 database servers. The first is on our local network which is our staging server. The second is an external server setup at my hosting company. On a nightly bases I want to copy all...
1
by: Green | last post by:
Hi, I had a question about how to copy files from server to server on the same LAN. Basically, i need to copy files from "develope server" to the "test server", then eventually to the "production...
2
by: Steve Lloyd | last post by:
Hi, This is bit of an open question and is more of a theoretical one that an actual coding question but would appreciate some pointers I want to send some data to an external server that will...
2
by: MotorcycleIke | last post by:
I tried using WebRequest, but I am unable to simply redirect to an external aspx site and supply the userid and password and press their login button. I got the webrequest to populate a...
2
by: gordon | last post by:
Hi, I am trying to create a reference to an external file to write to using stream writer and a value that is created in a for. Basically the value that a user will create will be the name...
1
by: joe | last post by:
Any articles relating with Uploading images files to server and resize the image by asp.net 2.0
1
by: Daniel Di Vita | last post by:
I have an application that needs to pull files from an internal server. This is the setup. The web server is external facing, meaning exposed to the internet. I then have a file server that sits...
0
by: remya1000 | last post by:
how can i send a new file to a server using FTP in VB.NET. i need to try sending new files to server using FTP. after sending i can delete from server,rename,update the file etc. first i need...
2
by: =?iso-8859-1?B?VHNjaHXf?= | last post by:
Hi, I have my own database on a server and the same database on local. I want to copy all my database from the main server to my local host (I execute this code from my PC and not my main...
0
Oralloy
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,...
0
jinu1996
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...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.