Forums / Developer / redirection in PHP

redirection in PHP

Author Message

Albert Hornos

Tuesday 06 September 2005 1:02:46 am

Hi!
I'm trying to make a redirection in PHP to download a csv file that I'm create but I can' tfind the way to do this.
Could anybody help me?
Thanks!

Kristof Coomans

Tuesday 06 September 2005 7:55:02 am

To redirect in a module view, you can use $module->redirect( ... ).

You can take a look in the API docs for more info and related functions.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Björn Dieding@xrow.de

Tuesday 06 September 2005 9:45:54 am

eZFile::download( $path )

A direct passthrough...

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Albert Hornos

Wednesday 07 September 2005 12:29:25 am

Thank you so much both of you!
Really I was doing a well redirection it was a problem with my apache config!
(so if someone has the same problem check your config, you now!)

Albert.