Archive

Archive for December, 2009

UTF-8 and apache – mysql – php

December 16th, 2009 karlosp No comments

Settings a LAMP server to work in full unicode UTF-8 :

httpd.conf:

CODE:
  1. AddCharset UTF-8 .utf8
  2. AddDefaultCharset UTF-8

php.ini

CODE:
  1. default_charset = "utf-8"

my.cnf

CODE:
  1. character-set-server=utf8 default-collation=utf8_unicode_ci

In all your PHP scripts :

CODE:
  1. mysql_query("SET NAMES 'utf8';",$con);

Importing database :

CODE:
  1. mysql -h host -u username -p password --default_character_set utf8 database <file.sql

Dont forget to add UTF-8 in the head of all your HTML files :

CODE:
  1. <meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot;/>

Categories: php_mysql Tags:

Word 2007: How to insert page numbers in word starting from page 3?

December 16th, 2009 karlosp 2 comments

In Word 2007:

1. Click at the top of the first page you want numbered.

2. Click the Page Layout tab on the Ribbon.

3. Click the Breaks icon in the Page Setup group.

4. Insert a Next Page type section break.

5. Click on the Insert tab on the Ribbon.

6. Click the Header icon and select Edit Header.

7. Deselect Link To Previous in the Design tab that appeared on the Ribbon.

8. Go back to the Insert tab and repeat Steps 5 to 7 for the Footer.

9. If there&apos;s a page number in the header or footer for the first section, delete it.

10. Go into the second section.

11. On the Design tab again, click the Page Number icon

12. Click Format Page Numbers.

13. If you want the first section’s page numbers to count but not show, click Continuous.

14. Or, if you want the page numbering to start at one, click Start At. A 1 should show up in the list box adjacent to it.

15. Click OK.

16. Click OK to actually insert the page number.

via How to insert page numbers in word starting from page 3? - Yahoo! Answers.

Categories: word 2007 Tags:

How can I automatically update cross-references in word 2007

December 14th, 2009 karlosp No comments

Select the whole document (Ctrl-A) and update the Fields (F9).

Categories: Malo mešano Tags:

IEEE sklicevanje v Wordu

December 14th, 2009 karlosp No comments

IEEE.XLS  copy/paste to C:\Program Files\Microsoft Office\Office12\Bibliography\Style

Categories: Malo mešano Tags:
101910 pages viewed, 156 today
53342 visits, 92 today
FireStats icon Powered by FireStats