protocol and domain are removed from Hyperlinks

237
June 06, 2017, at 05:22 AM

I have some php code that uses tinymce to enter a message that is then emailed using the php mail function. The email is successfully sent.

The problem is on the live server (RHEL 7.2) any hyperlink that is part of the message has its protocol (http://) and domain (www.example.net) removed and replaced with a relative path. ../../client_services/media/pdfs/

On my dev server (Centos 6) the email is sent and the hyperlinks retain the protocol and domain as follows http://www.example.net/client_services/media/pdfs/

Both server are using the same version of tinymce.min.js (4.1.7)

The live server uses php version version 5.4.16-42

The dev server uses php version 5.3.3-49

I find no other differences. The code for the page is the same on both servers.

Is this problem related to the newer php version, or is something else altering the hyperlinks, like a php.ini configuration?

Thanks

Rent Charter Buses Company
READ ALSO
PHP redirect/disguise URLs

PHP redirect/disguise URLs

I have a page which receives a parameter and uses it to load it's content

354
get_the_author_meta() not working on wp

get_the_author_meta() not working on wp

I have some problems with the standard wp function get_the_author_meta()I use it in my project to display the social link of an author but I always get an empty variable

324
Appending extra elements to existing string of html in Node.js

Appending extra elements to existing string of html in Node.js

I need to dynamically append a header and footer to specific elements of an HTML web page in Nodejs but I'm not sure how to do it

293
wire-webapp yarn “start” not found

wire-webapp yarn “start” not found

I'm trying to play with the wire api and develop a simple web client for secure communicationI'm new to node

444