php-windows Digest 19 Feb 2002 10:19:46 -0000 Issue 1007

Topics (messages 12129 through 12142):

Re: dynamic checkboxes submit..help!
        12129 by: Nicole Amashta

Latest obsession (controlling Winamp with PHP)
        12130 by: Scott
        12131 by: Svensson, B.A.T. (HKG)
        12132 by: Scott
        12133 by: Mike Flynn
        12134 by: alain.pop.sonic.net
        12135 by: alain.pop.sonic.net
        12136 by: Scott

ISAPI and Includes
        12137 by: Chris Ogles

PHP4 Step by Step Installation for Windows running CGI or ASPI
        12138 by: Andre Amaral

For all the people who were asking about words format
        12139 by: Ross Fleming

Re: PHP module for Apache 2.0.32
        12140 by: Phillip Fox
        12142 by: gaouzief

Re: [PHP-INST] MinGW, building from source -- win32
        12141 by: Archer Vallesfin

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Always some little bug to slip in ....

I forgot to do a count on the array to get the size:

Here is my code corrected:

$size = count($ids);
 for($i=0; $i<$size; $i++)
 {
   if ( isset($ids[$i]) )
   // do something
 }


"Nicole Amashta" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK, name all the related check boxes with the same name and put [] at the
> end of the name so it looks like an array.
>
> Then, in your phpscript, you can access all the values in the area.
>
> example:
>
> In your HTML page:
>
> <input type="checkbox" name="ids[]" value=1>
> <input type="checkbox" name="ids[]" value=2>
> <input type="checkbox" name="ids[]" value=3>
> <input type="checkbox" name="ids[]" value=4>
> <input type="checkbox" name="ids[]" value=5>
>
> in your php script, access the ids like so:
>
> $ids
>
> you can loop through the $ids array to verify WHAT values were actually
> checked on the form.
>
> for($i=0; $i<$ids; $i++)
> {
>   if ( isset($ids[$i]) )
>   // do something
> }
>
>
> Hop this helps ya!
> Nicole Amashta
> www.aeontrek.com
> ====================
>
> "Sandeep Murphy" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi,
> >
> > I have a dynamically generated tree of checkboxes which I need to submit
> to
> > a PHP page for performing a search..
> >
> > Can anyone pl suggest as to how I can submit the values of all the
> > checkboxes which are checked??
> >
> > TIA,
> >
> > sands
>
>


--- End Message ---
--- Begin Message ---
Morning:

I have this project I have been running through my head since last July.  
I want to build a music scheduling and control program.  I work for an FM 
station now and the system we use there is over $250,000 for the basics.

The idea is to have either MySQL or MS-SQL hold the song information, 
build a web based front-end that will allow you to schedule the songs for 
a 24 hour period and then have PHP on the back-end controlling some MP3 
player.

I have attempted to get it running using WinAMP, but WinAMP does not close 
when one song is over, so the script hangs, even setting the time_limit 
will only increase the amount of time it hangs.  I tried mpg123 for 
Windows and while it works, I would loose the cross-fading and forget 
trying to do anything else on the machine as it skips.

Brings me to the question, I am using the wrong tool (PHP) for this 
project or do you think I am just not looking hard enough.  Would you do 
something like this with PHP?  I know there are a couple of web stations 
using this set-up on Linux, but I am using Windows for this project.

Any thoughts, drop them my way.

Thanks,

-Scott 


--- End Message ---
--- Begin Message ---
From: Scott 

>I know there are a couple of web stations 
>using this set-up on Linux, but I am using Windows for this project.
>
>Any thoughts, drop them my way.                

Question: What prevents you from implement the system based on a Linux
server just as the other "web stations"?

If there is nothing that prevents this, why not go for a much secure and
stable network platform like Linux?
--- End Message ---
--- Begin Message ---
On Mon, 18 Feb 2002, Svensson, B.A.T. (HKG) wrote:
> Question: What prevents you from implement the system based on a Linux
> server just as the other "web stations"?
> If there is nothing that prevents this, why not go for a much secure and
> stable network platform like Linux?

In the end, I guess nothing prevents me from using Linux other than 
wanting to take it with me, ie laptop runs XP and I carry it around with me.
I did have it working under Linux with mpg123 with ecasound.  Just looking 
for a possible Windows solution.

-Scott


--- End Message ---
--- Begin Message ---
At 04:56 PM 2/18/2002 +0100, Svensson, B.A.T. (HKG) wrote:

>Question: What prevents you from implement the system based on a Linux
>server just as the other "web stations"?
>
>If there is nothing that prevents this, why not go for a much secure and
>stable network platform like Linux?

Is this really a worthwhile let alone useful reply at all for a listserv 
devoted to running PHP on the Windows platform?  He said he's doing it on a 
Windows machine, and he'd like a Windows solution for it.  Since he pointed 
out that he'd heard of it being done on Linux, he was of course aware that 
that was an option.  But the reason he posted the question to the 
php-windows list, I think, was because he wanted a Windows solution.

Unfortunately I have no idea, but I thought I should point this stuff out :)

-Mike

--- End Message ---
--- Begin Message ---

Yes, those Linux guys think that they have the answer to everything ;)
I have used COM to control Winamp, if anybody is interested.
A+
Alain



On Mon, 18 Feb 2002 14:43:24 -0500, you wrote: 
>At 04:56 PM 2/18/2002 +0100, Svensson, B.A.T. (HKG) wrote:
>
>>Question: What prevents you from implement the system based on a Linux
>>server just as the other \"web stations\"?
>>
>>If there is nothing that prevents this, why not go for a much secure and
>>stable network platform like Linux?
>
>Is this really a worthwhile let alone useful reply at all for a listserv 
>devoted to running PHP on the Windows platform?  He said he\'s doing it on a 
>Windows machine, and he\'d like a Windows solution for it.  Since he pointed 
>out that he\'d heard of it being done on Linux, he was of course aware that 
>that was an option.  But the reason he posted the question to the 
>php-windows list, I think, was because he wanted a Windows solution.
>
>Unfortunately I have no idea, but I thought I should point this stuff out :)
>
>-Mike
>
>
>-- 
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---

Okay, give me a few days and I will post a class to control WinAmp with PHP-COM.
A+
Alain



On Mon, 18 Feb 2002 14:41:34 -0500 (EST), you wrote: 
>Alain-
>
>I am interested.  I am not sure if the current route I am going will work 
>or not.  In simple terms, I want a way to control Winamp through 
>automation.  I want to be able to schedule music from a PHP script or 
>something.  In other words, this is playlist control and having the 
>ability to control how often songs get played, etc.  
>
>-Scott
>
>
>
>
>On Mon, 18 Feb 2002 [EMAIL PROTECTED] wrote:
>
>> 
>> Yes, those Linux guys think that they have the answer to everything ;)
>> I have used COM to control Winamp, if anybody is interested.
>> A+
>> Alain
>> 
>> 
>> 
>> On Mon, 18 Feb 2002 14:43:24 -0500, you wrote: 
>> >At 04:56 PM 2/18/2002 +0100, Svensson, B.A.T. (HKG) wrote:
>> >
>> >>Question: What prevents you from implement the system based on a Linux
>> >>server just as the other \\\"web stations\\\"?
>> >>
>> >>If there is nothing that prevents this, why not go for a much secure and
>> >>stable network platform like Linux?
>> >
>> >Is this really a worthwhile let alone useful reply at all for a listserv 
>> >devoted to running PHP on the Windows platform?  He said he\\\'s doing it on a 
>> >Windows machine, and he\\\'d like a Windows solution for it.  Since he pointed 
>> >out that he\\\'d heard of it being done on Linux, he was of course aware that 
>> >that was an option.  But the reason he posted the question to the 
>> >php-windows list, I think, was because he wanted a Windows solution.
>> >
>> >Unfortunately I have no idea, but I thought I should point this stuff out :)
>> >
>> >-Mike
>> >
>> >
>> >-- 
>> >PHP Windows Mailing List (http://www.php.net/)
>> >To unsubscribe, visit: http://www.php.net/unsub.php
>> 
>> 
>
>--
--- End Message ---
--- Begin Message ---
Thank you, that would be great.

On Mon, 18 Feb 2002 [EMAIL PROTECTED] wrote:

> 
> Okay, give me a few days and I will post a class to control WinAmp with PHP-COM.
> A+
> Alain
> 
> 
> 
> On Mon, 18 Feb 2002 14:41:34 -0500 (EST), you wrote: 
> >Alain-
> >
> >I am interested.  I am not sure if the current route I am going will work 
> >or not.  In simple terms, I want a way to control Winamp through 
> >automation.  I want to be able to schedule music from a PHP script or 
> >something.  In other words, this is playlist control and having the 
> >ability to control how often songs get played, etc.  
> >
> >-Scott
> >
> >
> >
> >
> >On Mon, 18 Feb 2002 [EMAIL PROTECTED] wrote:
> >
> >> 
> >> Yes, those Linux guys think that they have the answer to everything ;)
> >> I have used COM to control Winamp, if anybody is interested.
> >> A+
> >> Alain
> >> 
> >> 
> >> 
> >> On Mon, 18 Feb 2002 14:43:24 -0500, you wrote: 
> >> >At 04:56 PM 2/18/2002 +0100, Svensson, B.A.T. (HKG) wrote:
> >> >
> >> >>Question: What prevents you from implement the system based on a Linux
> >> >>server just as the other \\\"web stations\\\"?
> >> >>
> >> >>If there is nothing that prevents this, why not go for a much secure and
> >> >>stable network platform like Linux?
> >> >
> >> >Is this really a worthwhile let alone useful reply at all for a listserv 
> >> >devoted to running PHP on the Windows platform?  He said he\\\'s doing it on a 
> >> >Windows machine, and he\\\'d like a Windows solution for it.  Since he pointed 
> >> >out that he\\\'d heard of it being done on Linux, he was of course aware that 
> >> >that was an option.  But the reason he posted the question to the 
> >> >php-windows list, I think, was because he wanted a Windows solution.
> >> >
> >> >Unfortunately I have no idea, but I thought I should point this stuff out :)
> >> >
> >> >-Mike
> >> >
> >> >
> >> >-- 
> >> >PHP Windows Mailing List (http://www.php.net/)
> >> >To unsubscribe, visit: http://www.php.net/unsub.php
> >> 
> >> 
> >
> >--
> 

-- 


--- End Message ---
--- Begin Message ---
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a an IIS 5.0 runing the ISAPI and have a problem getting my
includes to work.  The situation is the main php page includes page d
and e.  Pages d and e both have other includes in them.   When i go
to the pages now i get an include error like the following:

Warning: Failed opening 'phpbb/includes/constants.php' for inclusion
(include_path='c:\php\includes\') in
E:\InetPub\wwwroot\phpbb\common.php on line 113

My php.ini file is pointing to only one directory for includes which
is the "c:\php\includes".  I have trided to put in the other pathes
to each of the includes that the other file need, but still get the
exact same error.  Does anyone have any ideas??

Drop me a line at [EMAIL PROTECTED]

Thanks
Chris

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0

iQA/AwUBPHGR9KNIaumjVcTHEQIcTgCg0TnGt5mbMZfCPwVERgrlmAPav48AoOp8
EQGLfaWs86YD7VSr8kjTNQRC
=W09Y
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
PHP4 Step by Step Installation for Windows running CGI or ASPI

http://www.experttek.com/php/installation.php





--- End Message ---
--- Begin Message ---
Right, for those that were looking to search through word documents, then
may i suggest they look at the source for wvWare found
http://www.wvware.com/ ?

Basically it's an OSS project that turns word docs to HTML files, so I'm
sure anyone that was inclined could figure out how they're doing it and
transfer it to PHP

R

--- End Message ---
--- Begin Message ---

Does anybody have a .DLL (or .SO) that they could share?

I'm in the process of upgrading to 4.1.1 on a test server and figured I'd 
try to start the upgrade to Apache2 at the same time.

I've got the latest Apache binaries (2.0.32) and have checked both the 
PHP.net and the PHP4win distributions. They all have a php4apache.dll and 
php4apache-eapi.dll but neither one of them work.

When I test my Apache2 config I get this:
Cannot load C:/Program Files/Apache 
Group/Apache2/modules/php4apache-eapi.dll into server: The specified 
module could not be found.

If I change the .dll to a .so I get this:
Cannot load C:/Program Files/Apache 
Group/Apache2/modules/php4apache-eapi.so into server: The specified 
procedure could not be found.

If I try the same with the php4apache.dll I get the same errors.        

Thanks in advance for any help.


--> Phillip Fox -- [EMAIL PROTECTED]
      405.773.WORX -- 1.888.772.WORX  --  http://www.TheWorxCo.Net/


--- End Message ---
--- Begin Message ---
hi
i had the same problem and gave up installing apache 2
t seems the php dll references apachecore.dll wich is no longer used in apache 2 wcich 
causes the error


19/02/2002 01:23:15, Phillip Fox <[EMAIL PROTECTED]> wrote:

>
>Does anybody have a .DLL (or .SO) that they could share?
>
>I'm in the process of upgrading to 4.1.1 on a test server and figured I'd 
>try to start the upgrade to Apache2 at the same time.
>
>I've got the latest Apache binaries (2.0.32) and have checked both the 
>PHP.net and the PHP4win distributions. They all have a php4apache.dll and 
>php4apache-eapi.dll but neither one of them work.
>
>When I test my Apache2 config I get this:
>Cannot load C:/Program Files/Apache 
>Group/Apache2/modules/php4apache-eapi.dll into server: The specified 
>module could not be found.
>
>If I change the .dll to a .so I get this:
>Cannot load C:/Program Files/Apache 
>Group/Apache2/modules/php4apache-eapi.so into server: The specified 
>procedure could not be found.
>
>If I try the same with the php4apache.dll I get the same errors.       
>
>Thanks in advance for any help.
>
>
>--> Phillip Fox -- [EMAIL PROTECTED]
>      405.773.WORX -- 1.888.772.WORX  --  http://www.TheWorxCo.Net/
>
>
>
>-- 
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>



--- End Message ---
--- Begin Message ---
Hello,

In my case I tried it and only some codes are able to run, maybe there 
are some additional libraries
needed for the system. In my own idea, ming module for windows is not 
yet implemented clearly.
If anyone has all libraries in order to run ming codes, please let us know.

Did somebody also tried to use Vector graphics in PHP? can somebody 
share there ideas? :)

Thanks people,

archer


John Moeller wrote:

>Hello,
>
>Has anyone here tried building PHP from source for win32 with MinGW?  If so, have you 
>run into any trouble?  Do you have any hints?
>
>Thanks,
>
>John
>


--- End Message ---

Reply via email to