localhost?? where are the files saved at?

a1strank

Senior member
Aug 18, 2004
400
0
71
Here is the situation - I build a computer for my friend for business use - he wanted to move this business program (it keeps record of customer's info) over to the new machine ..but here' smy problem - the program is browser based and on the address bar it is http://localhost/blah blah blah - where does it store all the information and how can I back up it? I assume it is saved to mySQL database? Sorry I don't know much about mysql database /etc .. just need to find a way to move all the database to the new machine + the program. Thanks for the help
 

RebateMonger

Elite Member
Dec 24, 2005
11,586
0
0
You are going to want to re-install the program on the new PC. It's likely installing a web server of some sort, plus a database program, plus the program itself. The program might just be a series of web pages and scripts located in the folder containing the web site. But there may be database maintenance programs and software to install a special web client on client PCs.

If you look at the documentation for the program, it probably provides information on how to backup and restore the data. The data itself is likely at least one database file plus an index file. It could be located anywhere on the PC, but might be in the folder that contains the web site.

Localhost = the computer you are working on
 

a1strank

Senior member
Aug 18, 2004
400
0
71
I have no clue, it is used to keep customer's data and history - still trying to figure out ATM

all I know is in his computer there is a MySQL folder and a folder called "Inetpub" with the php files for the program - I already got both file saved to my flash drive going to see if i can get it working in my computer first

EDIT2: i found out that Inetpub folder is something like windows based server program called ISS or something..going to try to work around with that now
 

RebateMonger

Elite Member
Dec 24, 2005
11,586
0
0
The Inetpub folder is normally associated with Microsoft's IIS program. It'll only run on XP Professional and other business versions of Windows, plus Windows Server. It wouldn't normally have PHP files in it unless it's being used to host PHP scripts, so that is, indeed, likely the web host being used.
 

a1strank

Senior member
Aug 18, 2004
400
0
71
Originally posted by: RebateMonger
The Inetpub folder is normally associated with Microsoft's IIS program. It'll only run on XP Professional and other business versions of Windows, plus Windows Server. It wouldn't normally have PHP files in it unless it's being used to host PHP scripts, so that is, indeed, likely the web host being used.

yea thanks for the help - I got ISS installed in my system and copied and pasted the files from friend's Inetpub folder but when I open the program now I am getting "Directory Listing Denied
This Virtual Directory does not allow contents to be listed." Any clue?

EDIT: when i type localhost in my browser it is asking me for user name and password

EDIT2: tried to work around with it and now whenever I try to open the site it just tries to open index.php instead of viewing it like a site - you know what I mean right? It tries to open it with notepad
 

RebateMonger

Elite Member
Dec 24, 2005
11,586
0
0
Originally posted by: a1strank
EDIT2: tried to work around with it and now whenever I try to open the site it just tries to open index.php instead of viewing it like a site - you know what I mean right? It tries to open it with notepad
You need to install and configure the PHP program on the server. Only the latest versions of IIS know what to do with PHP files natively.

Also, permissions need to be set properly for a web site. There are IIS security settings in the IIS Manager. Again, running the client's database program installer would set all these automatically, no doubt.
 

Jamsan

Senior member
Sep 21, 2003
795
0
71
I'm surprised no one has recommended getting a professional to help with this. This is the lively hood of your friend's business. You don't have much to lose by trying to copy it over and get it running (as the original is still up), but I'm sure there aren't backup procedures in place in the event of a server crash. Sure, you'll tell me the drives are in RAID 1, but that's not a fail safe.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,529
416
126
Originally posted by: Jamsan
I'm surprised no one has recommended getting a professional to help with this. This is the lively hood of your friend's business.

This is very true while you would not find a Ophthalmologist offer to treat a cancer patient, every guy that once built a fancy Gaming Rig and Over Clocked it thinks that he can take care of every thing computer related. :shocked:
 

a1strank

Senior member
Aug 18, 2004
400
0
71
well i'm just trying to help him out..the files were saved in my flash drive and I am messing around it in my own computer..so nothing is been lost here..and if I know I can't get it to work I'll eventually tell him to ask a professional to back it up for him....and this is just a small business information there is nothing too important really....
 

RebateMonger

Elite Member
Dec 24, 2005
11,586
0
0
Originally posted by: a1strank
....and this is just a small business information there is nothing too important really....
I'll have to use that on my clients sometime. :D
 

dphantom

Diamond Member
Jan 14, 2005
4,763
327
126
Originally posted by: RebateMonger
Originally posted by: a1strank
....and this is just a small business information there is nothing too important really....
I'll have to use that on my clients sometime. :D

I've got a 2-person doctors office application installation/migration coming up in a couple weeks. If I screw it up, maybe that will work for me too. :Q