Htaccess problem? Just need to load info from PHP to Flash

Okay, I’m not sure where to post this - so I hope this is the right place. I am trying to do something like this (click on either of the large coin pictures):

[COLOR=#800080]Click Here[/COLOR]

Currently, I’m using ZenCart as my catalogue. Someone suggested that I use [URL=“http://ghostwire.com/”][COLOR=#800080]PHPObject by Ghostwire[/COLOR] to pull the information from my tpl_product_info_dispay.php page (or any other page that might load in the image pictures) and load the image locations into Flash. So I’m currently trying to do this, and I can get the sample files that come with the PHPObject.zip to work fine, but I can’t get this to work with zenCart at all.

I think it may have something to do with the .htaccess files that come with zencart. Please tell me, has anyone here had similar problems and what did you do to solve your problems? Also, is there a way to modify my .htaccess files to allow access to certain pages such as my tpl_product_info_dispay.php?

The following are some codes that I’m using and an error message I usually receive in flash:

Zencart PHP File named “tpl_product_info_dispay”

<?php
class tpl_product_info_dispay {
 var $info;
 function tpl_product_info_dispay() {
  $info = array();
  }
 function get_info() {
  $info = Hello World;
 }
}
?>

My Action Script:

import com.ghostwire.phpobject.*
PHPObject.defaultGatewayKey = "secret";
 
PHPObject.defaultGatewayUrl = "[http://127.0.0.1/zen-cart-v1.2.6d-full-release-patched/Gateway.php](http://127.0.0.1/zen-cart-v1.2.6d-full-release-patched/Gateway.php)";
myFoo = new PHPObject("tpl_product_info_dispay");
myFoo.onError = function(i,e) {
 trace(i+", "+e);
}
myFoo.onResult = function () {
 doSomething(myFoo.info);
}
myFoo.get_info();
function doSomething(info) {
 trace(info);
}

My PHPObject Config directory to the php page in Zencart:

CLASS DIRECTORIES
- paths to where PHP classes are stored
- paths should end with backslashes, eg. "/www/classes/"
*/
$cfg['classdir'][0] = "includes/templates/template_custom/templates/";

Causes this error message in Flash:

1, Error - Service 'tpl_product_info_dispay' not available
1, Error - Service 'tpl_product_info_dispay' not available

Could this Zencart .htaccess file be the problem?


# $Id: .htaccess 290 2004-09-15 19:48:26Z wilt $
#
# This is used with Apache WebServers
# The following blocks direct HTTP requests in this directory recursively
#
# For this to work, you must include the parameter 'Limit' to the AllowOverride configuration
#
# Example:
#
#<Directory "/usr/local/apache/htdocs">
#  AllowOverride Limit
#
# 'All' with also work. (This configuration is in your apache/conf/httpd.conf file)
#
# This does not affect PHP include/require functions
#
# Example: [http://server/catalog/includes/application_top.php](http://server/catalog/includes/application_top.php) will not work
<Files *.php>
Order Deny,Allow
Deny from all
</Files>

If anyone can help me at all I would greatly appreciate it. I’ve tried posting this in the Zencart forum and Ghostwire but I don’t seem to get much help from those places.