|
Posted by Andy Jeffries on 03/29/06 11:45
On Wed, 29 Mar 2006 09:12:31 +0200, BLob wrote:
> I need to create an RTF document with PHP. Actually, I am using an already
> created RTF document which with strings like %var% that I replace with
> $var before sending the document. I need to create a link like
> http://www.example.com/id_content=125 but my problem is that in the
> document produced :
>
> I can read http://www.example.com/id_content=125 But if I click on the
> link it goes to http://www.example.com/id_content=%id_content%
>
> Does anyone have the syntax on how to create links in RTF ?
There's either something wrong with your replacing code (it's not
replacing all occurrences) or RTF files encode links differently. RTF
files are text files, try opening it and searching for "id_content=" to
see how the link is formatted.
Post both here for more help...
AJ
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Navigation:
[Reply to this message]
|