[PHP] Retrieving POP mail

2002-03-24 Thread Kearns, Terry
The documentation for the IMAP functions is, er, virtually non-existent. I'm not looking to read several sets of RFCs - all I want to do it check a POP account on Exchange for messages and retrieve them. Does anyone know if there is a tutorial on this somewhere? [TK] -- PHP General Mailing

RE: [PHP] Retrieving POP mail

2002-03-24 Thread Kearns, Terry
of a simple application of mailbox checking. I must say, the range of functions is quite impressive :) [TK] -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Monday, 25 March 2002 11:04 AM To: Kearns, Terry Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Retrieving

RE: [PHP] Getting values of Checkboxes

2002-03-18 Thread Kearns, Terry
If a heckbox is left blank, then the webserver does not pass it's name/value pair on to the PHP processor. This means that if you have input type=checkbox name=foo And the box is not checked, then when your script recieves the form, $_POST['foo'] will not be available. So to test for it, use

RE: [PHP] SOAP

2002-03-11 Thread Kearns, Terry
much about the anatomy of it to ustilise it? [TK] -Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED]] Sent: Monday, 11 March 2002 5:29 PM To: Kearns, Terry Cc: [EMAIL PROTECTED] Subject: Re: [PHP] SOAP Hi I've tried the SOAPx4 by Dietriech. Looks good

[PHP] [PHP-DB] Mssql trusted connections ?

2002-03-10 Thread Kearns, Terry
How does one use trusted connections with mssql_connect() ? Also, the manual says something about an interfaces file. Where do I find this? Where is this interfaces file documented? [TK] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SOAP

2002-03-10 Thread Kearns, Terry
Who has had a crack at using SOAP with PHP (both client and server)? What have you learned that you would recommend to someone just starting out with soap? I've noticed that there are a few options on the horizon, I'm busy checking out the scripts written by Manuel Lemos. For all those who

RE: [PHP] case insenstive

2002-03-07 Thread Kearns, Terry
Just substitute strstr() with stristr() The extra I in stristr() stands for Insensitive. If I was insensitive, I would say RTFM :) If you look under http://www.php.net/manual/en/function.strstr.php It tells you about stristr [TK] -Original Message- From: jtjohnston [mailto:[EMAIL

RE: [PHP] CheckBoxes....

2002-03-07 Thread Kearns, Terry
Don't name the checkboxes all the same, instead: Option1 input type=checkbox name=ck0br Option2 input type=checkbox name=ck1br Option3 input type=checkbox name=ck2br Then handle it with function getCheckboxResults($prefix=FALSE) { global $_POST ; $results = NULL ; // needed for

RE: [PHP] What is - mean in php?

2002-03-07 Thread Kearns, Terry
Because I'm not a hacker on the PHP engine, I don't really know but I also saw this symbol when learning C++ recently. It is used in C++ as a shortcut to dereferencing and accessing an objects properties/methods on objects which are on the free store (heap). Normally C++ uses the dot operator to

RE: [PHP] #!/usr/bin/php in output?

2002-03-06 Thread Kearns, Terry
OK, the only reason you would have #!/usr/bin/php is if you're going to run it as a shell script under unix. You approach should _still_ be 2 scripts (3 if you count the include file). file_content file=for_shell.php #!/usr/bin/php ?php include('main_code.php'); ? /file_content file_content

RE: [PHP] $db_list = mysql_list_dbs

2002-03-06 Thread Kearns, Terry
Do a select on mysql's system database/table Mysql.db There's a column called db and one called user. Put a where clause on user. If you want more help, there is a PHP-DB mailing list. [TK] -Original Message- From: jtjohnston [mailto:[EMAIL PROTECTED]] Sent: Thursday, 7 March

RE: [PHP] how to: variable = php parsed file include

2002-03-04 Thread Kearns, Terry
I'm not sure I understand you 100% but it sounds like you want to get the static HTML results of your dynamic PHP script and and do something with it. Happily, PHP is one of the few languages that can do this with ease :-) The feature you want is output buffering. Output buffering _traps_ the

RE: [PHP] Active Directory

2002-03-04 Thread Kearns, Terry
Active Directory has an LDAP interface (from what I hear). Anyway, I use the LDAP interface with our M$ Exchange server here at work to make a phonebook application. As it happens, the LDAP service is listening for requests by default (so you shouldn't have to set it up). The annoying thing is

[PHP] Problem unserialising a cookie - beware the magic quotes !!!

2002-02-28 Thread Kearns, Terry
OK, I don't have the problem any more but I decided to go ahead with the post anyway (since I already wrote it up) I solved the problem by turning off magic quotes in the phpini file I made this file for the purposes of a training course I'm writing At the bottom of this email I've included the

RE: [PHP] Enter the clueless newbie

2002-02-27 Thread Kearns, Terry
I don't have any solutions but here are some comments that may be useful. I would guess that your user agent (web browser) is not detecting the mime type properly. This usually happens if the web server is not properly configured to send .php files as text/html (see http.conf if applicable).

RE: [PHP] Re: Apache Server Side Includes mixed with PHP pages

2002-02-27 Thread Kearns, Terry
Yes, and don't put a space between hash (#) and INCLUDE. I've been cought out before ;) [TK] -Original Message- From: Timothy J. Luoma [mailto:[EMAIL PROTECTED]] Sent: Thursday, 28 February 2002 3:02 PM To: Richie Chauhan Cc: [EMAIL PROTECTED] Subject: [PHP] Re: Apache Server