php-windows Digest 25 Jun 2001 01:10:40 -0000 Issue 626

Topics (messages 8006 through 8014):

crc32
        8006 by: Matti Palosuo
        8007 by: Paul Meagher

Re: page won't stop running
        8008 by: Andrew Dellinger
        8009 by: Scott Cadillac
        8012 by: Pierre Marceau
        8013 by: Piotr Pluciennik

- PHP (Win32) and sockets -
        8010 by: el Fakir
        8011 by: Paul Meagher

Information.
        8014 by: opportunité.

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]


----------------------------------------------------------------------


I'd need a function for creating crc32 with a specific seed number, but
standard PHP crc32() doesn't provide that option. I have already a plain
C source for this but porting the needed parts into PHP would take some
time...

Does anybody have a solution / source code for this?

--
Matti






Hi Matti,

At the PHP level, there is some checksum code here and I thought that Zend
had some relevant code as well in their repository.

http://px.sklar.com/code-pretty.html?code_id=389

On linux, there is a function called checksum that can be invoked using a
system call.   Not sure if there is a similiar function you could install
on Windows and call using exec.

Regards,
Paul

----- Original Message -----
From: "Matti Palosuo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 24, 2001 10:37 AM
Subject: [PHP-WIN] crc32


> I'd need a function for creating crc32 with a specific seed number, but
> standard PHP crc32() doesn't provide that option. I have already a plain
> C source for this but porting the needed parts into PHP would take some
> time...
>
> Does anybody have a solution / source code for this?
>
> --
> Matti
>
>
>
> --
> PHP Windows 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]
>
>





Thanks for the answers about the script everybody.  Any ideas why my page
won't stop running, even on "hello world"?

Thanks,

Andrew

""Andrew Dellinger"" <[EMAIL PROTECTED]> wrote in message
9gt6m8$sl3$[EMAIL PROTECTED]">news:9gt6m8$sl3$[EMAIL PROTECTED]...
> I am using IIS5/win2k/php4 and any php page, even "hello world" won't stop
> running. Any ideas?
>
> Also, I need to find out how to call a function from a submit onClick
event.
> My script looks like <?php
> function displayMe () {
> ...
> }
> ?>
> and call to function is:   <input type="submit" name="Submit"
value="Submit"
> onClick="displayMe()">
>
> Thanks,
> Andrew
>
>
>
>
> --
> PHP Windows 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]
>






Not sure what the problem could be, but you could try upgrading to 4.0.6 -
it was just released yesterday. The change log talks about some memory
issues.

Hope it helps. Cheers...

--
Scott Cadillac
Manager of Web Application Development
Plus International Corp.
604-942-1020 ext. 226
[EMAIL PROTECTED]
http://www.plusinternational.com

Does your company have an Enterprise Information Portal? Check out Salsa at
www.plusinternational.com/flash/salsa.htm

Vancouver * Victoria * Kelowna * Windsor * Chicago * Wisconsin *
Seattle * Michigan * Santa Barbara

""Andrew Dellinger"" <[EMAIL PROTECTED]> wrote in message
9h55s4$reo$[EMAIL PROTECTED]">news:9h55s4$reo$[EMAIL PROTECTED]...
> Thanks for the answers about the script everybody.  Any ideas why my page
> won't stop running, even on "hello world"?
>
> Thanks,
>
> Andrew
>
> ""Andrew Dellinger"" <[EMAIL PROTECTED]> wrote in message
> 9gt6m8$sl3$[EMAIL PROTECTED]">news:9gt6m8$sl3$[EMAIL PROTECTED]...
> > I am using IIS5/win2k/php4 and any php page, even "hello world" won't
stop
> > running. Any ideas?
> >
> > Also, I need to find out how to call a function from a submit onClick
> event.
> > My script looks like <?php
> > function displayMe () {
> > ...
> > }
> > ?>
> > and call to function is:   <input type="submit" name="Submit"
> value="Submit"
> > onClick="displayMe()">
> >
> > Thanks,
> > Andrew
> >
> >
> >
> >
> > --
> > PHP Windows 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 Windows 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]
>






You can't call a server side php function like that, these onSubmit type
things are to call client side functions ie: Javascript.

Pierre

----- Original Message -----
From: "Andrew Dellinger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 24, 2001 12:59 PM
Subject: Re: [PHP-WIN] page won't stop running


> Thanks for the answers about the script everybody.  Any ideas why my page
> won't stop running, even on "hello world"?
>
> Thanks,
>
> Andrew
>
> ""Andrew Dellinger"" <[EMAIL PROTECTED]> wrote in message
> 9gt6m8$sl3$[EMAIL PROTECTED]">news:9gt6m8$sl3$[EMAIL PROTECTED]...
> > I am using IIS5/win2k/php4 and any php page, even "hello world" won't
stop
> > running. Any ideas?
> >
> > Also, I need to find out how to call a function from a submit onClick
> event.
> > My script looks like <?php
> > function displayMe () {
> > ...
> > }
> > ?>
> > and call to function is:   <input type="submit" name="Submit"
> value="Submit"
> > onClick="displayMe()">
> >
> > Thanks,
> > Andrew
> >
> >
> >
> >
> > --
> > PHP Windows 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 Windows 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]
>
>





Hi, what does it mean that page won't stop running?  Browser can't finish to
load a page and displays error?? What browser exactly do you (full version
number) use? It can be caused by a browser bug, if it is IE v 4....

Let me know, please.

Greetings

Piotr

Scott Cadillac wrote:

>   Any ideas why my page
> > won't stop running, even on "hello world"?




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Hi !

Does somebody knows when PHP for windows will support sockets ?  It seems
that they're not included into the last 4.0.6 version...


Thanks,

Fak'






The 4.0.7 development snapshot at www.php4win.de has socket support.
Haven't tested it however.

Regards,
Paul Meagher

----- Original Message -----
From: "el Fakir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 24, 2001 6:34 PM
Subject: [PHP-WIN] - PHP (Win32) and sockets -


> Hi !
>
> Does somebody knows when PHP for windows will support sockets ?  It seems
> that they're not included into the last 4.0.6 version...
>
>
> Thanks,
>
> Fak'
>
>
>
> --
> PHP Windows 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]
>
>





Bonjour,
Vous voulez gagner de l'argent  ?????
Travailler de chez vous, quand vous voulez !!
Visitez notre site: http://www.opportuniteemploi.fr.st  

*** Si ce mail vous a dérangé, veuillez nous en excuser.
*** Supprimez le simplement, vous n'en recevrez pas d'autre de notre part.
Merci.
---------------
Hi, 
You want to earn money ???
Work at home when you want !!!
Visit !!! 
http://www.opportuniteemploi.fr.st

*** If this Email as disturbed you, we are sorry about it .
*** Just delete it, you will not receive another one from us.
Thanks.

___________________________________________________________________
Send email newsletters to groups for FREE with the trial version of
32bit Email Broadcaster. Visit http://www.electrasoft.com/32bea.htm



Reply via email to