Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2011
    Posts
    72
    Plugin Contributions
    0

    Default Store Locator Security Help

    I setup a Google API store locator, and it works fine. A short summary:

    1. Setup a Table that has the geo data for my dealers
    2. Create 3 PHP pages...
    a. config to access table (user, userpw, database name)
    b. xml generator to feed stores to Google API
    c. Google API map generator

    I read how to setup a new php page and I did that for the Google API map generator.. which in turn calls the xml, which calls the config.. These last two are never seen by the user.

    How do I get the first two PHP files out of my main html directory and bury it into a more secure directory? I would love to have them in the same directory as the Google API map generator which is:

    tpl_store_locator_default.php in my templates/my_template/templates

    I am not fluent in all the php security that zen cart has, and I learn as I go. After I get this security part right, I'll make a package with docs to have others put this on their site.

    If you would like to see it working:

    www.lasco.net

    Thanks!

    Brian

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Store Locator Security Help

    Why not use the ez-pages?

  3. #3
    Join Date
    Jun 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Store Locator Security Help

    Quote Originally Posted by Design75 View Post
    Why not use the ez-pages?

    can an EZ page access a table and load XML data from another PHP file? Or can an EZ page call another EZ page that can access the database?

    This is the method I used to make mine work.

    https://developers.google.com/maps/a...s/phpsqlsearch

 

 

Similar Threads

  1. v139h Issue with Store Locator adding db location to store website urls
    By Painted Hills NB in forum General Questions
    Replies: 8
    Last Post: 22 Aug 2012, 03:29 AM
  2. Store Locator
    By Mustang302 in forum General Questions
    Replies: 0
    Last Post: 7 Nov 2011, 10:23 PM
  3. store locator
    By etoile03 in forum General Questions
    Replies: 1
    Last Post: 15 Dec 2007, 01:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR