hotdiggity


Member since 08/29/2008

Mostly harmless.

7 snippets

3455 profile views

0 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet

hotdiggity's Recent PHP Snippets



« Prev 1 Next »
Set up a basic template: <html> <head> <title>[[++site_name]] - [[*pagetitle]]</title> <base> <meta>​ </head> <body> [[*content]] </body> </html> Content: <div> <h4>The ACME web site is currently under development</h4> <p>Please...
0 468 posted 12 years ago by hotdiggity
Writes to a text file, test.txt, instead of email for the purposes of testing.
0 567 posted 12 years ago by hotdiggity
PHP 4.1
0 522 posted 12 years ago by hotdiggity
Lastly, in order to make magento connect to work correctly edit the pear.ini (downloader/pearlib/pear.ini) and update al the paths that you see in this file. Otherwise magentoconnect will try to upgrade your old site when you use it. (the files do...
0 532 posted 12 years ago by hotdiggity
Say you don’t want to reset ALL your orders, maybe you want to PRUNE a production database. if that’s the case, this php file (added to a crontab, or ran from your magento root directory) will DELETE all cancelled orders (5000 limit per instance)...
0 518 posted 13 years ago by hotdiggity
1 527 posted 13 years ago by hotdiggity
Create a new module using this code:
0 535 posted 14 years ago by hotdiggity
« Prev 1 Next »