[Php] Accronymes - InstinctHack - 07-02-2013
Bonjour à tous!
Je me faisait une petite page php pour mon cv, mais je me suis rendu compte que les accronymes n'étaient pas forcément connus de tous, mais qu'avec un peu d'astuce je pouvais éclairer les gens,
voilà la solution :
En haut de la page on démarre le buffer
En bas de la page on modifie son contenu avant de l'afficher
Code PHP :
foreach(file('accronymes.txt') as $key=>$value)
{
$value=explode('=',$value);
$array1[]='['.$value[0].']';
$array2[]='<abbr title="'.$value[1].'">'.$value[0].'</abbr>';
}
$output = ob_get_contents();
ob_end_clean();
ob_start();
echo str_replace(
$array1,
$array2,
$output
);
Le fichier vient d'ici http://www.zegeek.fr/acronymes_liste/ et voilà son contenu
Citation :AA=Anti-Aliasing
AAC=Advanced Audio Coding
AC97=Audio Codec 97
ACL=Access Control List
ACPI=Advanced Configuration and Power Interface
AD=Active Directory
ADO=ActiveX Data Objects
ADSL=Asymetric Digital Subscriber Line
AES=Advanced Encryption System
AFNIC=Association Française pour le Nommage Internet en Coopération
AFS=Andrew File System
AGP=Advanced Graphics Port
AIFF=Audio Interchange File Format
AIX=Advanced Interactive eXecutive
AJAX=Asynchronous JavaScript and XML
ALSA=Advanced Linux Sound Architecture
AMD=Advanced Micro Devices
ANSI=American National Standards Institute
AP=Access Point
APC=Alternative PHP Cache
API=Application Programming Interface
APM=Advanced Power Management
APT=Advanced Packaging Tool
ARM=Advanced RISC Machines
ARP=Address Resolution Protocol
ARPANET=Advanced Research Projects Agency NETwork
ART=Autorité de Régulation des Télécommunications
ASCII=American Standard Code For Information Interchange
ASF=Advanced Streaming Format
ASM=Assembleur
ASN=Abstract Syntax Notation
ASP=Active Server Pages
ATA=Advanced Technology Attachement
ATAPI=ATA with Packet Interface Extension
ATM=Asynchronous Transfer Mode
ATX=Advanced Technology Extended
AVI=Audio Video Interleave
BAL=Boîte aux Lettres
BASH=Bourne-Again SHell
BASIC=Beginner's All purpose Symbolic Instruction Code
BBS=Bulletin Board System
BDD=Base De Données
BER=Bit Error Rate
BGP=Border Gateway Protocol
BIND=Berkeley Internet Name Domain
BIOS=Basic Input Output System
BIT=Binary Digit
BMP=Bitmap
BOF=Begining Of File
BOM=Byte Order Mark
BPB=BIOS Parameter Block
BPS=Bits Par Seconde
BSD=Berkeley Software Distribution
BSOD=Blue Screen Of Death
BTX=Balanced Technology Extended
CAB=Cabinet
CAO=Conception Assistée par Ordinateur
CAPTCHA=Completely Automated Public Turing test to Tell Computers and Humans Apart
CCD=Charge Coupled Device
CCNA=Cisco Certified Network Associate
CD-R=Compact Disc Recordable
CDDL=Common Development and Distribution License
CDN=Content Delivery Network
CDP=Cisco Discovery Protocol
CeBIT=Centrum der Burö und Information Technik
CGI=Common Gateway Interface
CHS=Cylinders Heads Sectors
CIM=Common Information Model
CISC=Complex Instruction Set Computer
CLI=Command Line Interpreter
CMOS=Complementary Metal Oxide Semi-conductor
CMS=Content Management System
CNIL=Commission Nationale de l'Informatique et des Libertés
CPL=Courants Porteurs en Ligne
CPU=Central Processing Unit
CRC=Cyclic Redundancy Check
CRT=Cathode Ray Tube
CSMA/CD=Carrier Sense Multiple Access / Collision Detection
CSS=Cascading Style Sheet
CVS=Concurrent Version System
DAEMON=Disk And Execution MONitor
DAO=Dessin Assisté par Ordinateur
DAS=Direct Attached Storage
DAT=Digital Audio Tape
DDR=Double Data Rate
DDR-SDRAM=Double Data Rate SDRAM
DES=Data Encryption Standard
DFS=Distributed File System
DHCP=Dynamic Host Configuration Protocol
DIMM=Dual Inline Memory Module
DLL=Dynamic Link Library
DLT=Digital Linear Tape
DMA=Direct Memory Access
DMI=Desktop Management Interface
DMTF=Distributed Management Task Force
DMZ=Demilitarized zone
DNS=Domain Name System
DOM=Document Object Model
DOS=Disk Operating System
DPI=Dot Per Inch
DQL=Data Query Language
DRM=Digital Rights Management
DSA=Digital Signature Algorithm
DSL=Digital subscriber line
DSLAM=Digital Suscriber Line Access Multiplexor
DSP=Digital Signal Processor
DTD=Document Type Definition
DTS=Digital Theater System
DVD=Digital Versatile Disc
DVI=Digital Visual Interface
EAX=Environmental Audio Extensions
ECC=Error Correction Code
EDO=Extended Data Out
EFI=Extensible Firmware Interface
EFS=Encrypting File System
EMACS=Edititing MAcroS
EOA=End Of Adress
EOF=End Of File
EOL=End Of Line
EPP=Enhanced Parrallel Port
EPROM=Erasable Programmable Read Only Memory
EPS=Encapsulated PostScript
FAI=Fournisseur d'Accès à Internet
FAO=Fabrication Assistée par Ordinateur
FAQ=Frequently Asked Questions
FAT=File Allocation Table
FDC=Floppy Disk Controler
FDDI=Fiber Distributed Data Interface
FDX=Full DupleX
FHS=Filesystem Hierarchy Standard
FIFO=First In First Out
FILO=First In, Last Out
FPM=Fast Page Mode
FPS=Frame Per Second
FPU=Floating Point Unit
FQDN=Fully qualified domain name
FSB=Front Side Bus
FSF=Free Software Foundation
FTP=File Transfer Protocol
FTTB=Fiber To The Building
FTTD=Fiber To The Desk
FTTU=Fiber To The User
FUD=Fully UnDetectable
FXP=File eXchange Protocol
GB=Gigabyte
GCC=GNU Compiler Collection
GDM=Gnome Display Manager
GID=Group Identifier
GIF=Graphic Interchange Format
GIMP=Gnu Image Manipulation Program
GIX=Global Internet eXchange
GIX=Internet Exchange Point
GLUT=OpenGL Utility Toolkit
GNOME=GNU Network Object Model Environment
GNU=Gnu's Not Unix
GPL=General Public License
GPT=GUID Partition Table
GPU=Graphics Processing Unit
GREP=Get Regular Expression Pattern
GRUB=Grand Unified Bootloader
GTK=GIMP ToolKit
GUI=Graphical User Interface
HDCP=High-Bandwidth Digital Content Protection
HDD=Hard Disk Drive
HDMI=High Definition Multimedia Interface
HDTV=High Definition Television
HID=Human Interface Device
HTML=HyperText Markup Language
HTTP=HyperText Transmission Protocol
IAB=Internet Architecture Board
IANA=Internet Assigned Numbers Authority
ICANN=Internet Corporation for Assigned Names and Numbers
ICMP=Internet Control Message Protocol
IDE=Intergrated Drive Electronics
IEEE=Institute of Electrical and Electronics Engineers
IGRP=Interior Gateway Routing Protocol
IIS=Internet Information Services
IM=Instant Messenger
IMAP=Internet Messaging Api Protocol
IP=Internet Protocol
IPBX=Internet Protocol Branch Exchange
IPMI=Intelligent Platform Management Interface
IPSec=IP Security Protocol
IRC=Internet Relay Chat
IRQ=Interrupt Request
ISA=Industry Standard Architecture
ISDN=Integrated Services Digital Network
ISO=International Standard Organisation
ISP=Internet Service Provider
J2EE=Java 2 Enterprise Edition
J2ME=Java 2 Platform Micro Edition
J2SE=Java 2 Standard Edition
JBOD=Just a Bunch Of Disks
JDBC=Java DataBase Connectivity
JDK=Java Development Kit
JMS=Java Message Service
JMX=Java Management Extensions
JPEG=Joint Photographic Experts Group
JSP=JavaServer Pages
JVM=Java Virtual Machine
KDE=K Desktop Environment
KMS=Key Management Service
KSH=Korn SHell
KVM=Keyboard Video Mouse
LAMP=Linux Apache MySQL PHP
LAN=Local Area Network
LBA=Logical Block Addressing
LCD=Liquid Cristal Display
LDAP=Lightweight Directory Access Protocol
LED=Light-Emitting Diode
LEET=Elite
LFS=Linux From Scratch
LGPL=Lesser General Public License
LIFO=Last In First Out
LLC=Logical Link Control
LTO=Linear Tape Open
LVM=Logical Volume Manager
MAC=Media Access Control
MAK=Multiple Activation Key
MALLOC=Contraction de Memory Allocation
MAN=Metropolitan Area Network
MBP=Master Boot Program
MBR=Master Boot Record
MCD=Modèle Conceptuel de Données
MCP=Microsoft Certified Professional
MD5=Message Digest 5
MFA=Made For AdSense
MIDI=Musical Instrument Digital Interface
MIME=Multipurpose Internet Mail Extensions
MIMO=Multiple Input Multiple Output
MOPS=Méga Octet Par Seconde
MOS=Metal Oxyde Semi-conductor
MPD=Modèle Physique des Données
MPEG=Moving Pictures Experts Group
MPU=MicroProcessor Unit
MRAM=Magnetic Random Access Memory
MSI=Microsoft Software Installer
MTA=Mail Transfer Agent
MTU=Maximum Transmission Unit
MVC=Model View Controler
MX Record=Mail eXchange Record
MySQL=My Structured Query Language
NAS=Network Attached Storage
NAT=Network Address Translation
NCQ=Native Command Queuing
NCS=Network Computing System
NDIS=Network Driver Interface Specification
NFS=Network File System
NIS=Network Information Service
NIST=National Institute of Standards and Technology
NNTP=Network News Transfer Protocol
NTFS=New Technology File System
NTLM=NT Lan Manager
NTP=Network Time Protocol
NVRAM=Non Volatile Random Access Memory
OC=OverClocking
OCR=Optical Character Recognition
ODBC=Open DataBase Connectivity
OEM=Original Equipment Manufacturer
OLED=Organic Light Emitting Diode
OLSR=Optimized Link State Routing Protocol
OPML=Outline Processor Markup Language
ORBS=Open Relay Behavior-modification System
ORM=Object-Relational Mapping
OS=Operating System
OSD=On Screen Display
OSI=Open Systems Interconnection
OSPF=Open Shortest Path First
OSTG=Open Source Technology Group
OWL=Ontology Web Language
P2P=Peer To Peer
PABX=Private Automatic Branch eXchange
PAN=Personal Area Network
PAO=Publication Assistée par Ordinateur
PBX=Private Branch eXchange
PC=Personal Computer
PCB=Printed Circuit Board
PCBX=Private Computerized Branch eXchange
PCI=Peripheral Component Interconnect
PCMCIA=Personnal Computer Memory Card International Association
PCRE=Perl Compatible Regular Expression
PDA=Personal Digital Assistant
PDC=Primary Domain Controller
PDF=Portable Document Format
PDH=Plesiochronous Digital Hierarchy
PDU=Protocol Data Unit
PERL=Practical Extraction and Report Language
PGA=Programmable Gate Array
PGP=Pretty Good Privacy
PHP=Hypertext Preprocessor
PID=Process Identifier
PING=Packet INternet Groper
PIO=Programmed Input Output
PKCS=Public Key Cryptographic Standards
PNG=Portable Network Graphics
PoE=Power over Ethernet
POO=Programmation Orientée Objet
POP3=Post Office Protocol
POSIX=Portable Operating System Interface
PPM=Pages Par Minute
PPP=Pixel Par Pouce
PPPoA=Point-to-Point Protocol Over ATM
PPPoE=Point-to-Point Protocol Over Ethernet
PXE=Preboot eXecution Environment
QoS=Quality Of Service
QSXGA=Quad Super eXtended Graphics Array
QUXGA=Quad Ultra eXtended Graphics Array
QXGA=Quad eXtended Graphics Array
RAID=Redundant Array of Inexpensive Disks
RAM=Random Access Memory
RARP=Reverse Address Resolution Protocol
RFC=Request For Comments
RFID=Radio Frequency Interference IDentification
RIMM=Rambus Dynamic Random Access Memory
RIP=Routing Information Protocol
RISC=Reduced Instruction Set Computer
RJ45=Registered Jack 45
RMON=Remote MONitoring
RNIS=Réseau Numérique à Intégration de Service
ROA=Resource Oriented Architecture
ROM=Read Only Memory
ROMB=Raid On Mother Board
RSA=Rivest Shamir Adleman
RSH=Remote Shell
RSS=Rich Site Summary
RTC=Réseau Téléphonique Commuté
RTFM=Read The Fucking Manual
SAN=Storage Area Network
SATA=Serial Advanced Technology Attachment
SAX=Simple API for XML
SCP=Service Control Point
SCSI=Small Computer System Interface
SDK=Software Developement Kit
SDRAM=Synchronous Dynamic Random Access Memory
SE=Système d'Exploitation
SED=Surface-conduction Electron-emitter Display
SEO=Search Engine Optimization
SGBD=Système de Gestion de Base de Données
SGBDH=Système de Gestion de Base de Données Hiérarchique
SGBDO=Système de Gestion de Base de Données à Objets
SGBDR=Système de Gestion de Base de Données Relationnel
SGML=Standard Generalized Markup Language
SHA-1=Secure Hash Algorithm
SID=Security Identifier
SIMM=Single Inline Memory Module
SMART=Self-Monitoring Analysis and Reporting Technology
SMB=Server Message Block
SMIL=Synchronized Multimedia Integration Language
SMP=Symmetric Multiprocessing
SMTP=Simple Mail Transfer Protocol
SNMP=Simple network management protocol
SOA=Start Of Authority
SOAP=Simple Object Access Protocol
SPDIF=Sony Philips Digital Interface Format
SPNEGO=Simple and Protected GSSAPI Negotiation Mechanism
SQL=Structured Query Language
SRAM=Static Random Access Memory
SSA=Serial Storage Architecture
SSH=Secure SHell
SSL=Secure Socket Layer
STP=Shielded Twisted Pair
SUS=Software Update Services
TCP=Transmission Control Protocol
TCP/IP=Transmission Control Protocol / Internet Protocol
TDP=Thermal Design Power
TFT=Thin Film Transistor
TFTP=Trivial File Transfert Protocol
TGA=TrueVision TarGA
TIFF=Tagged Image File Format
TKIP=Temporal Key Integrity Protocol
TLD=Top Level Domain
TLDP=The Linux Documentation Project
TLS=Transport Layer Security
TPDDI=Twisted Pair Data Distribution Interface
TPDU=Transport Protocol Data Unit
TPE=Terminal de Paiement électronique
TTL=Time To Live
TTY=TéléTYpe
UA=User Agent
UART=Universal Asynchronous Receiver Transmitter
UC=Unité Centrale
UDF=Universal Disk Format
UDMA=Ultra Direct Memory Access
UDP=User Datagram Protocol
UFS=Unix File System
UI=User Interface
UID=User IDentifier
UMA=Upper Memory Area
UMB=Upper Memory Block
UML=Unified Modeling Language
UMTS=Universal Mobile Telecommunications System
UPnP=Universal Plug and Play
UPS=Uninterruptible Power Supply
URI=Universal Resource Identifier
URL=Uniform Resource Locator
USB=Universal Serial Bus
UTF=UCS Transformation Format
UTF-8=UCS Transformation Format 8 Bits
UTP=Unshielded Twisted Pair
UXGA=Ultra Extended Graphics Array
VB=Visual Basic
VBNS=Very high-speed Backbone Network Service
VDD=Virtual Device Driver
VDM=Virtual Dos Machine
VDMA=Virtual DMA
VESA=Video Electronics Standards Association
VGA=Video Graphics Array
VIVO=Video In Video Out
VLAN=Virtual Local Area Network
VLK=Volume License key
VLM=Very Large Memory
VLSM=Variable Length Subnetwork Mask
VM=Virtual Machine
VMAN=Virtualization Management Initiative
VOIP=Voice Over IP
VOXML=Voice eXtensible Markup Language
VPN=Virtual Private Network
VRAM=Video Random Access Memory
VTOA=Voice Transport Over ATM
W3C=World Wide Web Consortium
WAN=Wide Area Network
WAP=Wireless Application Protocol
WATS=Wide Area Telecommunication Service
WBEM=Web-Based Enterprise Management
WBS=Write-Back Synchrone
WBT=Windows Based Terminal
WCF=Windows Communication Foundation
WDDX=Web Distributed Data eXchange
WEP=Wired Equivalent Privacy
WGA=Windows Genuine Advantage
WHQL=Windows Hardware Quality Labs
WHSXGA=Wide Hex Super eXtended Graphics Array
WHUXGA=Wide Hex Ultra eXtended Graphics Array
Wi-Fi=Wireless Fidelity
WIMP=Windows, Icons, Menus and Pointing device
WINE=Wine Is Not an Emulator
WINS=Windows Internet Naming Service
WLAN=Wireless Local Area Network
WLL=Wireless Local Loop
WMAN=Wireless Metropolitan Area Network
WMI=Windows Management Instrumentation
WML=Wireless Markup Language
WOL=Wake On LAN
WPA=Wi-Fi Protected Access
WPS=Windows Printing System
WRAM=Windows Read-Only Memory
WSDL=Web Services Description Language
WSXGA+=Wide Super Extended Graphics Array+
WTAC=World Telecommunication Advisory Council
WTLS=Wireless Transport Layer Security
WUI=Web User Interface
WUSB=Wireless USB
WUXGA=Wide Ultra Extended Graphics Array
WVGA=Wide Video Graphics Array
WWW=World Wide Web
WXGA=Wide Extended Graphics Array
WYSIWYG=What You See Is What You Get
X11=X Window System
X3D=Extensible 3D
XAML=Xtensible Application Markup Language
XAMPP=X Apache MySQL Perl PHP
XBL=eXtensible Bindings Language ou XML Bindings Language
XCB=X C Binding
XDM=X Window Display Manager
XFCE=X Forms Cool Environment
XFS=Extended File System
XGA=eXtended Graphics Array
XHTML=eXtensible HyperText Markup Language
XML=eXtensible Markup Language
XMPP=Extensible Messaging and Presence Protocol
XSD=XML Schema Definition
XSL=eXtensible Stylesheet Language
XSLT=Extensible Stylesheet Language Transformations
XSS=Cross Site Scripting
XTP=eXpress Transport Protocol
XUL=XML-based User Interface Language
XWD=X Window Dump
YAML=YAML Ain't Markup Language
YAST=Yet Another Set up Tool
YP=Yellow Pages
ZFS=Zettabyte File System
ZIF=Zero Insertion Force
ZTA=Zone de Télécommunications Avancées
RE: [Php] Accronymes - balis - 07-02-2013
Nice dit moi une petite question quand tu démarre ton buffer au début manquerait t-il pas un p à "<?ph " par hasard ?
RE: [Php] Accronymes - InstinctHack - 08-02-2013
c'est corrigé
|