|
Posted by Jerry Stuckle on 11/26/07 17:28
Obiku wrote:
> Jerry Stuckle schreef:
>> richard wrote:
>>> On Sun, 25 Nov 2007 14:29:13 -0800 (PST), NC wrote:
>>>
>>>> On Nov 25, 2:00 pm, eswa <e...@email.it> wrote:
>>>>> How can I write a php code that when it is include in a html page it
>>>>> create a menu link automatically, reading from a main folder its
>>>>> subfolder and html files?
>>>> You can't include PHP code into an HTML page.
>>>>
>>>> Cheers,
>>>> NC
>>>
>>> No? suggest you read up on php. PHP is somewhat like javascript in
>>> that it
>>> is incorporated into the html coding, except that you, the user, is not
>>> aware that it is there.
>>>
>>
>> Sorry, I agree with NC. You can't include php code in html pages,
>> unless you really screw up your configuration. You should include php
>> code in phyp files.
>>
> If you put your php script between <script> tags, it can be in you html
>
The PHP parser won't parse them unless Apache tells it to.
Please show exactly how to configure Apache to perform this (without
parsing all .html files as PHP, that is).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|