Re: php scripts in html files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2025-03-21 at 10:05 -0400, bruce wrote:
> 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.

SSI allows something to be generated externally (by the server, rather
than in your browser) and the results inserted into the page.

Apache has a number of built-in features, such as letting you insert a
filedate (e.g. this page was last updated on...), and it can insert the
results from external code (and as far as I'm aware, it's whatever
languages you can run on the computer).

PHP is similar in concept, perhaps with an advantage that what you
learn to code in PHP on one computer system should be directly workable
on another computer system (with a compatible version of PHP).

I could code a BASH script on Linux to do a function, or compile a
Linux executable, etc.  But if I then had to move onto a Windows host,
I'd probably have to write new code.

The disadvantages of various languages for web pages is that people
often don't write their own code, but grab things other people wrote,
and often don't vet their suitability or security.  That applies
whether its PHP, Perl, JavaScript, or anything else.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 

-- 
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux