Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Email Box - Text Editor


I'm writing a PHP program that will mass email to my clients in my database. Does anyone have any ideas how to create a email box similar to yahoo o Googles compose email form? It would be nice to edit text size and color.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Text Editor
I am trying to create a simple text editor that when used, it adds the text to a .txt file. At the moment im having trouble with the formatting of the text in terms of new lines. If i write in one long sentence the positioning of the text is fine however if i try to use paragraphs extra lines are added in and then the code gets confused and makes parts of the paragraphs titles, shown in bold.

I think it may be because of the ""; part of my code and then the explode '|' but im not sure! Please can someone revise this so i can use paragraphs of text succesfully? It's taken me ages to get to this stage and it would be cool if someone could just paste in their example. Code:

What Is Folding (in A Text Editor)?
I've heard recently of a 'folding' feature offered by some text editors. Is that what allows you to close off some sections of code when you don't need them? If not, what is that feature called, and what IDE's other than .net offer it?

Rich Text Editor
This is tough to know where to place this, as it's somewhat of a JS issue,
but I'm writing PHP apps and you guys have always been able to help in the
past. I'm building a Content Management System right now - and though the
application works phenominal (probably the best app I have written actually)
in Mozilla, and Windows versions of IE 5+, I'm having problems getting the
Rich Text Editor to show up in Safari and IE for Macintosh. I'm using the
'cross browser' one written by Kevin Roth.

My question is: Does anyone use this RTE with their CMSs and maybe have a
fix for the Safari issue? If not, is there another RTE out there that might
work better than what I'm using? My boss is a huge Mac guy, so I'm basically
going to have to come up with a solution of some sort, and though I know JS
a bit - I've tried all day now to write code against the Safari problem, and
am running out of ideas. Plus I'm much better at PHP than JS, so it's
hurting me to not know the language really well.

Simple Text Editor
Can anyone tell me how I can open a file for editing in a textarea and save
with the changes as they are in the textarea. Do I need javascript for this
too, how does php know where to insert the cursor/data.

Rich Text Editor
I have my content stored in a database. I need a rich text editor (so the user doesnt need to include HTML) so they can edit contact. So a rich text editor that displays whats in the current content field and can be edited so on submit it updates the field to have the new text. Get what i mean?

Best Free PHP Text Editor?
I have been using Crimson editor for the last year and a half and it does pretty good but I was interested to see what everyone is using and if there is a "better" free text editor out there for PHP???

Rich Text Editor
I have found a free rich text editor for my website. I have played around with the code to get the text within the text box to transfer to another php page. My problem is that the varible is passed with. I have set up a page to remove them but nothing happens. The code:

Rich Text Online Editor
I need a control / script to be able to give the user to edit a TEXT
field online on browser for hyper text and rich text format, just like
most of the email and contect editor allow to do these days.

Admin Text 2 Html Editor
I was looking for something that looks much like wordpad (or can be anything else for the moment), so that users can type in text (and can bold, center, make a newline) and it will be converted into html format so I can store it into a db.

SEMI-OT : Javascript Rich Text Editor
I'm looking for a javascript-based rich text/wysiwyg html editor that can be
easily integrated in a php cms. I don't require any advanced features
(tables, images etc) , just basic text formatting.


I Want To Create Web Page Acting As Text Editor?
What I am trying to do is to create a tutorial for my beginning students for JavaScript and PHP, using a very simple online editor like the one @ w3schools, So the left window will be the text file code, such as:

<html>
<body>
<script>document.write("This is a test.");</script>
</body>
</html>...

PHP Cross Bowser Rich Text Editor
There are a couple of rich text editors I've used.  These are browser based editor like the one we fill in topics and responses on PHP Freaks here, that when submitted enter text and html tags into a database and upload images as well.

I would like to check with the PHP Freaks audience and see if there are any that other developers would recommend.

Online Text Editor W/mail Merge Capabilities
I'm looking for an online text editor with mail merge capabilities which
generates PDF output suitable for printing.

Anyone know of a solution, open-source or otherwise?

Looking For A Forum-style Text Editor With BB Code Buttons
I've been hunting around the Internet for a few hours looking for a text editor with BB code buttons, similar to ones you'll find in basic forums. I've tried several WYSIWYG editors, but they're just too advanced and don't always function how I'd like them to.

I'm looking for something simple, but flexible; something that works in virtually any browser.

Form Editor For PHP GTK A La MS Visual Basic Editor?
I have (finally) gotten php-gtk working in Redhat Linux 9 with the
instructions at: www.agata.org.br/us/install_pre.php

Now I would like to know if some good tools (freeware or otherwise)
exist to let me graphically create and edit forms (ie. with buttons,
textboxes..etc), in a similar way that can be done in Microsoft Visual
Basic editor.

Plain Text Email
I'm wanting to protect all inputs for sending a plain text email, in a common
routine.

Have just found POSIX [:print:] which I thought looked useful.
I didn't want to use htmlentities(); because it's a plain text email.

Would this protect me from anyone sending spam though this?

$raw = stripslashes($raw);
$raw = preg_replace("/(content-type|bcc:|cc:|onload|onclick)/i", "DELETED",
$raw);
$raw = strip_tags($raw);
$raw = preg_replace("/[^[:print:]]/", " ", $raw);
$raw = substr($raw, 0, 500);
$raw = trim($raw);

Or, should I use:
$raw = htmlentities($raw, ENT_NOQUOTES);

The email address would obviously be different.
This would cover just the name, subject and message.
I don't need newlines etc.

How To Read HTML Email Text?
I've done a couple of hours web-searching without turning up many
answers so far, and I guess I could figure it out (eventually) from
the MIME format, but here goes with my question...

I don't have any problems reading text emails, but can anybody direct
me to some PHP source code that will read (the text inside) an HTML
email, specifically the "From", "Subject" and especially the message
body?

I would like the code to be able to differentiate between (i.e. know
that it is) a text or an HTML email, and I would like the code to
ignore any attachments.

I don't expect the incoming email to have any (or large) attachments,
but I hope that any code samples can handle the possible case of big
attachments coming along for the ride.

Incidentally, if I did (not this time) want to handle large
attachments, can PHP and/or servers handle megabytes of data being
read into a string variable through fread()? I'm just getting into
this stuff, and not sure of what areas would be a resource and/or
performance hog.

All Text Email - How Do You Add Line-breaks?
Sending an all text email through php.

How do I put line breaks in the message, I was unable to google it

I know you can use "", but like, what else can I do, what is this stuff even called, language, so I can find out what the stuff does?

Conditional Email Text To Hyperlink
I am trying to write a content management section for a web site.

I have managed so far to use htmlarea to give users a basic, but user
friendly interface by which to edit the page content.

The user can add emails by symply typing john@example.com - IE automatically
converts this to a hyperlink. The trouble is sometimes the users use plain
text. I have been using the following line to convert plain text to a
hyperlink:

$pagetext=ereg_replace('[A-Za-z0-9_]([-._]?[A-Za-z0-9])*@[A-Za-z0-9]([-.]?[A-Za-z0-9])*.[A-Za-z]+',
'<a href="mailto:?subject=Email%20from%20web%20site"></a> ',
$pagetext);

This works well - BUT it completely screws up any existing hyperlinks. Is
there a way to convert the plain text email address in to a hyperlink only
if it is NOT part of a hyperlink.

Basically I need some way of checking
* If it's plain text > convert to a hyperlink
* If it's already an email hyperlink leave it alone.

I have tried looking up and testing everything I can think of - but am
finally asking around before I go mad.

Displaying Text/html In Web POP Email
is it possible that message from web POP mail ( through sockets) appears as html (or text) if it is sent as html, not to appear like source file of the html document? I use web POP mail which is not mine and it displays without problem emails sent as text/plain but shows complete source with all tags if the email is sent as text/html, in other words, it´s useless and very hard to read for user.

Get All The Email Addresses From A Text File
I have a .txt file with a lot of text mixed with some email addresses. I
would like to get all the email addresses in a $mails[] variable. Does
anyone know how to do this in php.

Sending Text And Html In One Email
i've put close to 10 hours into this today and i'm not getting results. i simply want to create and send emails that can be viewed by both text based and html based email clients. i've scoured the PHP manual and related comments and nothing is working. I also don't want to use a big bloated open source library as my needs are simple...text...html...that's it. 

can someone point me to code that's working for them (across all popular email clients) or to a tutorial that actually works?

Extracting Email Attachment (Text)
What's the best way to extract email attachments that's encoded in base64?  I can run the base64 encoded stuff through base64_decod(), but I want to know if there is a function to handle attachments.

Example:
------_=_NextPart_001_01C7C330.9D7B678C
Content-Type: text/plain;
 name=report.csv
Content-Transfer-Encoding: base64
Content-Description: report_=.csv
Content-Disposition: inline;
 filename=report.csv

Webbased Email Client With Japanese Text
I am developing the mail client using PHP, when I try to send a mail using mail() of PHP. All the text written in Japanese language converted to junk characters. How can I send the mail with japanese language using PHP only.

Sending Both HTML And Plain Text Email.
I am using php to send weekly newsletters to my mysql database, the emails are always in HTML only.

I was wondering if anyone knew how to send both types so that if they can't view HTML emails it will show just text?

Plain Text Email Spacing Issues?
PHP Code:

// create final message, $text refers to the textarea they typed the original message in $message2 = "Dear $firstname,

$text

Regards,
The Team......

Multi-part Email With Text And Attachment
I'm having some problems adding additional function to one of my scripts. I was successful in creating a tool to send out emails with HTML file attachments to our new customers. This works great.

However, now I want to add in plain text to the body of the email as well. This is causing me a problem. I'm sure it's a problem with the header since I can create the text and the attachment works fine from my previous script. Here's what I have to create the headers: PHP Code:

How To Extract An Email-address From A Text File
Can somebody show me a quick code snippet to reliably extract an
email-address form a text file ?

Validate An Email Form Text Filed
How would i run a check in my datacheck page to see if the user entered an email address in a form text field?

if(empty($email_address) || - NOT VALID EMAIL STUFF HERE -){
   $msg[] = $error12;
}

Trouble Extracting Email Address From Text File
I'm trying to put together a script that will read an email box set up for newsletter bounces and remove the bad addresses.

There's an old script I've worked with that looks for --- Permanant fatal errro ---, but not all the bounced emails have that line included (3 out of about 700 do).

I need to find the bad address, then delete that address out of the database. I've got the deleting out of database down, but am not sure how to find any email address & delete it.

How To Delete Single Email Adres From Text File
I have a textfile:

bla@domain.com
blabla@domain2.com
haha@domain.com
la@domain3.com
zaza@domain4.com

How can I delete a single email from that text file ? E.g. I want to delete blabla@domain2.com so that the textfile will be:

bla@domain.com
haha@domain.com
la@domain3.com
zaza@domain4.com

How can this be done ??

How To Send A Plain Text Version Of An Email With Html
how can u send a plain text version of an email with the html so that
the users mail client can access this plain text version?

User Inputted Text Wont Show In Email
I copied the contact_us page,renamed it, and added some fields which I want added to an email. The input fields show on the site but the user inputted text doesn't get added to the email, just the comment text gets added. Its basically going to be an application for employment when done but I'm just trying to get it to work with the four added questions. Code:

Complicated Email Parse Or Text Extraction And Database Insertion
I am trying to strip some data out of numerous emails and place it in
my database. I know that this seems as if it has been done before.
But, this is a little different. First, the numerous emails all have a
set of data that needs to be extracted and inserted into the database.
Some of the data in the email is id, name, address, city, state, zip,
company, etc. The catch is that the date is formated and presented
differently in each email. Take into consideration the following email
examples:

- excert from email #1
ID:.............. 12345
Name:............ JOHN DOE
Address:......... PO BOX 9999
City:............ Somecity
State:........... CA
Zip Code:........ 90210 ....

Table Based Order Form That Can Email Text Entered?
I have a custom order form that I collaborated on with a friend who knows php.

The form needs updated and the code we put together is hard for me to read and update. I think the form can be refined or rewritten in a more OOP way and hopefully as sematic as possible.

The Form is for entering ready made frames. The Choices are color and size. Here is what I need to do:

Enter Name, Email, Store Number, Comments Etc.Create a table based form where users can only enter numbers in each text field.Upon completion, agreement, and submission of the order an html email is kicked to our inbox. The table remains as it was on the website due to html and a separate print css file. Code:

Which Editor Do You Use?
Ok, ok. I know. How many times have we heard the question: "which editor do you use?"

Well, I thought I would post this because recently I've vasilated between vim, some ftp/text editors, text editor and a separate ftp client...etc, etc, etc...

So I would like to know from you, the developers, your opinions on which editor works the best for development. If it's notepad, cool. If it's vim, cool. FTPeditor, ok. If its a full IDE, thats cool too.

Thanks.

PHP Editor
I need a recommendation for a good and free PHP editor.

FCK Editor
Hi all, if anybody have used FCKEditor please share about the way of
creating a link/button in toolbar that would let us upload a file
using PhP script. I also need to call a user defined html page by
clicking on this link/button.

Which Editor To Use
which editor is the best to make php code?

PHP Editor/IDE
I am very, very new to PHP. I have managed to get 'Hello World' and
phpinfo to run (XP Pro, Apache, php 5) but I would appreciate the ability
to debug my way through a script. I have down-loaded NuSphere-phped-5.0.1evl-Win32. exe and php_editor_php5.exe and I am pretty confused as they seem to be (almost)...

Php Editor
The good editor of a code php is necessary. Prompt the catalogue of programs where it is possible to buy the editor. I am ready to pay. I need a small functional editor. It is inconvenient to me to work with Dreamviewer.

Php Editor
what program do u write your php in ? i just use notepad are there programs that would speed it up and make things easier ?

PHP Editor/IDE
I am not spamming this news group. I wanted to pass along a great offer
(40% off) from EnglnSite (Makers of PHP Editor/IDE and PERL Editor/IDE)
http://www.enginsite.com/ . Read this News item for the details
http://ravenphpscripts.com/article-626--0-0.html Their debugger and
profiler will rival most any other IDE out there, especially considering the
price.

Regarding Php Editor
hi i just want to know which is a good editor for php. currently we are using edit plus.but is there any oother editor whixh has some additional functionalities.

The Best Php Editor
which is the best php editor?

What Editor?
Can you tell me what editors you all use? I'm looking to get something to run on linux (X-windows) that is a bit like UltraEdit for MSWindows, or maybe a full blown IDE, something like PHP-Coder again for MSWin. Basically something with decent syntax highlighting.

What Editor Should I Use?
I'm currently using a demo version of Dreamweaver and want to know if there are any good alternatives for it. I use a lot of php and javascript, I mostly write the code myself but like to see my design before uploading it.

I also experienced a little bug when uploading a php file to the server,it seemed that it didn't upload the file completely (dw8) I also like the colors dreamweaver is using maybe there are free editors too that are as good as dreamweaver or even better any ideas or suggestions are welcome.

Php Editor
Can anybody recommend a free or cheap php editor for personal use?

Which Is The Best Php Editor?
i want to know which is the best PHP Editor(Software)?


Copyright © 2005-08 www.BigResource.com, All rights reserved