Re: [PHP] Database result set question

2001-04-11 Thread Yasuo Ohgaki
not sure if it buffers on client side. Regards, -- Yasuo Ohgaki "Morgan Curley" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Just out of curiosity, can anyone explain the mechanics behind accessing a database query result set. ie $resu

Re: [PHP] System V Semaphores

2001-04-11 Thread Yasuo Ohgaki
It means your OS does not allocate enough resources. Linux: $ ipcs -l -s FreeBSD: $ ipcs -S Refer to your OS manual to change them. Regards, -- Yasuo Ohgaki ""Philip Murray"" [EMAIL PROTECTED] wrote in message 002e01c0c20a$b17e9ba0$0201a8c0@sparlak">news:00

Re: [PHP] while loop

2001-04-10 Thread Yasuo Ohgaki
On Tue, 10 Apr 2001 15:16, Zeus wrote: $query = mysql_query("some SQL here"); while ($row = mysql_fetch_array($query)) { This line is the same as do while( ($row = mysql_fetch_array($query)) == TRUE) { Common coding style in C/C++ and PHP :) Regards, -- Yasuo Ohgaki "

Re: [PHP] php - html

2001-04-10 Thread Yasuo Ohgaki
. ob_start(), ob_get_contents(), etc. Much easier, much faster. Regards, -- Yasuo Ohgaki ""ewoong"" [EMAIL PROTECTED] wrote in message 9auilj$9st$[EMAIL PROTECTED]">news:9auilj$9st$[EMAIL PROTECTED]... Hello.. ^^ I am trying to save results for php files. for example..

Re: [PHP] register_shutdown_function - uses for

2001-04-10 Thread Yasuo Ohgaki
For another example use of shutdown function. Take a look at how PEAR destructor is implemented. It's using shutdown function. Regards, -- Yasuo Ohgaki ""Greig, Euan"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I was hoping th

Re: [PHP] Developing new PHP modules

2001-04-10 Thread Yasuo Ohgaki
or cvs.php.net to browse PHP source. Regards, -- Yasuo Ohgaki "Carlos Serro" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I don't know if I'm in the correct mailling list or not, but could someone provide me with some information abou

Re: [PHP] assignment operator works for comparison??

2001-04-10 Thread Yasuo Ohgaki
to open file. Regards, -- Yasuo Ohgaki ""Dan"" [EMAIL PROTECTED] wrote in message 9avrti$olc$[EMAIL PROTECTED]">news:9avrti$olc$[EMAIL PROTECTED]... This confused me for awhile, because the single equal sign seemed to work for comparison, but created inexplicable erro

Re: [PHP] how much data can a session store?

2001-04-09 Thread Yasuo Ohgaki
whenever user access pages) Regards, -- Yasuo Ohgaki ""Tobias Talltorp"" [EMAIL PROTECTED] wrote in message 9as098$lup$[EMAIL PROTECTED]">news:9as098$lup$[EMAIL PROTECTED]... Just a quick question... How much data can a session store? The reason Iエm asking is

Re: [PHP] Encoding

2001-04-09 Thread Yasuo Ohgaki
Take a look at www.zend.com for Zend Encoder or http://apc.communityconnect.com/ and get 1.0.9 source. Look for file name like README.Compiler. Regards, -- Yasuo Ohgaki ""Kevin Pate"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: [PHP] huge PHP file, hardcore processing

2001-04-09 Thread Yasuo Ohgaki
may get better result on UNIX/Apache. Someone mentioned he/she does not have any problem with W2K/IIS ISAPI/PHP4.0.3pl1 with more than 250,000 hits/day. You may want to down grade your PHP to 4.0.3pl1. Regards, -- Yasuo Ohgaki "Christian Dechery" [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] configure not doing anything and file not found

2001-04-08 Thread Yasuo Ohgaki
There is compile instruction at www.php4win.de I think you need CygWin and VC to compile windows version of PHP. You may get better answer on php-windows list. Regards, -- Yasuo Ohgaki ""Plutarck"" [EMAIL PROTECTED] wrote in message 9aor0h$uo0$[EMAIL PROTECTED]&quo

Re: [PHP] Extension_dir in php.ini?

2001-04-07 Thread Yasuo Ohgaki
If you are talking about PHP on UNIX, I think the default is /usr/local/lib/php/extensions/no-debug-non-zts-version For windows, I don't know. Regards, -- Yasuo Ohgaki "Lindsay Adams" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Oka

Re: [PHP] adding methods to classes

2001-04-07 Thread Yasuo Ohgaki
example. class foo { var $function_name; function foo($fname) {$this-function_name = $fname; $this-$function_name;} function a() {echo 'a';} function b() {echo 'b';} } foo('b'); // calls foo::b() Can I override a method in a subclass? Yes. -- Yasuo Ohgaki Dean. -- PH

Re: [PHP] new php.net look

2001-04-07 Thread Yasuo Ohgaki
Read FAQ. Description is in there. Regards, -- Yasuo Ohgaki "jaxon" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The older look was neat to show off to people re: pop up menus, etc., but this is a real speed demon, and will b

Re: [PHP] HELP!! comparing arrays

2001-04-06 Thread Yasuo Ohgaki
How about post some code that does not work as expected? (Simpler code is better) Regards, -- Yasuo Ohgaki ""paula"" [EMAIL PROTECTED] wrote in message 001501c0bf29$2f35e740$0f01a8c0@pau">news:001501c0bf29$2f35e740$0f01a8c0@pau... Hi- I'm new here and have this pro

Re: [PHP] APC breaking under freebsd!

2001-04-05 Thread Yasuo Ohgaki
(well the author uses term "compile", refer to README.compiler) like Zend Encoder. APC is getting better and better :) Regards, -- Yasuo Ohgaki "Dan Phoenix" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Trying to enable ap

Re: [PHP] file upload question

2001-04-05 Thread Yasuo Ohgaki
Yes. Refer to PHP Manual. There is description for that. -- Yasuo Ohgaki "Joe Stump" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm in the habit of putting all my form variables into an array (ie: input type="text" name=&qu

Re: [PHP] sockets (long)

2001-04-05 Thread Yasuo Ohgaki
ret = fcntl(Z_LVAL_PP(fd), F_SETFL, O_NONBLOCK); 543 544 RETURN_LONG(((ret 0) ? -errno : ret)); 545 } 546 /* }}} */ Hope this helps. -- Yasuo Ohgaki "Joseph Blythe" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Plutarck wrote

Re: [PHP] can I detect html email capability?

2001-04-05 Thread Yasuo Ohgaki
. Regards, -- Yasuo Ohgaki ""Matthew Delmarter"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello all, Out of curiosity I am looking at what can be done with email marketing. I am currently looking at a solution that apparently ca

Re: [PHP] foreach ?!

2001-04-05 Thread Yasuo Ohgaki
l1'] before you test it? Sound like this is the cause to me. Regards, -- Yasuo Ohgaki ""TV Karthick Kumar"" [EMAIL PROTECTED] wrote in message 031001c0bde4$f1638c00$[EMAIL PROTECTED]">news:031001c0bde4$f1638c00$[EMAIL PROTECTED]... Hi List.. I have the

Re: [PHP] array speed

2001-04-05 Thread Yasuo Ohgaki
output) Regards, -- Yasuo Ohgaki "Kurth Bemis" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i'm concerned about the speed at which httpd (with php4.0.1pl1 compiles in as a static mod) can "chew" through a 350 element 2d array. Can a

Re: [PHP] problems with session_register()...

2001-04-04 Thread Yasuo Ohgaki
Try to use $HTTP_SESSION_VARS, it may work for you. There are many number of notes in Annotated PHP Manual. Some of them may help. By the way, you don't need to serialize Array/Object for PHP4 session. Regards, -- Yasuo Ohgaki "Christian Dechery" [EMAIL PROTECTED] wrote in mess

Re: [PHP] known problems with session_register()?

2001-04-03 Thread Yasuo Ohgaki
script execution is ended. Regards, -- Yasuo Ohgaki - Original Message - From: "Felix Kronlage" [EMAIL PROTECTED] To: "Yasuo Ohgaki" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, April 02, 2001 9:21 PM Subject: Re: [PHP] known problems with session_register()?

Re: [PHP] known problems with session_register()?

2001-04-03 Thread Yasuo Ohgaki
, -- Yasuo Ohgaki ""Yasuo Ohgaki"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Try register globals off, see if it helps. (You need to use $HTTP_SESSION_VARS) I always set track vars to on (It's always on from 4.0.3(?), if I remember

Re: [PHP] Why does it work this way?

2001-04-03 Thread Yasuo Ohgaki
. -- Yasuo Ohgaki ""Mark Roedel"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 8:00 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Why

Re: [PHP] Database connections

2001-04-02 Thread Yasuo Ohgaki
You don't have to call mysql_close(). PHP handles cleaning resources when script execution is ended. You can set default connection parameters for MySQL in php.ini. I don't know if you need to call mysql_connect(). (I don't use MySQL :) Regards, -- Yasuo Ohgaki ""David Hyne

Re: [PHP] known problems with session_register()?

2001-04-02 Thread Yasuo Ohgaki
in Session Section - Annotated PHP Manual for details. Regards, -- Yasuo Ohgaki "Felix Kronlage" [EMAIL PROTECTED] wrote in message 20010401181830.B5417@mad">news:20010401181830.B5417@mad... Hi, are there any knows problems/bugs with session_register()? With openbsd as a pl

Re: [PHP] Attach File in PHP's Mail Function.

2001-04-02 Thread Yasuo Ohgaki
it by yourself, you need to read related RFCs. Regards, -- Yasuo Ohgaki ""Mark Lo (3)"" [EMAIL PROTECTED] wrote in message 000701c0bb1b$d3b772a0$2e53fea9@mark">news:000701c0bb1b$d3b772a0$2e53fea9@mark... Hi, I would like to ask how to attach a file in PHP's Mail Fu

Re: [PHP] php-4.0.5-dev with Apache rpm

2001-04-02 Thread Yasuo Ohgaki
Annotated manual is useful. Refer to http://www.php.net/manual/en/install.linux.php http://www.php.net/manual/en/install.apache.php You need to install apache-devel RPM if you are using RedHat. Regards, -- Yasuo Ohgaki ""Paul Juliano"" [EMAIL PROTECTED] wrote in message n

Re: [PHP] Parent class

2001-04-02 Thread Yasuo Ohgaki
Did you try $b-a()? It should work. -- Yasuo Ohgaki "Milan Mlynarcik" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is there way to access paret class from outside of class ??? I know that to access parent object from within the class I

Re: [PHP] I can't connect php with apache.

2001-04-02 Thread Yasuo Ohgaki
I guess your httpd.conf is not allowing. Is your httpd.conf allow CGI script? Refer to Apache manual for that. Regards, -- Yasuo Ohgaki "Kukai" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I have been trying to install PHP4.0 to

Re: [PHP] Why does it work this way?

2001-04-02 Thread Yasuo Ohgaki
+ $str; // $str now stores "aa" PHP syntax/functions looks and works like C most of the time, but there many function/feature that does not work like C. Regards, -- Yasuo Ohgaki ""Mark Roedel"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] is this syntax correct?

2001-04-02 Thread Yasuo Ohgaki
itly start PHP4 session with "session_start()" 3) Using session functions: Implicitly start PHP4 session with "session_register()" If you are having trouble with PHP4 session, set "error_reporting = E_ALL" in php.ini. Is there any other way to start PHP4 session?

[PHP] FYI: PostgreSQL users

2001-03-31 Thread Yasuo Ohgaki
if you need it. (There is news server for the list, too. news://news.postgresql.org ) Regards, -- 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

Re: [PHP] [Fwd: php...]

2001-03-31 Thread Yasuo Ohgaki
p http://www.php.net/manual/en/language.operators.comparison.php Regards, -- Yasuo Ohgaki I'm sure you appreciate the importance of transitive equality in programming languages (especially they all aspire to be pseudo-mathematical), which is why I think you'll appreciate this. ?php $a = "0"; $b =

Re: [PHP] Compiling under RH7

2001-03-31 Thread Yasuo Ohgaki
configure. (How about run 'find / -name httpd.conf'? You might find more than one.) Regards, -- Yasuo Ohgaki "Jon Jacob" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am still only getting the source of the php file. Has anybody successful

Re: [PHP] hash suggestions wanted

2001-03-31 Thread Yasuo Ohgaki
If you need shorter result, how about use a part of md5 hash result? -- Yasuo Ohgaki ""David P. Schwartz"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... the PHP crypt function uses DES and it only generates a hash based on th

Re: [PHP] Question using chop :-)

2001-03-31 Thread Yasuo Ohgaki
It's not explain why you get additional char at the end of string, but chop() in PHP does not get rid of last char, but it also suppose to get rid of spaces including newline. What char code are you using? Char code may be the cause. -- Yasuo Ohgaki ""Marcus Ouimet"" [EM

Re: [PHP] Install

2001-03-31 Thread Yasuo Ohgaki
There is a section for that in the PHP Manual http://jp.php.net/manual/en/migration4.php I suggest you to read www.zend.com documents also. Regards, -- Yasuo Ohgaki ""Chris"" [EMAIL PROTECTED] wrote in message 00ce01c0b942$4cc0d5a0$01c8c8c8@ibcserver">news:00

Re: [PHP] Disk Quota Through web

2001-03-31 Thread Yasuo Ohgaki
You need to provide what OS you are using. I think you may get better response if you ask mailing list discussing about your OS for this matter. Regards, -- Yasuo Ohgaki ""pnp"" [EMAIL PROTECTED] wrote in message 013301c0b8e5$37735220$[EMAIL PROTECTED]">news:

Re: [PHP] problem loading extension

2001-03-31 Thread Yasuo Ohgaki
How about take a look at notes (PHP Manual)? http://www.php.net/manual/en/install-windows.php You might need to change \ to /, or / to \, or get rid of drive letter in extension_dir, as I needed to load extension for PHP for Windows. Regards, -- Yasuo Ohgaki "Christian Dechery&qu

Re: [PHP] Saving file

2001-03-31 Thread Yasuo Ohgaki
Reading RFCs will help. RFC 2068 RFC 1945 RFC 2936 Regards, -- Yasuo Ohgaki "Adi Wibowo" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi I write a script that create a report. Using header ("location : filename") to tell brows

Re: [PHP] Saving file

2001-03-31 Thread Yasuo Ohgaki
Oops I pasted older RFC number for HTTP/1.1, newer version is RFC 2616 Reading older version will also help, though. -- Yasuo Ohgaki "Adi Wibowo" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi I write a script that create a rep

Re: [PHP] [Fwd: php...]

2001-03-31 Thread Yasuo Ohgaki
know annotated manual? http://www.php.net/manual/en/ Your post would be a great note for many users. How about add them to sections that I've been mentioned. "Yasuo Ohgaki" [EMAIL PROTECTED] wrote in message news:... PHP has type juggling feature. PHP4 supports "total equali

[PHP] Regular expression benchmark?

2001-03-30 Thread Yasuo Ohgaki
data. Thanks. -- 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] initialize session module

2001-03-30 Thread Yasuo Ohgaki
How about http://www.zend.com/zend/tut/ There are several PHP4 tutorials including PHP4 session. The error is most likely that you are specifying invalid session handler. -- Yasuo Ohgaki ""Rol"" [EMAIL PROTECTED] wrote in message 022a01c0b8e4$f1271ae0$[EMAIL PROTECTED

Re: [PHP] Passing by reference deprecated?

2001-03-30 Thread Yasuo Ohgaki
FYI Unless you need to modify and return modified contents of variables, pass by reference makes script execution a little slower under PHP4. -- Yasuo Ohgaki ""Neil Kimber"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].

Re: [PHP] Setcookie not working

2001-03-30 Thread Yasuo Ohgaki
Someone on this list mentioned, Internet Explorer does not accept cookie that has timeout less than 7200 sec from current time. (PC's clock) How about try longer timeout? PS: Is this information is correct? Anyone? Correct me if it is wrong info. -- Yasuo Ohgaki ""Sean Weissense

Re: [PHP] Array in Session-Vars?

2001-03-30 Thread Yasuo Ohgaki
. How about read http://www.zend.com/zend/tut/ There are useful tutorials. -- Yasuo Ohgaki ""Thomas H臠er"" [EMAIL PROTECTED] wrote in message 9a1e71$eun$[EMAIL PROTECTED]">news:9a1e71$eun$[EMAIL PROTECTED]... Hi all, i need to use an array in a session

Re: [PHP] apache_lookup_uri problem

2001-03-30 Thread Yasuo Ohgaki
I haven't use apache_lookup_uri() yet, but I believe it is for getting local server's uri info. I think your PHP script is located web document root, right? Therefore, you get "/" before the string. If you want to get remote URI info, use HEAD request. (Refer to RFC for details) -- Ya

Re: [PHP] header() vs HTTP_REFERER (Netscape 6)

2001-03-30 Thread Yasuo Ohgaki
HTTP_REFERER is set by browser. I treat HTTP_REFERER header as user input, so I don't trust it. Using HTTP_REFERER can open security hole in your web site. I suggest to change your authentication code, so that you don't rely on HTTP_REFERER. Regards, -- Yasuo Ohgaki ""Scott Fletche

Re: [PHP] Passing by reference deprecated?

2001-03-30 Thread Yasuo Ohgaki
feature, because programmer can only use pass by reference when they want change function parameter and return the change to caller. It makes a little easier to read PHP4 script. Regards, -- Yasuo Ohgaki - Original Message - From: "Neil Kimber" [EMAIL PROTECTED] To: "Yasuo

Re: [PHP] Size Limit for PHP scripts

2001-03-30 Thread Yasuo Ohgaki
multi-type char codeset? Regards, -- Yasuo Ohgaki ""Wally Hartshorn"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The script I'm calling (member.php) is 41K bytes (1,200 lines) It includes() global.php, which is 8K bytes (300 l

Re: [PHP] Size Limit for PHP scripts

2001-03-30 Thread Yasuo Ohgaki
Typo in my post ""Yasuo Ohgaki"" [EMAIL PROTECTED] wrote in message 9a3hpe$n1m$[EMAIL PROTECTED]">news:9a3hpe$n1m$[EMAIL PROTECTED]... SNIP BTW, do you use multi-type char codeset? BTW, do you use multi-byte char codeset? Regards, -- Yasuo Ohgaki -- PH

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Yasuo Ohgaki
on the original PHP Parser and tacks the source of your scripts at the end of a custom coded loader. Its fairly easy to use and when used in conjunction with PHP-GTK(URL) can be used to create true GUI Applications. -- Yasuo Ohgaki ""Marian Vasile"" [EMAIL PROTECTED] wrote i

Re: [PHP] Php extension for Ultradev available now !

2001-03-29 Thread Yasuo Ohgaki
Timely post for me. I am considering upgrading Dreamweaver and Fireworks. How and why do you like Ultradev? Why PHP user should use it? -- Yasuo Ohgaki ""Ovidiu EFTIMIE"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... For those wo

Re: [PHP] What is the difference between session_unset() and session_destroy()?

2001-03-29 Thread Yasuo Ohgaki
, though. -- Yasuo Ohgaki "Carfield Yim" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... From the manual, session_unset X Free all session variables session_destroy X Destroys all data registered to a session What do this document exactly mean?

Re: [PHP] split string value

2001-03-29 Thread Yasuo Ohgaki
Use split('@',$email_address) http://www.php.net/manual/en/function.split.php -- Yasuo Ohgaki ""Jacky"" [EMAIL PROTECTED] wrote in message 005a01c0b8a0$453ede00$[EMAIL PROTECTED]">news:005a01c0b8a0$453ede00$[EMAIL PROTECTED]... Hi people If I have value l

Re: [PHP] saving uploaded image as file Vs. directly to database

2001-03-29 Thread Yasuo Ohgaki
of these. (i.e. Use database for management and use filesystem to store files) -- Yasuo Ohgaki ""toto"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... what's the difference between them, i mean for effectiveness and performance ?

Re: [PHP] For ... in ...

2001-03-29 Thread Yasuo Ohgaki
; var $v3 = 3; } $bar = new foo; $property_names = array_keys(get_object_vars($bar)); foreach ($property_names as $name) { print("foo-v1 = ".$bar-$name."br\n"); } ? Regards, -- Yasuo Ohgaki "Andr Nss" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]"&g

Re: [PHP] For ... in ...

2001-03-29 Thread Yasuo Ohgaki
t($k,$v) = each($obj)) { print("foo-$k = ".$v."br\n"); } foreach ($obj as $k = $v) { print("foo-$k = ".$v."br\n"); } foreach ($obj as $k = $v) { print("foo-$k = ".$obj-$k."br\n"); } ? Regards, -- Yasuo Ohgaki "Andr Nss"

Re: [PHP] odd

2001-03-28 Thread Yasuo Ohgaki
session files unless garbage collection is performed. It will be deleted eventually, though. Try higher gc_probability if you have problem with that. -- Yasuo Ohgaki ""Andrius Lokotash"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: [PHP] Caller's Line number?

2001-03-28 Thread Yasuo Ohgaki
, -- Yasuo Ohgaki ""elias"" [EMAIL PROTECTED] wrote in message 99s17u$fd7$[EMAIL PROTECTED]">news:99s17u$fd7$[EMAIL PROTECTED]... Hello, can i make a function that displays the __LINE__ of it's caller? ie: function show_caller_s_line() { echo "my call

Re: [PHP-I18N] Jstring does'nt seemed to be working,,,

2001-03-28 Thread Yasuo Ohgaki
I guess you are using jstring as shared lib. (I was compiled in my PHP4.0.4pl1, but I'm using it as shared lib now) My modules are working fine with my Apache1.3.17/PHP4.0.4pl1 on Linux. Most likely your jstring.so is not located as PHP expects. Where did you put it? -- Yasuo Ohgaki "Ta

Re: [PHP-I18N] International support

2001-03-28 Thread Yasuo Ohgaki
is working to make it standard PHP4 extention now. PS: I think I post where to get it on this list when someone asks for it. Or mail me if you really need it. Regards, -- Yasuo Ohgaki -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: [PHP] alternate pattern match

2001-03-28 Thread Yasuo Ohgaki
Is there any reason that you cannot use regular expression? -- Yasuo Ohgaki ""Costas"" [EMAIL PROTECTED] wrote in message 99t43c$qr4$[EMAIL PROTECTED]">news:99t43c$qr4$[EMAIL PROTECTED]... How do i extract the position (integer counting from the left) of the letter

Re: [PHP] question about a loop in a loop

2001-03-28 Thread Yasuo Ohgaki
I think array_intersect() and array_diff() is useful for you.. http://www.php.net/manual/en/function.array-intersect.php http://www.php.net/manual/en/function.array-diff.php -- Yasuo Ohgaki "Institute for Social Ecology" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]&qu

Re: [PHP] Sessions stopped working with 4.04

2001-03-28 Thread Yasuo Ohgaki
Since you are using PHP4.0.4pl1, you also should be able to access session vars with $HTTP_SESSION_VARS. Dose it make differences? -- Yasuo Ohgaki "Shane Iseminger" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello all, Of

Re: [PHP] Storing data from several forms of the same type in an array

2001-03-28 Thread Yasuo Ohgaki
How about use JavaScript to do that. You should be able to access all forms, frames in browser. -- Yasuo Ohgaki ""cam k"" [EMAIL PROTECTED] wrote in message 99uart$a48$[EMAIL PROTECTED]">news:99uart$a48$[EMAIL PROTECTED]... I would like to store data from several

Re: [PHP] Session Problem (Design problem!?)

2001-03-28 Thread Yasuo Ohgaki
That's because your "variable_order" is "EGPCS". (Default) So your PHP is working fine. -- Yasuo Ohgaki ""Jason Lam"" [EMAIL PROTECTED] wrote in message 99uf64$4i9$[EMAIL PROTECTED]">news:99uf64$4i9$[EMAIL PROTECTED]... I got this s

Re: [PHP] Session Problem (Design problem!?)

2001-03-28 Thread Yasuo Ohgaki
FYI Use $HTTP_*_VARS to avoid this kind of problems. Variable order may change server to server, so you might not able to rely on it even if you know well about it. -- Yasuo Ohgaki ""Jason Lam"" [EMAIL PROTECTED] wrote in message 99uf64$4i9$[EMAIL PROTECTED]">news

Re: [PHP] Sessions: what's wrong sith this code?

2001-03-28 Thread Yasuo Ohgaki
Why do you use un/serialize() for array? If you are using PHP4 session, you don't need it. It's done in session module. Multiple serialize() may be causing your problem. -- Yasuo Ohgaki "Christian Dechery" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROT

Re: [PHP] sessions without cookies?

2001-03-27 Thread Yasuo Ohgaki
You can use URL mode for PHP4 session if you want session w/o cookie. How about read this link? http://www.zend.com/zend/tut/session.php -- Yasuo Ohgaki "duirfire" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, can someone point me

Re: [PHP] array in sessions

2001-03-27 Thread Yasuo Ohgaki
time["page20"]="300"; is this going to automatically load into the session vars or I have to do something first? No. When I learn new languages, I usually write a lot of simple codes to make sure I correctly understands how it works. I suggest to do that. Regards, -- Yasuo O

Re: [PHP] Number/Letter Passwords

2001-03-27 Thread Yasuo Ohgaki
$i++) { srand((double)microtime()*time()); $randy = (($mode)? rand(0, count($all)) : rand(0, count($allend))); Count returns number of elements in array, so you should substrct 1. i.e. $randy = (($mode)? rand(0, count($all)-1) : rand(0, count($allend)-1)); Then should work all the time.

Re: [PHP] How to send attachment with email with php?

2001-03-27 Thread Yasuo Ohgaki
Nothing special. You can compose and send with mail(). Read related RFC or grab code does that from elsewhere on net. -- Yasuo Ohgaki "Carfield Yim" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How to send attachment with email with php?

Re: [PHP] memory allocation in $var...

2001-03-26 Thread Yasuo Ohgaki
I got the same results from my benchmarks, also. Unless you want to change variable in function and get modified value, do not use reference. Without reference, PHP4 executes script faster. Due to reference counting in PHP4, probably. Regards, -- Yasuo Ohgaki "Christian Dechery&qu

Re: [PHP] What is session.cookie_secure?

2001-03-24 Thread Yasuo Ohgaki
I guess its for make use of cookie's secure option. (Send cookie only when encryption (SSL) is enabled) I haven't look into code, so I can be wrong. -- Yasuo Ohgaki "Michael Champagne" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I n

Re: [PHP] apache problem on startup w/ libmhash

2001-03-21 Thread Yasuo Ohgaki
starts up even w/o shared libs. Regards, -- Yasuo Ohgaki ""Dean Hall"" [EMAIL PROTECTED] wrote in message 99a2gd$b2v$[EMAIL PROTECTED]">news:99a2gd$b2v$[EMAIL PROTECTED]... (Sorry for the cross-post; I'd like to get this solved, as I haven't been able to find a solut

Re: [PHP] Perl and PHP

2001-03-21 Thread Yasuo Ohgaki
I'm not sure what you really want to do, but you can use system() (or others) to execute something on your web server. (You may not be able to do that. It depends on server config) Regards, -- Yasuo Ohgaki "Calin Rotaru" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]&qu

Re: [PHP] session.gc_maxlifetime

2001-03-21 Thread Yasuo Ohgaki
%. Depends on your requirement, though. -- Yasuo Ohgaki ""Peter Houchin"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... what is the standard with setting the amount of time in session.gc_maxlifetime it has defaulted to 1440 (24 mins) is

Re: [PHP] header redirection

2001-03-21 Thread Yasuo Ohgaki
? It appears your code is missing the "Location: " part of the header. In addition to this, you probably better off using absolute URI. (Unless you are using Apache) Refer to RFC for details. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] session destroy???

2001-03-21 Thread Yasuo Ohgaki
Use session_unset() http://www.php.net/manual/en/function.session-unset.php Regards, -- Yasuo Ohgaki ""Miguel Loureiro"" [EMAIL PROTECTED] wrote in message 015d01c0b237$61e86720$[EMAIL PROTECTED]">news:015d01c0b237$61e86720$[EMAIL PROTECTED]... Hello all, when us

Re: [PHP] linking classes together

2001-03-21 Thread Yasuo Ohgaki
member variable. function sessions { $db = new mysql_connect; $this-db = new mysql_connect; } function testprint() { $db- connect() $this-db-connect(); } Regards, -- Yasuo Ohgaki $sess = new sessions; $sess- testprint(); Any thoughts

Re: [PHP] irix compile error (4.0.4pl1): libpq

2001-03-21 Thread Yasuo Ohgaki
Do you have llibpq in your system? Is it under path /usr/lib or /usr/local/lib? If not, get PostgreSQL source, create lib, specify Pgsql install location for configure. If this does not help, I don't know Regards, -- Yasuo Ohgaki "Paul Schreiber" [EMAIL PROTECTED] wrote in mess

Re: [PHP] Authenticated without Authenticating???

2001-03-21 Thread Yasuo Ohgaki
I think there is a article about passing variables site to site in www.phpbuilder.com. I think it will help want you want to do. Regards, -- Yasuo Ohgaki "Brandon Orther" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Is there a wa

Re: [PHP] Help!

2001-03-21 Thread Yasuo Ohgaki
I think this should go to BugDB. http://bugs.php.net Try older versions if you in hurry. Regards, -- Yasuo Ohgaki ""Fred"" [EMAIL PROTECTED] wrote in message 99be8l$m4u$[EMAIL PROTECTED]">news:99be8l$m4u$[EMAIL PROTECTED]... I got this error when i try to ran a

Re: [PHP] Apache +Php -----help

2001-03-21 Thread Yasuo Ohgaki
Your Apache is not handling PHP scripts as PHP script. That's why you get script on your browser. Read these sections in PHP Manual. http://jp.php.net/manual/en/install-windows.php http://jp.php.net/manual/en/install.apache.php Regards, -- Yasuo Ohgaki ""OBB"" [EM

Re: [PHP] checboxex and sessions

2001-03-20 Thread Yasuo Ohgaki
checkbox. However, since you've created the form by yourself, you know there is the checkbox named "checkbox_test". So you can check like if (!isset($HTTP_POST_VARS['checkbox_test'])) { $HTTP_SESSION_VARS['FORM']['checkbox_text'] = NULL; //NULL requires recent PHP4 } Regards, -- Y

Re: [PHP] Help with array creation

2001-03-20 Thread Yasuo Ohgaki
p Regards, -- Yasuo Ohgaki "Chris Carbaugh" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I'm trying to take the query string of a url and turn it into an associative array. Let's say I have a URL like myHost.com/somepage.php?

Re: [PHP] get_meta_tags bug?

2001-03-20 Thread Yasuo Ohgaki
May be get_meta_tags() is XHTML compliant. (XHTML requires "" and lowercases for attributes) I suggest you to use double quotes. -- Yasuo Ohgaki "Paul Rees" [EMAIL PROTECTED] wrote in message r19NDKAFmot6Ew$[EMAIL PROTECTED]">news:r19NDKAFmot6Ew$[EMAIL PROTECTED

Re: [PHP] dl()-function

2001-03-20 Thread Yasuo Ohgaki
resolution, how about just use php.ini to load it? Regards, -- Yasuo Ohgaki "Jochen Kaechelin" [EMAIL PROTECTED] wrote in message NFBBLHGFAKNLFNPOHMPHGEHFCCAA.jk@intern">news:NFBBLHGFAKNLFNPOHMPHGEHFCCAA.jk@intern... How can I dynamically load the PDF-extension only when needed? --

Re: [PHP] off the topic but relevant with us

2001-03-20 Thread Yasuo Ohgaki
Are you sure your domain is managed by NSI (network solutions)? My domains are not (bunch of .com .net .org), and your domain might be. If you are just looking for whois server, I suggest to use search engines. (i.e. yahoo, lycos, etc) Regards, -- Yasuo Ohgaki ""Jacky"" [EM

Re: [PHP] deleted cookie

2001-03-20 Thread Yasuo Ohgaki
ment for "deleted cookie". Anyway, I heard some of Internet Explor will not take cookies that have expire time less than current_time + 7200 sec. (I don't verify this myself, though) Is your cookie expire time is long enough? Regards, -- Yasuo Ohgaki I am dealing with some new bug

Re: [PHP] Why not 'file_exists()' for URLs?

2001-03-20 Thread Yasuo Ohgaki
ature/change request in db. Regards, -- Yasuo Ohgaki "Mike" [EMAIL PROTECTED] wrote in message 1103_985083470@matthew">news:1103_985083470@matthew... On 19 Mar 2001 06:53:00 -0800, [EMAIL PROTECTED] ("David G.") wrote: Since fopen/fread/fclose all work with stan

Re: [PHP] get_meta_tags bug?

2001-03-20 Thread Yasuo Ohgaki
FYI: Looks like it is fixed in CVS version and get_meta_tags() now accepts single quotes. (I still recommends to use double quotes for your application, but we cannot force others and single quotes should be accepted for older HTML versions) Regards, -- Yasuo Ohgaki ""Yasuo Ohgak

Re: [PHP] usage of constants

2001-03-20 Thread Yasuo Ohgaki
s is INVALID var $another = CONSTANT1; // This is VALID } I use a lots of constants with my classes. Regards, -- Yasuo Ohgaki regards almir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP] FYI: PHP HOWTO

2001-03-19 Thread Yasuo Ohgaki
and Windows. It's not only Linux users, but also for Windows users. -- 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] checboxex and sessions

2001-03-19 Thread Yasuo Ohgaki
if they are not set. Is this the problem? -- Yasuo Ohgaki ""karakedi"" [EMAIL PROTECTED] wrote in message 996hu3$cjn$[EMAIL PROTECTED]">news:996hu3$cjn$[EMAIL PROTECTED]... how can i store checkbox variables into sessions so that i can use them on other pages ? i know how to

[PHP] [Q] Parser behavior in a string

2001-03-19 Thread Yasuo Ohgaki
xt {$obj-foo-var} Text" works like 'Text '. $obj-foo-var .' Text'. -- 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   >