Re: [PHP] AudioGalaxy-like stuff
yeah... but other then returning the image, can it do stuff with DB and all? BTW.. I saw how it's done... it's Javascript all the way... and there's no call to a php script to switch the image... At 03:35 23/8/2001 +0100, you wrote: See this is the lack of my explaining powers :) U click the image, and JScript loads a new image named (image.php) this is infact a php script which returns a image... So it like doing img src=myscript.php where myscript.php will do some GD or something and return a image. That make sense? Bramp - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: Andrew Brampton [EMAIL PROTECTED] Sent: Wednesday, August 22, 2001 12:57 PM Subject: Re: [PHP] AudioGalaxy-like stuff At 04:22 22/8/2001 +0100, you wrote: When you click on the image it reloads the image which is really a PHP page which returns a image. That way when it loads the image, it can actually run some PHP and do whatever is required, once done it returns the approiate image That make sense? well, it could, if PHP was client-side... but it isn't... how is it gonna call a PHP function to return something without having to call a PHP script to do that? Even if it is on the same script the page would still have to be reloaded... right? Or wrong? Can u give me some dumb example? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer . 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]
Re: [PHP] AudioGalaxy-like stuff
well i've not looked how its done... but the PHP script that generates a image, will do DB stuff as well.. But I will go look how its done After looking its just how I said... They use a JSCript call to load a new image.. namly: www.AudioGalaxy.com/satQueue/ + SongID + ? + SID (Where SongID SID are used for something) Where this is actually calling a PHP script, that returns a image to be displayed while also doing some DB stuff... Does this clear it up for you? Andrew - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: Andrew Brampton [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, August 25, 2001 1:44 PM Subject: Re: [PHP] AudioGalaxy-like stuff yeah... but other then returning the image, can it do stuff with DB and all? BTW.. I saw how it's done... it's Javascript all the way... and there's no call to a php script to switch the image... At 03:35 23/8/2001 +0100, you wrote: See this is the lack of my explaining powers :) U click the image, and JScript loads a new image named (image.php) this is infact a php script which returns a image... So it like doing img src=myscript.php where myscript.php will do some GD or something and return a image. That make sense? Bramp - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: Andrew Brampton [EMAIL PROTECTED] Sent: Wednesday, August 22, 2001 12:57 PM Subject: Re: [PHP] AudioGalaxy-like stuff At 04:22 22/8/2001 +0100, you wrote: When you click on the image it reloads the image which is really a PHP page which returns a image. That way when it loads the image, it can actually run some PHP and do whatever is required, once done it returns the approiate image That make sense? well, it could, if PHP was client-side... but it isn't... how is it gonna call a PHP function to return something without having to call a PHP script to do that? Even if it is on the same script the page would still have to be reloaded... right? Or wrong? Can u give me some dumb example? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer . 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]
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]
Re: [PHP] AudioGalaxy-like stuff
When you click on the image it reloads the image which is really a PHP page which returns a image. That way when it loads the image, it can actually run some PHP and do whatever is required, once done it returns the approiate image That make sense? Andrew - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 22, 2001 2:59 AM 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]