
Skip to: site menu |main content
Welcome to my personal site. If You have any question or suggestion please feel free to contact me from contact page.
IMAP functions enable you to operate with the IMAP protocol, as well as the NNTP, POP3 and local mailbox access methods.
Be warned, however, that some IMAP functions will not work correctly with the POP protocol. Make sure your PHP is enabled with imap via the phpinfo() function
<?php
'--with-imap-dir=/opt/lampp' '--with-imap-ssl' '--with-imap=/opt/lampp'
?>We can check our email accounts remotely using PHP and its imap functions, which allow us to communicate with mail servers via IMAP, POP3 or NNTP protocols. You can build a PHP mail scriptof your own that will accept an email account, password and optional IMAP port number. In drupal you have few modules available for 5X versions which you can us for integrating email clients with drupal site.
xWebSecureClient Class - an extension of the php SoapClient class to provide for seamless sliding token based authentication with Avectra's netFORUM. xWeb documentation is provided with your system.Licensed under the BSD license, a copy of which should have been included with this file. If
you are not familiar with the BSD license please take a moment to read it - it is short!
This is a small sample adapted from the xwebSecureClass that shows calling the Authenticate method and getting the soap headers.
NOTE: This code was adapted on the fly and is untested right now, if you find success or bugs please update the code accordingly.
<?php
$nfxweb = new SoapClient("https://mynf.mywork.org/xweb/Secure/netFORUMXML.asmx?WSDL",
Array('trace'=>true, //turning on trace=true will let us grab the headers and responses
'exceptions'=>true ));
//these are the params set in the constructor
Before you install PEAR, we recommend you understand what PEAR is and why you should install it.
The base installation that comes with the PHP distribution contains all the stuff that is needed to run the PEAR installation tools etc. If you have a recent installation of PHP, you can relax: The PEAR base installation is already there - unless you have compiled your PHP with the ./configure flag --without-pear.
PHP function move_uploaded_file — Moves an uploaded file to a new location. This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination .
This sort of check is especially important if there is any chance that anything done with uploaded files could reveal their contents to the user, or even to other users on the same system. This function returns TRUE on success, or FALSE on failure.
Syntax
InderSingh.com v1.2
(May 22, 2012)
Recent comments
17 weeks 1 day ago
17 weeks 1 day ago
17 weeks 1 day ago
1 year 16 weeks ago
1 year 16 weeks ago
1 year 16 weeks ago
1 year 32 weeks ago
1 year 33 weeks ago
1 year 35 weeks ago
1 year 39 weeks ago