Re: [PHP-DEV] Environment variable solution to relative includes (will work for HTML too.)

2001-07-12 Thread Aral Balkan
>> There are better ways of doing this... What I always do, is using absolute paths ('/images/image3.png'), and in some init I define some constants that contain IMG_DIR, etc, so you can change it in one place. I wish I could do this but I'm designing a web site creation / management system wit

Re: [PHP-DEV] Preliminary patch for allowing relative includes

2001-07-11 Thread Aral Balkan
I don't have access to the PHP CVS at the moment (note to self: get a C compiler)... but I wanted to ask how this will affect (or will it?) HTML generated from within included PHP files. Eg. A is at web root and includes B in a subdirectory X. B generates HTML that calls for image C.gif in subdire

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-10 Thread Aral Balkan
>> If we choose to do it in Andi's way (no real drawbacks, considering it's downwards compatible for most practical purposes), we can do it within 4.0. This would be even better. To echo what Andrei said, "the sooner the better" :) I've personally been wishing for this for the longest time! Aral

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Aral Balkan
>> Does others also think it should wait for 4.1 or later? I for one would love to see it in 4.1 -- IMVHO This would be a very important feature and a great improvement! Aral :) __ ([EMAIL PROTECTED]) New Media Producer, Kismia, Inc. ([EMAIL PROTECTED]) Adj. P

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Aral Balkan
> How about #3 for 4.1 and #2 for 5.0? This would be wonderful! Aral :) __ ([EMAIL PROTECTED]) New Media Producer, Kismia, Inc. ([EMAIL PROTECTED]) Adj. Prof., American University ¯¯ -- PHP Development Mailing List