I have tinyMCE on a simple text file editor, but when i enter a url that is the same as the server, and include the text file through php, it reads http://../directory, instead of http://www.domain.com/directory.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
tinyMCE URLs are generally pretty tricky, but manageable. They have a whole section dedicated to making them work here.
Essentially you need to add two settings to your config file
That should rewrite all your URLs using the base url, avoiding the relative
../s