Hello.
>No need for that. CLI was specifically designed not to chdir to scripts
>directory. If you want that one liner would solve it for you:
>
>chdir(dirname(__FILE__));
My scripts usually begin with a few require'd libraries, so it makes the code cleaner
if it begins with a few require sta
Translate PHP Manual to Bahasa Indonesia
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Vesselin,
Tuesday, August 5, 2003, 10:47:53 PM, you wrote:
VA> Hello.
VA> Here is a patch for the command-line version of PHP which makes it chdir()
VA> to the
VA> script directory just like the web version of PHP does. It also implements
VA> the -C
VA> option which has been a NOOP up to no
On Thu, Aug 07, 2003 at 02:15:12PM +0100, Davey wrote:
> Andrey,
> This isn't quite as transparent as $_SESSION is and $_APPLICATION would
> also not be a superglobal. What I would like to see at the end of this
> is a $_APPLICATION variable (or $_APP? some poeple complained that
> $_APPLICATION
Justin Hannus wrote:
So it seems like to get the same functionality, in userland, why not just:
$_APPLICATION = &$_SESSION
-Justin
Uh... then its still only on a session basis.
- Davey
"Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Wojtek Meler wrote:
Davey wrote:
MMCa
Andrey,
> // masv = my application shared vars. This is the name of the shared var.
> // Only the first 4 chars are used to calculate memory address.
> $_APPLICATION = new Shm_Protected_Var("masv", 1024 /*memory*/);
> $_APPLICATION->start_section()
> var_dump($_APPLICATION->getVal());
> $_APPLICAT
Translate PHP Manual to Bahasa
Indonesia
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Antony Dovgal wrote:
I think that should be great to have transparent ZIP layer at the
"include"/"require" level so one could write something like "require
'./lib/some-arc.par/SomePath/MyClass.php'" but the command-line
interface imho should be similar to java i.e.
php -par my-app.par
Personally I
Related to the current topic, I'm the Project Manager for a project
called BinaryPHP. A PHP to C++ conversion tool.
We've just released our proof of concept and would love feedback
from the more advanced user-base as well as input from others
thinking along the same lines.
http://binaryphp.source
Ilia Alshanetsky wrote:
It seems to be that what we're looking for is a simple wrapper around sysvshm
or shmop (we want win32 support?) that would create $_APP superglobal and
store data within that superglobal. The only issue would be that shm segment
cannot be easily resized and on many syste
Davey wrote:
Would mind that patch anyways, sounds good, just doesn't fulfill my
needs/desires for $_APP(LICATION)
You can find it on http://strony.wp.pl/wp/wmeler/
(auto_globals.patch)
Regards,
Wojtek
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.ne
11 matches
Mail list logo