Re: Question about hiding/encoding glade XML
| From: | bob majdak jr | Date: | Thu, 28 Jun 2007 12:51:57 +0000 |
| Subject: | Re: Question about hiding/encoding glade XML | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7955@lists.php.net to get a copy of this message | ||
Not that this is a solution to your problem, in fact it might be seen as trolling, but, I still believe if you are unable to cope with the idea of open source then maybe you should not be using an interpreted programming language.
But yeah, the heredoc should work...
- bob.
Christian Weiske wrote:
Adam,I have the source code encoding covered. Just unsure about the gladeXML routine. Is there a way to embed the glade code into an regular include file which can be encoded and then sent to gladeXML function??Yes. $xml = <<<EOT //my xml EOT; and load this now into glade from memory.