[PHP] errorno error codes

2002-12-13 Thread phplist
In reality this is a linux question. If I use in PHP passthru or system, the linux OS will return an error number. Somebody can provide me with a link where they are listed and explained? -- René www.comunica2.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] Re: Sorry if repost - more ftp problems

2002-12-13 Thread phplist
> Fatal error: Maximum execution time of 90 seconds exceeded in :\apache\htdocs\fnusa\releases\ftp.php on line 28 This means that after entering in passive mode it has used 90 seconds of processor time and times out. Set this timeout higher in php.ini. And I would add this to the source just befor

[PHP] passthru returns with errno 11

2002-12-13 Thread phplist
What could that mean errno 11 when I try to run a small program with four parameters. From a shell prompt it works. What does it mean errno 11? -- René www.comunica2.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: errorno error codes

2002-12-16 Thread phplist
Yes I know that. It returns a number. Meanwhile I found out that 11 (what is returned in my case) means that I have to try again, something like a temporary unavailable resource. It is weird that the same program on the command line returns a string to stdout without a problem. When I used it from

[PHP] Re: Encrypt and decrypt cookie

2002-12-16 Thread phplist
I am not a specialist, but I discovered the parameter iv and the related function create_iv. Most likely you must provide an created iv before encryption, store the cypher and the iv together in the cookie and at retreaval, use both in decrypt. So in between: /* Terminate encryption handler */

[PHP] credit card auth using curl function

2002-08-29 Thread phplist
Hi, I am using the CURL command to post credit card info to a gateway .exe program on a secure server. The code below works fine to produce the comma delimitted credit card authorization information to the browser page (for example: "declined","Invalid form data posted","8/29/2002","18:07","0","0"

FW: [PHP] Re: credit card auth using curl function

2002-08-29 Thread phplist
&password=&amount=12 "); curl_setopt($ch, RETURNTRANSFER, 1); $return_data = curl_exec($ch); curl_close ($ch); ?> -- -Original Message- From: phplist [mailto:[EMAIL PROTECTED]] Sent: Thur

[PHP] linking to secure ssl page using php and Microsoft Explorer - general error serviing up page from MSE... Netscape works fine

2002-09-01 Thread phplist
Get general MSE error when using PHP to go from a non-secure page to an ssl page. If I use the back button and try it again it will work, so the code seems solid. Does not fail on Netscape. I heard that there is a Microsoft Explorer issue with secure pages and/or php. Any ideas on how to resolve?

[PHP] Connecting Form result to PHP query?

2002-03-13 Thread PHPList
On first page, there is a form where User must select choice from Subject1 (mandatory) User may select choice from Geographic Area (optional) When you click on Go, you go to Results page where there will be instructions for PHP: Search database where Subject1=$subject1 OR Subject2=$subject1 AND

[PHP] Fetching 1 array from either one of 2 possible columns?

2002-03-14 Thread phplist
I'm working on a query by selection type of form, where if a user selects a subject to get information. Each database entry will have 2 subject fields, Subject 1 being the main subject and Subject 2 being the cross-subject. A table is set up like this: +--+--+--+--+---

RE: [PHP] Fetching 1 array from either one of 2 possible columns?

2002-03-14 Thread phplist
Thursday, March 14, 2002 7:42 PM > To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] > Subject: RE: [PHP] Fetching 1 array from either one of 2 > possible columns? > > > use brackets > > where (sub1 or sub2) and geo > > -Original Message- > From: phplis

[PHP] Two ways to obtain an object property

2012-08-15 Thread phplist
This relates to a minor dilemma I come across from time and time, and I'm looking for advice on pros and cons and best practice. Last night I encountered it again. Within a site I have a User object, and within page code would like to have if ($crntUser->isASubscriber) {...} There seems to be

Re: [PHP] Two ways to obtain an object property

2012-08-16 Thread phplist
On 08/15/2012 11:28 AM, phplist wrote: This relates to a minor dilemma I come across from time and time, and I'm looking for advice [...] Within a site I have a User object, and within page code would like to have if ($crntUser->isASubscriber) {...} [...] if ($crntUser->is

[PHP] A question about PHP-MySQL'basic operation

2004-04-20 Thread PHPLIST
e some code about this,FROM connect TO query? Thank you in advance. 致 礼! PHPLIST [EMAIL PROTECTED]   2004-04-21 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Hi

2004-05-05 Thread Phplist
<>-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re robi: Re:[PHP] Is there any good examples of PHPLIB?

2004-05-23 Thread phplist
Hi~robi! Thank you,troby,my friend! With your guidance I found first time that PEAR is a very good coding tool which I'd like to learn later.But my server provider do not have it;fortunately,I overcomed the difficultys of PHPLIB by debugging and testing yesterday. To respond you

[PHP] Serialize

2006-05-24 Thread phplist
Hi, Is a serialized array a "safe" string to insert into a mysql text field? Or is a function such as mysql_real_escape_string always needed? regards Simon. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] install php as CGI?

2002-06-04 Thread brian-phplist
how can i install php as CGI? Brian Feliciano EMC-Tech "I know that there are people in this world who do not love their fellow man, and I hate people like that." - Tom Lehrer

[PHP] How does the Zend engine behave?

2006-10-25 Thread jeff . phplist
Hi, I'm using PHP 4.x and I'm trying to understand a bit about memory usage... Firstly, when I say 'include files' below, I mean all forms, include, require and the _once versions. That said, when a script runs and it's made of several include files, what happens? Are the include files onl

Re: [PHP] How does the Zend engine behave?

2006-10-26 Thread jeff . phplist
Jon Anderson wrote: Take this with a grain of salt. I develop with PHP, but I am not an internals guy... [EMAIL PROTECTED] wrote: Are the include files only compiled when execution hits them, or are all include files compiled when the script is first compiled, which would mean a cascade thr

Re: [PHP] How does the Zend engine behave?

2006-10-26 Thread jeff . phplist
Richard Lynch wrote: On Wed, October 25, 2006 11:58 am, [EMAIL PROTECTED] wrote: Are the include files only compiled when execution hits them, or are all include files compiled when the script is first compiled, which would mean a cascade through all statically linked include files. By stat