You are here: Re: How to create a dynamic link in a RTF document « PHP Programming Language « IT news, forums, messages
Re: How to create a dynamic link in a RTF document

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация