Welcome To Snipplr


Everyone's Recent Snippets Tagged c



php list all files of a given directory
0 3778 posted 6 years ago by martinbrait
php selection list of french departments
0 4088 posted 6 years ago by martinbrait
php list files and directories beginning with .... 1 paramètre d'entrée
0 2009 posted 6 years ago by martinbrait
How to populate an array with recordset data
0 3816 posted 6 years ago by martinbrait
Le code suivant vous permet de copier un fichier (par exemple un document Word ou un PDF) dans une archive existante. Cela implique que le fichier original sera ajouté à l'archive mais restera également dans sa forme originale (non-compressée) à l'en...
0 3579 posted 6 years ago by martinbrait
Il suffit d'indiquer le nom du fichier à archiver et le nom de l'archive. Par défaut, si l'archive mentionné existe déjà, la macro va l'effacer avant de le recréer. Archive / compress a file with VBA
0 3781 posted 6 years ago by martinbrait
Comment lister tous les fichiers d'un répertoire dans un fichier excel ? Excel (VBA) list all filenames in a directory mastipro
0 4457 posted 6 years ago by martinbrait
Useful for debugging
0 3637 posted 6 years ago by wayneweicheng
Debugging in Controller and Fluid Template
0 3796 posted 6 years ago by xtine777
In typo3conf/ext/extensionname/Configuration/TCA/Overrides/tt_content.php oder in ext_tables.php
0 3792 posted 6 years ago by xtine777
Bei der Entwicklung einer eigenen Extension muss folgendes bedacht werden: ab TYPO3 Version 7 überschreibt die Deklaration von plugin.tx_extensionname.persistence.storagePid den Wert im Feld "Datensatzsammlung". Dazu muss nicht einmal ein Wert für st...
0 4020 posted 6 years ago by xtine777
Underconstruction redirect
0 3700 posted 6 years ago by cerxx
Typoscript for multilevel vertical menu, expanding when clicked
0 3708 posted 6 years ago by xtine777
Show meaningful error messages in frontend
0 3753 posted 6 years ago by xtine777
rightColumn = COA rightColumn.2 < styles.content.get rightColumn.2.select.where = colPos=2 rightColumn.2.slide = -1
0 4052 posted 6 years ago by xtine777
Going through the templates and removing really isn’t an ideal solution here. Luckily there is a single function you can add to your child theme’s functions.php file that will disable this.
0 4286 posted 6 years ago by cerxx
JSON-LD is one of the micromarking schemes. If you use the SEO plugin Yoast SEO on your website, then it defaults to a JSON-LD scheme for the entire website that cannot be changed. In order for the site owner to be able to use any other microdata, th...
0 4875 posted 6 years ago by cerxx
By default, WordPress adds the? Ver = [version] parameter to the end of the address of all connected CSS and JavaScript files. The use of versioning adds a convenient mechanism for monitoring the state of the browser’s cache. After modifying the file...
0 4186 posted 7 years ago by cerxx
There is a domain: domain.ru There are subdomains subdomain.domain.ru and forum.domain.ru domain.ru is configured as a host and is located in the folder ... / www / domain / Subdomains are aliases of the main domain - i.e. lead to the same folder...
0 3653 posted 7 years ago by cerxx
If you have been able to check your site by means of the PageSpeed ??Insights service, you may notice that it is not an easy task to recruit even 80% of the test results. Only by completing most of the recommendations of Google, you can hope for an i...
0 4001 posted 7 years ago by cerxx
Debugger analog for PHP: debugger console_log ().
0 4021 posted 7 years ago by cerxx
In certain cases, it is useful to display additional information in a journal that does not report an error, but simply helps in writing your own code. For this PHP provides the function error_log (). This function does not provide formatting, so yo...
0 3914 posted 7 years ago by cerxx
Before moving on to the site migration, make sure that the new domain is parked for hosting. To do this simply: go to your new domain and if a message appears that the site has not been launched yet, then everything is fine. If nothing will open at a...
0 3595 posted 7 years ago by cerxx
Allow you to change the admin notification email to the same level of detail as the customer receives.
0 1833 posted 7 years ago by cerxx
Allow you to change the admin notification email to the same level of detail as the customer receives.
0 1996 posted 7 years ago by cerxx
Code to upload a file in PHP
0 4262 posted 7 years ago by devquora
As HTTP is state protocol.To maintain states on server and share data across multiple pages PHP session are used.PHP sessions are simple way to store data for individual users/client against a unique session ID.Session IDs are normally sent to the br...
0 4010 posted 7 years ago by devquora
This commands are useful in creating a username in mysql and it can be used to access the mysql globally with this username.
0 3564 posted 7 years ago by surentharp
RFC 5322 compliant regex
1 3695 posted 7 years ago by cyrilfr
This code will demonstrate how to implement the email validation for form submission by using php. You can obtain a free account at https://www.mailboxvalidator.com/pay/9
0 2677 posted 7 years ago by Hexasoft