Hello Im trying to include a php file within a cold fusion page, and in doing so replace all links within the page so that they refer back to the cold fusion page calling the php file... Hope that made sense...
So anyways, im doing a cfhttp of the file, and then with the result doing this... #ReReplace(cfhttp.FileContent,'[[:alnum:]/]+[[:alnum:]]+\.php+[:;%-_\.\?/=]+ ','index.cfm?section=#url.section#&page=\0','ALL')# However, I want to URLEncodedFormat() the \0 bit of the expression, but it won't let me!! I get an error saying invalid expression format or something like that... Anyways, I need to encode the url to preserve the variables passed in it for the php page to process... Help!? Ryan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4