Forums / Developer / redirection in PHP

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 X

Tuesday 06 September 2005 9:45:54 am

eZFile::download( $path )

A direct passthrough...

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.