[ic] Stupid trick: mixing PHP/Interchange

marc.brevoort interchange-users@icdevgroup.org
Thu Aug 8 10:42:01 2002


Hello list,

URLs processed by interchange are prepended the root of the store, and 
appended with .html. For example, if we specify 

	page_to_call.php 

we do not always want interchange to call

	http://hostname/cgi-bin/store/page_to_call.php.html

The following stupid trick provides a workaround: we can tell IC to link to 

	../../store/page_to_call.php?phpdummy=x

which IC will translate to

	http://hostname/store/page_to_call.php?phpdummy=x.html

Note that this might not be the most secure way to call the php page. If 
anyone has a prettier way to do this, please reply to this list.

grtz
MRJB