Recent Solutions: Recenti Soluzioni:
- Remove slashes from multidimensional GET and POST Rimuovere barre da multidimensionale GET e POST
- Remove slashes from GET and POST Rimuovere barre da GET e POST
- Check if today is Christmas Day Controlla se oggi è il giorno di Natale
- Simplify multiple function_exist calls into one function Semplificare le chiamate multiple function_exist in una funzione
- How to check if headers have been sent. Come per verificare se le intestazioni sono stati inviati.
Contact Contatto
- Web: Online contact form Web: modulo di contatto online
- Email: daniel [at] neville [dot] tk E-Mail: Daniel [at] Neville [dot] tk
- MSN: msn@danltn.com MSN: msn@danltn.com
- Skype: Danltn (currently not working) Skype: Danltn (attualmente non funziona)
Search Ricerca
(English only) (Solo in inglese)
Danltn.com Solutions Danltn.com Soluzioni
Solutions Soluzioni
Remove slashes from multidimensional GET and POST Rimuovere barre da multidimensionale GET e POST
This is the same as the last post (see that for details.) With the exception that this will work for multidimensional arrays, you probably won't need it for most sites, but some might... Questo è lo stesso come l'ultimo post (cfr. che per i dettagli.) Con l'eccezione che questo lavoro per gli array multidimensionali, probabilmente non ne ha bisogno per la maggior parte dei siti, ma alcuni potrebbero ... So here it is. Così qui è.
URL: Download URL: Scarica
PHP Version: Any - Posted by Danltn - Sat, 12 Jul 08 PHP Versione: Qualsiasi - Inviato da Danltn - sab, 12 luglio 08 ![]()
Remove slashes from GET and POST Rimuovere barre da GET e POST
A lot of people often complain about the fact that their GET and POST arrays often return data which has backslashes infront of characters such as ' and ". Un sacco di persone spesso si lamentano del fatto che la loro GET e POST, spesso ritorno array di dati che ha backslash Infront di caratteri come 'e ".
This is because of a "feature" (notice the quotations) called magic quotes. Questo è a causa di una "caratteristica" (bando di gara le quotazioni) ha chiesto magia virgolette.
The download link shows a small snippet on how to remove these for none-multidimensional arrays (most aren't). Il link di download mostra un piccolo frammento di codice su come rimuovere questi per nessuno-array multidimensionali (la maggior parte non sono).
URL: Download URL: Scarica
PHP Version: Any - Posted by Danltn - Fri, 11 Jul 08 PHP Versione: Qualsiasi - Inviato da Danltn - ven, 11 luglio 08 ![]()
Check if today is Christmas Day Controlla se oggi è il giorno di Natale
This function is extremely simple but fun nonetheless, all it does in simple terms is tell you whether today (or the date you specified) is Christmas day, if it is then it returns (boolean) true, otherwise it returns (boolean) false, a simple usage of it would be if(is_christmas()) { ... Questa funzione è estremamente semplice ma divertente, tuttavia, tutto ciò che fa, in termini semplici, è dirvi se oggi (o la data in cui è specificato) è il giorno di Natale, se è poi ritorna (booleano) vero, altrimenti si ritorna (booleano) false, un semplice utilizzo del sarebbe se (is_christmas ()) (... } )
Not made for anything serious just have fun with it. Non per nulla grave solo divertirsi con essa.
URL: Download URL: Scarica
PHP Version: 4.3+ - Posted by Danltn - Fri, 11 Jul 08 PHP Version: 4.3 + - Inviato da Danltn - ven, 11 luglio 08 ![]()
- « previous «Precedente
- 1 1
- 2 2
- ... 7 ... 7
- next » successiva »