[PHP] Re: Redirect Function?!!

2001-12-07 Thread Roko Roic
I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork another httpd, but that's life :) Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Roko Roic
Brian Clark [EMAIL PROTECTED] wrote in message 20011207082759.GB8750@ganymede">news:20011207082759.GB8750@ganymede... * Roko Roic [EMAIL PROTECTED] [Dec 07. 2001 03:26]: I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This d

[PHP] Re: please don't flame : it's an editor-question

2001-12-06 Thread Roko Roic
I can't afford 299$ for an Texteditor,so : Does anyone know of a free/cheap Edtor that has this feature? On windows - PHPEdit (maybe even PHPCoder). On linux - I, too would like to know, mabe emacs?. Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Re: please don't flame : it's an editor-question

2001-12-06 Thread Roko Roic
Attila Strauss [EMAIL PROTECTED] wrote in message 003301c17e52$69c94260$[EMAIL PROTECTED]">news:003301c17e52$69c94260$[EMAIL PROTECTED]... hi http://www.itworks.demon.co.uk/phpeditors.htm This list does not contain the best among Windows editors: PHPEdit, PHPCoder (Maguma PHP4EE studio),

[PHP] Re: PHP and wml problem

2001-12-05 Thread Roko Roic
Does anybody have a solution? Send wnl heades before displaying results header('Content-type: text/vnd.wap.wml'); Cheers Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] Re: Class in PHP

2001-12-05 Thread Roko Roic
Wee Chua [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, How many extension of subclass can PHP have? Can I extend subclass to more different subclass? I didn't really understand the question, but maybe this is it. PHP class can extend only one parent

[PHP] Re: Classes and functions

2001-11-28 Thread Roko Roic
I'm writing a class for POP3 access and I want some of the internal functions to be private, like the mime decoding stuff. Is there any way to do this? I found nothing in the docs :( Unfortunately, PHP does not understand terms private, public, protected... PHP coders adopted a coding

[PHP] nested include_once()

2001-11-28 Thread Roko Roic
If I use include_once() to include these files in main.php: main.php - include_once('lib.php'); include_once('service.php'); - And file service.php also has a line in it: service.php -- include_once('lib.php'); -- Will lib.php get included twice or only _once()

Re: [PHP] nested include_once()

2001-11-28 Thread Roko Roic
in lib.php define(__LIB_PHP__,1); in service.php: define(__SERVICE_PHP__',1); if (!__LIB_PHP__){ require('lib.php'); I am not sure I was clear enough. I _want_ those include_once('lib.php') statements to be in service.php, because service.php could get included from a file other than

Re: [PHP] nested include_once()

2001-11-28 Thread Roko Roic
include_once(). Does it get included TWICE? By it, I mean lib.php. Sorry Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: call php with javascript

2001-11-27 Thread Roko Roic
i have test.php: ? echo test; ? to call this in the html, i use SCRIPT LANGUAGE=Javascript SRC=test.php/script this works fine for IE, but is there an alternative for Netscape to do this? PHP is a server side programming language and it does not execute in the browser. What you are

[PHP] Re: header(Location:...) much faster then http-equiv=refresh? too fast?

2001-11-22 Thread Roko Roic
When I use header(Location: ...) to redirect the user back to the record Send a Header(pragma no-cache) before Header(Location) and it will work. Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Re: parent:: constructor

2001-11-22 Thread Roko Roic
$parent::constructor()? Just guessing, I wasn't even aware of this functionality till now :) Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP] OOP support

2001-11-19 Thread Roko Roic
I don't know if this is the right place to ask this (there is no .news.admin group on news.php.net), but where is the right place to look for support for OOP PHP programming. Any newsgroups, mailing lists? Maybe opening a group in this hierarchy named php.oop?? Where is the right place to ask