Correction, MySQL is not returning floor, since it returns 2 for round(1.5). - I
didn't see it.
MySQL should not return 2 for round(2.5), but it should return 3. I think it's
MySQL bug.
How about ask in MySQL mailing list?
--
Yasuo Ohgaki
""Yasuo Ohgaki"" <[E
MySQL is returning floor. (I'm not a MySQL heavy user, though :)
PHP's result is correct for its function name, I think.
If MySQL returns floor for round(), how about use floor() in PHP?
Regards,
--
Yasuo Ohgaki
"Lee Howard" <[EMAIL PROTECTED]> wrote in message
[EMA
It's supported from 4.0.4, I think.
Regards,
--
Yasuo Ohgaki
"Jennifer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I wanted to use is_null, but it isn't available in my version
> (4.0B2)
>
> What would be an
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">n
.
I'm 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 re
Do you install Linux kernel source? and have correct symlink for kernel headers?
Sounds like it's the cause to me.
Regards,
--
Yasuo Ohgaki
""Plamen Slavov"" <[EMAIL PROTECTED]> wrote in message
002a01c0c276$32b005e0$98d209c0@plamensl2">news:002a01c0c276$
If you are using Windows, no. (resolver does not work under windows)
Regards,
--
Yasuo Ohgaki
"Jochen Kaechelin" <[EMAIL PROTECTED]> wrote in message
NFBBLHGFAKNLFNPOHMPHCEENCGAA.jk@intern">news:NFBBLHGFAKNLFNPOHMPHCEENCGAA.jk@intern...
> What about this err
(If you don't, please let me know)
String can be accessed like array, but foreach does not handle invalid parameter
well.
While() does not misbehave with equivalent code.
Regards,
--
Yasuo Ohgaki
"Joe Stump" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
Did you read PHP Manual? If you don't read online manual, I suggest to read it.
Annotated manual is very useful.
http://www.php.net/manual/en/language.variables.external.php
Regards,
--
Yasuo Ohgaki
"Phil Labonte" <[EMAIL PROTECTED]> wrote in message
1B5C7FA9D60DD51
uted when fopen() success 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
>
et or cvs.php.net
to browse PHP source.
Regards,
--
Yasuo Ohgaki
"Carlos Serrão" <[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
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].
ering functions. 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 resu
> > 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/
You 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]> wr
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 P
thing. (Session data is read and
written 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
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 PROTECTE
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
with Variable Function.
For 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 overrid
If you are talking about PHP on UNIX, I think the default is
/usr/local/lib/php/extensions/no-debug-non-zts-
For windows, I don't know.
Regards,
--
Yasuo Ohgaki
"Lindsay Adams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
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
Simple to fix it. You just need to resolve ambiguity with {}.
> $res = $i * $j;
> $target_array[$i][$j] = $res;
> print("result = $target_array[$i][$j] ");
print("result = {$target_array[$i][$j]} ");
Regards,
--
Yasuo Ohgaki
<[EMAIL PRO
; or empty
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"
home_email1'] 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..
&
mail.
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
fd);
541
542 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 PRO
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:
> )
so
> that I
encoding script (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]...
>
&g
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]> wr
is note that says it does not work with PHP4/Win32. I may need to check
BugDB to find out status of this problem.
I compile with --enable-sockets, so I don't know if it available without it.
Regards,
--
Yasuo Ohgaki
"Joseph Blythe" <[EMAIL PROTECTED]> wrote in message
Refer to the PHP Manual for details.
http://www.php.net/manual/en/language.variables.external.php
The Manual is worth to read :)
(Don't forget to read FAQ also, it seems FAQ is updated recently)
Regards,
--
Yasuo Ohgaki
""hi"" <[EMAIL PROTECTED]> wrote in mess
ented.
--
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 PROTEC
gards,
--
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 alway
(file/mm/user) when 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]
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?
+ $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:
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
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 fro
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]> wr
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 f
fer to User Notes 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 ses
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
"&q
though.
Do you 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. PHP
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 c
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 : filen
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&quo
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]">
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">n
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""
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 bas
x27;s 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
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.
>
>
&g
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
ks 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]&
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,
>
>
ripts that causes this.
BTW, do you use 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)
ot in PHP4. This is really good 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" &
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
""Scot
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 detai
link also.
How about read
http://www.zend.com/zend/tut/
There are useful tutorials.
--
Yasuo Ohgaki
""Thomas H$BgH(Ber"" <[EMAIL PROTECTED]> wrote in message
9a1e71$eun$[EMAIL PROTECTED]">news:9a1e71$eun$[EMAIL PROTECTED]...
> Hi all,
>
> i need to use a
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 Weiss
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]...
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 PRO
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]
j as $k => $v) {
print("foo->$k = ".$obj->$k."\n");
}
?>
Regards,
--
Yasuo Ohgaki
"André Næss" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Javascript has this very neat control structure that makes it ea
;);
}
?>
Regards,
--
Yasuo Ohgaki
"André Næss" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Javascript has this very neat control structure that makes it easy to
iterate over the properties of an object. It would be nice to see something
on 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 per
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 h
, 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
>
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]...
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]"
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]"&g
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 th
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 fro
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,
&g
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 PROTECT
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 lef
Optional 2nd param for date() and strftime() is UNIX timestamp (i.e. integer -
seconds from epoch)
So I suppose all works as it should.
--
Yasuo Ohgaki
"Evelio Martinez" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> setlocale(
this issue. I don't have any
> dates though.
There are Japanese extentions. I use it and works perfectly with PHP4.0.4pl1 as
Apache DSO.
Charset conversion both manual and automatic, multi-byte charset reguler
expression, Japanese char handling for email, etc.
I heard the athour is working
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
&qu
__LINE__);)
Regards,
--
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:
>
&g
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 PR
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 e
",
> "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z");
> for($i=0;$i<$length;$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
r']); // to unregister from session
>
> ?>
>
> cuz I'll have more pages...
> $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 us
d file before reading.
There are so many ways to protect file with passwords. We need to specify how
files are protected to help you.
i.e. Is it FTP? Protected by a proxy? WWW Basich Auth or Custom authentication?
Regards,
--
Yasuo Ohgaki
>
> - Nick
>
>
> --
> PHP General M
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
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&quo
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 PRO
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"" <
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 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,
&
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]
nction => other
function cannot use. Make it class member variable.
> function sessions {
> $db = new mysql_connect;
$this->db = new mysql_connect;
> }
>
> function testprint() {
> $db-> connect()
$this->db->con
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,
w
I've recently installed PHP4.0.4 and PHP4.0.5-RC1 for IIS5 (CGI and ISAPI)
CGI version works ok so far. However, ISAPI version is very unstable. I haven't
use it much, but it is not ready for production use for sure.
--
Yasuo Ohgaki
""Carsten Gehling"" <[E
have MX record(s), if it is configured properly.)
Try to use name (i.e. mail.example.com) instead.
Regards,
--
Yasuo Ohgaki
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am getting a "Failed to connect" e
ks in www.zend.com
You get more links here
http://www.php.net/links.php
--
Yasuo Ohgaki
"Jack Sasportas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have written a system with authentication to gain access to individual
> data.
; . $itemid;
> > header ($redirurl);
> > ?>
>
> 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 Gener
201 - 300 of 403 matches
Mail list logo