chrometweaks.org

Which is the best windows iPage hosting service with multiple mysql DBs and Addon domains?

Click Here To View All Answers...


Question I have... Which is the best windows iPage hosting service with multiple mysql DBs and Addon domains? Thanks in advance for any response. My other question... I am using a rollover menu generated by AllWebMenus, working great until I realized nothing was staying in the cart because, of course, I wasn't passing along the session ID on the menu item buttons/links..

Can anyone help me do that? Am a wee bit crunched for time and desperate..

I.e..

"http://whatever.com/store/product_info.php?products_id=51&osCsid=.

WHATDOIPUTHERE?.

".

Thanks in advance!..

Comments (30)

Hmm... I need to find out myself. I don't know what is the answer to that question. I'll do some poking around and get back to you if I find an anything. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Hi and thanks,.

Here she is:.

<?php.

/*.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2003 osCommerce.

Released under the GNU General Public License.

*/.

// Define the webserver and path parameters.

// * DIR_FS_* = Filesystem directories (local/physical).

// * DIR_WS_* = Webserver directories (virtual/URL).

Define('HTTP_SERVER', 'http://4keywestfun.com'); // eg, http://localhost - should not be empty for productive servers.

Define('HTTPS_SERVER', 'https://ws07.ipowerweb.com/i4keywes'); // eg, https://localhost - should not be empty for productive servers.

Define('ENABLE_SSL', true); // secure webserver for checkout procedure?.

Define('HTTP_COOKIE_DOMAIN', 'http://4keywestfun.com');.

Define('HTTPS_COOKIE_DOMAIN', 'https://ws07.ipowerweb.com/i4keywes');.

Define('HTTP_COOKIE_PATH', '/store/');.

Define('HTTPS_COOKIE_PATH', '/store/');.

Define('DIR_WS_HTTP_CATALOG', '/store/');.

Define('DIR_WS_HTTPS_CATALOG', '/store/');.

Define('DIR_WS_IMAGES', 'images/');.

Define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

Define('DIR_WS_INCLUDES', 'includes/');.

Define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

Define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

Define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

Define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

Define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

Define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');.

Define('DIR_FS_CATALOG', 'C:/Accounts/i4keywes/wwwRoot/store/');.

Define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG'download/');.

Define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG'pub/');.

// define our database connection.

Define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers.

Define('DB_SERVER_USERNAME', 'ccc');.

Define('DB_SERVER_PASSWORD', 'cccc');.

Define('DB_DATABASE', 'i4keywes_osc_16');.

Define('USE_PCONNECT', 'false'); // use persistent connections?.

Define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'.

?>.

This post has been edited by.

Tensio.

: 30 August 2004, 16:39..

Comment #2

Any thoughts? I'm getting nervous as I can't seem to find any resolutions for this elsewhere in the forum...

Comment #3

BTW, here is the js file where the session id has to be set:.

//DHTML Menu Created using AllWebMenus PRO ver 3.1-#508.

Var awmMenuName='mainmenu';.

Var awmLibraryPath='/awmData-mainmenu';.

Var awmImagesPath='/awmData-mainmenu';.

Var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1)?1:0;.

If (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl);.

If (awmSupported){.

Var awmMenuPath;.

If (document.all) mpi=document.all['awmMenuPathImg-mainmenu'].src;.

If (document.layers) mpi=document.images['awmMenuPathImg-mainmenu'].src;.

If (navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || navigator.userAgent.indexOf('Opera')>-1) mpi=document.getElementById('awmMenuPathImg-mainmenu').src;.

AwmMenuPath=mpi.substring(0,mpi.length-16);.

Var nua=navigator.userAgent,scriptNo=(nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:((nua.indexOf('Konqueror')>-1)?6:1))));.

Document.write("<script SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");.

Var n=null;.

Awmzindex=1000;.

}.

Var awmSubmenusFrame='';.

Var awmSubmenusFrameOffset;.

Var awmOptimize=0;.

Function awmBuildMenu(){.

If (awmSupported){.

AwmImagesColl=['ecomm_07.gif',146,30,'ecomm_over_07.gif',146,30,'ecomm_09.gif',146,29,'ecomm_over_09.gif',146,29,'ecomm_10.gif',146,29,'ecomm_over_10.gif',146,29,'ecomm_11.gif',146,29,'ecomm_over_11.gif',146,29,'ecomm_12.gif',146,29,'ecomm_over_12.gif',146,29,'ecomm_13.gif',146,30,'ecomm_over_13.gif',146,30,'ecomm_14.gif',146,29,'ecomm_over_14.gif',146,29,'ecomm_15.gif',146,29,'ecomm_over_15.gif',146,29,'ecomm_16.gif',146,28,'ecomm_over_16.gif',146,28,'ecomm_17.gif',146,31,'ecomm_over_17.gif',146,31];.

AwmCreateCSS(1,2,1,'#FFFFFF','#0055E5',n,'14px sans-serif',n,'none',0,n,0,4).

AwmCreateCSS(0,1,0,n,'#000000',n,n,n,'outset',0,'#C0C0C0',0,0);.

AwmCreateCSS(1,2,1,'#000000','#FFFFFF',n,'14px sans-serif',n,'none',1,n,0,1).

AwmCreateCSS(0,2,1,'#FFFFFF','#7A96DF',n,'14px sans-serif',n,'none',1,n,0,1).

AwmCreateCSS(1,2,1,'#000000','#FE7013',n,'14px sans-serif',n,'none',1,n,0,0).

AwmCreateCSS(0,1,0,n,'#C41200',n,n,n,'solid',1,'#C41200',0,0);.

AwmCreateCSS(1,2,0,'#000000','#FE7013',n,'10px sans-serif',n,'solid',0,'#000000',2,1).

AwmCreateCSS(0,2,0,'#000000','#F7FB74',n,'10px sans-serif',n,'solid',0,'#000000',2,1).

Var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,30,30,0,0,1,0,n,"",n,1,0,1,0,n,n,100);.

It=s0.addItemWithImages(2,3,3,"","","","",0,1,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=21",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;OFFSHORE&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/index.php?cPath=21_31&osCsid=3577de9804aa9fd60d9bcabe04fc17b2",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;REEF/WRECK&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/index.php?cPath=21_33&osCsid=3577de9804aa9fd60d9bcabe04fc17b2",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;FLATS&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/index.php?cPath=21_32&osCsid=3577de9804aa9fd60d9bcabe04fc17b2",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;SPLIT-CHARTER&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/index.php?cPath=21_34&osCsid=3577de9804aa9fd60d9bcabe04fc17b2",n);.

It=s0.addItemWithImages(2,3,3,"","","","",2,3,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=22",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;DIVE TRIPS&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=22&products_id=32",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;CERTIFICATION&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=22&products_id=30",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;DIVE IN A DAY&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=22&products_id=31",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;SNUBA&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=22&products_id=33",n);.

It=s0.addItemWithImages(2,3,3,"","","","",4,5,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=23",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;YANKEE FREEDOM&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=23&products_id=39&osCsid='tep_session_id()'",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;SUNNY DAYS&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=23&products_id=38",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;SEAPLANES OF KEY WEST&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=23&products_id=37",n);.

It=s0.addItemWithImages(2,3,3,"","","","",6,7,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=24",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;SNORKEL ADVENTURE&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=24&products_id=48&osCsid='tep_session_id()'",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;POWERED CATAMARAN SNORKELING&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=24&products_id=47",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;STARS & STRIPES&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=24&products_id=50",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;DOLPHIN/GLASS BOTTOM & SNORKEL TRIP&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=24&products_id=46",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;SNUBA&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=24&products_id=49",n);.

It=s0.addItemWithImages(2,3,3,"","","","",8,9,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=25",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;DOLPHIN/GLASS BOTTOM & SNORKEL TRIP&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=25&products_id=34",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;WILD DOLPHIN ENCOUNTER&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=25&products_id=36",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;INTERACT WITH WILD DOLPHINS&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=25&products_id=35",n);.

It=s0.addItemWithImages(2,3,3,"","","","",10,11,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=26",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;SAIL, SNORKEL, AND KAYAK&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=26&products_id=45",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;ISLAND TING&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=26&products_id=44",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;BACK COUNTRY SAFARI&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=26&products_id=43",n);.

It=s0.addItemWithImages(2,3,3,"","","","",12,13,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=27",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;DO-IT-ALL&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=27&products_id=28",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;POWER ADVENTURE&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=27&products_id=29",n);.

It=s0.addItemWithImages(2,3,3,"","","","",14,15,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=29",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;WESTERN UNION&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=29&products_id=54&osCsid=b9cb95f80303670db7b695827838a646",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;APPLEDORE&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=29&products_id=52&osCsid=b9cb95f80303670db7b695827838a646",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;AMERICA&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=29&products_id=51&osCsid=b9cb95f80303670db7b695827838a646",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;SEBAGO CATAMARANS&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=29&products_id=53&osCsid=b9cb95f80303670db7b695827838a646",n);.

It=s0.addItemWithImages(2,3,3,"","","","",16,17,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=30",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;PRIDE OF KW&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=30&products_id=42&osCsid=9149ec8f9a49c2d1737f3c78a2b362ae",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;DISCOVERY&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=30&products_id=40&osCsid=9149ec8f9a49c2d1737f3c78a2b362ae",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;FROGGIES&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=30&products_id=41&osCsid=9149ec8f9a49c2d1737f3c78a2b362ae",n);.

It=s0.addItemWithImages(2,3,3,"","","","",18,19,n,0,0,0,n,n,n,"",n,n,n,"http://4keywestfun.com/store/index.php?cPath=28",n);.

Var s1=it.addSubmenu(0,0,-13,2,0,0,0,5,4,n,"",n,1,1,1,1,n,n,100);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;JET-SKI ISLAND TOUR&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=28&products_id=55&osCsid=c397f37d2e4ea9e752cdf9fe5b29c83c",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;SPEED BOAT ADVENTURE&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=28&products_id=57&osCsid=c397f37d2e4ea9e752cdf9fe5b29c83c",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;PARASAILING&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=28&products_id=56&osCsid=c397f37d2e4ea9e752cdf9fe5b29c83c",n);.

It=s1.addItem(6,7,7,"&nbsp;&nbsp;BOAT RENTALS&nbsp;&nbsp;",n,n,"","",n,n,n,"http://4keywestfun.com/store/product_info.php?cPath=28&products_id=58&osCsid=c397f37d2e4ea9e752cdf9fe5b29c83c",n);.

S0.pm.buildMenu();.

}}.

You can see I hardwired some session ids in there to test the menu.... I noticed that this person seems to have pulled it off:.

Http://www.coolvolt.com/shop/index.php/cPa...f9e08ee519e3b7f.

How??.

Thanks...

Comment #4

Hello again.

It was suggested I add something like.

Var sid_from_php = "osCsid=" + "<? php =$_GET['osCsid']; ?>";.

To the js but it isn't working, help help help?!..

Comment #5

FYI.

Figured it out & have seen several posts asking about similar so thought I would post solution. Really simple, don't know why I didn't do it in the first place..

Put a hidden field in the header:.

<FORM name=get_sid>.

<input type="hidden" name="sid" value="<?php print $_GET['osCsid'];?>">.

</FORM>.

And then in external js file put:.

Var sid_from_php = document.get_sid.sid.value;.

And for links in js just added +sid_from_php, i.e..

"http://yoursite.com/store/product_info.php?cPath=22&products_id=30&osCsid="+sid_from_php..

Comment #6

For your cookie domains, do not use http:// just use everything after the http:// that you have and you should be fine...

Comment #7

I am using a rollover menu generated by AllWebMenus, working great until I realized nothing was staying in the cart because, of course, I wasn't passing along the session ID on the menu item buttons/links..

Can anyone help me do that? Am a wee bit crunched for time and desperate..

I.e..

"http://whatever.com/store/product_info.php?products_id=51&osCsid=.

WHATDOIPUTHERE?.

".

Thanks in advance!..

Comment #8

Post your configure.php file here, to see how you have cookies set. also, what do you have store_sessions set to..

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.