[PHP] Sockets

2002-10-07 Thread Asmodean
socket_write, etc). Anybody know if there's anything special I have to do to get it working? // Asmodean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please Help with LOOP!!

2002-07-18 Thread Asmodean
WK> "Good timber does not grow with ease; the stronger the wind, the stronger the trees." echo "\n"; Your problem is with this line. Look closely at the following part: name=\"choice",$count,"\" You should do this: name=\"choice" . $count . "\" ... and it will generate names like 'choice1', 'choice2', and so on. -- Best regards, Asmodeanmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] remove header tags - include file

2002-07-17 Thread Asmodean
common.php >>JPA> function include_html_file($f) >>JPA> { >>JPA> (your kind contribution:-) ) >>JPA> } >> >>JPA> thanks!! >> >>JPA> --jp >> >>How do you mean remove? Do you mean you want to include the file &g

Re: [PHP] remove header tags - include file

2002-07-17 Thread Asmodean
A> footer() ?>> JPA> > common.php JPA> function include_html_file($f) JPA> { JPA> (your kind contribution:-) ) JPA> } JPA> thanks!! JPA> --jp How do you mean remove? Do you mean you want to include the file html.html but not the "..." pa

Re: [PHP] Confused about the list() function

2002-07-17 Thread Asmodean
wise). print(join("", $color)); -- Best regards, Asmodeanmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[4]: [PHP] timer on sessions?

2002-07-17 Thread Asmodean
then tried the compare, so using time() will work J> better. Thanks a ton. J> Jas Yes. time() returns a UNIX timestamp (currently a 10-digit number) representing the number of seconds since a certain date (sometime in 1972). -- Best regards, Asmodeanmailto:

Re[3]: [PHP] timer on sessions?

2002-07-17 Thread Asmodean
utes, session still valid'; J>> } else { J>> echo 'Timer has reached 5 minutes, you will need to log back in to J>> continue.'; } J>> "Asmodean" <[EMAIL PROTECTED]> wrote in message J>> [EMAIL PROTECTED]">news:[EMAIL PROTECTED

Re[2]: [PHP] timer on sessions?

2002-07-17 Thread Asmodean
; J> } else { J> echo 'Timer has reached 5 minutes, you will need to log back in to J> continue.'; } J> "Asmodean" <[EMAIL PROTECTED]> wrote in message J> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> J> Not sure how to go about settin

Re: [PHP] timer on sessions?

2002-07-17 Thread Asmodean
to log back in. My J> problem is finding the correct way to check the seconds in php. Any help or J> pointers is appreciated. J> Jas time() will give you a UNIX timestamp. Use it to do the math. -- Best regards, Asmodeanmailto:[EMAIL PROTECTED] -- PHP

Re: [PHP] Queries - Sometimes I need to use apostrophe, other times i don't

2002-07-17 Thread Asmodean
en it wants apostrophes and when it doesn't want them. Any ideas? //QUOTE Use apostrophes when $id is a string. // Asmodean [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php