Re: [PHP] Sessions and CHECKBOXES :(

2001-03-18 Thread Yasuo Ohgaki
this is what you need) Take your time to read array functions, you might find other functions that is useful. Regards, -- Yasuo Ohgaki - Original Message - From: ""karakedi"" [EMAIL PROTECTED] Newsgroups: php.general Sent: Saturday, March 17, 2001 10:07 AM Sub

Re: [PHP] Strange PHP Reference behaviour with globals

2001-03-16 Thread Yasuo Ohgaki
['var']'. Regards, Yasuo Ohgaki = My favorite links [RFC] http://www.faqs.org/rfcs/ [W3C] http://www.w3.org/ [PHP Manual] http://www.php.net/manual/en/ Hello, Try the following code: ?php $gGlobal = 1; function ChangeGlobalValue() { global $gGlobal; $local

Re: [PHP] Strange PHP Reference behaviour with globals

2001-03-16 Thread Yasuo Ohgaki
ocal that has 99 in the function) Because $gGlobal itself is local to the function. Therefore, you cannot get 99 outside the function, but 55. I hope I explained well, so that all readers understand what I'm talking about. Regards, -- Yasuo Ohgaki Bye, John ""Yasuo Ohgaki"&qu

Re: [PHP] Strange Behaviour in non-reference globals?

2001-03-16 Thread Yasuo Ohgaki
l; $local is NOT a reference. $gGlobal is reference. In this case, you are actually changing. $GLOBAL['gGlobal'] in this case. I think you figures it out why now. Regards, -- Yasuo Ohgaki print "Value:Global=$gGlobalBR"; } $gGlobal = 1; ChangeGlobalValue(); print $gGlobal; ==

Re: [PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread Yasuo Ohgaki
ful values are set or not. If you can use DSO, I recommend to do it. Regards, -- Yasuo Ohgaki I know the answer will be something simple but I cant seem to find much help anywhere. Any help or push in the direction of a useful web page would be nice. Paul -- PHP General Mailing

Re: [PHP] Reminders

2001-03-15 Thread Yasuo Ohgaki
P, use CGI version of PHP for it. 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: [EMAIL PROTECTED] -- PHP General Ma

Re: [PHP] Why my php page will reply session expire when the use press back button?

2001-03-15 Thread Yasuo Ohgaki
" when the use press back button? And then all the information in the form that user fill is lost, how can I fix this? thx Set your session.cache_limitter to private and set some reasonable expration time for session.cache_expire. Regards, -- Yasuo Ohgaki -- PHP General Mailing List (http://ww

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-14 Thread Yasuo Ohgaki
- Original Message - From: "Chung Ha-Nyung" [EMAIL PROTECTED] To: "Yasuo Ohgaki" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, March 14, 2001 5:07 PM Subject: Re: [PHP] [Q] session variables wouldn't keep contents. I found something! If I set reg

Re: [PHP] Using sessions

2001-03-14 Thread Yasuo Ohgaki
ion. It seems there are some browsers that will not take cookie on initial request, and fallback to URL mode. See notes session section in Online PHP Manual for details. Regards, -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-14 Thread Yasuo Ohgaki
_VARS in PHP Variables section neither!! I didn't notice it. Question is 'Do developers consider this as a bug or the way it should be'. How about post a mail to php-dev list? Regards, -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: [PHP] Script returns an image?

2001-03-14 Thread Yasuo Ohgaki
Did you read this page? http://www.php.net/manual/en/features.images.php What is your php code looks like? if you read this page already. Yasuo Ohgaki = My favorite links [RFC] http://www.faqs.org/rfcs/ [W3C] http://www.w3.org/ [PHP Manual] http://www.php.net/manual

Re: [PHP] TAB = ENTER ????

2001-03-14 Thread Yasuo Ohgaki
JavaScript. For example, if you can submit form when tab is pressed, you can write JavaScript to do that. 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

Re: [PHP] switch with multiple case

2001-03-14 Thread Yasuo Ohgaki
print('error'); break; } ? BTW, this works C/C++. 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: [EMAIL PROTECTED]

Re: [PHP] JavaDoc?

2001-03-14 Thread Yasuo Ohgaki
So i've heard bits and pieces that JavaDoc can parse out comments about php... does anyone have an example of a command line call to javadoc passing a PHP file? PHPDoc or PHP Documentator, I guess. http://www.phpdoc.org/ Regards, Yasuo Ohgaki -- PHP General Mailing List (http

Re: [PHP] my page is in the error log

2001-03-14 Thread Yasuo Ohgaki
. very strange. You are not alone, Seth FYI. I think this is fixed in CVS version. 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

[PHP] foreach() faster than while()?

2001-03-13 Thread Yasuo Ohgaki
r ($i = 0; $i 1; $i++) { reset($HTTP_SERVER_VARS); while(list($k,$v) = each($HTTP_SERVER_VARS)) { $key = $k; $val = $v; } } $timer-set_marker("Marker: WHILE"); $timer-stop(); $profiling = $timer-get_profiling(); print_r($profiling); ? /pre /body /html ====

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-13 Thread Yasuo Ohgaki
you should be able to see file or record for the session. If you are using file session handler, what is directory permission for session data storage? Nobody need to have write permission usually. (You are using Apache on Linux, right?) Sounds like it is the problem to me. Regards, Yasuo Ohgaki -- P

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-13 Thread Yasuo Ohgaki
like oops header already sent) Something must be wrong, since your environment is similar to that I have. 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

Re: [PHP] foreach() faster than while()?

2001-03-13 Thread Yasuo Ohgaki
Thank you for your reply, Chris. - Original Message - From: "Chris Adams" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 14, 2001 3:50 PM Subject: Re: [PHP] foreach() faster than while()? On 13 Mar 2001 18:10:45 -0800, Yasuo Ohgaki [EMAIL PROTECTED] wrote:

Re: [PHP] New to navigation functions...

2001-03-12 Thread Yasuo Ohgaki
I cannot figure out what is your problem exactly. Could you explain what you want to do with on server side(PHP) and client side(JavaScript) again on the new thread? Regards, -- Yasuo Ohgaki ""Richard"" [EMAIL PROTECTED] wrote in message 98ev42$r6d$[EMAIL PROTECTED]&quo

Re: [PHP] fscanf

2001-03-12 Thread Yasuo Ohgaki
ecne of non-white-space charactors in C and PHP. Your $buffer should only have "lenin". So if you write like while (fscanf($file,"%s %s",$buf1,buf2)) You should get "lives" in $buf2. Regards, Yasuo Ohgaki best regards, jakub zytka -- PHP General Mailing List

Re: [PHP] fscanf

2001-03-12 Thread Yasuo Ohgaki
- Original Message - From: "Kubol" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 13, 2001 12:48 AM Subject: Re: [PHP] fscanf 01-03-13 05:00:01, "Yasuo Ohgaki" [EMAIL PROTECTED] wrote: I think fscanf() is line oriented in C, isn't it? (I

Re: [PHP] Back Button Problem

2001-03-12 Thread Yasuo Ohgaki
not want to use Cookie and JavaScript, how about compare fields data for one by one? (or you can use URL session with the 1st method) I think there are many other ways to do the same thing. Anyone? -- Yasuo Ohgaki - Hub.Org Networking Services 251 Main St. Wolfvil

Re: [PHP] HTTP_POST_VARS

2001-03-12 Thread Yasuo Ohgaki
No. Check box and radio buttons are not set, though. Regards, -- Yasuo Ohgaki ""stas"" [EMAIL PROTECTED] wrote in message 026001c07cc4$aeaa6250$9701a8c0@snewdel">news:026001c07cc4$aeaa6250$9701a8c0@snewdel... Hello, Is it that correct that only non-

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-12 Thread Yasuo Ohgaki
without it when I use $HTTP_SESSION_VARS at least. I think it will not work without $HTTP_SESSION_VARS. (PHP4.0.4pl1/Apache/RedHat Linux7) Regards, -- Yasuo Ohgaki Regards, -- Chung Ha-Nyung [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

Re: [PHP] problem with include/require

2001-03-11 Thread Yasuo Ohgaki
d be greatly appreciated! Thanks/Erick --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 07-Mar-01 Yasuo Ohgaki == PHP and Related Resources == [PHP FAQ] http://www.php.net/FAQ.php [

Re: [PHP] email sent many times when using ob_get_contents()

2001-03-10 Thread Yasuo Ohgaki
What is your environment? (OS, glibc version, Web Server, PHP version, compiler version, How do you use PHP? Shared module/CGI, Character Set, etc) I have different, but similar problem. Yasuo Ohgaki From: "kaab kaoutar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 10,

Re: [PHP] UTF

2001-03-10 Thread Yasuo Ohgaki
read japanese, there is better non-standard module. Just mail me if you want the URL. Regards, -- Yasuo Ohgaki -- Sites by friends of mine: http://www.myhiddentreasures.com

Re: [PHP] Using Cookies

2001-03-10 Thread Yasuo Ohgaki
write better code. I don't recommend to use short tag. Use ?php instead. Regards, -- Yasuo Ohgaki - Original Message - From: "Todd Cary" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 11, 2001 1:59 AM Subject: [PHP] Using Cookies This is a test script so I can g

Re: [PHP] reloading a webpage?

2001-03-10 Thread Yasuo Ohgaki
t-revalidate"); // HTTP/1.1 header ("Pragma: no-cache"); // HTTP/1.0 FYI. If you are using PHP4 session, it will be done automatically when you set session.cache_limmter = 'nocache'; Also read, RFC2068 for HTTP1.1, RFC1945 for HTTP 1.0. Regards -- Yasuo

Re: [PHP] Cookies creating Unwanted Problem....

2001-03-10 Thread Yasuo Ohgaki
Did you detect if browser's cookie is enabled?? Regards, -- Yasuo Ohgaki "Dhaval Desai" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! This website is authenticated using cookies. I don't understand why..? Id works from some computers

Re: [PHP] session end

2001-03-10 Thread Yasuo Ohgaki
Assuming you are talking about PHP4 session. Garbage collection is done by the module. Read http://www.php.net/manual/en/ref.session.php Regards, -- Yasuo Ohgaki ""deco"" [EMAIL PROTECTED] wrote in message 98dtge$2ad$[EMAIL PROTECTED]">news:98dtge$2ad$[EMAIL PROTECTE

Re: [PHP] Testing for session without setting cookies

2001-03-10 Thread Yasuo Ohgaki
are not difficult. There are many session handlers for verious databases. How about look for one and modify? Regards, Yasuo Ohgaki I hope that I have overlooked something. Thanks in advance, -- Simon Woods Siemens Business Services SBS EBS D CKS Munich Germany 089 / 636 54347 -- PHP General

Re: [PHP] problem with include/require

2001-03-10 Thread Yasuo Ohgaki
re setting include_path right, are you sure you don't have typo? Refer to http://www.php.net/manual/en/configuration.php Regards, -- Yasuo Ohgaki for example, lets say i have a directory called: c:/apache/htdocs/phpprograms/ inside this phpprograms, i have the following files:

Re: [PHP] File Upload Size Limit Problem

2001-03-10 Thread Yasuo Ohgaki
Here is the code in question with the who code below. When I try to upload a 3 MB file it doesn't produce an error. Everything else works fine. You need to edit your php.ini Read your php.ini and look for upload_max_filesize. Regards, -- Yasuo Ohgaki PHP and Related resources [PHP FAQ] http://www

Re: [PHP] New to navigation functions...

2001-03-10 Thread Yasuo Ohgaki
ient side script in server side script, though. Regards, -- Yasuo Ohgaki PHP and Related resources [PHP FAQ] http://www.php.net/FAQ.php [PHP Manual] http://www.php.net/manual/en/ [PHP Links] http://www.php.net/links.php [RFCs] http://www.faqs.org/rfcs/ - Richard -- PHP General Mailing List (h

Re: [PHP] Including file...

2001-03-10 Thread Yasuo Ohgaki
rhythm"); $synth = array("synthmain", "part", "patches"); $synthtype = array("synthtypemain", "dx7", "k2000", "k2vx", "k2500"); $audio = array("audiomain", "synth"); $recordings = array("r

Re: [PHP] $userfile_name broken in PHP4 win32 ?

2001-03-10 Thread Yasuo Ohgaki
an access $userfile and echo back to the page the full path. However, $userfile_name, $userfile_type, and $userfile_size are broke. They echo back nothing at all. Any ideas ? Have you checked $HTTP_POST_FILES? Regards, -- Yasuo Ohgaki PHP and Related resources [PHP FAQ] http://www.php.n

Re: [PHP] PHP and the MIME type - an Apache question

2001-03-09 Thread Yasuo Ohgaki
There is a great manual and FAQ. Did you read manual? FAQ? PHP Manual http://www.php.net/manual/en/ Install Section http://www.php.net/manual/en/installation.php FAQ http://www.php.net/FAQ.php Regards, Yasuo Ohgaki ""Richard S. Crawford"" [EMAIL PROTECTED] wrote in mess

Re: [PHP] oohform validation help

2001-03-09 Thread Yasuo Ohgaki
good one on this list. http://phpclasses.upperdesign.com/browse.html/package/1 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: [EMAIL PROTECTED]

Re: [PHP] PHP and MySQL query

2001-03-09 Thread Yasuo Ohgaki
Read RFC2396 for URI format. You are escaping query string as HTML where do you don't have to. When you deal with query string, you should escape as URL. Read PHP manual for rawurlencode()/rawurldecode() for URL encode/decode. Regards, Yasuo Ohgaki - Original Message - From: "Ji

[PHP] Max Number of require_once()ed files? [BUG or SPEC?]

2001-03-08 Thread Yasuo Ohgaki
ment under my environment.) OS: RedHat7 (w/o glibc update) Apache: 1.3.17 PHP: 4.0.4pl1 (module) Thanks for your info. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

Re: [PHP] Sessions, and timeout

2001-03-08 Thread Yasuo Ohgaki
that checks JavaScript and cookie is enabled. You can find at http://www.zend.com/codex.php?id=458single=1 Regards, Yasuo Ohgaki Hi all, I have a timeout problem with sessions. I use the PHP session handling (4.0.4pl1). It works, but it times to fast out. I've set: ini_alter

Re: [PHP] Sessions, and timeout

2001-03-08 Thread Yasuo Ohgaki
On Thursday 08 March 2001 11:14, Yasuo Ohgaki wrote: I guess your clients PC's clock is not accurate. How about set timeout to 0? Then session cookie will not timeout until browser is closed. Actually the server and client clock only differs with about 1 minute. Then how about check

Re: [PHP] Sessions, and timeout

2001-03-08 Thread Yasuo Ohgaki
nt expiration is too long. From my php.ini ;session.cache_expire = 180 ; document expires after n minutes Hope this helps. Yasuo Ohgaki == original msg === Then how about check the server's response headers that sent to client? You can view headers using wget or like. PHP might be sen

Re: [PHP] Session not destroying properly

2001-03-07 Thread Yasuo Ohgaki
on_destroy(); unset($CUserName); header("Location: $PHP_SELF"); By the way, Location header requires absolute URI. Most browser works with relative URI, though. Regards, --- Yasuo Ohgaki } else { session_register("CUserName"); $CUserNameSession="CUserName"; }

[PHP] Error in www.php.net (To site admin)

2001-03-07 Thread Yasuo Ohgaki
There is a error on www.php.net http://www.php.net/manual/browse-errata.php Fatal error: Call to undefined function: spc() in /local/Web/sites/phpweb/manual/browse-errata.php on line 39 I don't know where to report I hope www.php.net admin read this post. Regards, Yasuo Ohgaki

[PHP] News Server (news.php.net)

2001-03-07 Thread Yasuo Ohgaki
FYI For those who do not know about news server. (I didn't know there is a news server for mailing lists.) news://news.php.net I think it is better to be mentioned in www.php.net support or any other appropriate places. Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net

Re: [PHP] Almost working Regex

2001-03-05 Thread Yasuo Ohgaki
vaScripts RegEx reference page, http://developer.netscape.com/docs/manuals/communicator/jsref/corea3.htm#115 8210 Any regular expression references will be probably helpful. How about look for some? ([] are meta chars, you need to escape meta chars.) Regards, Yasuo Ohgaki But when I add the c

Re: [PHP] Session not destroying properly

2001-03-05 Thread Yasuo Ohgaki
Do you use custom session handlers? Try session_unset() also. It may help. Regards, Yasuo Ohgaki Got a problem with sessions. On my index page, there's a place for people to login. Well, when I test with two different user names (ie: mike and jlo) it reverts to the first one when login

Re: [PHP] Hide Include-Files from the Web

2001-03-03 Thread Yasuo Ohgaki
} If you can use $HTTP_SERVER_VARS, using it is safer. Regards, Yasuo Ohgaki thanks michi -- Sent through GMX FreeMail - http://www.gmx.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] (URL Translating) Apache, PHP, and the love of it all.... well, maybe not.

2001-03-03 Thread Yasuo Ohgaki
(I'm sure there will be many), and be able to guide towards something that will work. Hope I understand your mail. Regards, Yasuo Ohgaki Thanks, Patrick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] PHP single user??

2001-03-02 Thread Yasuo Ohgaki
edition can accept may wrong. I don't remember well. Correct me if it is wrong.) Or didn't you setup DB to accept only 1 connection? Sounds like this is the reason to me. Regards, Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: [PHP] including html

2001-03-02 Thread Yasuo Ohgaki
?. (I use include() always, though) 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: [EMAIL PROTECTED]

Re: [PHP] Double Click

2001-03-02 Thread Yasuo Ohgaki
; } Regards, Yasuo Ohgaki -Original Message- From: John Huggins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 3:04 PM To: Manuel Lemos; [EMAIL PROTECTED] Subject: RE: [PHP] Double Click If you are lucky and are feeding this form data to a database, you can create

Re: [PHP] Loss of connection handle object

2001-03-02 Thread Yasuo Ohgaki
to fill bug report with your code. Regards, Yasuo Ohgaki --- My test code output === BEGIN === Resource id #1= database link resource Resource id #2= query result resource Object = PgSql db object Resource id #3 = query

Re: [PHP] what is wrong with this sniplet?

2001-02-28 Thread Yasuo Ohgaki
it is a URL though... http://www.php.net/ is correct URL and you should be able to click it to open it. If you want to send HTML mail, take a look at whole HTML formatted mail including headers in your mail box. You will get how to compose HTML formatted mail. Regards, -- Yasuo Ohgaki

Re: [PHP] Move a file from dir to another or delete file..?

2001-02-27 Thread Yasuo Ohgaki
/manual/en/ref.exec.php (system(), exec(),etc) Regards, -- Yasuo Ohgaki Is there any way I can move a file from one directory to another and also is tehre any way I can delete a particluar file in a directory.. Thank You! Cheers!~ Dhaval Desai

Re: [PHP] Newbie: why do I get this error?

2001-02-26 Thread Yasuo Ohgaki
t;0"), array("cellpadding", "0")); I'm not sure, but is this what you want? $attributes = array(array('border'=0),array('cellpadding'=0)); or $attributes[] = array('border'=0); $attributes[] = array('cellpadding'=0); -- Yasuo Ohgaki -- PHP Gen

Re: [PHP] multiple file upload..

2001-02-26 Thread Yasuo Ohgaki
m post will work.. but the previous will be corrupted. I cannot understand what you mean well 3. i try using file input elements as arrays.. meaning input type=file name=filearr[x].. doesn't work? See the code and output, it works. (at least when PHP stores uploaded file info to $HTTP_UPLOAD

Re: [PHP] Very strange Nutscrape behavior - PHP/JS/DHTML???

2001-02-26 Thread Yasuo Ohgaki
for all browsers unless you explicitly does so, I believe. I guess it is due to the browser implementation difference or bug in NN.) Regards, -- Yasuo Ohgaki This could be a JS issue but right now I'm really not sure. I have this code, } elseif ($cat == 'bikes' $sub_cat == 'Road') { $i

Re: [PHP] firewalls MySQL sessions

2001-02-26 Thread Yasuo Ohgaki
, -- Yasuo Ohgaki I'm having trouble establishing MySQL sessions when the client is running from behind a remote firewall. (I.e., the MySQL server has a static internet IP, but the remote client which is accessing, or better said, attempting to access the MySQL database via PHP

Re: [PHP] Question about global variables

2001-02-26 Thread Yasuo Ohgaki
by POST method. (Except $HTTP_UPLOAD_FILES) Using $HTTP_* variables improves code readability I think PS: You can use $GLOBALS[] to access all global vars. Regards, -- Yasuo Ohgaki Zenith -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] FORM module/extention for PHP4??

2001-02-26 Thread Yasuo Ohgaki
Hello all, I would like to know if anyone already wrote FORM module (not PHP class/function) that handles HTML forms (elements, validation, etc). I searched freashmeat, I couldn't find one. Thanks, -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] redirect pages

2001-02-26 Thread Yasuo Ohgaki
an be both absolute and relative. Someone mentioned Apache's response header differ when 'Location: ' header is absolute and relative. he/she said when 'Location: ' is realative Apache send Status: 200, when it is abosolute apache send Status: 302. (I didn't confirm this, though) Just FYI. Regards, -- Ya

RE: [PHP] -----s--- bit

2001-02-22 Thread Yasuo Ohgaki
If you would like to access /etc/shadow, you probaly make a new extension that interfaces PAM. Is there PAM extensoin for PHP4?? already??. I also would like to get one if there is. -- Yasuo Ohgaki Hi, Why do you want to access /etc/shadow from your PHP?. As a general rules of thumb that's

[PHP] Bug: reference, foreach, array (FYI)

2001-02-21 Thread Yasuo Ohgaki
posted Bug Report to www.php.net BugID#9369 Take a look at comments in test2.php -- Yasuo Ohgaki Previous Post was Re: [PHP] Strange behavior: Cannot exit as expected AND Script starts from the beginning, executed TWICE. Anyone? [If you have comments on this please send e-mail to me] I think

[PHP] Strange behaviour: Cannot exit as expected AND Script starts from the beginning, executed TWICE. Anyone?

2001-02-20 Thread Yasuo Ohgaki
- html body You have been registered to this web sitebr username = ?php @print($HTTP_POST_VARS['username']; ?br ...... /body /html --- -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: [PHP] Netscape6 with HTML Form using POST method

2001-02-20 Thread Yasuo Ohgaki
I'm having problem with Netscape6 does not resend valid POST data to PHP. Netscape is waiting until connection timeout. If I hit stop button, it logs warning message attached to this mail. (These forms work fine with IE5.x, NN4.5) I found out work around days ago, but I didn't post list..

Re: [PHP] Strange behaviour: Cannot exit as expected AND Script starts from the beginning, executed TWICE. Anyone?

2001-02-20 Thread Yasuo Ohgaki
not try with code as follows - it works as expected. ?php if (isset($HTTP_POST_VARS['sub_btn'])) { include('test2.php'); exit; } else { include('test3.php'); exit; } ? Cheers, Ben Yasuo Ohgaki wrote: This is really strange. PHP fails to exit / die form script after include / require / include

Re: [PHP] Strange behaviour: Cannot exit as expected AND Script starts from the beginning, executed TWICE. Anyone?

2001-02-20 Thread Yasuo Ohgaki
explanation for this strange PHP4 behavior other than possibility that glibc has bugs. (8bit char unsafe code, etc. I haven't research about my exact glibc version nor bugs yet.) Any comments appreciated. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] Postgresql session handling

2001-02-20 Thread Yasuo Ohgaki
"Richard Lynch" [EMAIL PROTECTED] wrote: The writing of the session data occurs *after* the server-browser HTTP connection is cut. If you have any error-reporting happening in your session_write function, you won't see it. Alter that function to log errors to a file or something. It

Re: [PHP] Bad Practices

2001-02-14 Thread Yasuo Ohgaki
It's a .inc, which means that PHP does not know to parse it. Which means, that person can see your usernames and passwords. And because it's a public package, they're far more likely to know the path to said file. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Netscape6 with HTML Form using POST method

2001-02-12 Thread Yasuo Ohgaki
/session.inc on line 139 = Yasuo Ohgaki -- [EMAIL PROTECTED] -- 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