Common Gateway Interface: diferència entre les revisions

Contingut suprimit Contingut afegit
Robot estandarditza i catalanitza referències, catalanitza dates i fa altres canvis menors
Línia 1:
[[Fitxer:CGI common gateway interface.png|miniatura|318x318px|Fig.1 Esquema de blocs del CGI]]
'''Common Gateway Interface''', CGI (en anglès interfície de porta comú) és un [[Protocol de transferència d'hipertext|protocol]] estàndard per als [[Servidor web|servidors web]] que permet executar programes com si fossin aplicacions de consola (també coneguts com a [[línia d'ordres]]) que s'executen al servidor tot generant [[Pàgina web dinàmica|pàgines web de manera dinàmica]]. Aquests programes es coneixen com a [[Llenguatge script|scripts]] CGI o CGIs. ls CGI s'executen quan hi ha la connexió web i generen codi [[Hyper Text Markup Language|HTML]]. <ref>{{Ref-publicació|cognom=|nom=|article=What is common gateway interface (CGI)? - Definition from WhatIs.com|publicació=SearchMicroservices|llengua=Anglèsanglès|url=http://searchmicroservices.techtarget.com/definition/common-gateway-interface-CGI|data=28/05/2017|pàgines=}}</ref> <ref>{{Ref-web|url=https://www.w3.org/CGI/|títol=CGI - Common Gateway Interface|consulta=2017-05-27|llengua=Anglèsanglès|editor=https://www.w3.org|data=}}</ref> <ref>{{Ref-publicació|cognom=|nom=|article=What 'CGI' Is and How to Use It|publicació=ThoughtCo|url=https://www.thoughtco.com/common-gateway-interface-3466708|data=28/05/2017|pàgines=}}</ref>
 
== Història ==
* El 1993, l'organització [[National Center for Supercomputing Applications|NCSA]] escriu l'especificació d'executables en línia de comandes.
* El 1997, Ken Coar acaba de definir més formalment i es crea la recomanació [[rfc:3875|RFC 3875]], la qual especifica la verció 1.1 del CGI. Els scripts CGI són escrits en llenguatge C. <ref>{{Ref-web|url=https://www.w3.org/CGI/|títol=CGI - Common Gateway Interface|consulta=2017-05-27|llengua=Anglèsanglès|editor=https://www.w3.org|data=}}</ref>
 
== Ús del CGI ==