Re: [PHP] Normalized Numbers

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 19:36:50 -0500: > Roman Neuhauser wrote: > www.senecal.ca> # [EMAIL PROTECTED] / 2007-01-14 14:51:30 -0500: > >> I tried to install Testilence on my Ubuntu using Gnu make 3.81beta4(my > >> skills as a Linux administrator are weaker than my PHP skills) but was > >> u

Re: [PHP] having trouble with is_file() and is_dir() on 5.1.2

2007-01-22 Thread jekillen
On Jan 22, 2007, at 10:20 PM, Chris wrote: jekillen wrote: Hello php developers: I am having a problem with the following code: OS: FreeBSD v6.0 Apache 1.3.34 php 5.1.2 -> $cont is an array produced from opening and reading a directory: for($i = 0; $i < count($cont); $i++) { print

Re: [PHP] Help With Inventory

2007-01-22 Thread Brandon Bearden
What I WANT to see is something like this DVD ID | TITLE | GENRE 1 | GENRE 2 | GENRE 3 | ACT | QTY BCK |HLD | INC | OG USR | OUT DATE | OUT USR | IN DATE | IN USR CY GENRE: ACTION - 1 TITLES 20860023 | Movie name | ACTION | | | 1 | 1 | 0 | 100

Re: [PHP] having trouble with is_file() and is_dir() on 5.1.2

2007-01-22 Thread clive
everything without an extension is a directory You will notice that the only directory detected by this code is templates. There are no files detected by this code. Does this have something to do with stat cache? I want to make one array with directories and one array with files. I can't see any

Re: [PHP] Help With Inventory

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 22:55:50 -0800: > "Jim Lucas" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > $count = 0; > > while ( $row = mysql_fetch_array( $invlist ) ) { > > > > if ( $count % 1 ) { > > $rowColor = '#c1c1c1'; > > } else { > > $rowColor = ''; > > } > > > > ec

Re: [PHP] Help With Inventory

2007-01-22 Thread Brandon Bearden
Thank you for your help. I see what you are doing different. I don't understand how the quotient works there. I will sometime. I also don't understand the HEREDOC concept. I wanted colors alternating to allow for a better read. I still have not solved the problem with listing the genre in its o

Re: [PHP] where match question

2007-01-22 Thread Jim Lucas
Don wrote: I have a db field that contains zip codes separated by comas. I am trying to get php to return all of the rows that contain a particular zip code. $query = "SELECT * FROM info WHERE MATCH (partialZIP) AGAINST ('$zip')"; try this $query = "SELECT * FROM info WHERE column LIKE '

Re: [PHP] Php coding help - Newbie question

2007-01-22 Thread Ramdas
On 1/23/07, Chris <[EMAIL PROTECTED]> wrote: > Sorry for troubling all again. > I am trying to use the Pear DB_ldap for the above scripts. > > Does any one have any sample code for ldap_connect () ldap_search etc. http://php.net/ldap_connect http://php.net/ldap_search Both pages have examples

RE: [PHP] where match question

2007-01-22 Thread Don
Don wrote: > I have a db field that contains zip codes separated by comas. > > I am trying to get php to return all of the rows that contain a particular > zip code. > > > > $query = "SELECT * FROM info WHERE MATCH (partialZIP) AGAINST ('$zip')"; > > $result = mysql_query($query) > > or die

RE: [PHP] having trouble with is_file() and is_dir() on 5.1.2

2007-01-22 Thread Ligaya A. Turmelle
Haven't really looked at it - but elseif is one word - or do you mean else then an if... Respectfully, Ligaya Turmelle -Original Message- From: jekillen [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2007 4:03 PM To: PHP General List Subject: [PHP] having trouble with is_file() and

Re: [PHP] having trouble with is_file() and is_dir() on 5.1.2

2007-01-22 Thread Chris
jekillen wrote: Hello php developers: I am having a problem with the following code: OS: FreeBSD v6.0 Apache 1.3.34 php 5.1.2 -> $cont is an array produced from opening and reading a directory: for($i = 0; $i < count($cont); $i++) { print $cont[$i].''; if(is_file($cont[$i]))

[PHP] having trouble with is_file() and is_dir() on 5.1.2

2007-01-22 Thread jekillen
Hello php developers: I am having a problem with the following code: OS: FreeBSD v6.0 Apache 1.3.34 php 5.1.2 -> $cont is an array produced from opening and reading a directory: for($i = 0; $i < count($cont); $i++) { print $cont[$i].''; if(is_file($cont[$i])) {

Re: [PHP] where match question

2007-01-22 Thread Chris
Don wrote: I appreciate your quick response, but I think the problem I'm having is in the query. Is WHERE MATCH () the proper format to use for getting multiple rows from the DB? Or is there something else I'm missing? Please don't top post, it's hard to follow what's going on and who's replie

RE: [PHP] where match question

2007-01-22 Thread Don
I appreciate your quick response, but I think the problem I'm having is in the query. Is WHERE MATCH () the proper format to use for getting multiple rows from the DB? Or is there something else I'm missing? Don wrote: > I have a db field that contains zip codes separated by comas. > > I am tryi

[PHP] Re: using return in include files

2007-01-22 Thread Gregory Beaver
Aaron Axelsen wrote: > I'm trying to figure out what the desired behavior is of using the > return function to bail out of an include page. > > I did some testing, and this is what I concluded. > > First, I created the following file: > > if (defined('TEST_LOADED')) { > return; > } > de

Re: [PHP] using return in include files

2007-01-22 Thread Chris
Aaron Axelsen wrote: I'm trying to figure out what the desired behavior is of using the return function to bail out of an include page. I did some testing, and this is what I concluded. First, I created the following file: "; ?> I then called it as follows: include('test.php'); include('test.

Re: [PHP] where match question

2007-01-22 Thread Chris
Don wrote: I have a db field that contains zip codes separated by comas. I am trying to get php to return all of the rows that contain a particular zip code. $query = "SELECT * FROM info WHERE MATCH (partialZIP) AGAINST ('$zip')"; $result = mysql_query($query) or die ("could not connect t

[PHP] using return in include files

2007-01-22 Thread Aaron Axelsen
I'm trying to figure out what the desired behavior is of using the return function to bail out of an include page. I did some testing, and this is what I concluded. First, I created the following file: "; ?> I then called it as follows: include('test.php'); include('test.php'); include('test.ph

[PHP] where match question

2007-01-22 Thread Don
I have a db field that contains zip codes separated by comas. I am trying to get php to return all of the rows that contain a particular zip code. $query = "SELECT * FROM info WHERE MATCH (partialZIP) AGAINST ('$zip')"; $result = mysql_query($query) or die ("could not connect to db"); $row

[PHP] JPEG info needed

2007-01-22 Thread Gerry D
I need PHP to find out if a jpeg file uses progressive encoding. None of the standard exif or image functions seem to be able to tell me that. (please correct me if I'm wrong) Can anybody help me? TIA Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Robert Cummings
On Tue, 2007-01-23 at 03:01 +0100, Jochem Maas wrote: > Robert Cummings wrote: > > On Tue, 2007-01-23 at 02:43 +0100, Jochem Maas wrote: > >> there is no way in hell that [a released version of] php is so borked that > >> it's capable > >> returning a value from a function and then going on to run

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Jochem Maas
Robert Cummings wrote: > On Tue, 2007-01-23 at 02:43 +0100, Jochem Maas wrote: >> there is no way in hell that [a released version of] php is so borked that >> it's capable >> returning a value from a function and then going on to running code that >> occurs in the function >> after the return st

Re: [PHP] Php coding help - Newbie question

2007-01-22 Thread Chris
Sorry for troubling all again. I am trying to use the Pear DB_ldap for the above scripts. Does any one have any sample code for ldap_connect () ldap_search etc. http://php.net/ldap_connect http://php.net/ldap_search Both pages have examples. If you have a specific problem then post it. --

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Robert Cummings
On Tue, 2007-01-23 at 02:43 +0100, Jochem Maas wrote: > > there is no way in hell that [a released version of] php is so borked that > it's capable > returning a value from a function and then going on to running code that > occurs in the function > after the return statement that returned the va

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Jochem Maas
Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2007-01-22 22:03:30 +: >> Roman Neuhauser wrote: >>> Can I see the rewrite log for a single request now? Please make sure >>> it's only one request. >> http://paste.lisp.org/display/35791 > > Are you sure you added the NS flag? It looks like the R

RE: [PHP] preg_match problem

2007-01-22 Thread Paul Novitski
At 1/22/2007 04:56 PM, Beauford wrote: I've probably read 100 pages on this, and no matter what I try it doesn't work. Including all of what you suggested above - is my PHP possessed? if(preg_match("/[EMAIL PROTECTED]&()*;:_.'/\\ ]+$/", $string)) { gives me this error. Warning: preg_match() [fu

RE: [PHP] preg_match problem

2007-01-22 Thread Beauford
> -Original Message- > From: Paul Novitski [mailto:[EMAIL PROTECTED] > Sent: January 22, 2007 6:58 PM > To: PHP > Subject: Re: [PHP] preg_match problem > > At 1/22/2007 03:04 PM, Beauford wrote: > >I'm trying to get this but not quite there. I want to allow the > >following characters

Re: [PHP] [HELP] Fatal error when uploading large files!

2007-01-22 Thread Jochem Maas
Jay Paulson wrote: > Hi everyone, > > Hopefully you all can help! I¹m at a loss as to what to do next. I¹m > running PHP 5.1.2 with Apache 2.0.55 on RedHat ES4 and I keep getting the > following PHP error when trying to upload a larger file. I have > AllowOverride turned on in the httpd.conf fi

Re: [PHP] Normalized Numbers

2007-01-22 Thread Brian P. Giroux
Roman Neuhauser wrote: -- Brian P. Giroux Sénécal & Associé.e.s / Associates Recherche et marketing / Research and marketing Tél : (705) 476-9667 Fax : (705) 476-1618 www.senecal.ca> # [EMAIL PROTECTED] / 2007-01-14 14:51:30 -0500: >> I tried to install Testilence on my Ubuntu using Gnu make 3.8

Re: [PHP] preg_match problem

2007-01-22 Thread Paul Novitski
At 1/22/2007 03:04 PM, Beauford wrote: I'm trying to get this but not quite there. I want to allow the following characters. [EMAIL PROTECTED]&()*;:_.'/\ and a space. Is there a special order these need to be in or escaped somehow. For example, if I just allow _' the ' is fine, if I add the oth

Re: [PHP] exec('make') Q

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 23:45:09 +: > Here's a simple makefile I want PHP's exec to execute make on: > > KEYLIST := keylist.txt > DEPS := $(wildcard *.txt) > FILES := *.txt > > $(KEYLIST): $(DEPS) > grep ^keywords $(FILES) > $@ Does that line in the real Makefile begin with a tab? I

[PHP] preg_match problem

2007-01-22 Thread Beauford
I'm trying to get this but not quite there. I want to allow the following characters. [EMAIL PROTECTED]&()*;:_.'/\ and a space. Is there a special order these need to be in or escaped somehow. For example, if I just allow _' the ' is fine, if I add the other characters, the ' gets preceded by a \

Re: [PHP] [HELP] Fatal error when uploading large files!

2007-01-22 Thread Jim Lucas
Jay Paulson wrote: Hi everyone, Hopefully you all can help! I¹m at a loss as to what to do next. I¹m running PHP 5.1.2 with Apache 2.0.55 on RedHat ES4 and I keep getting the following PHP error when trying to upload a larger file. I have AllowOverride turned on in the httpd.conf file so my .

[PHP] exec('make') Q

2007-01-22 Thread james
Here's a simple makefile I want PHP's exec to execute make on: KEYLIST := keylist.txt DEPS := $(wildcard *.txt) FILES := *.txt $(KEYLIST): $(DEPS) grep ^keywords $(FILES) > $@ now when I use make from command line, it works as expected, the keylist.txt file is created. however, when I use PHP ex

[PHP] [HELP] Fatal error when uploading large files!

2007-01-22 Thread Jay Paulson
Hi everyone, Hopefully you all can help! I¹m at a loss as to what to do next. I¹m running PHP 5.1.2 with Apache 2.0.55 on RedHat ES4 and I keep getting the following PHP error when trying to upload a larger file. I have AllowOverride turned on in the httpd.conf file so my .htaccess file is belo

Re: [PHP] Network Time Protocol

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 16:44:32 -0500: > Where could I get instructions to set up a network time protocol through > my web site hosting server? Ron enter "man ntpd" on your web site hosting server. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. Y

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 22:03:30 +: > Roman Neuhauser wrote: > >Can I see the rewrite log for a single request now? Please make sure > >it's only one request. > > http://paste.lisp.org/display/35791 Are you sure you added the NS flag? It looks like the RewriteRules are applied to the

Re: [PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
Roman Neuhauser wrote: Can I see the rewrite log for a single request now? Please make sure it's only one request. http://paste.lisp.org/display/35791 David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Network Time Protocol

2007-01-22 Thread Ron Piggott
Where could I get instructions to set up a network time protocol through my web site hosting server? Ron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 21:17:04 +: > Roman Neuhauser wrote: > >append [L,NS] to all RewriteRules > > Done that, but the problem is still there - doesn't seem to have made > any difference. Can I see the rewrite log for a single request now? Please make sure it's only one request.

Re: [PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
Roman Neuhauser wrote: append [L,NS] to all RewriteRules Done that, but the problem is still there - doesn't seem to have made any difference. David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ouput the contents of a folder for download

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 20:25:49 -: > $dir = "mydirectory"; > > // Open a known directory, and proceed to read its contents > if (is_dir($dir)) { >if ($dh = opendir($dir)) { >while (($file = readdir($dh)) !== false) { > > echo filetype($file) . "\n"; >

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 19:56:58 +: > Roman Neuhauser wrote: > >Bzzzt, I'm an idiot. It doesn't, of course. You're still missing [L] > >and that's what I was trying to point you at until the cat ran over my > >keyboard... > > Alright. So if the rewrite rules were (and they are): >

[PHP] ouput the contents of a folder for download

2007-01-22 Thread Ross
I want to output the file contents of a folder to a php page and provide a link for them to be downloaded. This is what I have so far but I cannot get a filename or get it to iterate through all the files in a folder. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
Roman Neuhauser wrote: Bzzzt, I'm an idiot. It doesn't, of course. You're still missing [L] and that's what I was trying to point you at until the cat ran over my keyboard... Alright. So if the rewrite rules were (and they are): RewriteRule ^section/account(/)?$ index.php?cmd=section/account

Re: [PHP] Embeded image on mail()

2007-01-22 Thread Sergiu Voicu
There is a nice website with tons of PHP classes: http://www.phpclasses.org Once I have found on it a class that was doing what you need now (send emails with attachements in it). Can't remember the name, but I'm sure that you can find it. Sergiu Bagus Nugroho wrote: Hi All, It was possi

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 20:45:42 +: > # [EMAIL PROTECTED] / 2007-01-22 19:28:29 +: > > Roman Neuhauser wrote: > > >Ok, what does RewriteLog contain for one such request? > > >RewriteLogLevel 9. > > > > http://paste.lisp.org/display/35779 > > As you can see, the processing doesn't

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 19:28:29 +: > Roman Neuhauser wrote: > >Ok, what does RewriteLog contain for one such request? > >RewriteLogLevel 9. > > http://paste.lisp.org/display/35779 As you can see, the processing doesn't stop when it hits the RewriteRule you thought was the only relev

Re: [PHP] Embeded image on mail()

2007-01-22 Thread Pinter Tibor (tibyke)
so what? t Bagus Nugroho wrote: Hi All, It was possible to send embeded image on mail() function. Curently, I'm using linked image to send image on mail. Thanks in advance bn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
Roman Neuhauser wrote: Ok, what does RewriteLog contain for one such request? RewriteLogLevel 9. http://paste.lisp.org/display/35779 David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Embeded image on mail()

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-23 02:10:45 +0700: > It was possible to send embeded image on mail() function. > Curently, I'm using linked image to send image on mail. Yes, see RFC2045 and perhaps http://pear.php.net/package/Mail_Mime -- How many Vietnam vets does it take to screw in a light bulb

[PHP] Embeded image on mail()

2007-01-22 Thread Bagus Nugroho
Hi All, It was possible to send embeded image on mail() function. Curently, I'm using linked image to send image on mail. Thanks in advance bn

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 18:48:27 +: > Roman Neuhauser wrote: > >Can we see your mod_rewrite configuration? RewriteCond, RewriteRule, all > >that jazz. > > There are a number of rules but the only one that is relevant for this > page is: > > RewriteRule ^section/addfriend(/)?(.*)$ >

Re: [PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
Roman Neuhauser wrote: Can we see your mod_rewrite configuration? RewriteCond, RewriteRule, all that jazz. There are a number of rules but the only one that is relevant for this page is: RewriteRule ^section/addfriend(/)?(.*)$ index.php?cmd=section/addfriend&username=$2 David -- PHP Gene

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 17:45:23 +: > However, it seems this is actually being caused by some weirdness with > mod_rewrite. Basically, if I use the rewritten URL e.g. > > example.com/section/addfriend/will/ which rewrites to > index.php?cmd=section/addfriend&username=will > > I get

Re: [PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
At the very bottom of your function place another return with a string like return 'FOUND THE END OF FUNCTION'; now, echo the return of the function and see if it really the return function that you think it is that is returning false, or you are just hitting the end of the function. Jim

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Jim Lucas
David Mytton wrote: Hi, I have come across what appears to be a bug in PHP, but one that I am having difficulty writing test code for. Also, the bug only happens on a Linux build of PHP - the code is working as expected on Windows. This is on both PHP 5.2.0 and the very latest snapshots: Wi

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
Please don't top post and trim the quoted material if you want me to discuss this with you. # [EMAIL PROTECTED] / 2007-01-22 16:36:40 +: > Roman Neuhauser wrote: > ># [EMAIL PROTECTED] / 2007-01-22 15:31:55 +: > >>I also cannot see how the function can return false and execute the SQl > >

Re: [PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
I added this in and it outputs 1 as I suspected - the function is being called only once. David Robert Cummings wrote: On Mon, 2007-01-22 at 16:36 +, David Mytton wrote: Yes, I know it looks like a bug in my code because I'm not able to write a test case that can reproduce it simply enoug

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Robert Cummings
On Mon, 2007-01-22 at 16:36 +, David Mytton wrote: > Yes, I know it looks like a bug in my code because I'm not able to write > a test case that can reproduce it simply enough to report as a bug - > hence why I am posting here. However, the behaviour I am describing > surely suggests some ki

Re: [PHP] wierd slash

2007-01-22 Thread Jim Lucas
Don wrote: magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off but I know if I can change that is there some other way to fix this problem? Don # [EMAIL PROTECTED] / 2007-01-20 21:50:48 -0700: I have a line of code that validates form info for some POST vars,

Re: [PHP] Help With Inventory

2007-01-22 Thread Jim Lucas
Here is my rendition of your script. Give it a shot... Let me know if you have any question about what is going on. I was curious, what is the point of having the alternating column colors? Was that your intention? .dvdDisplay th { font-size: 9pt; te

Re: [PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
Yes, I know it looks like a bug in my code because I'm not able to write a test case that can reproduce it simply enough to report as a bug - hence why I am posting here. However, the behaviour I am describing surely suggests some kind of issue somewhere in PHP itself. My reasoning for this is

RE: [PHP] smsSend

2007-01-22 Thread Jay Blanchard
[snip] Hi guys, I´m beginner in php, so I need some help. I have to make a script to send SMS to moviles phones, can you give some ideas how to make it please... Thank you [/snip] SMS can be sent to mobiles as an email. Most cellphone providers offer a gateway for this. See: http://www.tech-r

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 15:31:55 +: > Roman Neuhauser wrote: > ># [EMAIL PROTECTED] / 2007-01-22 15:17:16 +: > >>The key is that the function is returning false but it continues to > >>execute! If I stick in an exit; after the in_array() check at point #4, > >>this doesn't happen

Re: [PHP] smsSend

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 11:17:55 -0400: > Hi guys, I´m beginner in php, so I need some help. I have to make a > script to send SMS to moviles phones, can you give some ideas how to > make it please... Thank you Are you new to PHP or SMS? What specific problems do you have? Did you googl

Re: [PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
I can't see how there is a bug in my code if when I echo the contents of the 2 variables, they are exactly the same as when I set them manually. Except in the former the function "continues executing" but in the latter it doesn't. I also cannot see how the function can return false and execute

Re: [PHP] Function returning but continues execution

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 15:17:16 +: > The key is that the function is returning false but it continues to > execute! If I stick in an exit; after the in_array() check at point #4, > this doesn't happen. There are no other places where this function is > called, and it is only called

Re: [PHP] os php scheduler?

2007-01-22 Thread David Giragosian
On 1/20/07, blackwater dev <[EMAIL PROTECTED]> wrote: Does anyone have recommendations for an open source php based, 'lightweight', scheduling app? I just want something clean that I can use to schedule trainings within our company. I need to be able to put in details for each training and the

[PHP] smsSend

2007-01-22 Thread Marcelo Ferrufino Murillo
Hi guys, I´m beginner in php, so I need some help. I have to make a script to send SMS to moviles phones, can you give some ideas how to make it please... Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function returning but continues execution

2007-01-22 Thread David Mytton
Hi, I have come across what appears to be a bug in PHP, but one that I am having difficulty writing test code for. Also, the bug only happens on a Linux build of PHP - the code is working as expected on Windows. This is on both PHP 5.2.0 and the very latest snapshots: Windows: 5.2.1RC4-dev J

Re: [PHP] Re: socket_write buffer problem

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 11:33:51 +: > [EMAIL PROTECTED] wrote: > >> You've already been given a clue... read the manual: > >> http://php.net/socket_write > >> > >> I know you said you read it, but you obviously haven't. To quote... > > > > Now you are making an assumption and you are m

Re: [PHP] Newbie - help with a foreach

2007-01-22 Thread Németh Zoltán
On v, 2007-01-21 at 01:28 -0800, pub wrote: > On Jan 18, 2007, at 2:43 AM, Németh Zoltán wrote: > > > first, do you want to allow several jobs for the same company to be > > > > stored in the DB and appear on the page, right? (if not, then why > > are > > > > you storing them in separate tables?

Re: [PHP] Re: socket_write buffer problem

2007-01-22 Thread Stut
Please keep it on-list, even if you feel you need to have a go at me - they love it! [EMAIL PROTECTED] wrote: > You've already been given a clue... read the manual: > http://php.net/socket_write > > I know you said you read it, but you obviously haven't. To quote... Now you are making an assu

Re: [PHP] Re: socket_write buffer problem

2007-01-22 Thread Jochem Maas
hi Richard, Richard Luckhurst wrote: > Hi List > > Does anyone have any clues? sorry to assume you hadden not read the manual, but it does seem your not taking onboard the bit about the return value of socket_write(). please revise you code in the manner Stut suggested (checking/using th

Re: [PHP] Re: socket_write buffer problem

2007-01-22 Thread Stut
Richard Luckhurst wrote: I have been banging my head against a wall all day trying to work this problem out. To recap my earlier post, I have a simple socket listener that handles the incoming string fine with socket_read and then it fires off the application as it should. When it returns the