Skip navigation.

Lolek blog

Everything and nothing...

Posts tagged with "php"

[ajax] xajax framework little help function with php reflection mechanizm

, , , ...

Ok,
I found several minutes, so let's begin.
First of all, you should know what is xajax. You should know also, the basics of PHP OOP and it's reflection mechanizm.
Then you should have some knowledge how ajax is working. After that you can read below text.

Read more...

[php] very fast how to connect eclipse with phpdocumentor tutorial

, , , ...

hi there,
it will vbe very fast entry cause i don't have much time right now...
i just connected phpdocumentor with eclipse i tried to use few tutorials/how tos but i need to make it in different way, ok so let's go.
Assume you have php installed, so:
pear upgrade PhpDocumentor [go grab some coffe]
after installing, open eclipse, then:
Run->External Tools->Open External Tools Dialog
then, click on "new"
on the "Main" tab:
pick up some name for example 'phpDocumentor'
in the location, browse to phpdoc.bat (under windows, sorry will try to make tutorial also for linux)
in the working dir, put there path to some empty dir for phpdocumentor for work :wink:
then, in the arguments put these:
-d "${project_loc}" -t "C:\your_path_to_doc_dir\${project_name}" -o HTML:Smarty:default

on the "Common" tab:
in the "Display in favourites menu " group box, check the "External tools"
you can also change encoding to UTF-8 (preferable)...
click on "Apply",
and you've got it... that's alll
if you want to make a documentation, just select the project in the PHP Explorer, then click the:
Run->External Tools ->phpDocumentor (i assume that you name the command like that)

and voila, after severall seconds (depends on your machine) you'll have the documentation in the:
"C:\your_path_to_doc_dir\${project_name}"


that's all

p.s.
soon or not...'ll try to add some screens.. :wink:

moj pierwszy sklep

, , , ...

Hurraa, no i stalo sie w koncu napisalem swoj wlasny sklep internetowy.. jest to jego pierwsza wersja.. mozna uznac nawet ze to nie wersja alpha.. sporo mu jeszcze brakuje ale juz dziala.. kupowac mozna...
z ciekawostek .. sklep podparlem ajax'em jak to miewam w zwyczaju.. do tego jak wiadomo... trzeba sie zatoszczyc o googla ktory poki co ajax'a nie trawi.. wobec czego.. wersja dla osob pozbawionych js'a takze dziala...
niestety zakupy mozna juz robic tylko i wylacznie przy wlaczonym jsie...
gdyby ktos chcial zobaczyc to zapraszam na:
spulboy.pl


translate:

Yeah, finally i made my first e-shop. It's first version, I can't event say that it's alpha version, but... it's already working, and you can do some shopping..
Of course there is something special, i used ajax technology, and also get it working with google crawler.
Version for users that have javascript disabled, can also visit this shop, but they can't buy anything..sorry, cause almost 98% of people (w3schools data) are using javascript

here is the link to the shop:
spulboy.pl*

*at the right top of the page, there is a link to change the default language to english

[pl] problemy z serwerami

, , , ...

Hmm, i po raz kolejny problemy z serwerami...
Jako, ze w "wolnych chwilach" zajmuje sie zabawa ze stronkami, coraz to czesciej napotykam na rozne problemy przeroznych hostingow... postanowilem zebrac to do kupy, by uniknac niepotrzebych klopotow i rozczarowan innych, mam nadzieje ze CI ktorzy z tego skorzystaja, docenia moja prace. Dodam tylko ze na poczatku liczba serwerkow bedzie mala, glownie te z ktorych korzystam, z biegiem czasu jesli cos wyniknie nowego, postaram sie dorzucac info, jesli ktos zna jakis serwerek, ktory ma nietypowe ustawienia, niech napisze info w komenatrzach a w "wolnej chwili" zaktualizuje wpis :smile:

Read more...

[php] images layers class

, , , ...

Hi there, it's been awhile since my last post,
so here i back for a moment with new php class.. i know it's not big thing, it's also nothing special, but i want share it with anyone and hope it will someday help people... :wink:
below is the class, so, use it wiselly, it's the alpha version.
Of course, code is simple and there is no need to explain anything.. please just leave the header (i.e. who made it)...

Read more...

[php] php to js

,

here is my little script to use php variables inside js, i wrote it for my friend, and i thought it would be good to share it with anyone... so here it is, the code is pretty simple so there is no need to explain anything

Read more...

[PHP] removing variable from url, OOP

, ,

hi there, i found some function on one user's blog here in my.opera,
well script was nice, but i like oop way.. :wink: so here it is in oop :wink:

Read more...

php developing cms system part no. 1

, , ,

Hi all, it's me, yea back into english, well today i decided to finally develop the cms system, started few days earlier and hope that i'll finish it in the next month ;d

Read more...

php factory pattern

, ,

oki doki, wiem wiem znowu po polsku, ale mysle ze tak bedzie dla niektorych lepiej, no to jedziemy

Read more...

day first ended...

,

yeah... as i thoutgh... didn't found time to get some pthoto to put into the top layer ... ;/
maybe tomorrow will find something..
firstly i want to write an article about one problem in php.. :wink: but will not tell anything more