RE: [PHP] php intall
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 do i install php in my redhat 7.1 server when alredy have intaled apache with .RPM??? -- 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] How to Enable SSI on Windows Apache and PHP
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 directive is being displayed in the html source. Regards, Johnny -- 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] Session Variables and Redirecting
I've done this on other platforms ASP,Cold Fusion, but I need to know what's the best way to do it on PHP. 1. grab username and password from POST vars. 2. select count(*) from users where username = '$username' and password='$password'... something along these lines 3. if that user exists and password matches, set a flag on the user and send them to the right page, otherwise increment failed attempts and send them back to login page. if (count > 0) session_register("someflag"); $HTTP_SESSION_VARS["someflag"] = somevalue; header("Location: secretpage.php"); } else session_register("failedattempts"); $HTTP_SESSION_VARS["failedattempts"]++; header("Location: loginpage.php"); } but apparently, i can't start/register a session and then redirect. Is there a better way to do this? Regards, Johnny -- 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] Error Message with sessoin variables.
I place 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 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] File Paths in PHP.ini on Win2000 w/ Apache
I've got the following lines in my php.ini in my C:\WinNT dir. ; ; Paths and Directories ; ; include_path= ; UNIX: "/path1:/path2" Windows: "\path1;\path2" doc_root= ; the root of the php pages, used only if nonempty user_dir= ; the directory under which php opens the script using /~username, used only if nonempty extension_dir = /extensions ; directory in which the loadable extensions (modules) reside enable_dl = On; Whether or not to enable the dl() function. ; The dl() function does NOT properly work in multithreaded ; servers, such as IIS or Zeus, and is automatically disabled ; on them. ... extension=php_gd.dll ;extension=php_gettext.dll ;extension=php_ifx.dll ;extension=php_iisfunc.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_java.dll extension=php_ldap.dll I am getting the error unable to load dynamic library 'extensions/php_gd.dll' the specified module cannot be found... I have verified that the dll's are in fact in the c:\php\extensions\ directory. Is there a problem with forward vs backward slashes? Other than that PHP 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]
Thanks. c:\temp took care of it. now if i can only get the extensions to work. -Original Message- From: Inércia Sensorial [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 4:39 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Error Message with sessoin variables. Windows plataform? 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 000e01c10be5$8960bfc0$[EMAIL PROTECTED]">news:000e01c10be5$8960bfc0$[EMAIL PROTECTED]... > I place 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 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 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] Paths for Extensions Solved
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 i use Thanks for all your help. Johnny -- 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] Classes : Linked Lists vs Arrays?
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) displayDayView($timestamp) among others... and I'm trying to decide if my Calendar class should have a LinkedList or an Array of Events? Within displayDayView(), I'd like to display all events for that day from the collection of events. Thanks In Advanced. Johnny -- 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/Cold Fusion questions:
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 dll and then finally passes everything back to the browser? I have no idea how it would be done, but I don't see why it couldn't be done. Regards, Johnny -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 7:00 PM To: 'SalvatoreJD'; 'PHP-General' Subject: RE: [PHP] PHP/Cold Fusion questions: AFAIK, there are no web servers out there that will allow you to pass a single file through two separate parsing engines (i.e. PHP and CF) Apache won't and I don't believe IIS will do it either. So, from a web server standpoint, the server will either send a web page through the PHP parsing engine or the Cold Fusion parsing engine, but not both. So, I think the answer is the CF developers will have to completely redo the site in CF. Now, I do remember seeing some sort of CF-->PHP converter project over at SoureForge. (www.sf.net) However, I have no direct experience with the project, nor do I know how mature it is. hth --kurt > -Original Message- > From: SalvatoreJD [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 10:32 AM > To: PHP-General > Subject: [PHP] PHP/Cold Fusion questions: > > > Hello... Let me say thank you in advance to those who respond... > > How well does PHP and Cold Fusion code play together? Can PHP > code in CF pages be parsed by PHP server or vise versa- Can > CF code in PHP pages be parsed by the CF server? Or will this > cause major headaches? > > The reason I ask is because I will be building a concept site > for my client in PHP using a MySQL database. As the concept > moves on to production however, I am fairly certain that the > developers will use Cold Fusion to implement further dynamic > features and site architecture. Also, they will probably > want to use Access in conjunction with the CF code. If it > were completely up to me, I'd have the whole site done in > PHP, but unfortunately, I am not the final decision maker here. > > So to recap... Will the CF developers be able to use any of > my code or will they have to redo the site completely in cold fusion?? > > Thanks again for your inputSD > -- 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 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] mp3 file read
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 know of any classes or functions or anything to read data from an mp3 file on the server, ie. song length, artist, album...etc. ? thanks brian -- 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 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] How to get the current date and time in to the input field of a form with running time.
You'll need javascript. Since you only hit the server once you can't continuosly update the time from the server (php). Search for a javascript, there are plenty that can do this. Regards, Johnny Nguyen -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 8:56 PM To: [EMAIL PROTECTED] Subject: [PHP] How to get the current date and time in to the input field of a form with running time. Hi, dear friends, How can i get the current date and time in the following input field. DATE: STATUS: Thanks in advance. Regards -Balaji
RE: [PHP] array through url?
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 url? Like if I have a file that adds numbers together, could I send it www.domain.com/add.php?num=2,3,4,5 $num would be an array. Thanks, Pat -- 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] Counting Multidimensional Arrays
Given // $Events[2001][07][31][0] = new ZEvent("Some Event 0", "Some Description 0", "07-31-2001"); $Events[2001][07][31][1] = new ZEvent("Some Event 1", "Some Description 1", "07-31-2001"); $Events[2001][07][31][2] = new ZEvent("Some Event 2", "Some Description 2", "07-31-2001"); $Events[2001][08][01][0] = new ZEvent("Some Event 0", "Some Description 0", "08-01-2001"); if I set. $someclass->arrEvents = $Events; and then inside of some class i say. $m = 07; $y = 2001; $d = 31; echo count($this->arrEvents[$y][$m][$d]); Shouldn't I get 3 as my output? For some reason I am getting 0. However, if I do: foreach ($someclass->arrEvents[2001][07][31] as $someevent) { echo $someevent->getName(); } I get the correct output: "Some Event 0Some Event 1Some Event 2" Any ideas on how to get the correct count within 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
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 // $Events[2001][07][31][0] = new ZEvent("Some Event 0", "Some Description 0", "07-31-2001"); $Events[2001][07][31][1] = new ZEvent("Some Event 1", "Some Description 1", "07-31-2001"); $Events[2001][07][31][2] = new ZEvent("Some Event 2", "Some Description 2", "07-31-2001"); $Events[2001][08][01][0] = new ZEvent("Some Event 0", "Some Description 0", "08-01-2001"); if I set. $someclass->arrEvents = $Events; and then inside of some class i say. $m = 07; $y = 2001; $d = 31; echo count($this->arrEvents[$y][$m][$d]); Shouldn't I get 3 as my output? For some reason I am getting 0. However, if I do: foreach ($someclass->arrEvents[2001][07][31] as $someevent) { echo $someevent->getName(); } I get the correct output: "Some Event 0Some Event 1Some Event 2" Any ideas on how to get the correct count within 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] -- 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 date bug ?
I'm in the exact same position. It's definitely not a PHP problem. The problem with the way you're redefining your timestamp is that you may get January 32, June 31st, etc. I'm tempted to simply check for spring-forward and fallback before I advance the timestep, but that's one extra 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 -Original Message- From: Steve Brett [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 7:56 AM To: [EMAIL PROTECTED] Subject: [PHP] php date bug ? hi, i've got a calendar and i produce a month sort of outlook / filofax view that shows the user's appointments for that month. the way i was building it was but defining ADAY in the following manner: define("ADAY", (60*60*24) ); once i'd done evrything i needed to do i incremented the timestamp for the day by ADAY. all seemed ok but then one of the users pointed out that October 28th appeared twice and then month had 32 days in for this year. after a bit of head scratching we realised that the clocks go forward (any foreign readers please excuse the rediculous way the british time system works) and technicallay i guess october 24th has 25 hours. thus the time was incremented to a stamp within the same day. redfining the stamp as $start3=mktime(0,0,0,$dayArray[mon],$dayArray[mday]+1,$dayArray[year]); does work however ? is it php or the server that's at fault ? Steve -- 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 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 date bug ?
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:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 8:33 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php date bug ? as far as i know adding 1 day to the day value of the timestamp will increment the month as well. adding i day to july 31st will give august 1st. if you need it i'll send you my code whihc now works. i think gmmktime() would also have worked. Steve "Johnny Nguyen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm in the exact same position. It's definitely not a PHP problem. > > The problem with the way you're redefining your timestamp is that you may > get January 32, June 31st, etc. > > I'm tempted to simply check for spring-forward and fallback before I advance > the timestep, but that's one extra 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 > > -Original Message- > From: Steve Brett [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 03, 2001 7:56 AM > To: [EMAIL PROTECTED] > Subject: [PHP] php date bug ? > > > hi, > > i've got a calendar and i produce a month sort of outlook / filofax view > that shows the user's appointments for that month. > > the way i was building it was but defining ADAY in the following manner: > > define("ADAY", (60*60*24) ); > > once i'd done evrything i needed to do i incremented the timestamp for the > day by ADAY. > > all seemed ok but then one of the users pointed out that October 28th > appeared twice and then month had 32 days in for this year. > > after a bit of head scratching we realised that the clocks go forward (any > foreign readers please excuse the rediculous way the british time system > works) and technicallay i guess october 24th has 25 hours. thus the time was > incremented to a stamp within the same day. > > redfining the stamp as > > $start3=mktime(0,0,0,$dayArray[mon],$dayArray[mday]+1,$dayArray[year]); > > does work however ? > > is it php or the server that's at fault ? > > Steve > > > > -- > 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 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 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] Sessions, Is this behavior by design?
This is the code in the first page that I visit. check1=$check1check2=$check2check3=$check3che ck4=$check4"; ?> This is the output i get. check0= check1=1 check2=1 check3= check4=1 apparently, session_is_registered and isset return null if they evaluate to false. I was expecting boolean true and false return values, 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 PROTECTED]
[PHP] Session Headaches
I have two pages page1.php and page2.php here is the code for page1.php: 3) { echo "you have made " . $HTTP_SESSION_VARS["FailedLogins"] . " login attempts"; } ?> Simulate a failed login here is the code for page2.php: Ok. so after i click on my link to simulate failed logins 3 times, I should see the number of failed logins. It seems like the gist of the problems is that different pages can't seem to modify the same session variables. any ideas? thanks everyone. 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] Session Headaches
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) { should be > if (session_is_registered("FailedLogins") != 1) { We'll go from there :) Kirk -- 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 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
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() thing is correct. > It seems like the gist of the problems is that different > pages can't seem to > modify the same session variables. This is definitely not the case. Two things to try: 1. In page2, put some logic around the "session_register("FailedLogins");", otherwise you re-register on every visit. I don't think this affects the variable's value, but it is definitely wasted cycles. 2. If register_globals is set to "on" in php.ini, and you are using a PHP version earlier than 4.0.6, then the code below probably won't work. If this is the case, just use the global variable, $FailedLogins, instead of $HTTP_SESSION_VARS["FailedLogins"] everywhere. Kirk > -Original Message- > From: Johnny Nguyen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 21, 2001 1:58 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Session Headaches > > > I have two pages page1.php and page2.php > > here is the code for page1.php: > >session_start(); > if (session_is_registered != 1) { > session_register("FailedLogins"); > $HTTP_SESSION_VARS["FailedLogins"] = 0; > } > > if ($HTTP_SESSION_VARS["FailedLogins"] > 3) { > echo "you have made " . > $HTTP_SESSION_VARS["FailedLogins"] . " login > attempts"; > } > ?> > Simulate a failed login > > > > here is the code for page2.php: >session_start(); > session_register("FailedLogins"); > $HTTP_SESSION_VARS["FailedLogins"]++; > Header("Location: page1.php"); > ?> > > Ok. so after i click on my link to simulate failed logins 3 > times, I should > see the number of failed logins. > It seems like the gist of the problems is that different > pages can't seem to > modify the same session variables. -- 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 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] AudioGalaxy-like stuff
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 idea... Johnny -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 6:59 PM To: [EMAIL PROTECTED] Subject: [PHP] AudioGalaxy-like stuff Is there anyone here familiar with Audiogalaxy's site? It's all in PHP, and there is something there which is really something... when you're searching for songs, there's an icon that when u click, it adds the song to the queue. But the page remains... the file is added to the queue without leaving your current page... and the icon changes color (this is easy with Js, but that's not the point).. Does anyone know how they did that? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- 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 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] Possible to store arrays in session variables?
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://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]