[PHP-DB] mail function

2003-10-30 Thread Ng Hwee Hwee
hi all,

i need to use a mail() function to send a job application to my inbox when
an applicant goes online and complete the application form. However, when
the contents of a certain field is very long, the message i get in my inbox
is truncated! can anyone help me please?

i've tried word wrap, chunk_split and chop but none worked..

the field in the form is something like textarea name=experience
cols=50 rows=8/textarea.

thank you in advance for your help!

kind regards,
hwee hwee

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] mail function

2003-10-30 Thread Shahmat Dahlan
The textarea tag has an option called wrap, pls read below (extracted from w3c.org)

TEXTAREA NAME=foo ROWS=4 COLS=40 WRAP=OFF

Carriage returns and line feeds entered by the user are ignored
and one line of text is sent to the server. No automatic wrapping is done,
so the user must scroll horizontally to see lines that extend past the
specified column width.
	TEXTAREA NAME=foo ROWS=4 COLS=40 WRAP=VIRTUAL

Carriage returns and line feeds entered by the user are mirrored
on the screen, but only one line of text is sent to the server with the
return characters stripped out. Automatic wrapping as the user enters
text is performed.
	TEXTAREA NAME=foo ROWS=4 COLS=40 WRAP=PHYSICAL

Carriage returns and line feeds entered by the user are mirrored
on the screen, and all characters the user enters are sent to the server.
In addition, automatic word wrapping is performed and CR/LFs are sent
where the user agent wraps the text.


Ng Hwee Hwee wrote:

hi all,

i need to use a mail() function to send a job application to my inbox when
an applicant goes online and complete the application form. However, when
the contents of a certain field is very long, the message i get in my inbox
is truncated! can anyone help me please?
i've tried word wrap, chunk_split and chop but none worked..

the field in the form is something like textarea name=experience
cols=50 rows=8/textarea.
thank you in advance for your help!

kind regards,
hwee hwee
 

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] mail function

2003-10-30 Thread Ng Hwee Hwee
hi all,

i need to use a mail() function to send a job application to my inbox when
an applicant goes online and complete the application form. However, when
the contents of a certain field is very long, the message i get in my inbox
is truncated! can anyone help me please?

i've tried word wrap, chunk_split and chop but none worked..

the field in the form is something like textarea name=experience
cols=50 rows=8/textarea.

thank you in advance for your help!

kind regards,
hwee hwee


[PHP-DB] Re: mail function

2003-10-30 Thread Manuel Lemos
Hello,

On 10/30/2003 05:50 AM, Ng Hwee Hwee wrote:
i need to use a mail() function to send a job application to my inbox when
an applicant goes online and complete the application form. However, when
the contents of a certain field is very long, the message i get in my inbox
is truncated! can anyone help me please?
i've tried word wrap, chunk_split and chop but none worked..

the field in the form is something like textarea name=experience
cols=50 rows=8/textarea.
There are limits to the length of lines of e-mail messages.

If you can wrap lines to make them have no more than 75 characters that 
is ok. If not, you can use quoted-printable encoding that breaks lines 
after encoding, so the end mail program restores the original lines 
without the breaks.

In either case, you may want to try this class that has a function named 
WrapText to break line between words.

If you do not want to break the lines, the class can send you the 
message parts using quoted printable encoding.

http://www.phpclasses.org/mimemessage

--

Regards,
Manuel Lemos
Free ready to use OOP components written in PHP
http://www.phpclasses.org/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] Re: mail function

2003-10-30 Thread Manuel Lemos
Hello,

On 10/30/2003 05:50 AM, Ng Hwee Hwee wrote:
i need to use a mail() function to send a job application to my inbox when
an applicant goes online and complete the application form. However, when
the contents of a certain field is very long, the message i get in my inbox
is truncated! can anyone help me please?
i've tried word wrap, chunk_split and chop but none worked..

the field in the form is something like textarea name=experience
cols=50 rows=8/textarea.
There are limits to the length of lines of e-mail messages.

If you can wrap lines to make them have no more than 75 characters that
is ok. If not, you can use quoted-printable encoding that breaks lines
after encoding, so the end mail program restores the original lines
without the breaks.
In either case, you may want to try this class that has a function named
WrapText to break line between words.
If you do not want to break the lines, the class can send you the
message parts using quoted printable encoding.
http://www.phpclasses.org/mimemessage

--

Regards,
Manuel Lemos
Free ready to use OOP components written in PHP
http://www.phpclasses.org/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] Where To Go For Newbie Help?

2003-10-30 Thread johnradio
hi
where can i go to get total beginner's help?
thx

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: Where To Go For Newbie Help?

2003-10-30 Thread Michael Mauch
Johnradio wrote:

 where can i go to get total beginner's help?

http://www.php.net/manual/ - look especially at the FAQ section and of
course at the sections that you are interested in (Installation,
Language Reference, you name it).

Regards...
Michael

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Where To Go For Newbie Help?

2003-10-30 Thread Filip de Waard
On Thu, 2003-10-30 at 22:35, johnradio wrote:
 hi
 where can i go to get total beginner's help?
 thx


Hi,

This is a copy of a message i just sent to php-general... There are many
great websites, for instance:

http://www.phpdeveloper.org
http://www.phpbuilder.com
http://www.devshed.com
http://www.phpnoise.com/

One of the most vital elements in the life of a PHP programmer is the
manual (http://www.php.net/manual), that answers all the questions you
will be able to think of.

The books part is a little more tricky, because of the fact that PHP 5
will arive in the near future. Most books that are currently available
focus on PHP 4 and will be outdated soon. I'm considering to buy PHP
Developers Handbook by John Coggeshall (http://www.coggeshall.org/), but
you could always take a look at the currently available titles at
Amazon.

Good luck and happy coding,

Filip de Waard

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Need help with queries

2003-10-30 Thread Shiloh Madsen
I need some help with some join queries im working on and was wondering if
someone might be able to give me some help with them. Kinda lookiin for more
real time discussion, so if you feel like givin me some help, hit me on IM.

AIM: lumerian3
Yahoo: lumerian1
MSN: [EMAIL PROTECTED]
ICQ: 76145844

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Need help with queries

2003-10-30 Thread Filip de Waard
On Fri, 2003-10-31 at 01:23, Shiloh Madsen wrote:
 I need some help with some join queries im working on and was wondering if
 someone might be able to give me some help with them. Kinda lookiin for more
 real time discussion, so if you feel like givin me some help, hit me on IM.

Hi,

If you want real time discussion use IRC. #php on freenode is nice, but
the #php channel on OFTC is a little more cosy (and non-freenode :P).

Regards,

Filip de Waard

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] PHP 5.0.0 Beta 2 released!

2003-10-30 Thread Andi Gutmans
Dear PHP users,

PHP 5.0.0 Beta 2 has been released. This is the first feature complete 
version of PHP 5 except for work on extensions, and we recommend for PHP 
users to try it. PHP 5 is still not ready for production use!

Some of the more major changes include:
- PHP 5 features the Zend Engine 2.
- XML support has been completely redone in PHP 5, all extensions are now 
focused around the excellent libxml2 library (http://www.xmlsoft.org/).
- SQLite has been bundled with PHP. For more information on SQLite, please 
visit their ·website.
- A new SimpleXML extension for easily accessing and manipulating XML as 
PHP objects. It can also interface with the DOM extension and vice-versa.
- Streams have been greatly improved, including the ability to access 
low-level socket operations on streams.

There have been lots and lots of other changes which we haven't mentioned 
here, and even the NEWS file which is pasted at the end of this message 
doesn't mention them all.
For developers who want to get an idea of the new language features (the 
Zend Engine 2), we suggest you look at the ZEND_CHANGES file in the Zend/ 
directory of the source tree.

Enjoy,

PHP Development Team.

NEWS file:
30 Oct 2003, PHP 5 Beta 2
- Lots and lots of changes in the Zend Engine 2 since beta 1:
  . Added Iterators
  . Improved memory manager
  . Added Reflection API
  . Removed the not so working namespaces support
  . Removed support for expressions within constant declerations.
  . You can read about most changes in ZEND_CHANGES under the Zend directory.
- Improved the DBX extension: (Marc)
  . Added DBX_RESULT_UNBUFFERED flag for dbx_query().
  . Added dbx_fetch_row()
  . Added SQLite support.
- Improved the Interbase extension: (Ard Biesheuvel)
  . Added support for multiple databases into ibase_trans()
  . Added support for CREATE DATABASE, SET TRANSACTION and EXECUTE PROCEDURE
statements into ibase_query()
  . Added ibase_commit_ret() and ibase_rollback_ret()
  . Added ibase_drop_db()
  . Added ibase_gen_id()
  . Added ibase_name_result()
  . Added ibase_errcode()
  . Added ibase_affected_rows() and ibase_num_params()
  . Added ibase_param_info()
  . Added ibase_wait_event()
  . Added ibase_set_event_handler() and ibase_free_event_handler()
- Added new COM extension with integrated .Net support. (Wez)
- Added new functions:
  . setrawcookie(). (Brian)
  . pg_version(). (Marcus)
  . dbase_get_header_info(). (Zak)
  . snmp_read_mib(). (Jani)
  . http_build_query(). (Sara)
  . ftp_alloc(). (Sara)
  . array_udiff(). (Andrey)
  . array_udiff_assoc(). (Andrey)
  . array_udiff_uassoc(). (Andrey)
  . array_diff_uassoc(). (Andrey)
  . convert_uuencode(). (Ilia)
  . convert_uudecode(). (Ilia)
  . substr_compare(). (Ilia)
  . pcntl_wait(). (GeorgeS)
- Added resume_pos context option to ftp://; wrapper. (Sara)
- Added optional parameter to OCIWriteTemporaryLob() to specify the type of LOB
  (Patch by Novicky Marek [EMAIL PROTECTED]). (Thies)
- Added reflection API. (Andrei, George, Timm)
- Changed length parameter in fgetcsv() to be optional. (Moriyoshi)
- Fixed IPv6 support in MacOSX Panther. (Dan, Marko)
- Fixed fgetcsv() to correctly handle international (non-ascii) characters.
  (Moriyoshi)
- Fixed support for ![CDATA[]] fields within XML documents in ext/xml.
  (Sterling)
- Fixed visibility of __construct and __clone. (Marcus)
- Fixed bug #26003 (fgetcsv() not binary-safe on null bytes). (Moriyoshi)
- Fixed bug #25756 (SimpleXML's validate_schema_file() broken). (Moriyoshi)
- Fixed bug #25581 (getimagesize() returns incorrect values on bitmap (os2)
  files). (Marcus)
- Fixed bug #25494 (array_merge*() allows non-arrays as argument). (Jay)
- Fixed bug #24766 (strange result array from unpack()). (Moriyoshi)
- Fixed bug #24729 ($obj = new $className; causes crash when $className is not
  set). (Marcus)
- Fixed bug #24565 (cannot read array elements received via $_REQUEST). (Zeev)
- Fixed bug #24445 (get_parent_class() returns different values).
  (Sterling, Stanislav)
- Fixed bug #24403 (preg_replace() problem: Using $this when not in object
  context). (Zeev)
- Fixed bug #24399 (PEAR DB isError crash [instanceof_function fault?]).
  (Sterling, Marcus)
- Fixed bug #24396 (foreach ($k=$v), the key $k is missing). (Zeev)
- Fixed bug #24279 (__get() crash when no value is returned). (Ilia)
- Fixed bug #22367 (undefined variable has a value). (Zeev)
- Fixed bug #19859 (allow fast_call_user_function to support __call).
  (Stanislav)
- Fixed bug #17997 (Warning when switch() and reference are combined). (Zeev)
- Fixed bug #17988 (strtotime failed to parse postgresql timestamp). (Derick)
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php