Working Remotely

Although we recommend that you start out working locally, you can use an ISP account as long as it supports PHP and MySQL.

You need login information to the remote server, and you may need to use your ISP's web-based tool to create your database.

To transfer your files and directories, you need to activate a File Transfer Protocol (FTP) account at your ISP, usually through your account control panel. Once you have an FTP login, upload your HTML and PHP files using an FTP client.

Figure 2-28. Choose your installation options

Figure 2-29. Installation is complete

Your provider may require you to use Secure FTP (SFTP) instead of FTP. Check with your provider for details. Many FTP programs also support SFTP.

While your computer likely has the command-line version of the FTP client, it can be cryptic to use. Graphical FTP clients make using FTP much easier. FTP Voyager, available from, is one FTP client you can use to upload files to your ISP. Your initial login screen looks similar to Figure 2-31. Fetch is a good FTP program for Mac.

After connecting using Voyager, you'll see a dialog similar to Figure 2-32. You can drag and drop the .php files you created. Remember, for your PHP files to run, you need to save them with an extension of .php instead of .html because the web server needs to know it's a PHP file in order to run the PHP interpreter.

Figure 2-30. The Control Panel starts and stops the components - FTP Voyager

File Edit View Tools 5chedule Queue Help 3] Connect

Sites, RhinoSof t, krautgrrl

J ftp; //krautgrrl. com/home/michele EHcfc backup EEHr^i mail Maildir

Hp3! www joiaiisJ

Ir^ibackuo Ir^mail I r^ Maildir ;*] caughtspam meyerfile «] «|Sent

Download NewDir



| Modified

| Description

File Folder File Folder File Folder 1,619KB File 2,703KB File

39 5H File 6,968KB File 111 5H File

6/19/2005 10:54 PM 6/5/2005 3:59 AM 6/20/2005 6:11PM 6/9/2005 8:07 PM 6/9/2005 3:45 PM 7/19/2005 5:52 PM 5/1/2005 4:35 PM 8/13/2005 2:21 PM

.jMSmjif 8/15/2005 4:38.PM

Desktop g gj. My Computer Et3 Local Disk(C: j-Q BJPrinter

S Q Documentation Files T i " 1 i'

GBack * 0 - £> I * Upload | New Dir X I IS 0 ! Ell

Size jt r1

0 .D5_Store arcldr.exe



| Modified

13KB D5_5TORE File 8/3/2005 1:49 PM 147KB Application 6/19/2003 2:05 PM 160KB Application 6/19/2003 2:05 PM

isfelediH. CjMomB/finhfele5

|Duration 0:04:17

Figure 2-31. FTP Voyager initial screen

PHP files must be accessed through a web server, since your web browser doesn't have the ability to interpret the PHP code. A PHP interpreter is used to process the PHP files.

Figure 2-32. FTP Voyager directory listing

You're ready to start learning all about basic facts, integration, and how to get your dynamic web page up and running as quickly and smoothly as possible. In Chapter 3 we'll give you basic information about PHP and simple coding principles that apply to using PHP.

Was this article helpful?

0 0

Post a comment