Thursday, 16 April 2009
Wednesday, 1 April 2009
Replace string
If you want to replace F: with D: in column called 'filepath'
filepath
F:/Windows/User
F:/Windows/Admin
F:/Windows/Guest
------------------------------------------------------------------------
UPDATE `files` SET `filepath` = Replace( `filepath`, 'F:', 'D:' )
------------------------------------------------------------------------
filepath
F:/Windows/User
F:/Windows/Admin
F:/Windows/Guest
------------------------------------------------------------------------
UPDATE `files` SET `filepath` = Replace( `filepath`, 'F:', 'D:' )
------------------------------------------------------------------------
Labels:
MySQL
Relates pages block in Drupal 6
Using View 2 and Drupal 6 to create a related pages block. Click
Labels:
Drupal
Increase PHP memory limit
More Information: http://drupal.org/node/207036
Check current memory limit
==========================
Look 'memory_limit' in phpinfo();
Change memory limit of php.ini
==============================
1. Go to C:\apps\php
2. memory_limit = 1024M ; Maximum amount of memory a script may consume (1024MB)
[in Resource Limits]
Restart IIS
============
1. Go to Run -> inetmgr
2. Right click on local computer and click 'All Tasks' >> 'Restart IIS'
Check current memory limit
==========================
Look 'memory_limit' in phpinfo();
Change memory limit of php.ini
==============================
1. Go to C:\apps\php
2. memory_limit = 1024M ; Maximum amount of memory a script may consume (1024MB)
[in Resource Limits]
Restart IIS
============
1. Go to Run -> inetmgr
2. Right click on local computer and click 'All Tasks' >> 'Restart IIS'
Labels:
PHP
Theme Generator
I haven't tried it yet. But, looks great! Unfortunately, it's NOT FREE!
http://www.artisteer.com/?p=demo
http://www.artisteer.com/?p=demo

Labels:
Theme
Subscribe to:
Posts (Atom)