Recent Solutions: Aktuelle Lösungen:
- Remove slashes from multidimensional GET and POST Entfernen Sie Schrägstriche von mehrdimensionalen GET und POST
- Remove slashes from GET and POST Entfernen Sie Schrägstriche von GET und POST
- Check if today is Christmas Day Prüfen Sie, ob heute ist Weihnachten
- Simplify multiple function_exist calls into one function Function_exist vereinfachen mehrere Anrufe in ein Funktion
- How to check if headers have been sent. Wie um zu überprüfen, ob Header gesendet wurden.
Contact Kontakt
- Web: Online contact form Web: Online-Kontakt-Formular
- 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 (derzeit nicht berufstätig sind)
Search Suche
(English only) (Nur Englisch)
Danltn.com Solutions Danltn.com Solutions
Solutions Lösungen
Remove slashes from multidimensional GET and POST Entfernen Sie Schrägstriche von mehrdimensionalen GET und 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... Dies ist die gleiche wie die letzten Beitrag (siehe dass für Details.) Mit der Ausnahme, dass diese Arbeit wird für mehrdimensionale Arrays, wird man wahrscheinlich nicht brauchen es für die meisten Seiten, aber einige könnten ... So here it is. Also hier ist es.
URL: Download URL: Download
PHP Version: Any - Posted by Danltn - Sat, 12 Jul 08 PHP Version: Jeder - Geschrieben von Danltn - Sa, 12. Jul 08 ![]()
Remove slashes from GET and POST Entfernen Sie Schrägstriche von GET und 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 ". Viele Menschen klagen häufig über die Tatsache, dass ihre GET-und POST-Arrays oft Rückkehr Daten, die Backslashes Infront von Zeichen wie "und".
This is because of a "feature" (notice the quotations) called magic quotes. Dies liegt daran, dass der ein "Feature" (beachten Sie die Notierungen) namens Magic Quotes.
The download link shows a small snippet on how to remove these for none-multidimensional arrays (most aren't). Der Download-Link zeigt einen kleinen Ausschnitt auf, wie Sie diese für keines-mehrdimensionale Arrays (die meisten sind nicht).
URL: Download URL: Download
PHP Version: Any - Posted by Danltn - Fri, 11 Jul 08 PHP Version: Jeder - Geschrieben von Danltn - Fr, 11. Jul 08 ![]()
Check if today is Christmas Day Prüfen Sie, ob heute ist Weihnachten
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()) { ... Diese Funktion ist sehr einfach, aber dennoch Spaß, alle es mit einfachen Mitteln wird sagen Ihnen, ob heute (oder das Datum, an dem Sie nähere Angaben) ist Weihnachten, wenn es dann liefert (boolean) true, andernfalls liefert (boolean) falsch, eine einfache Nutzung von wäre es, wenn (is_christmas ()) (... } )
Not made for anything serious just have fun with it. Nicht für alles, was schwerwiegende nur viel Spaß mit ihm.
URL: Download URL: Download
PHP Version: 4.3+ - Posted by Danltn - Fri, 11 Jul 08 PHP-Version: 4.3 + - Geschrieben von Danltn - Fr, 11. Jul 08 ![]()