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.
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"> |