Link to home
Start Free TrialLog in
Avatar of Ifor
Ifor

asked on

Best method of allowing inexperienced users yo update part of a website

I am being asked to design a website for a used car dealer.  I can provide all the 'static' parts of the design - no problem.  But the client wants to update his list of vehicles for sale, complete with picture, on a daily basis without involving me.  Any thoughts on how this is best accomplished.  Client has web access obviously but no existing web design software, and ideally I don't want to allow him to edit the 'staic' parts of the site.  I am using Dreamweaver.
ASKER CERTIFIED SOLUTION
Avatar of neu-rah
neu-rah

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
YUCK!  Do you have PHP on your server?

You could end your pages with .PHP and include this script where you would like to insert a TEXT file.

<?php


//
//      This is looking for 1 parameter and it supplies the
//  name of a file to display on the site.  
//

 $txtfile = $_REQUEST[Id] . '.txt';
      
if ($txtfile <> "null") {
      $Open = fopen ($txtfile, "r");
      if ($Open) {
            $data = file ($txtfile);
            for ($n = 0; $n < count($data); $n++) {
                  $GetLine = explode("\t",$data[$n]);
                  print ("$GetLine[0]<br>");
            }
            fclose ($Open);
      } else {
      print ("Error opening file.");
      }
}

?>


URL to page would be:  WWW.abc.com/inventory.php?Id=041905

The file with the info on it would be named 041905.txt
And the BEST way to ......   is NOT to let them mess with it!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial