[PHP] Multiple Return Values from function

2002-10-13 Thread Paul Maine
Can I return more than one value from a function? php Thank You Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Calling C functions

2002-10-08 Thread Paul Maine
I am including a code snippet that will aid you. # Location of your binary. $yourbinary = /usr/bin/yourprogram; # Location of the libs for your c program if needed $yourlib = YOUR_LIB . : . getenv(LD_LIBRARY_PATH); putenv(LD_LIBRARY_PATH=$yourlib); # The args to call the binary with # For

[PHP] PHP Cannot redeclare class problem

2002-09-21 Thread Paul Maine
When I call the function batch_delayed_capture(see below), I issue the $this-delayed_capture($d); statement. Both batch_delayed_capture and delayed_capture are in the same include file. The statement works fine the first time through the loop but gives the following error Cannot redeclare class

RE: [PHP] PHP Cannot redeclare class problem

2002-09-21 Thread Paul Maine
I was able to solve the problem by using the require_once statement. Thank You -Original Message- From: Paul Maine [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 21, 2002 10:23 AM To: PHP PHP Subject: [PHP] PHP Cannot redeclare class problem When I call the function

[PHP] Pass array in HTTP_POST_VARS question

2002-09-03 Thread Paul Maine
Is it possible to pass an array in a form post? If so, how do I reference the array on the next page? Thank You Paul php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP checkbox/hidden field question

2002-09-01 Thread Paul Maine
I am executing the follwoing statement as part of a while loop. This is part of a form and I wish to pass the name and value of the checkbox as a hidden field only is the checkbox is checked. Can you suggest how I can accomplish this task? tdinput type=checkbox name=d_c_arr[] value=?php echo

[PHP] PHP/MySQL Error Log Parser

2002-08-04 Thread Paul Maine
How can I set up MySQL error logging? Is there any PHP MySQL error log parsers? Thank You -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/MySQL Search Engine Query Question

2002-07-27 Thread Paul Maine
I am currently working on a website that is implemented using PHP and MySQL. The site currently has a simple search engine that allows a shopper to type in a search string that is stored in $search. For example, if a shopper types in 1972 Ford Mustang $string =1972 Ford Mustang Using the

RE: [PHP] Paying Job...

2002-07-25 Thread Paul Maine
In today's depressed IT market, what are the prevailing hourly rates for a very experienced PHP/MySQL developer? I desire to use this information as a guage of what I am currently charging. Paul -Original Message- From: Peter J. Schoenster [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: [PHP] Windows NT Server, FORK, SOCKETS, and seperate processes

2002-07-22 Thread Paul Maine
You can use threads with NT to accomplish what you are asking. -Original Message- From: David Buerer [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 11:29 AM To: '[EMAIL PROTECTED]' Subject: [PHP] Windows NT Server, FORK, SOCKETS, and seperate processes I've got effectivly a