logo SnippetVamp

php 141css 88fonctions 82astuce 77javascript 70html 56fichiers 35jquery 31securite 19texte 17bootstrap 14parser 14debug 12graphisme 11python 11responsive 8pluXML 7bash 6PHP 6crossbrowser 4vanilla 4ajax 3mail 3markdown 3mobile 3regex 3apache 2auto_ 2browser 2conversion 2error 2evenements 2excel 2form 2ips 2lib 2linux 2SQL 2vba 2cinema 1compteur 1dothtaccess 1effets 1erreurs 1fallback 1filter 1images 1pluxml 1social 1SQLite 1xml 1
SnippetVamp 3.1b - 2025 - GNU GPL - FAQ
#key - Récupérer le code source d'une page en numérotant les lignes
// display source code
$lines = file('http://google.com/');
foreach ($lines as $line_num => $line) { 
	// loop thru each line and prepend line numbers
	echo "Line #{$line_num} : " . htmlspecialchars($line) . "
n"; }
php texte debug
http://perishablepress.com/code-snippets/#code-snippets_php
public - 16/04/2013 - Add to pack - texte seul - permalink