[PHP] bug or bad definition ?

2002-01-31 Thread Michal Dvoracek
Hello, can someone test this code and send me results ? http://www.php.net/";); exit(); } ?> ?> XXX " method="post"> i want to know if apache fails (returns no response) or if it passed. And then try please again but with this line in function: /

[PHP] login library

2002-03-27 Thread Michal Dvoracek
Hello, i want to write some application that requires users login. So i have question how i can check duplicity login (eg. browser crash, login from one computer using two browsers, ...). I need some idea (the best will be some example code :) ). Thank you. Michal Dvoracek

[PHP] register_globals

2002-04-12 Thread Michal Dvoracek
yboard and chair (that's myself too :)) Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing Variable

2002-04-17 Thread Michal Dvoracek
Hello, store value in hidden field in form, like this: when form is submitted field id contains required value. or use cookie (but here is test if cookie enabled) Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Array question

2002-04-23 Thread Michal Dvoracek
Hello, i think that unset($a['color']); is the best way :) Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] compiling php 4.2 with apache 2.0.35

2002-04-23 Thread Michal Dvoracek
Hello, i have problem with %subj%. It's possible to build php without apxs2 ? Building php with apxs2 - apxs must be instaled before (e.g. apache must be instaled first ?) Regards, Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.ph

[PHP] php & apache 2

2002-04-24 Thread Michal Dvoracek
Hello, when will be possible to compile php as static module with apache 2? Regards, Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parsing mail files

2002-04-29 Thread Michal Dvoracek
Hello, try sourceforge.net or freshmeat.net. There are very usefull programs. Try search: mail mime Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error_reporting()

2002-04-30 Thread Michal Dvoracek
Hi, error_reporting(E_ALL); BTW: RTFM! Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php & performance

2002-05-14 Thread Michal Dvoracek
Hello, what is better syntax (for perfomance option, not code-style) e.g. html code out of php tags text or '; while (...) $table .= ''.$something.'text'; $table .= ''; ?>

Re: [PHP] IF Statements

2002-05-15 Thread Michal Dvoracek
Hello, try this version :) if (($this->checkReferralCB($this->benefitRef, $this->benefitNo, $this->childDOB)) && (!$this->checkLocation($this->post, "W")) && (!empty($this->childDOB)) || ($this->checkPregnancy($this->bene

[PHP] building php

2002-05-15 Thread Michal Dvoracek
.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status make: *** [php] Error 1 Can you help me please ? (I urgent need php binary to execute some scripts from crontab) Thank you. Regards, Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mai

[PHP] php sessions

2002-06-02 Thread Michal Dvoracek
= 'Michal'; when redirect on next page - session is empty but when a change first define to: define('S_USER', 'user'); everything works ok. So in session isn't possible use numeric indexes ? Regards, Michal Dvoracek [EMAIL PROTECTED] So

[PHP] bug in sessions

2002-06-30 Thread Michal Dvoracek
replaceunset($_SESSION['test']); with session_unregister('test'); and repeat process - here will be everything OK. http://www.php.net/manual/en/ref.session.php (see Example 3.) Tested on PHP 4.2.1 (win, Debian). Epilogue: usi

Re[2]: [PHP] Session variables

2002-07-08 Thread Michal Dvoracek
> > ?>> > > > ?>> > } ?>> > ?>> > > > better is (IMHO): > > Regards, Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php