Hi.
Server Side Scripting.. on my todo to research further.. I seem to recall the basic tech was to have "stuff" inserted in the html for execution on/by the server process..
Am I off base in recalling.
At the same time, what does the implementation of SSI/HTML do that can't be easily handled by a php/html combination.
I've got a feeling others have a curiosity as well.
thanks
On Fri, Mar 21, 2025 at 9:51 AM Mike Wright <nobody@xxxxxxxxxxxxxxxxxxxx> wrote:
On 3/20/25 23:36, Tim via users wrote:
> On Thu, 2025-03-20 at 18:02 +0100, François Patte wrote:
>> I can't get working a php script in an html file: the same file:
>>
>> <!DOCTYPE html>
>> <html lang="fr_FR">
>>
>> <head>
>> <meta charset="utf-8" />
>> </head>
>>
>> <body>
>> <h1><?php echo 'toto' ;?></h1>
>>
>> </body>
>>
>> </html>
>>
>> returns "toto" in toto.php and nothing in toto.html
>
> I'm not sure that's a wise idea. Now the server would have to parse
> every .html file looking for PHP, rather than just the .php files.
>
+1 Very good point!
> Though I do something similar for server side includes, any page with a
> .shtml suffix, or any .html page with the X bit set is parsed. But not
> every .html file is parsed, because it doesn't need it.
>
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue