If you are in a *nix environment, make a symlink from site_folder/index.php -> 
site_folder/example_folder/index.php and that should do it.

Shaunak Kashyap
 
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
 
Main: 323.330.9900
 
www.worldpokertour.com
 
Confidentiality Notice:  This e-mail transmission (and/or the 
attachments accompanying) it may contain confidential information 
belonging to the sender which is protected.  The information is 
intended only for the use of the intended recipient.  If your are not 
the intended recipient, you are hereby notified that any disclosure, 
copying, distribution or taking of any action in reliance on the 
contents of this information is prohibited. If you have received this 
transmission in error, please notify the sender by reply e-mail and 
destroy all copies of this transmission.

-----Original Message-----
From: Jesús Alain Rodríguez Santos [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 17, 2006 2:49 PM
To: php-general@lists.php.net
Subject: [PHP] URL problem

I have a following directory:
- folder (site)
   index.php
   - folder (example)
     index.php

the url to this directory will be: http://www.example.com/site/index.php
but I need redirect with: header() function to the index.php inside the folder 
example without the url change
I mean, I want to keep the same url but diferent directory
-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to