[PHP] Re: Postgres-Transaction-user_ignore_abort-Connection stop by theclient

2002-10-16 Thread Yasuo Ohgaki
account with v+1 (debit) COMMIT WORK It works for me. (at least with CVS version) If there is uncommitted transaction, pgsql module rollback automatically. BTW, if you have too long timeout limit, your site became weaker for DoS attack. -- Yasuo Ohgaki -- PHP General Mailing List (http

[PHP] Re: Checking Insert to Postgre, whats wrong?

2002-07-28 Thread Yasuo Ohgaki
don't have to select row just to make sure row is inserted or not. It wastes lots of resource. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session data not being deleted on browser close.

2002-07-09 Thread Yasuo Ohgaki
Don't cross post such question... All you need to understand is how cookie is managed unless you are passing session id via URL. Read RFC2965 and RFC2964. You probably want to read netscape cookie spec also. -- Yasuo Ohgaki Youngie wrote: Why would my session data not be deleted after my

[PHP] Need info abou ASP/Java HTML Form handling

2002-06-06 Thread Yasuo Ohgaki
Hi All. Could anyone tell me any reference for ASP and/or Java HTML form handling script/program/module/class/etc? I'm going to write PHP module for easier HTML form handling and would like to know what kind of feature/options ASP/Java have. Thanks. -- Yasuo Ohgaki -- PHP General Mailing

Re: [PHP] Need info abou ASP/Java HTML Form handling

2002-06-06 Thread Yasuo Ohgaki
can write better module. It's always good to know what others do before starting my own ;) -- Yasuo Ohgaki [EMAIL PROTECTED] [EMAIL PROTECTED] Kind Regards, Chris Knipe MegaLAN Corporate Networking Services Tel: +27 21 854 7064 Cell: +27 72 434 7582 - Original Message - From

Re: [PHP] Why is there no OPTION EXPLICIT equivalent?

2002-05-30 Thread Yasuo Ohgaki
Go to your php.ini and turn on full error reporting.you'll get warning message if you do not initialize varsas of php4.2.1 Small correction. Most version of PHP3/4 (if not all) can raise E_NOTICE error. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net

[PHP] Re: more session bugs?

2002-05-02 Thread Yasuo Ohgaki
Disable register_globals. Then it should work. BTW, this is wrong behavior, but it's documented. -- Yasuo Ohgaki Mike Eheler wrote: Here's a test you can try yourself. On your server, set up these two files: test.php ?php session_start(); if ($_REQUEST['var']) $_SESSION['var

[PHP] Re: Announcement: Smarty template engine 2.1.0 released

2002-05-01 Thread Yasuo Ohgaki
Monte Ohrt wrote: Homepage: http://www.phpinsider.com/php/code/Smarty/ I don't like most template implementations, but Smarty is great. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: file() and macintosh line break

2002-05-01 Thread Yasuo Ohgaki
() the file and eregi_replace the line breaks, it worked, but now I don't know how to use this to create the array! You can use split(). I think Mac linebreak is better to be recognized by PHP... -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: PHP4.2.0 + Apache2 prints code

2002-04-30 Thread Yasuo Ohgaki
. Any thoughts/comments/ideas would be greatly appreciated. Read README file in the SAPI directory. sapi/apache2filter/README -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP session / JavaScript conflict

2002-04-24 Thread Yasuo Ohgaki
in PHP without conflict) Lastly... refreshing the page causes it to load fine...with the session started Ideas? on what I might be doing wrong? I have used php sessions without problem for some time, the JavaScript is generated by DreamWeaver Turn off trans-sid feature. -- Yasuo Ohgaki

[PHP] Re: .phps

2002-04-20 Thread Yasuo Ohgaki
on win2k thank you Don't even try to use it. It's a obsolete feature. use show_source() instead. It always works. (Read .phps does not work always, even if you set things up right) -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: php printer functions...

2002-04-18 Thread Yasuo Ohgaki
extension by yourself. printer extension is PECL module now, IIRC. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: unlink security problem

2002-04-17 Thread Yasuo Ohgaki
If you care about this problem, upgrade to 4.2.0 when it's available. -- Yasuo Ohgaki Patrick Cossette wrote: I'm running PHP 4.1.2 as an Apache module (Apache 1.3.24) under AIX 4.3.3. My problem has been covered in Bug #13447 but I still have it and the bug was under Windows 2000 but I'm

[PHP] Re: mailing list using mail()

2002-04-10 Thread Yasuo Ohgaki
are using qmail. PHP has ezmlm_hash function for it. -- Yasuo Ohgaki Petre Agenbag [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, the combination of PHP and mysql and the ease of use of the mail() function obviously leads me to

Re: [PHP] sablotron XMl XSLT

2002-04-09 Thread Yasuo Ohgaki
You are probably looking for these. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Newman Says: Error when starting sessions.

2002-03-31 Thread Yasuo Ohgaki
session.save_path -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Postgres question

2002-03-31 Thread Yasuo Ohgaki
In addition to oid2name mentioned, you might want to know about system catalog schema. It's explained in manual http://www.postgresql.org/idocs/index.php?catalogs.html -- Yasuo Ohgaki Robert Abbate wrote: Greetings to all! I have a webhosting company, and I'm trying to be able to use PHP

[PHP] Re: Text Editor

2002-03-24 Thread Yasuo Ohgaki
char under windows, use Meadow (it's a Emacs(Mule) for Windows, kind of). I use php-mode/folding-mode for PHP sources. If you are looking for IDE, ZendStudio is the way to go. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Each() behaving different with PHP 4.1.2

2002-03-03 Thread Yasuo Ohgaki
complete script and submit this bug with the script I don't notice this bug nor bug report, but make sure you search bug db for the same bug -- Yasuo Ohgaki -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Re: Global Variable Change

2002-03-01 Thread Yasuo Ohgaki
; if (session_is_registered('Language')) { session_unregister('Language'); } session_register('Language'); } ? But it doesnt change ANYTHING What is not changed? -- Yasuo Ohgaki -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] [ANN] session_pgsql 0.2 (alpha) released

2002-02-20 Thread Yasuo Ohgaki
: http://pear.php.net/manual/en/pecl.session-pgsql.php (a little old...) Download: http://sf.net/projects/phpform-ext/ Read README file for details. Enjoy! -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: class and session identyfier

2002-02-14 Thread Yasuo Ohgaki
session idetyfier will be known?? thx sasza Read the manual http://www.php.net/manual/en/ PHP has a little different concept for globals. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Sessions just not working...

2002-02-14 Thread Yasuo Ohgaki
are always on. Anyway, try E_ALL for error reporting, you might see some error messages from sessoin module. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Changes in Sessions (PHP Versions)

2002-02-05 Thread Yasuo Ohgaki
If you really need to use 4.0.6, try to use different session save handler and/or serializer. Try WDDX serializer at first, then try verious combinations. If you use other save handler/serializer, it may work. I suggest you to upgrade, though... -- Yasuo Ohgaki Travis Simpson wrote: Sorry, I

[PHP] Re: PHP v4.1.1 WDDX problems

2002-02-04 Thread Yasuo Ohgaki
you don't have one. -- Yasuo Ohgaki Please CC me when you reply to news/list messages. Do not reply only to me :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Changes in Sessions (PHP Versions)

2002-02-04 Thread Yasuo Ohgaki
are trying to use mm/msession save handler, it's broken somewhat. -- Yasuo Ohgaki Please CC me when you reply to news/list messages. Do not reply only to me :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Classes and Sessions

2002-02-04 Thread Yasuo Ohgaki
are over writing $myCart with second new statement. You don't need it and your can use $myCart if ShoppingCart class definition is included before starting session. -- Yasuo Ohgaki Please CC me when you reply to news/list messages. Do not reply only to me :) -- PHP General Mailing List (http

[PHP] Re: Using session functions in PHP4.1.1

2002-02-03 Thread Yasuo Ohgaki
of script headers. This happens when using functions: session_start and session_register What can I do to resolve the problem. You have invalid session.save_path, right? It will be fixed next release or 4.2.0. -- Yasuo Ohgaki Please CC me when you reply to news/list messages. Do not reply

[PHP] Re: Sessions in URL not being recognized!

2002-02-03 Thread Yasuo Ohgaki
Try to enable output bufffering to see if it helps. -- Yasuo Ohgaki Please CC me when you reply to news/list messages. Do not reply only to me :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: use_trans_sid

2002-02-03 Thread Yasuo Ohgaki
once). Is there anything special I have to do to ensure I have a system which uses cookies by default, and use_trans_sid as a second option, without have to carry the SID around in the URL? (page.php??=SID?)? Look for my PHP4 sesison helper HTML in www.zend.com Code Gallary. -- Yasuo Ohgaki

[PHP] Re: use_trans_sid

2002-02-03 Thread Yasuo Ohgaki
Justin French wrote: Hi, I didn't have much luck finding it... If you have a chance to send me a link, that'd be great, otherwise I'll just keep looking :) Justin Try link :) http://www.zend.com/search_code_author.php?author=yohgaki -- Yasuo Ohgaki Yasuo Ohgaki wrote: Justin

[PHP] Re: --enable-transid and slash URI's

2002-01-29 Thread Yasuo Ohgaki
(/session_id_here). Is the any way to change this behaviour? Disable trans-sid and do it by yourself :) -- Yasuo Ohgaki -- 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: getmxrr() is not supported

2002-01-27 Thread Yasuo Ohgaki
Philip J. Newman wrote: I'm running PHP Version 4.0.5 Php Says this: Warning: getmxrr() is not supported in this PHP build in d:\website\myphp\test1.php on line 5 The documents say: (PHP 3, PHP 4 = 4.0.0) I'm condused. Some functions are missing in Windows version :) -- Yasuo

Re: [PHP] Need opinion On sessions - Cookies mandatory?

2002-01-24 Thread Yasuo Ohgaki
AND don't forget about X-FORWARDED-FOR. (ie load balanced cache servers) X-FORWARDED-FOR can be faked. -- Yasuo Ohgaki Compman86 wrote: If there are two people behind a NAT, then the site would check for a session ID and the IP. If a session ID is introduced AND their IP matches the session

[PHP] Re: [Kopia] [PHP] Re: Sessions problem with FreeBSD 4.3

2002-01-23 Thread Yasuo Ohgaki
are updated. There is enough explanation how to use $HTTP_SESSION_VARS/$_SESSION now :) -- Yasuo Ohgaki -- 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] Re: PHP Sessions

2002-01-23 Thread Yasuo Ohgaki
? Any one can change session ID. It just only easier when session ID is in URI :) We have to live with that. -- Yasuo Ohgaki -- 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: Having a problem with sessions?

2002-01-21 Thread Yasuo Ohgaki
register_globals? If it works without register_globals, submit bug report. -- Yasuo Ohgaki -- 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: manual : Call-time pass-by-reference has been deprecated

2002-01-21 Thread Yasuo Ohgaki
been deprecated. Thanks for pointing it out. I've deleted the description in CVS. Next time, please submit bug report with type=Documentation problem :) -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Re: differences between ini_set() with php cgi and module?

2002-01-17 Thread Yasuo Ohgaki
. -- Yasuo Ohgaki -- 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: benchmarking php scripts

2002-01-16 Thread Yasuo Ohgaki
well for profiling. For CPU/RAM/DISK, you can take system bench while you are accessing scripts. -- Yasuo Ohgaki -- 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

Re: [PHP] Re: Extending PHP

2002-01-16 Thread Yasuo Ohgaki
-EXTENSION. -- Yasuo Ohgaki --- Yasuo Ohgaki [EMAIL PROTECTED] wrote: Anas Mughal wrote: I presume you have created dynamically loadable modules in PHP4. If so, how do you create your module file? Do you run a specific make command or do you build it manually? Thanks for your help

[PHP] Re: Version conflicts with extentions

2002-01-16 Thread Yasuo Ohgaki
it on the server.) No. You cannot do that. 4.1.x has different structure for module entry. -- Yasuo Ohgaki -- 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] Re: I18n problems: Working with double-byte languages

2002-01-15 Thread Yasuo Ohgaki
, take a look at mbstring, iconv, gettext modules. -- Yasuo Ohgaki -- 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: Extending PHP

2002-01-15 Thread Yasuo Ohgaki
dist is too old. It does not worth to read :) -- Yasuo Ohgaki -- 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]

Re: [PHP] Re: Extending PHP

2002-01-15 Thread Yasuo Ohgaki
in README.EXT_SKEL file that can be find under PHP source root. There is a nice program that create skelton for new modules :) If you are plainning to marge PHP source dist, use CVS source instead of source distribution. -- Yasuo Ohgaki _ Do You Yahoo

[PHP] Re: session class

2001-12-21 Thread Yasuo Ohgaki
code. There are many of them on net. -- Yasuo Ohgaki -- 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: web server crashing with either 4.1.0 or 4.0.6

2001-12-21 Thread Yasuo Ohgaki
://bugs.php.net/ and read *carefully* how to report bug. There is link for How to generate back trace. Make sure you paste backtrace to your bag report. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Re: Limit script memory usage !!

2001-12-21 Thread Yasuo Ohgaki
too big ? Thanks for your help. Enable memory limit when you configure (--enable-memory-limit) Read php.ini-dist/recommended. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Re: postgres session handling

2001-12-18 Thread Yasuo Ohgaki
in session handler before. Any ideas? Thanks, James. -- Yasuo Ohgaki -- 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: postgres session handling

2001-12-18 Thread Yasuo Ohgaki
/httpdocs/fe_login.php* on line *44* Keep in mind that this is all code which worked perfectly with the bulit in session handler before. Any ideas? Thanks, James. -- Yasuo Ohgaki README.MOD_PGSQL mod_pgsql is a session save handler module. It provides session strage

[PHP] Re: Question: Should exit() print out the integer exit-status?

2001-12-18 Thread Yasuo Ohgaki
? If type is integer, die() for print and return exit code and exit() for only return return code. -- Yasuo Ohgaki -- 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

[PHP] Re: mysql_query() problem

2001-12-16 Thread Yasuo Ohgaki
be, and the query works when I type it into the terminal. Any ideas? Thanks, Brian Rue I suppose it is fixed in 4.1.1-dev. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Re: DOM XML?

2001-12-14 Thread Yasuo Ohgaki
this one ;) -- Yasuo Ohgaki -- 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]

Re: [PHP] seg fault with snmp

2001-12-14 Thread Yasuo Ohgaki
-native-ttf --with-openssl Rasmus is asking backtrace. Read following link to get one ;) http://bugs.php.net/bugs-generating-backtrace.php -- Yasuo Ohgaki --- Rasmus Lerdorf [EMAIL PROTECTED] wrote: Backtrace? Works just fine for me on a RH-7.2 box. On Fri, 14 Dec 2001, Kancha

[PHP] Re: Unable to return object references from functions

2001-12-14 Thread Yasuo Ohgaki
sections (Object and Reference. It's explained ;) -- Yasuo Ohgaki Try the example below. Manuel Lemos ? class test_class { var $dummy=nothing; }; Function not_assigning($not_returned,$copy) { global $object; $object=new test_class; $object

Re: [PHP] Re: php 4.1.0 output compression

2001-12-13 Thread Yasuo Ohgaki
Rares Vasilescu wrote: From: Yasuo Ohgaki How does it work? Read RFC for HTTP/1.1 I meant how do i tell PHP to use output compression. Search zlib.output_compression ini directive in php.ini. There is description in php.ini-dist, php.ini-recommended. Does PHP automatically detect

[PHP] Re: subscribe me

2001-12-13 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: please subscribe me Why not? Have you take a look at http://www.php.net/support.php ? I recommend to use news server. news://news.php.net/ -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Re: PHP 4.1.0 and User-defined Sessions

2001-12-13 Thread Yasuo Ohgaki
with benchmark tools. -- Yasuo Ohgaki Jaime Bozza -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:04 PM To: [EMAIL PROTECTED]; Jaime Bozza Subject: [PHP] Re: PHP 4.1.0 and User-defined Sessions Search bug database to see

Re: [PHP] Re: PHP 4.1.0 and User-defined Sessions

2001-12-13 Thread Yasuo Ohgaki
backtrace, it's impossible to fix. Anyway, don't try running httpd under gdb without -X Read the following link for getting backtrace. You may already know, but your server admin set limit on your machine. http://bugs.php.net/bugs-generating-backtrace.php -- Yasuo Ohgaki

[PHP] Re: php 4.1.0 output compression

2001-12-12 Thread Yasuo Ohgaki
Rares Vasilescu wrote: Anyone has tried out yet the output compression? How does it work, is it really stable? Rares Yes it is stable unless you delete output buffer with ob_end_clean()/flush(). How does it work? Read RFC for HTTP/1.1 -- Yasuo Ohgaki -- PHP General Mailing List

[PHP] Re: how do i get the browser's screen resolution?

2001-12-11 Thread Yasuo Ohgaki
please. You must use JavaScript for browser info. Just send browser resolution as GET vars using JavaScript. (i.e. use query string) -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Re: session woes

2001-12-11 Thread Yasuo Ohgaki
not use session_register(), just set value to $HTTP_SESSON_VARS. Do not use session_unregister(), just unset() $HTTP_SESSION_VARS. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Re: Again (still?) problems with php and ldaps

2001-12-07 Thread Yasuo Ohgaki
You also may want to try 4.1.0RC5. http://www.php.net/~zeev/php-4.1.0RC5.tar.gz I'm not sure which bugs have been fix, but there are sevral bug fixes in 4.1.0. -- Yasuo Ohgaki Susanne Benkert wrote: Hi, After recompiling my Php with the newest LDAP-Libraries and Openssl "ldap_co

[PHP] Re: session_id()

2001-12-07 Thread Yasuo Ohgaki
which has "1007670964". BTW, session module will *not* validate if session id is MD5 hash or not. Programmer should check if session id format is valid or not. -- Yasuo Ohgaki Anybody face this thing ? ? session_start(); echo "h1Members only/h1"; // Ch

Re: [PHP] Re: session_id()

2001-12-07 Thread Yasuo Ohgaki
Michael Hall wrote: That NN value looks like a UNIX timestamp. Mick On Fri, 7 Dec 2001, Yasuo Ohgaki wrote: This is a simple autentification script using session I try to echo the session_id(). But to my surprise, the value of session_id() is different - in configuration - if I use

[PHP] Re: Classes within classes (Should I do this?)

2001-12-05 Thread Yasuo Ohgaki
(); This gives an error. There is nothing wrong storing array of classes in a class. $obj-array_of_obj[0]-method() works. or array of classes $array_of_obj[0]-method(). works. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: nested include_once()

2001-11-28 Thread Yasuo Ohgaki
. -- Yasuo Ohgaki -- 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]

Re: [PHP] Redeclare a Function

2001-11-14 Thread Yasuo Ohgaki
to create array's of functions :) try it :P with kind regards, Joffrey van Wageningen APD can rename/redeclare functions also. http://apd.communityconnect.com/ -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: possible safe mode bug with opendir() ?

2001-11-12 Thread Yasuo Ohgaki
that disallow opendir at all, with disable_functions directive in php.ini -- Yasuo Ohgaki _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Re: possible safe mode bug with opendir() ?

2001-11-12 Thread Yasuo Ohgaki
Yasuo Ohgaki wrote: [EMAIL PROTECTED] wrote: It happens on our system that there will never be any files owned by user A under a directory owned by user B. But even if there were, I think safe mode should disallow this type of filesystem reading. Under UNIX like systems, /tmp is world

Re: [PHP] Serial Port Programing

2001-11-12 Thread Yasuo Ohgaki
to it. Make sure your serial interface supports hardware flow control. PHP is not enough for handling software flow control... (Almost all serial interface supports h/w flow control, though :) -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: possible safe mode bug with opendir() ?

2001-11-11 Thread Yasuo Ohgaki
to peek at with a web browser. Please advise whether this should be a bug report. Take a look at lastest implementation see if you still have issues. http://snaps.php.net/ -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Re: possible safe mode bug with opendir() ?

2001-11-11 Thread Yasuo Ohgaki
if directory is owned by other user, but there is files owned by the user. Would you like to disallow to list directory? I guess not. You can protect file basis, why do you need other protection for directories under open_basedir? Do you have good reason for this? -- Yasuo Ohgaki When in safe

[PHP] Re: Forking and BG processes in PHP

2001-11-08 Thread Yasuo Ohgaki
Massimiliano Bariola wrote: Hello Yasuo, Tuesday, November 06, 2001, 12:12:59 PM, you wrote: YO *SNIP* YO Try to redirect stdout stderr to /dev/null (If you are on Unix YO like systems) YO Then it will return immediately to PHP. YO -- YO Yasuo Ohgaki Sorry Yasuo

[PHP] Re: pass javascript variable to php?

2001-11-08 Thread Yasuo Ohgaki
a new request, etc. Try to take a look at JavaScript book/reference, you'll see how it can be done :) -- Yasuo Ohgaki Thanks, Aaron On Thu, 8 Nov 2001, Yasuo Ohgaki wrote: Aaron wrote: I've got checkbox that I get the status of with javascript and I put the status into a javascript

[PHP] Re: why cant I: array_keys($arr)[0] ?

2001-11-04 Thread Yasuo Ohgaki
... PHP script may need more lines to do the same thing compare to Perl, but it's much easier to maintain. IMHO. -- Yasuo Ohgaki -- 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: Sendmail entry in PHP.ini

2001-11-03 Thread Yasuo Ohgaki
Jason Michael wrote: Does anyone know what the correct entry for the php.ini that allows you to to use sendmail in OSX 10.0.4 Server? Sendmail support is disabled when OS is Windows, it should be able to use sendmail support with Mac OSX. (It it work :) -- Yasuo Ohgaki -- PHP General

[PHP] Re: Questions per installing on linux (Php 4)

2001-11-03 Thread Yasuo Ohgaki
to default locations, it's not required. -- Yasuo Ohgaki -- 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: how to make IE show client side JavaScript output?

2001-11-02 Thread Yasuo Ohgaki
show source feature is broken in many Netscape (and Mozilla). MSIE is behaving correctly. IMHO. You cannot change client behaviours like this. -- Yasuo Ohgaki Moloko wrote: interesting one here for y'all if you use client side JavaScript to write HTML to the browser, eg script language

[PHP] Re: Problem with non us caracters and strtr

2001-11-01 Thread Yasuo Ohgaki
it prints são paulo. Why?? The $name will receive a string form a text field in a form. my html charset is iso-8859-1 I think you are better to use recode extension for this. Check out recode manual page. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] Re: problems with sessions (not working)

2001-10-27 Thread Yasuo Ohgaki
$HTTP_SESSION_VARS, if it is possible... -- Yasuo Ohgaki miec.php: ? a lot of db processing (NO OUTPUT whatsoever) include(user_track.inc.php); UserTrack($products); the output starts here... ? user_track.inc.php: -- ? session_start

[PHP] Re: Odd is_int() behaviour

2001-10-22 Thread Yasuo Ohgaki
Yasuo Ohgaki wrote: This is expected behaviour. Ashley M. Kirchner wrote: I have the following snippet in my file: if ($PATH_INFO == ) { $PATH_INFO = /; } echo PATH_INFO: $PATH_INFObr\n; // All we want is the fist element, call it $section list($section

[PHP] Re: What attribute is used ... when a session will expire?

2001-10-22 Thread Yasuo Ohgaki
. There is case that session data files will not be deleted and user has to delete session data files manually. This behaviour might be changed, see mod_files.c for details and current status. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Re: require include

2001-10-22 Thread Yasuo Ohgaki
, if it can't find file requrie_once()/include_once() works almost the same as require()/include() except they include file only once. (Hash table is used to determine if files are included or not) See also get_{required|included}_files() -- Yasuo Ohgaki -- PHP General Mailing List (http

Re: [PHP] Re: Annotated PHP Manual

2001-10-21 Thread Yasuo Ohgaki
DL Neil wrote: Khalid Hazmi wrote: How I can download the current Annotated PHP Manual??? There is no such thing... AFAIK. = Yasuo Ohgaki Yasuo: Yes there is (and VERY useful it is too), check out the range of PHP documentation available from http://www.php.net/docs.php Khalid

[PHP] Re: Arrays in form

2001-10-21 Thread Yasuo Ohgaki
Use JavaScript. Read PHP Manul if you need to pass array form vars. There is a section for that. Srinivasan ranganathan wrote: Hi all How can i implement a hotmail-inbox like checkbox functionality? thanks in adv Regards Srinivasan Ranganathan -- Yasuo Ohgaki -- PHP General

[PHP] Re: Odd is_int() behaviour

2001-10-21 Thread Yasuo Ohgaki
the script with any INT? '1' is not integer, but string. 1 is integer. BTW, all user inputs(POST/GET/etc) are string. -- Yasuo Ohgaki -- 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: PHP 4.0.6 Mysql 4.0

2001-10-19 Thread Yasuo Ohgaki
Jeroen Geusebroek wrote: Hi there, Does the current stable PHP (4.06) support the use of the newly released Mysql 4? No. Not even with CVS version AFAIK. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] Re: Annotated PHP Manual

2001-10-19 Thread Yasuo Ohgaki
Khalid Hazmi wrote: How I can download the current Annotated PHP Manual??? _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp There is no such thing... AFAIK. -- Yasuo Ohgaki -- PHP General

[PHP] Re: !!! URGENT [PHP] php mail() function Problem

2001-10-19 Thread Yasuo Ohgaki
If your sendmail is set up correctly, you should be able to send mail. Check your sendmail. Look for sendmail Manul, FAQ, etc, since it's not PHP problem. -- Yasuo Ohgaki Simos Varelakis wrote: Hi to everyone i have problem with php4 mail() function. Os:mandrake 7.2 Mailprog:Sendmail

[PHP] Re: Variable Configuration Problem

2001-10-19 Thread Yasuo Ohgaki
I guess you are using php.ini-optimized, right? Take a look at http://www.php.net/manual/en/language.variables.external.php I suggest to read PHP Manual :) -- Yasuo Ohgaki Patrick Quaedackers wrote: Hello all! I installed PHP 4.0.6 om my server (Winnt server, Apache), and I started testing

[PHP] Re: contstant in heredoc

2001-10-19 Thread Yasuo Ohgaki
obviously -- Yasuo Ohgaki -- 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: Deleting HTTP auth...

2001-10-19 Thread Yasuo Ohgaki
to alter them from PHP¿?. Thanks a lot, Rodolfo. I guess not. I though HTTP auth cannot be deleted from server side. Is it possible? -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Re: is js set?

2001-10-19 Thread Yasuo Ohgaki
Martín marqués wrote: Is there a way to know if the web client has javascript enabled? Sure. You can redirect to page with javascript and if JavaScript is enabled, use JavaScript and load pages you want. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Re: Compiling php like C

2001-09-17 Thread Yasuo Ohgaki
is probably what you want. http://phpuser.com/download/files/dev-tool/phpcompiler/ I think this URL isn't a home site, search php-general archive for the home site. (2001-02 to 2001-04. I've posted the URL once there) It was dead when I checked few months ago, though... Yasuo Ohgaki

[PHP] Re: Compiling php like C

2001-09-16 Thread Yasuo Ohgaki
improvment in general. Yasuo Ohgaki -- 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: apache 1.3.20 segfaults with php 4.0.6/midgard/imap

2001-09-03 Thread Yasuo Ohgaki
this as a bug. Yasuo Ohgaki -- 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: mail() not supported

2001-08-30 Thread Yasuo Ohgaki
you install PHP? I guess you are building from source. I'm not a postfix user, but I think you have configured PHP w/o sendmail warpper. Install sendmail wrapper then build PHP again. (e.g. configure checks if your system have sendmail or not) -- Yasuo Ohgaki -- PHP General Mailing List

[PHP] Re: incorrect Timezone using mail() -- HELP!

2001-08-27 Thread Yasuo Ohgaki
will pay attention. I'm not a windows user :) -- Yasuo Ohgaki -- 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]

  1   2   3   4   >