[PHP] Possible to store arrays in session variables?

2001-09-24 Thread Johnny Nguyen
Is it possible to store arrays inside of session variables? I mean is this a valid statement? $HTTP_SESSION_VARS[Crumbs][0] = 1; $HTTP_SESSION_VARS[Crumbs][1] = 2; foreach ($HTTP_SESSION_VARS[Crumbs] as $k = $v) { echo $v -; } Regards, Johnny Nguyen -- PHP General Mailing List (http

[PHP] Sessions, Is this behavior by design?

2001-08-21 Thread Johnny Nguyen
, but no matter i can work with it this way, just wondering if this is by design.? regards, Johnny Nguyen -- 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

[PHP] Session Headaches

2001-08-21 Thread Johnny Nguyen
, Johnny Nguyen -- 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] Session Headaches

2001-08-21 Thread Johnny Nguyen
oops. of course that's what i meant. -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 1:56 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Session Headaches Start with this correction on page1.php: if (session_is_registered != 1) {

RE: [PHP] Session Headaches

2001-08-21 Thread Johnny Nguyen
I am using php 4.0.6 and i would rather not use global variables. regards, Johnny Nguyen -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 3:33 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Session Headaches OK, the session_is_registered

RE: [PHP] AudioGalaxy-like stuff

2001-08-21 Thread Johnny Nguyen
I suppose they could use a hidden frame, like a 1 pixel frame all the way down at the bottom that contains all the javascript in there to submit a form. And then the page that you see simply contains some javascript that calls a javascript function in that hidden frame. I'm sure you get the

RE: [PHP] php date bug ?

2001-08-03 Thread Johnny Nguyen
if statement as much as 31 times in one month. 1000 people generating the calendar would create 31000 extra if statements, unless I get a Cache solution. There should definitely be a PHP function for getNextDay(), but until then, I'm going to use the extra if statement. regards, Johnny Nguyen

RE: [PHP] php date bug ?

2001-08-03 Thread Johnny Nguyen
I wasn't sure if mktime(0,0,0,1,32,2001) would work. BUT!!! I stand corrected. you are absolutely right. PHP is smart enough to know that January 32nd is really February first. :) Next Time I'll test the code before i respond. Johnny Nguyen -Original Message- From: Steve Brett [mailto

[PHP] Counting Multidimensional Arrays

2001-07-31 Thread Johnny Nguyen
someclass? Regards, Johnny Nguyen -- 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] Counting Multidimensional Arrays, Solution Found

2001-07-31 Thread Johnny Nguyen
Nevermind. I Found the solution. $m, $y, and $d must be cast to integers. -Original Message- From: Johnny Nguyen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 3:58 PM To: [EMAIL PROTECTED] Subject: [PHP] Counting Multidimensional Arrays Given

RE: [PHP] array through url?

2001-07-27 Thread Johnny Nguyen
that's the same as $num = 2,3,4,5; $num is a string. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 11:22 AM To: [EMAIL PROTECTED] Subject: [PHP] array through url? Is it possible to send an array of numbers into a php file through a

RE: [PHP] mp3 file read

2001-07-26 Thread Johnny Nguyen
Allows you to read and write id3 tags. which is what you're looking for. http://www.hotscripts.com/Detailed/7219.html -Original Message- From: Brian Weisenthal [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 2:06 PM To: [EMAIL PROTECTED] Subject: [PHP] mp3 file read anyone

[PHP] Classes : Linked Lists vs Arrays?

2001-07-25 Thread Johnny Nguyen
I'm looking for opinions on using Linked Lists vs Arrays in PHP. As a little background: I'm developing a calendar that works with LDAP. I've got the following classes defined. Event and Calendar Calendar has methods displayMonthView($timestamp) displayWeekView($timestamp)

RE: [PHP] PHP/Cold Fusion questions:

2001-07-25 Thread Johnny Nguyen
This may be off. but in IIS asp pages are handled by asp.dll and php pages by some php dll... maybe it be possible to write another dll that passes the the request and script to asp.dll first and then simulates the browser by grabbing all output sent back by the asp.dll and then passes it to the

[PHP] Error Message with sessoin variables.

2001-07-13 Thread Johnny Nguyen
I place ? session_start(); ? at the top of my page and get this Warning: open(/tmp\sess_4821f31846678b2eda49a625b76ca14c, O_RDWR) failed: m (2) in w:\apache\loginform.php on line 1 Can somebody help? Do I need to make any changes to php.ini to get sessions working? Regards, Johnny -- PHP

[PHP] File Paths in PHP.ini on Win2000 w/ Apache

2001-07-13 Thread Johnny Nguyen
is running ok. Regards, Johnny Nguyen -- 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] Error Message with sessoin variables [solved]

2001-07-13 Thread Johnny Nguyen
? I was getting this error and solved by creating a dir named 'tmp', so create: c:\tmp That's where the session files will be stored... I think it's configurable in php.ini. -- Julio Nobrega. You're asking me will my love grow, I don't know. Johnny Nguyen [EMAIL PROTECTED] wrote in message

[PHP] Paths for Extensions Solved

2001-07-13 Thread Johnny Nguyen
I either needed to add c:\php\dlls to my path or i had to copy libsasl.dll into c:\winnt\system32 in order for my extensions to work. My extension dir looked like this: ; Directory in which the loadable extensions (modules) reside. extension_dir = c:\php\extensions\ now gd and ldap show up when

[PHP] How to Enable SSI on Windows Apache and PHP

2001-07-03 Thread Johnny Nguyen
Do I just uncomment: AddType text/html .shtml AddHandler server-parsed .shtml Do I have to uncomment: AddModule mod_mime.c AddModule mod_include.c I thought these modules are bound into the standard windows build? When I load the page up, the includes are not being included and the

RE: [PHP] php intall

2001-07-02 Thread Johnny Nguyen
You can use gnoRPM to remove the apache package. Then look here: http://www.php.net/manual/en/install.apache.php Johnny -Original Message- From: Juan Pablo Rivera [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 1980 7:54 AM To: [EMAIL PROTECTED] Subject: [PHP] php intall hi how