htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Discussion:
'DOCUMENT_ROOT'


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


O.J.
Novice

Oct 18, 2003, 11:29 AM

Post #1 of 4 (3383 views)
Shortcut
'DOCUMENT_ROOT' Can't Post

 My Name is O.J., thank you really to contact me. I need help. I learn
> the PHP Language since few Days and im not an realy an Expert at this
> Moment.
>
> 1.So take a look at: http://www.halbgasse.at/engines/htmlareaw3/
> I canīt say everything is Working, but i can say the "MOST" things
> are working. Good so. But just try to upload an img from the internet
> also extern. It doenst work, perhaps something with $BASE_DIR is set
> Right!?
>
> So All the another stuffs works just only with 'DOCUMENT_ROOT' in the
> config page.
> ---------------
>
> 2.Can i post the output htmltext trough post.php (for
> example) to a .txt File?
> 3.Why its not possible to have a .gif preview!?

4. I had put a meta tag refresh in the images.php, it works better now. Another Idea!?
> Thanks for Help.
[image]http://www.halbgasse.at/engines/images/O.J./vsky.gif[/image]

(This post was edited by O.J. on Oct 18, 2003, 11:32 AM)


wei
User

Oct 19, 2003, 10:05 PM

Post #2 of 4 (3348 views)
Shortcut
Re: [O.J.] 'DOCUMENT_ROOT' [In reply to] Can't Post

Well,

1) uploading seems to work OK.

2) not sure of your intensions, need more explaination

3) GIF preview only works if your GD (one of the libraries that does image manipulation) supports GIF output, else use other package like NetPBM or ImageMagick.

4) Hmm, what was the problem?

If you have more problems, do email me.

Cheers, Wei


O.J.
Novice

Oct 20, 2003, 9:30 AM

Post #3 of 4 (3338 views)
Shortcut
Re: [wei] 'DOCUMENT_ROOT' [In reply to] Can't Post

O.J. Sousa Rodrigues - 2003-10-21 07:38:23 Please take a look at:
http://www.halbgasse.at/engines/htmlareawei090903/

I had two problems:
1.Without stripslashes was not possible to shown some pic or link from a txt File now it works.
2.I cant upload an image for example:
http://www.halbgasse.athttp://orf.at/031020-66611/diana_blick_2h_ap.jpg
Everywhere i just have my domain there... :)

And i cant take it out.
Please Help.
Great Code Wei!
Great Helpers here.
[image]http://www.halbgasse.at/engines/images/O.J./vsky.gif[/image]

(This post was edited by O.J. on Oct 20, 2003, 4:44 PM)


O.J.
Novice

Oct 23, 2003, 7:18 AM

Post #4 of 4 (3295 views)
Shortcut
Re: [O.J.] 'DOCUMENT_ROOT' [In reply to] Can't Post

I find now the Problem for v3.0 beta released wei 09.09.03 (PHP)

1.For post something with index.php you have to use stripslashes. If you dont use this function it will not work to post images or links an another things. The Problem is: /\ /. But now it work. An Example:

$eintrag = stripslashes($_POST["text"])."<br><br>".$name."<br>Erstellt am ".$datum ;

2. The File Fullscren show error on line 47. You have just to take the "onescexit" line out than it works normaly (IE-only i think)

3.Again insert_image.php. It doesn't work when you wanna put a external link or image. Just modify the line:

// pass data back to the calling window
var fields = ["f_url", "f_alt", "f_align", "f_border",
"f_horiz", "f_vert", "f_width", "f_height"];
var param = new Object();
for (var i in fields) {
var id = fields;
var el = MM_findObj(id);
if(id == "f_url")
param[id] = el.value;
else
param[id] = el.value;
}




So i hope it helps.
[image]http://www.halbgasse.at/engines/images/O.J./vsky.gif[/image]

(This post was edited by O.J. on Oct 23, 2003, 7:19 AM)

 
 
 


Search for (options)