Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 26th, 2008, 10:52 PM
Registered User
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Submit text to main page from text area...

Hi. Really need help on this, please:


I want the main page of my website to display a whole bunch of text. The administrator would be able to change or insert new text from a text area input box or an Iframe pointing to the word document i save that text to. He'd click on a "submit", and what he wrote would appear on the main page.

I also want to enable text formattion and image input, so it seems like textarea is out of the question. I tried the IFrame pointing to a word document, but when i open the page, an upload box pops up asking if i want to open the document, and i don't want that. What i basically want is something like this area i'm typing in where i can input text to post a message, only much simpler. I wanted only to enable the insertion of an image, an hyperlink, and change of the font (size, put bold, put italics).

Got any suggestions on how to solve this? Any help would be much appreciated.
 
Old June 26th, 2008, 11:44 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Doesn't work that way with browsers.

You can DOWNLOAD word stuff to your brower, automatically. You can't UPLOAD it without first saving it on the user's computer and then using a separate <FORM> with an <INPUT TYPE=FILE> for UPLOADing it.

What you want is probably exactly this little editor that this forum supports.

I'm not sure which one this one is, but probably the most popular is FCKEditor. You can google for it and download it and try it on your own pages.

Oh...just checked out how this one works, and it's nowhere near as sophisticated as FCKEditor, it looks like. So if you like this, you'll love FCKEditor.
 
Old June 30th, 2008, 09:52 PM
Registered User
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Old Pedant
 Doesn't work that way with browsers.

You can DOWNLOAD word stuff to your brower, automatically. You can't UPLOAD it without first saving it on the user's computer and then using a separate <FORM> with an <INPUT TYPE=FILE> for UPLOADing it.

What you want is probably exactly this little editor that this forum supports.

I'm not sure which one this one is, but probably the most popular is FCKEditor. You can google for it and download it and try it on your own pages.

Oh...just checked out how this one works, and it's nowhere near as sophisticated as FCKEditor, it looks like. So if you like this, you'll love FCKEditor.



Thanks, I've downloaded it - But now how can I integrate onto my HTML page?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Text area Wenggo VBScript 5 September 20th, 2008 07:21 PM
Need help: Not able to Assign Value to a Text Area steveleong Classic ASP Professional 3 February 20th, 2008 09:15 PM
make link in text area saban ASP.NET 1.0 and 1.1 Basics 7 November 15th, 2006 11:18 AM
text area box shoakat Classic ASP Databases 2 September 11th, 2004 07:28 AM
text in limited area alittlebitter32 Dreamweaver (all versions) 4 July 8th, 2004 10:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.