[PHP] Php5 with .Net webservices

2005-01-17 Thread Michael Leung
Hi all, Does any one try to .net webservices by PHP5? yours, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php5 threadsafe / apache2 mpm=worker

2005-01-17 Thread Rasmus Lerdorf
On Fri, 14 Jan 2005, Jason Morehouse wrote: Just wondering if anyone is using the apache worker module with php? I've complied php5 with zend threadsafe support, and apache2 with the MPM worker module on a Linux box. Everything seems sweet. mysqli_thread_safe() reports true... anyone know if

Re: [PHP] Best method for threading?

2005-01-17 Thread Rasmus Lerdorf
On Wed, 12 Jan 2005, Galen wrote: I'm working on a web spider application where the server has considerable latency in serving the information I require, but simultaneous requests do not have a significant performance hit. I have a nice little class that handles all the sessions, cookies, etc

[PHP] $_POST

2005-01-17 Thread Andrew Maxwell
When you submit something, and you want to make sure that the user inputs all of the info, is there an easier way to do it than this: if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah])) { etc. } is there an easy way to check if all of the varibles have data in them? ~Andrew -- PHP

[PHP] Re: $_POST

2005-01-17 Thread Adam Hubscher
Andrew Maxwell wrote: When you submit something, and you want to make sure that the user inputs all of the info, is there an easier way to do it than this: if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah])) { etc. } is there an easy way to check if all of the varibles have data in them?

Re: [PHP] $_POST

2005-01-17 Thread Ville Mattila
Andrew Maxwell wrote: When you submit something, and you want to make sure that the user inputs all of the info, is there an easier way to do it than this: One method I've done that is to create an array with the required field names, then loop it through and check whether they all have a value.

Re: [PHP] $_POST

2005-01-17 Thread Andrew Maxwell
Thats exactly what i need. Thanks a ton. ~Andrew On Mon, 17 Jan 2005 10:58:07 +0200, Ville Mattila [EMAIL PROTECTED] wrote: Andrew Maxwell wrote: When you submit something, and you want to make sure that the user inputs all of the info, is there an easier way to do it than this: One

Re: [PHP] $_POST

2005-01-17 Thread Rasmus Lerdorf
Andrew Maxwell wrote: When you submit something, and you want to make sure that the user inputs all of the info, is there an easier way to do it than this: if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah])) { etc. } is there an easy way to check if all of the varibles have data in them?

[PHP] Obtaining the base dir of a file in a web server

2005-01-17 Thread Juan Antonio Garrido
Hi everybody: I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for obtaining the complete route of a file in my web server, but  inserts a white space to final char and i need remove it. I use the trim function but it continue there. How can i remove it? Can it be anohter char? --

Re: [PHP] php editor

2005-01-17 Thread Benjamin Edwards
Or you could get phpeclipse for free which is a php IDE. It all depends on weather you are a web designer or a php developer. If you are both you will still want an IDE (Integrated Development Enviroment) and Probably a debugger (see my previous email about phped). If you can aford to throw

[PHP] Javascript newsgroup

2005-01-17 Thread Ross Hulford
Hi, I need to find a good Javascript newsgroup. Thanks, Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] can you solve this problem with regex ?

2005-01-17 Thread Marek Kilimajer
Zouari Fourat wrote: Hello ! My user can input values like this : 15.2 10-5 10 0 0x5 005 00 to be clear, i must extract two values from each line, each value is between 1 and 20 and seaparated with a non numeric caracter, so with lines 1,2,3 and 4 i will get : Array([0]=15, [1]=2); Array([0]=10,

Re: [PHP] can you solve this problem with regex ?

2005-01-17 Thread Zouari Fourat
i found that this was better : list($ar[0], $ar[1]) = preg_split('/[^0-9]/', $string); On Mon, 17 Jan 2005 11:27:38 +0100, Marek Kilimajer [EMAIL PROTECTED] wrote: Zouari Fourat wrote: Hello ! My user can input values like this : 15.2 10-5 10 0 0x5 005 00 to be clear, i

[PHP] $_REQUEST or $_POST?

2005-01-17 Thread gustav
Hi there! I've learned to use $_REQUEST but it seems to me that it uses any $_GEt, or $_POST. Is it better to $_POST when I'm just using $_POST? It seems like that if I want good code, but I mean is it faster with $_POST? /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To

[PHP] can you solve this problem with regex ?

2005-01-17 Thread Zouari Fourat
Hello ! My user can input values like this : 15.2 10-5 10 0 0x5 005 00 to be clear, i must extract two values from each line, each value is between 1 and 20 and seaparated with a non numeric caracter, so with lines 1,2,3 and 4 i will get : Array([0]=15, [1]=2); Array([0]=10, [1]=5);

[PHP] PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-17 Thread Benjamin Edwards
Whats the story with this. It seems too good to be true. A fully featured IDE/Debugger released under some sort of free software licence. The site you link to seems indicate that is is free software, it has a sourceforge.net logo at the botton. However nuspere are selling it for £299. what

RE: [PHP] Javascript newsgroup

2005-01-17 Thread Jay Blanchard
[snip] I need to find a good Javascript newsgroup. [/snip] Are you familiar with Google? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache thread exploding in memory size

2005-01-17 Thread N.Z. Bear
Folks: I am experiencing a problem with httpd child processes suddenly exploding in memory size and consuming all available memory. The behavior is sudden, not gradual: within a few seconds or a minute the process swells to several orders of magnitude larger than its usual size. Listed below is

[PHP] Re: PHP5 silently throwing exceptions???

2005-01-17 Thread Jason Barnett
Gerard Samuel wrote: Im currently using php 5.0.3 on a dev box, trying to figure out how to correctly use exceptions in my code. Exceptions can be A Good Thing. Per chance, I was monitoring the __autoload() function, and Im noticing that calls are being made to exception classes that I've setup.

[PHP] Re: Obtaining the base dir of a file in a web server

2005-01-17 Thread Jason Barnett
Juan Antonio Garrido wrote: Hi everybody: I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for obtaining the complete route of a file in my web server, but inserts a white space to final char and i need remove it. I use the trim function but it continue there. How can i remove it?

[PHP] question about a cron job

2005-01-17 Thread Al
I've got a question about the following cronjob. #At 3:01 our time, run backups 1 0 * * * /usr/local/bin/php /www/r/rester/htdocs/auto_backup/back_em_up.php /www/r/rester/htdocs/auto_backup/cron.log 21 #At 3:02 clean up sessions folder 2 0 * * * (find /www/r/rester/htdocs/sessions/ -name 'sess_*'

[PHP] Returned mail: Data format error

2005-01-17 Thread alan
Message could not be delivered -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] question about a cron job

2005-01-17 Thread Jay Blanchard
[snip] I've got a question about the following cronjob. #At 3:01 our time, run backups 1 0 * * * /usr/local/bin/php /www/r/rester/htdocs/auto_backup/back_em_up.php /www/r/rester/htdocs/auto_backup/cron.log 21 #At 3:02 clean up sessions folder 2 0 * * * (find /www/r/rester/htdocs/sessions/

Re: [PHP] Obtaining the base dir of a file in a web server

2005-01-17 Thread Leif Gregory
Hello Juan, Monday, January 17, 2005, 2:23:23 AM, you wrote: JAG I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for JAG obtaining the complete route of a file in my web server, but JAG  inserts a white space to final char and i need remove it. I use JAG the trim function but it

Re: [PHP] Apache thread exploding in memory size

2005-01-17 Thread Marek Kilimajer
N.Z. Bear wrote: Folks: I am experiencing a problem with httpd child processes suddenly exploding in memory size and consuming all available memory. The behavior is sudden, not gradual: within a few seconds or a minute the process swells to several orders of magnitude larger than its usual size.

Re: [PHP] Re: PHP5 silently throwing exceptions???

2005-01-17 Thread Gerard Samuel
Jason Barnett wrote: Gerard Samuel wrote: Im currently using php 5.0.3 on a dev box, trying to figure out how to correctly use exceptions in my code. Exceptions can be A Good Thing. Per chance, I was monitoring the __autoload() function, and Im noticing that calls are being made to exception

Re: [PHP] question about a cron job

2005-01-17 Thread Al
Jay Blanchard wrote: [snip] I've got a question about the following cronjob. #At 3:01 our time, run backups 1 0 * * * /usr/local/bin/php /www/r/rester/htdocs/auto_backup/back_em_up.php /www/r/rester/htdocs/auto_backup/cron.log 21 #At 3:02 clean up sessions folder 2 0 * * * (find

Re: [PHP] question about a cron job

2005-01-17 Thread Erwin Kerk
Al wrote: I've got a question about the following cronjob. #At 3:01 our time, run backups 1 0 * * * /usr/local/bin/php /www/r/rester/htdocs/auto_backup/back_em_up.php /www/r/rester/htdocs/auto_backup/cron.log 21 #At 3:02 clean up sessions folder 2 0 * * * (find /www/r/rester/htdocs/sessions/

RE: [PHP] question about a cron job

2005-01-17 Thread Michael Sims
#this is only for testing a new cronjob, every minute * * * * * /usr/local/bin/php /www/r/rester/htdocs/phpList_cronjob/process_cronjob.php /www/r/rester/htdocs/phpList_cronjob/cron.log 21 The new one doesn't seem to want to run until after 3:01 or 3:02. Shouldn't the sever just run it

Re: [PHP] $_REQUEST or $_POST?

2005-01-17 Thread Chris Shiflett
--- [EMAIL PROTECTED] wrote: I've learned to use $_REQUEST but it seems to me that it uses any $_GEt, or $_POST. Is it better to $_POST when I'm just using $_POST? It seems like that if I want good code, but I mean is it faster with $_POST? It's not faster, but it is a better practice. It is

Re: [PHP] question about a cron job

2005-01-17 Thread Al
Erwin Kerk wrote: Al wrote: I've got a question about the following cronjob. #At 3:01 our time, run backups 1 0 * * * /usr/local/bin/php /www/r/rester/htdocs/auto_backup/back_em_up.php /www/r/rester/htdocs/auto_backup/cron.log 21 #At 3:02 clean up sessions folder 2 0 * * * (find

[PHP] PHP in MS-DOS

2005-01-17 Thread Shawn McKenzie
I have not been successful with running PHP under DOS (no windows). Is this possible? TIA, Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP5 silently throwing exceptions???

2005-01-17 Thread Jason Barnett
Gerard Samuel wrote: Jason Barnett wrote: Gerard Samuel wrote: I've debugged it down to this - //try //{ $db-connect(); //} //catch(databaseException $e) //{ //throw $e; //} The ::connect() method is supposed to throw a databaseException if a connection cannot be made. In my tests,

[PHP] Finding first/last occurrence of a substring

2005-01-17 Thread Vikram Vaswani
Hi I have a string like this: Just when you begin to think the wagon of Vietnam-grounded movies is grinding to a slow halt, you’re hit squarely in the face with another one. However, while other movies depict the gory and glory of war and its effects, this centres on the psychology of

RE: [PHP] Finding first/last occurrence of a substring

2005-01-17 Thread Jay Blanchard
[snip] I have a string like this: Just when you begin to think the wagon of Vietnam-grounded movies is grinding to a slow halt, you're hit squarely in the face with another one. However, while other movies depict the gory and glory of war and its effects, this centres on the psychology of

Re: [PHP] question about a cron job

2005-01-17 Thread Bret Hughes
On Mon, 2005-01-17 at 09:01, Erwin Kerk wrote: Al wrote: I've got a question about the following cronjob. #At 3:01 our time, run backups 1 0 * * * /usr/local/bin/php /www/r/rester/htdocs/auto_backup/back_em_up.php /www/r/rester/htdocs/auto_backup/cron.log 21 #At 3:02 clean up

RE: [PHP] question about a cron job

2005-01-17 Thread Michael Sims
Erwin Kerk wrote: The CRON daemon only refreshes it's job list after a job in the current list is completed. Therefore, the CRON daemon won't notice the every-minute job until 3.01 pm. I'm not sure I understand what you're saying above. Can you provide a pointer to documentation about this?

Re: [PHP] PHP in MS-DOS

2005-01-17 Thread Adrian
DOS = 16bit but I guess, PHP ist for 32+ bit ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP in MS-DOS

2005-01-17 Thread Jason Barnett
Shawn McKenzie wrote: Thanks, but I'm not running Windows, I'm running just MS-DOS from a bootable floppy. Hence my question :-) PHP seems to actually be the php5ts.dll. Would there be binaries for MS-DOS or is there a way to get this working? Thanks! -Shawn You darn trickster... don't tell

Re: [PHP] Re: PHP5 silently throwing exceptions???

2005-01-17 Thread Gerard Samuel
Jason Barnett wrote: Gerard Samuel wrote: Jason Barnett wrote: Gerard Samuel wrote: I've debugged it down to this - //try //{ $db-connect(); //} //catch(databaseException $e) //{ //throw $e; //} The ::connect() method is supposed to throw a databaseException if a connection cannot be made.

Re: [PHP] PHP in MS-DOS

2005-01-17 Thread Mike Smith
On Mon, 17 Jan 2005 09:23:19 -0600, Shawn McKenzie [EMAIL PROTECTED] wrote: I have not been successful with running PHP under DOS (no windows). Is this possible? TIA, Shawn Have you downloaded the PHP zip file and added c:\php (or wherever you extract it) to your path? Mike -- PHP

Re: [PHP] Finding first/last occurrence of a substring

2005-01-17 Thread Benjamin Edwards
You need to use regular expresions, I think there is a regex_replace frunction (or something like that). http://etext.lib.virginia.edu/helpsheets/regex.html is a fairly good introduction to regular expresions - learn to love them ;) Vikram Vaswani [EMAIL PROTECTED] 01/17/05 03:27pm Hi I have

Re: [PHP] question about a cron job

2005-01-17 Thread Jason Wong
On Monday 17 January 2005 23:19, Al wrote: Erwin Kerk wrote: Al wrote: The CRON daemon only refreshes it's job list after a job in the current list is completed. Therefore, the CRON daemon won't notice the every-minute job until 3.01 pm. Not sure if I've misunderstood what Al is saying

[PHP] Javascript problem

2005-01-17 Thread Gregg Healy
I am trying to get the form below to make sure the file type for the upload is a pdf file. The code below checks, but doesn¹t allow even a pdf file to upload. Can anybody shed some light on this for me? Is there an easier way to do this using JS? ?php echo 'html head titletest page/title

[PHP] Re: PHP in MS-DOS

2005-01-17 Thread Shawn McKenzie
Thanks, but I'm not running Windows, I'm running just MS-DOS from a bootable floppy. Hence my question :-) PHP seems to actually be the php5ts.dll. Would there be binaries for MS-DOS or is there a way to get this working? Thanks! -Shawn Jason Barnett wrote: Shawn McKenzie wrote: I have not

Re: [PHP] Persistance objects + importing

2005-01-17 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Hi list, I am needing some advise on the best way of importing classes and persistance, I am goingto supply some code, and would like to know if sessions or share memory is the best way for it.It currently serializes and unserializes the class from a session , i speed

[PHP] Re: $_POST array not being populated

2005-01-17 Thread Jason Barnett
Bennie Foreman wrote: Hi, I am new to the PHP world so don't give me too much grief if this has a simple solution. My problem is that the $_POST array is not being populated. I have created a form and the method of that form is POST. I have started the session using session_start() but still

Re: [PHP] Re: PHP5 silently throwing exceptions???

2005-01-17 Thread Jason Barnett
Jochem Maas wrote: Jason Barnett wrote: Gerard Samuel wrote: I haven't checked the source on this one so I can't guarantee that what I've said above is true, but I believe it to be true. Someone correct me if I'm wrong (wouldn't be the first time ;) seems to me like you 'on the money'. I

[PHP] Re: PHP in MS-DOS

2005-01-17 Thread Jason Barnett
Shawn McKenzie wrote: I have not been successful with running PHP under DOS (no windows). Is this possible? TIA, Shawn For windows specific questions you are usually better off asking on the php-windows list. Yes this is possible. What is probably happening is your PHP script is executing

Re: [PHP] question about a cron job

2005-01-17 Thread Jochem Maas
Michael Sims wrote: Erwin Kerk wrote: The CRON daemon only refreshes it's job list after a job in the current list is completed. Therefore, the CRON daemon won't notice the every-minute job until 3.01 pm. I'm not sure I understand what you're saying above. Can you provide a pointer to

Re: [PHP] Finding first/last occurrence of a substring

2005-01-17 Thread Jochem Maas
Vikram Vaswani wrote: Hi I have a string like this: Just when you begin to think the wagon of Vietnam-grounded movies is grinding to a slow halt, youre hit squarely in the face with another one. However, while other movies depict the gory and glory of war and its effects, this centres on the

[PHP] $_POST array not being populated

2005-01-17 Thread Bennie Foreman
Hi, I am new to the PHP world so don't give me too much grief if this has a simple solution. My problem is that the $_POST array is not being populated. I have created a form and the method of that form is POST. I have started the session using session_start() but still nothing. When I try

[PHP] Socket_connect producing errors that show no reason

2005-01-17 Thread Adam Hubscher
The code looks like this: if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) 0){ print(Couldn't Create Socket: . socket_strerror(socket_last_error()). \n); } socket_set_option($sock, SOL_SOCKET,SO_RCVTIMEO, array('sec' = 1, 'usec' = 0)); $output = ''; for($i = 0; $i count($file);

Re: [PHP] Re: PHP5 silently throwing exceptions???

2005-01-17 Thread Jochem Maas
Jason Barnett wrote: Gerard Samuel wrote: ... I haven't checked the source on this one so I can't guarantee that what I've said above is true, but I believe it to be true. Someone correct me if I'm wrong (wouldn't be the first time ;) seems to me like you 'on the money'. I just wanted to add

RE: [PHP] question about a cron job

2005-01-17 Thread Michael Sims
Jochem Maas wrote: Michael Sims wrote: Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on /etc/crontab) has changed, and if it has, cron will then examine the modtime on all crontabs and reload those which have changed. Thus cron need not be

Re: [PHP] Finding first/last occurrence of a substring

2005-01-17 Thread Bret Hughes
On Mon, 2005-01-17 at 09:27, Vikram Vaswani wrote: Hi I have a string like this: Just when you begin to think the wagon of Vietnam-grounded movies is grinding to a slow halt, you’re hit squarely in the face with another one. However, while other movies depict the gory and glory of war

[PHP] Re: which is best php editor?

2005-01-17 Thread Matthew Weier O'Phinney
* Qt [EMAIL PROTECTED]: dear Sirs, Just a reminder... there *are* women on this group, too... ;-) I try to use a couple of php editor, but I am not satisfied with them. Which editors did you try? With what were you unsatisfied? Any suggestion for good php editor. One that works.

[PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Phillip S. Baker
Greetings all, I am runnign into a strange problem. I am working on a Linux box. Running PHP 4.2.2 Apache 2.0 And it has MySQl installed on it (not sure of the version. I ran a quick script to check to make sure the connection to the DB is working fine as this is a very secure connection (have

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Marek Kilimajer
Phillip S. Baker wrote: Greetings all, I am runnign into a strange problem. I am working on a Linux box. Running PHP 4.2.2 Apache 2.0 And it has MySQl installed on it (not sure of the version. I ran a quick script to check to make sure the connection to the DB is working fine as this is a very

Re: [PHP] question about a cron job

2005-01-17 Thread Al
Michael Sims wrote: Erwin Kerk wrote: The CRON daemon only refreshes it's job list after a job in the current list is completed. Therefore, the CRON daemon won't notice the every-minute job until 3.01 pm. I'm not sure I understand what you're saying above. Can you provide a pointer to

Re: [PHP] Re: which is best php editor?

2005-01-17 Thread Greg Donald
On 17 Jan 2005 18:55:21 -, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: Me, I use vim. Amen. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Persistent PHP web application?

2005-01-17 Thread Xuefer Tinys
if u same serialized data into a file, and load it later unserialize, it's all the same as session handler do On Sun, 16 Jan 2005 18:59:44 +0100, Zouari Fourat [EMAIL PROTECTED] wrote: but u dont need to reinitialise your variables every time the script loads, u need just to init them once and

Re: [PHP] Re: Date()

2005-01-17 Thread Steve Buehler
At 08:33 PM 1/15/2005, you wrote: Torsten, Whatever the combination, it echos February 02-2005brFebruary 02-2005brFebruary 02-2005. What is wrong with it? ?php $week5 = 2005-02-14; $firstDayTs = strtotime($week5); $lastDayTs = $firstDayTs + (4 * 86400); echo date('F', $firstDayTs) . '

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Greg Donald
On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker [EMAIL PROTECTED] wrote: Any help here would be appreciated. Simple.. your PHP doesn't have MySQL support. Rebuild it or install the rpm or package or whatever. What kind of 'Linux box' is it? -- Greg Donald Zend Certified Engineer

Re: [PHP] Re: PHP in MS-DOS

2005-01-17 Thread Bret Hughes
On Mon, 2005-01-17 at 09:45, Shawn McKenzie wrote: Thanks, but I'm not running Windows, I'm running just MS-DOS from a bootable floppy. Hence my question :-) PHP seems to actually be the php5ts.dll. Would there be binaries for MS-DOS or is there a way to get this working? Must be a

[PHP] Re: question about a cron job

2005-01-17 Thread Al
Al wrote: I've got a question about the following cronjob. #At 3:01 our time, run backups 1 0 * * * /usr/local/bin/php /www/r/rester/htdocs/auto_backup/back_em_up.php /www/r/rester/htdocs/auto_backup/cron.log 21 #At 3:02 clean up sessions folder 2 0 * * * (find /www/r/rester/htdocs/sessions/

RE: [PHP] $_POST array not being populated

2005-01-17 Thread Jay Blanchard
[snip] I am new to the PHP world so don't give me too much grief if this has a simple solution. My problem is that the $_POST array is not being populated. I have created a form and the method of that form is POST. I have started the session using session_start() but still nothing. When I

Re: [PHP] use php to determine user OS

2005-01-17 Thread Graham Anderson
thanks :) On Jan 16, 2005, at 6:05 PM, Greg Donald wrote: $_SERVER[ 'HTTP_USER_AGENT' ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about a cron job

2005-01-17 Thread Jochem Maas
Michael Sims wrote: Jochem Maas wrote: Michael Sims wrote: Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on /etc/crontab) has changed, and if it has, cron will then examine the modtime on all crontabs and reload those which have changed. Thus

[PHP] Re: PHP in MS-DOS

2005-01-17 Thread Michelle Konzack
Am 2005-01-17 16:56:12, schrieb Adrian: DOS = 16bit but I guess, PHP ist for 32+ bit ;) Where ist the problem ? Try to compile it with DJGPP :-) http://www.delorie.com/djgpp I was running BOA and some other stuff for demonstration. Maybe I put it back online. Good Luck Greetings

Re: [PHP] Re: PHP5 silently throwing exceptions???

2005-01-17 Thread Gerard Samuel
Jochem Maas wrote: Jason Barnett wrote: Gerard Samuel wrote: ... I haven't checked the source on this one so I can't guarantee that what I've said above is true, but I believe it to be true. Someone correct me if I'm wrong (wouldn't be the first time ;) seems to me like you 'on the money'. I

Re: [PHP] Re: which is best php editor?

2005-01-17 Thread M Saleh EG
What's the purpose of your coding? Applications? Just some sort of dynamic code here n there? or Huge OOP application with a team of programmers? I started with PHPEdit, Moved to Magna and then tried Dreaweaver to communicate with designers. And then came Zend 2.5 n then Got shocked with Zend 3.5

Re: [PHP] Re: Persistent PHP web application?

2005-01-17 Thread M Saleh EG
The answer would be Application-Scope vars wish we had it in PHP M.Saleh.E.G 97150-4779817 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Phonetic speller function

2005-01-17 Thread Dotan Cohen
I looked at the 'sound like' modules in php (leveshtien, soundex) but they are for comparing 2 strings, not creating a string based on what we already have. I see that str_replace supports regular expessions. Without devoting hours learning to write a regex, would it be inappropriate for me to

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Jason Barnett
Greg Donald wrote: On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker [EMAIL PROTECTED] wrote: Any help here would be appreciated. Simple.. your PHP doesn't have MySQL support. Rebuild it or install the rpm or package or whatever. What kind of 'Linux box' is it? Greg is right. Also it's

Re: [PHP] php editor

2005-01-17 Thread M Saleh EG
Zend Especialy with Zend 4.0 beta and Zend platform wow... that's all i'm gonna say. I had day on Zend 3.5 where I used to see .Net programmers openning Visual Studio.net and playing with their DB on their left hand panels on the same IDE and I used to say man..god help me with mySQLCC

Re: [PHP] Re: PHP in MS-DOS

2005-01-17 Thread Andrew Kreps
On Mon, 17 Jan 2005 09:45:59 -0600, Shawn McKenzie [EMAIL PROTECTED] wrote: Thanks, but I'm not running Windows, I'm running just MS-DOS from a bootable floppy. Hence my question :-) PHP seems to actually be the php5ts.dll. Would there be binaries for MS-DOS or is there a way to get this

Re: [PHP] Phonetic speller function

2005-01-17 Thread Greg Donald
On Mon, 17 Jan 2005 23:43:48 +0200, Dotan Cohen [EMAIL PROTECTED] wrote: I looked at the 'sound like' modules in php (leveshtien, soundex) but they are for comparing 2 strings, not creating a string based on what we already have. You're looking at it from the wrong end. With soundex you create

Re: [PHP] php editor

2005-01-17 Thread Daniel Lahey
I use Dreamweaver and I absolutely love it. It's a bit pricey, though. In the latest newsletter from Apple Developer Connection, there is a notice about skEdit, which is only $20. It looks pretty nice, though I haven't tried it. Eclipse is very good, too, and it's free (phpEclipse is an

Re: [PHP] $_POST array not being populated

2005-01-17 Thread Jochem Maas
Jay Blanchard wrote: [snip] I am new to the PHP world so don't give me too much grief if this has a simple solution. My problem is that the $_POST array is not being populated. I have created a form and the method of that form is POST. I have started the session using session_start() but

Re: [PHP] Socket_connect producing errors that show no reason

2005-01-17 Thread Jochem Maas
Adam Hubscher wrote: The code looks like this: if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) 0){ print(Couldn't Create Socket: . socket_strerror(socket_last_error()). \n); } socket_set_option($sock, SOL_SOCKET,SO_RCVTIMEO, array('sec' = 1, 'usec' = 0)); $output = ''; for($i = 0;

Re: [PHP] Phonetic speller function

2005-01-17 Thread Jochem Maas
Dotan, Greg Donald wrote: On Mon, 17 Jan 2005 23:43:48 +0200, Dotan Cohen [EMAIL PROTECTED] wrote: I looked at the 'sound like' modules in php (leveshtien, soundex) but they are for comparing 2 strings, not creating a string based on what we already have. You're looking at it from the wrong end.

[PHP] PHP application for knowledge management?

2005-01-17 Thread Murray @ PlanetThoughtful
Hi All, Just wondering if anyone can recommend an open php source application suitable for knowledge management for a small development team? We have 3 coders with different responsibilities, but often have to cover each other if unexpected things happen. We're hoping to implement a knowledge

Re: [PHP] Socket_connect producing errors that show no reason

2005-01-17 Thread Adam Hubscher
Jochem Maas wrote: Adam Hubscher wrote: The code looks like this: if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) 0){ print(Couldn't Create Socket: . socket_strerror(socket_last_error()). \n); } socket_set_option($sock, SOL_SOCKET,SO_RCVTIMEO, array('sec' = 1, 'usec' = 0)); $output

[PHP] .Net Web services

2005-01-17 Thread Michael Leung
Hi all, I have a parameter passing problem by using PHP SOAP extension. .Net web services seem not to be read the parameters. yours, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] NT Auto Authentication?

2005-01-17 Thread Adrian Madrid
Anybody figured out how to auto authenticate into a windows server? I need to have some users log through NT Authentication on their browser without typing their username and password. I was wondering if I could use PHP + COM or something like that but I can't find anything. I have found some

[PHP] mail() function on linux

2005-01-17 Thread Nicolae Serban
I have this code to send an e-mail !!! $ok=mail($dest, $subject, $mesaj, From: $expe\r\n .Reply-To: $expe\r\n .X-Mailer: PHP/ . phpversion()); It works on windows, i must change something to work on linux Thanks -- PHP General Mailing List

Re: [PHP] NT Auto Authentication?

2005-01-17 Thread Jochem Maas
Adrian Madrid wrote: Anybody figured out how to auto authenticate into a windows server? I no but... have a look at this: http://uranus.it.swin.edu.au/~jn/linux/php/php_smbauth.htm need to have some users log through NT Authentication on their browser without typing their username and password.

[PHP] anyone has successful to use a PHP SoapClient talking with .Net Web services?

2005-01-17 Thread Michael Leung
Hi all, anyone has successful to use a PHP SoapClient talking with .Net Web services? at this moment, that seem to no success for my testes. If anyone has successful to do this, please tell me. yours, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Writing static file from dynamic PHP page

2005-01-17 Thread Chris Bruce
Hi, I am looking for a way to write to a file what the browser would see (raw html) when viewing a dynamic PHP page. I have numerous include files, MySQL db queries, loops etc. and I want to generate the static result of that file and save it as an html page. I have toyed a little with output

Re: [PHP] PHP application for knowledge management?

2005-01-17 Thread Jonel Rienton
Hi murray, I have used phpBB2, i know, it's a forum application but it does the job of storing information about my projects, the search is pretty cool, it works out of the box for me, maybe it will help you too. http://jonel.road14.com -- I not know English well, but I know 7 computer

Fwd: [PHP] php editor

2005-01-17 Thread The Disguised Jedi
I use jEdit... www.jedit.org It understands most every language and you can even download a php parser plugin that checks your syntax when you save the file and underlines problems. I LOVE jEdit best of all, it is FREE OPEN-SOURCE!! -- The Disguised Jedi [EMAIL PROTECTED] PHP rocks!

[PHP] Re: NT Auto Authentication?

2005-01-17 Thread Manuel Lemos
Hello, on 01/17/2005 11:53 PM Adrian Madrid said the following: Anybody figured out how to auto authenticate into a windows server? I need to have some users log through NT Authentication on their browser without typing their username and password. I was wondering if I could use PHP + COM or

[PHP] Echoing Variables Names

2005-01-17 Thread Phillip S. Baker
Greetings All, I am generating some variable variables. I am interested for testing purposes in finding out the names of the variables that are actually being generated. Since I want to make sure that that my following conditional statements are working properly and the values are set. So is

Re: [PHP] Echoing Variables Names

2005-01-17 Thread Greg Donald
On Mon, 17 Jan 2005 19:55:12 -0800, Phillip S. Baker [EMAIL PROTECTED] wrote: I am generating some variable variables. Don't use variable variables, use arrays. I am interested for testing purposes in finding out the names of the variables that are actually being generated. Since I want to

Re: [PHP] .Net Web services

2005-01-17 Thread Zareef Ahmed
Hi Michael, It would be helpful if you elaborate your problem with details like PHP version, OS, Service etc. It will increase the chances of a good response. zareef ahmed On Tue, 18 Jan 2005 11:06:16 +1000, Michael Leung [EMAIL PROTECTED] wrote: Hi all, I have a parameter passing

Re: [PHP] Writing static file from dynamic PHP page

2005-01-17 Thread Bret Hughes
On Mon, 2005-01-17 at 21:16, Chris Bruce wrote: Hi, I am looking for a way to write to a file what the browser would see (raw html) when viewing a dynamic PHP page. I have numerous include files, MySQL db queries, loops etc. and I want to generate the static result of that file and save

[PHP] Re: Writing static file from dynamic PHP page

2005-01-17 Thread Matthew Weier O'Phinney
* Chris Bruce [EMAIL PROTECTED]: I am looking for a way to write to a file what the browser would see (raw html) when viewing a dynamic PHP page. I have numerous include files, MySQL db queries, loops etc. and I want to generate the static result of that file and save it as an html page. I

[PHP] Re: PHP application for knowledge management?

2005-01-17 Thread Matthew Weier O'Phinney
* Murray @ PlanetThoughtful [EMAIL PROTECTED]: --=_NextPart_000_0023_01C4FCA6.721CFE90 Just wondering if anyone can recommend an open php source application suitable for knowledge management for a small development team? We have 3 coders with different responsibilities, but often have to

Re: [PHP] Echoing Variables Names

2005-01-17 Thread John Holmes
Phillip S. Baker wrote: I am generating some variable variables. I am interested for testing purposes in finding out the names of the variables that are actually being generated. Since I want to make sure that that my following conditional statements are working properly and the values are set. So

  1   2   >