php-windows Digest 23 Apr 2009 10:17:05 -0000 Issue 3610
Topics (messages 29276 through 29282):
How do you segregate MP3 player so it keeps playing when changing pages
29276 by: Rey
29277 by: Ferenc Kovacs
29278 by: Sascha Meyer
Re: Can PHP determine if the STDOUT for a CLI script is being redirected?
29279 by: Keisial
Dont hesitate, privacy is above all.
29280 by: Lessie Cruz
{** SPAM **} Re: [PHP-WIN] How do you segregate MP3 player so it keeps playing
when changing pages
29281 by: Jacob Kruger
{** SPAM **} Free PHP scripts
29282 by: Jacob Kruger
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Hi:
We have a huge problem that we can't figure out. We have a website that
needs music but it is all PHP and no flash (which would be a no brainer for
this one) and they need to have music with an MP3 player. We got the player
and everything we need, however, what we can't figure out is how to make the
MP3 player stay playing the same song when people switch pages. Yes I know
we can make a popup that opens in the background (and we have) but that is
not an elegant or viable solution because of popup blockers and plane
ugliness. We need some kind of code that lets the player be independent of
the page switching without a popup (maybe an AJAX popup which is very
acceptable). We have tried frames and frames and it does not work well and
it does not look good. An AJAX popup like the one Google uses in Gmail that
stays open and steady when switching pages would be ideal and welcomed if
anyone knows the code, or any other code that allows for elegant
presentation and no traditional popups.
I welcome all advice! Thank you!
Regards,
Rey Tamayo
786-553-9264
<http://aWiserSolution.com> http://aWiserSolution.com
<http://aWiserSEO.com> http://aWiserSEO.com For all of your Search Engine
Optimization and marketing needs--No contracts as low as $25, all services a
la cart buy as much as you can afford!
<http://aWiserDomain.com> http://aWiserDomain.com Buy Domains as low as
with GoDaddy
<http://nellysparkles.com> http://nellysparkles.com As Good as Gold for Far
Less!!
--- End Message ---
--- Begin Message ---
2009/4/22 Rey <r...@awisersolution.com>
> Hi:
>
>
> We have a huge problem that we can't figure out. We have a website that
> needs music but it is all PHP and no flash (which would be a no brainer for
> this one) and they need to have music with an MP3 player. We got the
> player
> and everything we need, however, what we can't figure out is how to make
> the
> MP3 player stay playing the same song when people switch pages. Yes I know
> we can make a popup that opens in the background (and we have) but that is
> not an elegant or viable solution because of popup blockers and plane
> ugliness. We need some kind of code that lets the player be independent of
> the page switching without a popup (maybe an AJAX popup which is very
> acceptable). We have tried frames and frames and it does not work well and
> it does not look good. An AJAX popup like the one Google uses in Gmail
> that
> stays open and steady when switching pages would be ideal and welcomed if
> anyone knows the code, or any other code that allows for elegant
> presentation and no traditional popups.
>
>
>
> I welcome all advice! Thank you!
>
>
>
> Regards,
>
>
> Rey Tamayo
>
> 786-553-9264
>
> <http://aWiserSolution.com> http://aWiserSolution.com
>
> <http://aWiserSEO.com> http://aWiserSEO.com For all of your Search Engine
> Optimization and marketing needs--No contracts as low as $25, all services
> a
> la cart buy as much as you can afford!
>
> <http://aWiserDomain.com> http://aWiserDomain.com Buy Domains as low as
> with GoDaddy
>
> <http://nellysparkles.com> http://nellysparkles.com As Good as Gold for
> Far
> Less!!
>
> Its easy for a chat window, but for a mp3 player its suxx.on every page
you have to pass the seek position around but because of the buffering and
so, your music will be stopped for a short time.
so I suggest you to use frame, iframe or new window.
Tyrael
--- End Message ---
--- Begin Message ---
Hi Rey,
as Tyrael suggested I would try to use a frameset with one frame at the top
containing the player and another one right below with the content of the web
page. But why avoiding using flash? Have a look at this page:
http://www.nature-one.de/events/mayday/index.html?/events/mayday/deutsch/_livezone.htm
The flash player is really minimalistic but is just right for this kind of job
and it does not have a big impact on the page layout.
GMail uses iframes to divide navigation, page elements and mail content, but if
you know how to handle frames, you won't even recognize that they are used on a
web page.
Regards, Sascha
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger01
--- End Message ---
--- Begin Message ---
Richard Quadling wrote:
> Hi.
>
> Is there a simple way for a CLI based PHP script to determine if its
> output is being redirected to a file or piped through a filter (find,
> sort, etc.)
>
> I'm using ANSI escape sequences to colour the output (all working very
> nicely), but I want to suppress the codes if the output is being
> filtered or redirected to a file.
>
> I've been told about the posix_isatty() function, but as Windows is
> not POSIX, I'm looking for a windows mechanism.
>
> I've tried stream_get_meta_data(STDOUT), but it doesn't provide
> anything different when used with > or with |.
>
> Any other ideas?
>
> Regards,
>
> Richard Quadling.
>
Windows does have isatty() function. Perhaps the functions of the posix
extension which
make sense should be ported.
--- End Message ---
--- Begin Message ---
Millions of men with ED choose this effective treatment and start a new and
happy life. They order our products in the online drugstore confidentially,
without any discomfort or embarrassment.
Forget about ED.
http://www.abripol.com/?cscbpsycwa
--- End Message ---
--- Begin Message ---
You could try use something like an iFrame or frame, but make it so small it
doesn't really display as such.
I've been experimenting with loading different pages in a tiny iFrame with
different bgsound tags to allow me to provide extra tutorial type
information for activity on the primary pages for blind/VI users.
Here's a link to the w3schools.com reference page for the <frameset /> tag:
http://www.w3schools.com/tags/tag_frameset.asp
Basically, you could try making it something like 1 pixel wide, with no
border, scrollbars, etc. etc. and see if it still interferes with your
layout - but that might depend on the users browser as such.
This might not be of any use, but HTH.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
----- Original Message -----
From: "Rey" <r...@awisersolution.com>
To: <php-wind...@lists.php.net>
Sent: Wednesday, April 22, 2009 12:54 PM
Subject: [PHP-WIN] How do you segregate MP3 player so it keeps playing when
changing pages
Hi:
We have a huge problem that we can't figure out. We have a website that
needs music but it is all PHP and no flash (which would be a no brainer
for
this one) and they need to have music with an MP3 player. We got the
player
and everything we need, however, what we can't figure out is how to make
the
MP3 player stay playing the same song when people switch pages. Yes I
know
we can make a popup that opens in the background (and we have) but that is
not an elegant or viable solution because of popup blockers and plane
ugliness. We need some kind of code that lets the player be independent
of
the page switching without a popup (maybe an AJAX popup which is very
acceptable). We have tried frames and frames and it does not work well
and
it does not look good. An AJAX popup like the one Google uses in Gmail
that
stays open and steady when switching pages would be ideal and welcomed if
anyone knows the code, or any other code that allows for elegant
presentation and no traditional popups.
I welcome all advice! Thank you!
Regards,
Rey Tamayo
786-553-9264
<http://aWiserSolution.com> http://aWiserSolution.com
<http://aWiserSEO.com> http://aWiserSEO.com For all of your Search Engine
Optimization and marketing needs--No contracts as low as $25, all services
a
la cart buy as much as you can afford!
<http://aWiserDomain.com> http://aWiserDomain.com Buy Domains as low as
with GoDaddy
<http://nellysparkles.com> http://nellysparkles.com As Good as Gold for
Far
Less!!
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4027 (20090422) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
--- End Message ---
--- Begin Message ---
Haven't looked at too much of this content yet, but anyway:
http://www.c-point.com/free_php_scripts/free_php_scripts.php
They really seem to have a nice selection up there.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
--- End Message ---