PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Jul 21, 2019 2:35 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Mar 20, 2012 10:24 pm 
Offline
Forum Commoner
User avatar

Joined: Mon Mar 19, 2007 1:48 am
Posts: 33
Location: Pampanga, Philippines
Hi,

I would like to ask if this is possible. I have two hosts,

server1 - web server
server2 - db server

both are in the same vpn. I have a web page in server1 which access the images located in server 2.

example:
<img src="http://server2/images/someimage.jpg">

Is it possible to change the src value to images/someimage.jpg only? What I mean here is the images is physically located at server2 but accessing it like a local folder in server1.

I hope you can suggest a very good setup for this. I don't want to put the ip address of server2 in my scripts.

Regards,
Jess


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 5:09 am 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 5:45 am 
Offline
Forum Newbie
User avatar

Joined: Wed Jan 18, 2012 7:35 am
Posts: 24
Location: London
you could also consider NFS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group