Reply to Re: php within dhtml, is that possible?

Your name:

Reply:


Posted by Jacques Jamain on 05/16/06 00:48

hi,
14 May 2006 15:20:21 -0700
comp.lang.php
-- "william.clarke@gmail.com" <william.clarke@gmail.com> écrivait (wrote):
>What file extension does your primary page have? If your web server
>isn't setup to parse .html files for php code, the code will pass
>through to the client browser without any interpretation. So if on the
>client-side you are seeing "<?php include('fspecs') ?>" when you view
>the page source, then I suspect you need to modify your web server's
>config to parse html files for php code.
>
I can't do anything to the config of my isp server but on my test
machine, which is an apache server (all in one, client and server on
the same machine), the server is well configured to parse php
code (addtype, addoutputfilter, includes...). The problem is that if the
dhtml echoed by php contains php directives (<?php include('fspecs') ?>)
these directives are not parsed again by php... Anyway I think it's
not possible and I changed my design (if any d;-) and have set the db
ouput for JS in a file from a separate run and all the includes are made
from a static html file.
Thanks for your help.
--
jj - Lundi 15 Mai 2006 --- 22:48:17

[Back to original 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

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