Go Back   CodingForums.com > :: Computing & Sciences > Computer/PC discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-24-2013, 04:12 PM   PM User | #1
kor81
New Coder

 
Join Date: Aug 2011
Posts: 49
Thanks: 9
Thanked 0 Times in 0 Posts
kor81 is an unknown quantity at this point
Working on this Localhost from another computer.

I Have Jury Duty Tomorrow (2/25/2013) and will be staying at my mothers house as she lives right near the court and i live on the other side of the county.

I Would like to work on my projects that i have on this pc (using xampp) while i'm there at my mothers to fight boredom. Usually i just type localhost in the address bar and drag & drop/edit files to/in the folder.

How can i set this up so i can work on the projects from my mothers that is on the pc? My brother will be he so he can start xampp etc.. for me.
kor81 is offline   Reply With Quote
Old 02-24-2013, 04:33 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
You can access your site using your assigned ip address instead of localhost. There is also no-ip.org which I assume is still around, so if you are on dhcp you can retrieve your webserver even if it changes. If your firewall's and routers are not set to block port 80 incoming (or whatever port you configured), than you can access the webserver remotely.
Modifying on the other hand isn't so easy. You'll want to use RDP/SSH or even set up FTP to allow you to modify the files.

One handy dandy trick that you may want to consider is to use a flash drive as your webserver. All it takes is a .bat or .sh file to start it up. The pro to this is the ability to move around and take everything with you in a compact fashion. The cons include slower access speeds and not being online all the time. For development environments, I don't consider either to be of relevance. I did this when I was in school; I trimmed down an apache 1.1 build and mysql 5.0, and fit that with lots to spare on my 128MB flash drive. The database is the only thing that concerned me of its growth, which when I was in school wasn't really of major concern either (so effectively I couldn't only have one project with a db active at a time). I'm not sure what the smallest flash drive you can find nowadays is; I'd guess upwards of 2gb or so :P
Even nowadays I'm still a pretty big fan of "sneaker-net" approaches.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:15 PM.


Advertisement
Log in to turn off these ads.