List Info

Thread: PHP code in a blog post?




PHP code in a blog post?
user name
2006-05-04 16:40:10
Here's a sort of odd request:

Is there any way to post a blog message, using the
blogger.com post
editor, that contains a <?php ?> code fragment?  When
I tried this, all
the <> characters get html-ent-ified
(&lt;&gt;) and php never saw my
code.

I'm hosting my blog on my own domain, and there are some
info posts I
would like to make using php to access data on my domain.

Any ideas?  Or is this intrinsically unsafe behaviour that
blogger.com
bends over backwards to prevent?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "bloggerDev" group.
To post to this group, send email to bloggerDevgooglegroups.com
To unsubscribe from this group, send email to
bloggerDev-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/bloggerDev
-~----------~----~----~----~------~----~------~--~---

PHP code in a blog post?
user name
2006-05-09 23:33:58
Hi there,

The Blogger Help group would be a better place to ask about this:

http://groups.google.com/group/blogger-help

However, your best bet is to use the Post Editor's HTML mode, and be sure to escape your < and >'s:

http://help.blogger.com/bin/answer.py?answer=922

Cheers,
-E



On 5/4/06, gmail.com">bernalkcgmail.com <gmail.com">bernalkcgmail.com> wrote:

Here's a sort of odd request:

Is there any way to post a blog message, using the blogger.com post
editor, that contains a <?php ?> code fragment?&nbsp; When I tried this, all
the <> characters get html-ent-ified (&lt;&amp;gt;) and php never saw my
code.

I'm hosting my blog on my own domain, and there are some info posts I
would like to make using php to access data on my domain.

Any ideas?&nbsp; Or is this intrinsically unsafe behaviour that blogger.com
bends over backwards to prevent?






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "bloggerDev"; group.
To post to this group, send email to bloggerDevgooglegroups.com
To unsubscribe from this group, send email to bloggerDev-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/bloggerDev
-~----------~----~----~----~------~----~------~--~---

PHP code in a blog post?
user name
2006-05-10 07:40:32
Thanks.  Sounds promising...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "bloggerDev" group.
To post to this group, send email to bloggerDevgooglegroups.com
To unsubscribe from this group, send email to
bloggerDev-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/bloggerDev
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )