RE: [PHP-WIN] PHP to PDF

2012-01-03 Thread N . A . Morgan
Gavin, You could try www.fpdf.org, this is a PDF generator written in PHP, so should be used by any hosting company. Regards, Neil Morgan PGCert MSc IT Services University of Brighton Watts 137 Lewes Road Brighton BN2 4GJ 01273 643930 -Original Message- From: Gavin [mailto:gavin.ch

RE: [PHP-WIN] Configuring and send mails in winxp??

2007-05-31 Thread N . A . Morgan
Do you have a firewall rule that prevents incoming email from this particular host? I tried to ping the server smtp.fibertel.com.ar and could not receive a reply. It may be our firewall is preventing a response from that server, or it may be that the email provider has limited the access to we

RE: [PHP-WIN] Configuring and send mails in winxp??

2007-05-30 Thread N . A . Morgan
If you are using a Windows version of PHP, the mail facility is pre-compiled. All you need to do is set the PHP.INI directives below. [mail function] ; For Win32 only. SMTP = [EMAIL PROTECTED] smtp_port = 25 ; For Win32 only. sendmail_from = [EMAIL PROTECTED] Regards, Neil -Original Messag

RE: [PHP-WIN] Oracle BLOB & PHP

2007-05-23 Thread N . A . Morgan
Alf, This is an exerpt from a paper "Making efficient use of Oracle8i thru Apache and PHP 4, Thies C. Arntzen <[EMAIL PROTECTED]> 2001" describing PHP and Oracle LOBs. You should be able to port the code to PHP5 relatively easily. Regards, Neil Morgan large objects = PHP ha

RE: [PHP-WIN] static

2005-03-02 Thread N . A . Morgan
Check out the Zend website http://www.zend.com/manual/language.oop5.static.php Neil Morgan -Original Message- From: Joakim Ling [mailto:[EMAIL PROTECTED] Sent: 02 March 2005 08:53 To: php-windows@lists.php.net Subject: [PHP-WIN] static hi class foo { static public $a = 1; public

RE: [PHP-WIN] displaying neat and tidy currency notation?

2004-12-03 Thread N . A . Morgan
You could try concatenating a string of "0"s (£25.5000) on the end and using substr on the whole to get your £25.50. $currency = $currency . "000"; $currency = substr( $currency, 0, strpos($currency,'.') + 3 ) Neil Morgan -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED]

FW: [PHP-WIN] PHP5 Access Violation

2004-07-15 Thread N . A . Morgan
Some further information, I was using the loopback IP 127.0.0.1 and getting the access violation. if I use localhost, this does not happen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 10:05 To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP5 Access V

[PHP-WIN] PHP5 Access Violation

2004-07-15 Thread N . A . Morgan
Guys, I have installed the new PHP5.0 binary release on XP Professional with IIS 5 (running the php5isapi.dll module). All appears fine except for an error message [PHP has encountered an Access Violation at 013E73CD] appearing at the bottom of each page. Can anyone help resolve this, or is it a

RE: [PHP-WIN] md5 password with javascirpt

2003-12-05 Thread N . A . Morgan
Try this site: http://pajhome.org.uk/ for the MD5.js file. Lots of security tips and tricks. -Original Message- From: Exiang [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 08:39 To: [EMAIL PROTECTED] Subject: [PHP-WIN] md5 password with javascirpt Hi, question: how to encode a passwo

RE: [PHP-WIN] Help with COM

2003-10-29 Thread N . A . Morgan
Why not try to execute the macro, $Excel->application->run("book.xls!macro"); but if this is not possible / desirable, the with statement: With Selection.Borders(xlEdgeBottom) .LineStyle = xlContinuous .Weight = xlThin .ColorIndex = xlAutomatic End With is only a

RE: [PHP-WIN] PDF library

2003-10-09 Thread N . A . Morgan
Not sure about the PDF library, but you could use FPDF at www.fpdf.org. This is a free class that can be included into your php pages to create PDF documents. There is an image method that allows you to add JPEG (all flavours) and PNG (all flavours except Interlacing and Alpha Channel). Hope this

RE: [PHP-WIN] Listing an Objects Properties

2003-06-25 Thread N . A . Morgan
get_class_vars(); get_class_methods(); check out class/object functions in the manual for more info. -Original Message- From: Piotr Pluciennik [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 16:49 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Listing an Objects Properties prin_r() ??? ---

[PHP-WIN] PHP, COM and Excel

2003-06-05 Thread N . A . Morgan
Dear All, Does anyone have any information on using COM in PHP to build Excel spreadsheets? I have a potential need and can't find any sites specific to this task. Regards, Neil Morgan MSc Admin Computing, University of Brighton, 01273 643930 http://www.brighton.ac.uk/ -- PHP Windows Mailing