[PHP] URL problem

2006-02-17 Thread Jesús Alain Rodríguez Santos
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

RE: [PHP] URL problem

2006-02-17 Thread Shaunak Kashyap
. -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

[PHP] URL problem

2003-07-07 Thread Sparky Kopetzky
Hi! I'm passing this url to the script: http://www.fttta.com/auction.php and intercepting it with: if ($_SERVER['QUERY_STRING'] = ) { disp_cat(); } However, nothing is happening. phpinfo show $_SERVER['QUERY_STRING'] as 'no value', so this should work. Anyone know why this doesn't

Re: [PHP] URL problem

2003-07-07 Thread Brad Pauly
Sparky Kopetzky wrote: and intercepting it with: if ($_SERVER['QUERY_STRING'] = ) { disp_cat(); } However, nothing is happening. phpinfo show $_SERVER['QUERY_STRING'] as 'no value', so this should work. Anyone know why this doesn't work?? Yes. You are using an assignment operator where you

[PHP] Url problem

2003-06-12 Thread Sparky Kopetzky
OK. I'm suffering from brain gas... I'm trying this, it doesn't work and I can't figure out why: include_once $SYSTEM_URL . /classes/category.php; where $SYSTEM_URL = http://www.example.com; is the url to the web site. and I get this error: Fatal error: Cannot instantiate non-existent

Re: [PHP] Url problem

2003-06-12 Thread Jason Wong
On Friday 13 June 2003 04:55, Sparky Kopetzky wrote: I'm trying this, it doesn't work and I can't figure out why: include_once $SYSTEM_URL . /classes/category.php; where $SYSTEM_URL = http://www.example.com; is the url to the web site. and I get this error: Fatal error: Cannot

[PHP] Apache/PHP URL problem

2001-09-09 Thread Helmut
Just noticed a strange problem with one of my business servers. It's configured identically (afaik) to all of my other servers (which do not exhibit this behavior), with Apache 1.3.20 and PHP 4.0.6, running on Linux Mandrake 7.2. The problem occurs only when requesting PHP documents. Say, for

Re: [PHP] Apache/PHP URL problem

2001-09-09 Thread Rasmus Lerdorf
This is standard PATH_INFO behaviour. I don't really see a DoS issue here. Use piped logs or something and teach your logging system not to log these if you have an issue with it. DoS from filling log files isn't something we can do much about. -Rasmus Just noticed a strange problem with