blsn
-
Posts
4 -
Joined
-
Last visited
Posts posted by blsn
-
-
I've tried it on the local host server.
The outputs path is http://localhost/
Should be: http://localhost/mywebsite
p.s.
The output for the share hosting is o.k. (http://www.mywebsite.com).
Any advise on this matter would be appreciated.
-
Thank you for your reply but this solution is good only for hosting server.
How can I use one code for both hosting and testing server?
-
Hi,I am building a web site and have included files that get used from the root and different sub directories within my site. For example:
<link rel="stylesheet" href="<?php echo $_SERVER['DOCUMENT_ROOT']; ?>/css/style.css">These are the outputs of $_SERVER['DOCUMENT_ROOT']:Testing server (http://localhost/mywebsite):C:/xampp/htdocs/mywebsiteShare host server (http://www.mywebsite.com):/home/mywebsite/public_htmlHow to define the above path correctly to work both on testing and hosting server?
Text-to-Speech
in Third Party Scripts
Posted
MARY TTS is an open-source, multilingual text-to-speech synthesis system written in pure java.
https://github.com/marytts/marytts
I installed Mary TTS (version 5.1.2) on my Windows (and Linux computers).
I started the Mary TTS server and the Mary TTS client, and I did some trials with text to audio conversion in the GUI window (its great).
I would like to use Mary TTS on my website to read text aloud, where a user can add a text into the input field and generate the output like in the GUI window, without using the java client.
For example:
Just to get started.. I can't realize how to do that in HTML/JavaScript and PHP?