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

2002-10-16 Thread Yasuo Ohgaki
; UPDATE the second bank 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 Ohg

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

2002-07-28 Thread Yasuo Ohgaki
t_status() to check these things. i.e. You 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

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

2002-06-06 Thread Yasuo Ohgaki
dation, etc) I need feature list so that I 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 > Te

[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 Ma

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://ww

[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 > > session_start(); &g

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

2002-05-01 Thread Yasuo Ohgaki
w can I solve it. I tried to fread() 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

[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: PHP4.2.0 + Apache2 prints code

2002-04-30 Thread Yasuo Ohgaki
t help is an > AddHandler line, but I don't know what I'd put there as a handler. > > 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-23 Thread Yasuo Ohgaki
do other things 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&

[PHP] Re: .phps

2002-04-20 Thread Yasuo Ohgaki
be wrong? im using PHPTriad 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

[PHP] Re: php printer functions...

2002-04-18 Thread Yasuo Ohgaki
u need to build/install 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

[PHP] Re: mailing list using mail()

2002-04-10 Thread Yasuo Ohgaki
database backends if you 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 mysq

Re: [PHP] sablotron XMl XSLT

2002-04-09 Thread Yasuo Ohgaki
n-funcs.php 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: 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 tryin

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

2002-03-31 Thread Yasuo Ohgaki
on line 0 > You have invalid session.save_path -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Text Editor

2002-03-24 Thread Yasuo Ohgaki
iting. If you need multi byte 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, vi

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

2002-03-03 Thread Yasuo Ohgaki
" \n"; > > > If $navigationLinks is NOT declared as "static", then the code will work > with PHP 4.1.2. It works both ways with 4.0.6. Just an FYI and > wondering if anyone knows why? > > Greg Breland > > Create shortest & 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://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Global Variable Change

2002-03-01 Thread Yasuo Ohgaki
Within the hyperlink I call "setlanguage.php?lang=1033" > >session_start(); > if ( ($lang <> "1031") and ($lang <> "1033") ) { > $lang= "1031"; } > $Language = $lang; > if (session_is_registered('Language'

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

2002-02-20 Thread Yasuo Ohgaki
res session. Manual: 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: Sessions just not working...

2002-02-14 Thread Yasuo Ohgaki
HP, track vars 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

[PHP] Re: class and session identyfier

2002-02-14 Thread Yasuo Ohgaki
should > I do inside class that my 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

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

2002-02-05 Thread Yasuo Ohgaki
Trun off "register_globals", then it should work with track vars. -- Yasuo Ohgaki Travis Simpson wrote: > Hey, > > I changed it from: > > $HTTP_SESSION_VARS["$key"] = $value; > > To: > > session_register("$key"); > $key = $value;

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: > So

[PHP] Re: PHP Classes and Sessions

2002-02-04 Thread Yasuo Ohgaki
myCart"); > } > else { > $myCart = new ShoppingCart(); > } > You are not following session manual page... You 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

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

2002-02-04 Thread Yasuo Ohgaki
h 4.0.6 and what didn't with 4.1.1? If you 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 v4.1.1 WDDX problems

2002-02-04 Thread Yasuo Ohgaki
problems linking to the xml module? Any > ideas? > > > WDDX requires XML. I suppose 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: 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 Ohga

[PHP] Re: use_trans_sid

2002-02-03 Thread Yasuo Ohgaki
to login, rather than only 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?)? Look for my "PHP4 sesison helper HTML&quo

[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: Using session functions in PHP4.1.1

2002-02-03 Thread Yasuo Ohgaki
ache log file I got : "Premature end 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

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

2002-01-29 Thread Yasuo Ohgaki
? or &, I > want only slah > (/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: [E

[PHP] Re: getmxrr() is not supported

2002-01-27 Thread Yasuo Ohgaki
; Some functions are missing in Windows version :) -- 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] 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 &g

[PHP] Re: PHP Sessions

2002-01-23 Thread Yasuo Ohgaki
e just type > news.php?uid=2&sid=something and get the page or am I just being silly? 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

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

2002-01-23 Thread Yasuo Ohgaki
omeone > please explain how that is uesd? > Session manaul pages 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,

[PHP] Re: manual : Call-time pass-by-reference has been deprecated

2002-01-21 Thread Yasuo Ohgaki
; > At least it should point out that it has 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

[PHP] Re: Having a problem with sessions?

2002-01-21 Thread Yasuo Ohgaki
ter globals on, you can still use the $HTTP_*_VARS, right? Yes. It's supposed to work, but could you try without 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: differences between ini_set() with php cgi and module?

2002-01-17 Thread Yasuo Ohgaki
with > small files < 1M. Hmm. Your ISP seems to have dirty hack for PHP :) Ask question to your ISP. -- 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: Version conflicts with extentions

2002-01-16 Thread Yasuo Ohgaki
ion using PHP 4.1.1 and run 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

Re: [PHP] Re: Extending PHP

2002-01-16 Thread Yasuo Ohgaki
ct. There is another way. Read README.SELF-CONTAINED-EXTENSION. -- Yasuo Ohgaki > > > > --- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote: > >>Anas Mughal wrote: >> >>>I presume you have created dynamically loadable >>>modules in PHP4. >>>If

[PHP] Re: benchmarking php scripts

2002-01-16 Thread Yasuo Ohgaki
, but it works 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 adm

Re: [PHP] Re: Extending PHP

2002-01-15 Thread Yasuo Ohgaki
u are also interested 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 _

[PHP] Re: Extending PHP

2002-01-15 Thread Yasuo Ohgaki
www.zend.com for the document. BTW, api docs in source 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]

[PHP] Re: I18n problems: Working with double-byte languages

2002-01-15 Thread Yasuo Ohgaki
hars! > > How can I convert a double-byte string to UTF8 properly??? > > > Really thanks UTF-8 works but EUC-KR may be better. Anyway, take a look at mbstring, iconv, gettext modules. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

[PHP] Re: Limit script memory usage !!

2001-12-21 Thread Yasuo Ohgaki
ll them if they become 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

[PHP] Re: web server crashing with either 4.1.0 or 4.0.6

2001-12-21 Thread Yasuo Ohgaki
gt; ?> > > > any help would be appreciated. > Visit http://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://ww

[PHP] Re: session class

2001-12-21 Thread Yasuo Ohgaki
> session_register("error"); > var $error; > } > This is also wrong, too Try to find example 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: Question: Should exit() print out the integer exit-status?

2001-12-18 Thread Yasuo Ohgaki
it's an integer then 'shell_exit()' > function should be added. > > --Jani I agree. It's possilbe do this now, w/o much BC problem. die()/exit() is identical in ZE1. How about make them separate? If type is integer, die() for print and return exit code and exit() fo

[PHP] Re: postgres session handling

2001-12-18 Thread Yasuo Ohgaki
h it > was originally intended I get this error: > > *Fatal error*: Failed to initialize session module in > */usr/local/apache/vhosts/600xl/httpdocs/fe_login.php* on line *44* > > Keep in mind that this is all code which worked perfectly with the bulit > in session hand

[PHP] Re: postgres session handling

2001-12-18 Thread Yasuo Ohgaki
dule in > */usr/local/apache/vhosts/600xl/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 -- PHP General Mailing List

[PHP] Re: mysql_query() problem

2001-12-16 Thread Yasuo Ohgaki
gt; > I've checked that the connection works, and that the query is what it should > 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

Re: [PHP] seg fault with snmp

2001-12-14 Thread Yasuo Ohgaki
; --enable-ftp --with-gd --enable-gd-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? W

[PHP] Re: DOM XML?

2001-12-14 Thread Yasuo Ohgaki
ble to indicate some good web references for XML in > PHP ? > I don't know 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]

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

2001-12-14 Thread Yasuo Ohgaki
only to php-general. Thank you. PS: Read manaul sections (Object and Reference. It's explained ;) -- Yasuo Ohgaki > > Try the example below. > > Manuel Lemos > > class test_class > { > var $dummy="nothing"; > }; > > Function not_ass

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

2001-12-13 Thread Yasuo Ohgaki
rovide meaningfull 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-bac

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

2001-12-13 Thread Yasuo Ohgaki
BTW, did you try benchmarking tools like ab? You may be able to reproduce problem with benchmark tools. -- Yasuo Ohgaki > > Jaime Bozza > > > -Original Message- > From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 12, 2001 9:04 PM

[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 additio

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-recom

[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 Ohg

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

2001-12-12 Thread Yasuo Ohgaki
tracing. All I can tell you now is that using user-defined handlers for > sessions started causing me lots of problems. (As near as I can tell, > you need to have some sort of a decent load on your servers - Single > client access didn't ever seem to allow me to force the crashes) > You can run httpd under gdb and can take backtrace. Try. -- 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: session woes

2001-12-11 Thread Yasuo Ohgaki
ng BTW. Use $HTTP_SESSION_VARS. Do 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 command

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

2001-12-11 Thread Yasuo Ohgaki
? > OR > - how can i read Javascript variables under PHP? > > Help 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 unsubscrib

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 su

[PHP] Re: session_id()

2001-12-07 Thread Yasuo Ohgaki
NN. Check your NN's cookie, I'm sure you have a cookie 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 ? >

[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 &

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

2001-12-05 Thread Yasuo Ohgaki
y. > ie > $test_array[0]->get(); > 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] Re: nested include_once()

2001-11-28 Thread Yasuo Ohgaki
tail function is useful. Anyway, you can use get_included_files()/get_requried_files() to know which files are included/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]

Re: [PHP] Redeclare a Function

2001-11-14 Thread Yasuo Ohgaki
tion('$x', 'return --$x;'); > echo $funct(10); > --- > > its fun 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 -- PH

Re: [PHP] Serial Port Programing

2001-11-12 Thread Yasuo Ohgaki
n linux I guess you would just fopen > /dev/ttyS0 and read or write 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 -- PH

[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

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

2001-11-12 Thread Yasuo Ohgaki
est (It's one of bug report types) BTW, you have opotion 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] Re: possible safe mode bug with opendir() ?

2001-11-11 Thread Yasuo Ohgaki
f UID does not match? I think it should be allowed. It's perfectly valid to me. What 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 d

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

2001-11-11 Thread Yasuo Ohgaki
safe_mode to browse all the files on the entire webserver, looking > for things he might be able 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] Re: pass javascript variable to php?

2001-11-08 Thread Yasuo Ohgaki
e query string, to make 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

[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 i

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

2001-11-04 Thread Yasuo Ohgaki
es for printing first key name, is not hard work... 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 command

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

2001-11-03 Thread Yasuo Ohgaki
need *Specific* syntax for postgres, such as --with-mysql=/usr/... If you install postgres 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: 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 G

[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

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

2001-11-02 Thread Yasuo Ohgaki
ser may send data with other encoding other than you specified in HTTP header/META tag. It's server side script programmers task to make sure convert string, alert users, etc. If you want to allow only ISO-8859-1, alerting user would be esiest. -- Yasuo Ohgaki > > on 11/1/01 9

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

2001-11-01 Thread Yasuo Ohgaki
} > $temp = myclean($name_actor); > echo($temp); > ?> > > What happens is if i try for example to clean up "São Paulo" it prints "são > paulo". Why?? > The "$name" will receive a string form a text field in a form. my html > charset is iso-

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

2001-10-27 Thread Yasuo Ohgaki
to use $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.i

[PHP] Re: require & include

2001-10-22 Thread Yasuo Ohgaki
e() raise warning, 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 -- P

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

2001-10-22 Thread Yasuo Ohgaki
"MODIFIED" time? Modified time is used for mod_files. 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 Mail

[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_INFO\n&qu

[PHP] Re: Odd is_int() behaviour

2001-10-21 Thread Yasuo Ohgaki
"Invalid section (NON_INT: $section)\n"; > } > > Um, why does it fail when I hit 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://

[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 -

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), c

[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 unsubscr

[PHP] Re: "Deleting" HTTP auth...

2001-10-19 Thread Yasuo Ohgaki
to the server, > right?. is it possible 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 PROTECTE

[PHP] Re: contstant in heredoc <<

2001-10-19 Thread Yasuo Ohgaki
oc treat string as if they are enclosed by "". So constant does not work 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: 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 s

[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. >

[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] 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] Fo

[PHP] Re: urlencode() and rawurlencode()

2001-10-19 Thread Yasuo Ohgaki
you curious, have a look at RFCs. -- 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: Compiling php like C

2001-09-17 Thread Yasuo Ohgaki
possible to compile PHP > script in COM or EXE file? > PHP Compiler 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

  1   2   3   4   5   >