[PHP] Terminal text objects (PHP CDK NCURSES)

2003-01-08 Thread Nikolai Vladychevski
Hello, I want to share the code (php-extension) I have included into php-4.2.2 to support CDK widgets (http://gd.tuwien.ac.at/hci/cdk/?file=cdk.tar.gz&type=listing) to enable PHP to use text based "GUI" in terminal environment. CDK supports: -Alphalist (list with alphanumeric search) -Calend

[PHP] Terminal environment + NCURSES + PHP

2002-09-06 Thread Nikolai Vladychevski
Hello, We are developing an aplication to use it over terminal. It has to be a text-based application, not web-based. Sine we all know PHP very well and only few of us know C, we want to use PHP to develop it. The application complexity is like "mc" (Midnight Commander) program and requieres

[PHP] headers & passthru()

2001-04-04 Thread Nikolai Vladychevski
Hi, i got this problem, when I use an executable to produce the output for the html php sends headers screwing it all. For example, my script is like this: in this example PHP does not generate HTML code, but the problem is it still sends header "Content-type: text/html". Why? I really dont n

Re: [PHP] \"deleted\" cookie

2001-03-19 Thread Nikolai Vladychevski
[EMAIL PROTECTED] wrote: > > How do you "delete" the cookie? I delete like this: is this correct? to set cookie i use: setcookie("username",$username); Nikolai > > Nikolai Vladychevski <[EMAIL PROTECTED]> wrote: > > > > Hi, >

[PHP] "deleted" cookie

2001-03-19 Thread Nikolai Vladychevski
Hi, My site has been working with cookies just fine until i discovered that some browsers (i think it is some browser under MacOS, I'm investigating) instead of deleting a cookie, set it to value "deleted", so in my code this variable has a value and believes there is a user called "deleted"

Re: [PHP] knowing file's mime-type

2001-01-10 Thread Nikolai Vladychevski
Chris Lee wrote: > > use exec() and unix's command 'file' > > exec("file $filename"); > > and admire the output :) I know, but "file" does not gives it based on /etc/mime.types, it even has nothing to do with apache. Nikolai -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] knowing file's mime-type

2001-01-10 Thread Nikolai Vladychevski
Hello, I am doing my own file manager over the web and for that application I need to identify what mime-type has each file that user has on his own space. I know I can code some parser of /etc/mime.types and use its data to identify mime types by file extension, but first I would like to ask if t