This time I’ll post some actual code. A client wanted me to write an “image slider”. You’ve probably seen lot’s of them online – and a whole lot of them is in flash – why? There is no need to involve flash in such a trivial task, and jQuery is more than up to the [...]
Tags:
coding,
free,
guide,
javascript,
jquery,
open source,
web,
web dev,
webdeveloper,
webmaster
Just a quick note while dumping a 70MB database… ;-) Let’s say i got my database backup from phpmyadmin, compressed with gz (zip’s also fine), while getting the backup,even if it’s BIG ain’t really a problem, putting it into the database can be troublesome becouse timeout’s etc, especially if it’s a BIG file ;-) My [...]
Tags:
gnu/linux,
terminal,
tip,
web dev,
webmaster
W razie jakby ktoś potrzebował wymuszać dodawanie przedsrostka www do adresu swojej strony (co może ułatwić życie użytkownikom i wyszukiwarkom, bo nie będzie jakby “kopii” jest samej strony pod innym adresem (bez www.)). Wystarczy zastosować poniższy kawałek kodu w pliku .htaccess:
RewriteEngine On
#wymuś adres z przedrostkiem www.
RewriteCond %{HTTP_HOST} ^blog.project13.pl [NC]
RewriteRule ^(.*)$ http://www.blog.project13.pl/$1 [L,R=301]
Czemu o tym piszę? [...]
Tags:
apache,
tricks,
webmaster