Need an interface to add/delete/modify products...

Discussion in 'PHP' started by Omzy, Mar 9, 2009.

  1. #1
    I'm creating a website for my friend's car business using PHP 5.2 with MySQL. I would like to provide him with an easy to use interface where he can log in and add/delete/modify stock. There also needs to be a facility to add multiple images. There is no e-commerce facility required.

    Now I've looked at two options so far:

    1) phpmyadmin - this would be too complex for my friend and does not provide facility to add images
    2) Joomla using virtuemart extension - this is more geared towards an e-commerce site and although you can disable the e-commerce functions it's still not ideal for showcasing cars.

    I also came across a script here: http://real-estate-management-software.org/ - the only problem with this it seems to be written in PHP4 and I could not get to to work on PHP5 at all. Otherwise that would have been a perfect solution - it's nice and simple and although it's designed for properties I could easily modify it for cars.

    So I'm looking for a free solution to this - anyone have any suggestions?
     
    Omzy, Mar 9, 2009 IP
  2. nabil_kadimi

    nabil_kadimi Well-Known Member

    Messages:
    1,065
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    195
    #2
    Oops... you posted twice...
     
    nabil_kadimi, Mar 9, 2009 IP
  3. Gonzo4u

    Gonzo4u Well-Known Member

    Messages:
    410
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #3
    If http://real-estate-management-software.org/ script is the solution for you, then you have 2 options.

    1) Since you are a PHP developer as well, then you can easily convert this script from PHP4 to PHP5.

    2) Use short tags for PHP or PHP directive handler to run this script in PHP4 compatible mode.

    For best free PHP resources dig phpclasses.org and you will get most of your answers there.

    Regards,
    Gonzo
     
    Gonzo4u, Mar 9, 2009 IP
  4. Omzy

    Omzy Peon

    Messages:
    249
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi Gonzo. Thanks for your response. I'm a very basic PHP developer lol!

    I tried to convert this script to PHP5 but it needs a lot of work doing, as it is object based and I was getting a lot of errors due to the use of the $this variable. I have no idea how to make it work.

    Can I run this script as it is but make it run in PHP4 mode, without having to install PHP4?
     
    Omzy, Mar 10, 2009 IP
  5. Gonzo4u

    Gonzo4u Well-Known Member

    Messages:
    410
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #5
    Hello Omzy,

    The simply solution for you would be to look for a hosting company who also supports PHP4 as many hosting companies support both PHP4 and PHP5. If it is hosted on PHP4 server then you wont need to change anything.

    Regards,
    Gonzo
     
    Gonzo4u, Mar 10, 2009 IP
  6. Omzy

    Omzy Peon

    Messages:
    249
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Cheers I think that would be the best option. However I test the scripts on my localhost machine running Windows, do you know how I can get it to run PHP4 alongside my current installation of PHP5?
     
    Omzy, Mar 10, 2009 IP
  7. Gonzo4u

    Gonzo4u Well-Known Member

    Messages:
    410
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #7
    Hello Omzy,

    If you are on window base machine, then I recommend you to install wamp server. Have you ever heard of it! if yes cool and if not go here: http://www.wampserver.com/ download it install it and you are worry free.

    It consist of PHP5, Apache2, MySQL5 and PHPMyAdmin by default. The beauty of it is you can install multiple versions for PHP, MySQL, Apache etc for the testing with all versions compatibility.

    Download it and happy development. :)

    Gonzo
     
    Gonzo4u, Mar 10, 2009 IP
  8. exodus

    exodus Well-Known Member

    Messages:
    1,900
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165
    #8
    $this->XXX are objects and I think your problem lyes in not knowing how to use object programming and not that it will not work with php5. I was looking over that software and really if your having issues knowing what $this-> type of coding is I really don't think you will easily be able to convert it over to something they can use.
     
    exodus, Mar 10, 2009 IP