PHP Classes

Newbie Installation

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  Locating addresses on...  >  All threads  >  Newbie Installation  >  (Un) Subscribe thread alerts  
Subject:Newbie Installation
Summary:Files in wrong directories
Messages:5
Author:Bob Williams
Date:2007-02-21 14:42:57
Update:2007-02-23 00:04:08
 

  1. Newbie Installation   Reply   Report abuse  
Picture of Bob Williams Bob Williams - 2007-02-21 14:42:57
When I download the "zip" file and unzip the file, all the files end up in the same directory. I then FTP the files to my server. However, the scripts require certain files to be in sub-directories or directores other than the base directory. How do I know which files go where?

  2. Re: Newbie Installation   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-02-21 22:48:26 - In reply to message 1 from Bob Williams
In most forms you just need to upload forms.php file. You only need also the plug-in files named form_* if you actually use them in your project. You just need to upload the plug-in files you use.

  3. Re: Newbie Installation   Reply   Report abuse  
Picture of Bob Williams Bob Williams - 2007-02-22 13:17:19 - In reply to message 2 from Manuel Lemos
Thanks for your quick response. Is there an example or a users guide on how you go about creating a form and the associated validation?

  4. Re: Newbie Installation   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-02-22 18:26:00 - In reply to message 3 from Bob Williams
The class comes with plenty example scripts. The test_form.php example script has plenty of comments to get you started.

Other than that, you may take a look at the tutorial video listed on the top of the class page. On the video page there are some links on the side to let you jump directly to the sections about validation.

  5. Re: Newbie Installation   Reply   Report abuse  
Picture of ron later ron later - 2007-02-23 00:04:08 - In reply to message 1 from Bob Williams
Winzip has the option to use directoris when you unzip, lots of things comw with the directory structure 'inbuilt'. That way you can upload files already in the right directories.