This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$dotophp/src/modules.php | |
-> vezi modulul 'auth' | |
http://paullik.github.com/dotophp/group__authFiles.html | |
-> aici nu s-a intamplat mare lucru, doar am scos pivotul | |
http://paullik.github.com/dotophp/global__functions_8php.html#aae204820fa5e6c29224ba113609d3ccc | |
-> functia care imi face treaba ai cu hooking-ul | |
http://paullik.github.com/dotophp/global__functions_8php.html#a66321c16952273d39822112cdbe762e9 | |
-> am mutat functia asta din 'recover' pt ca o sa am nevoie de ea si la 'register', pt. ca trebuie sa verific ca acel userr sa nu existe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Userul vine trallalal. | |
E autentificat din sesiunea anterioara deci va fi logat si acum. | |
Isi face treaba pe dotophp, pleaca cu logout(parte a lui authentification, asta pt ca este logat deja). | |
Revine, tralalala, vrea sa se logheze, nu mai este autentificat din sesiunea trecuta | |
Deci authentification il va trimite pe login(pt ca nu este deja logat), isi face treaba, bla, bla, sta, pleaca(fara logout, vezi linia 1) | |
Cu alte cuvinte: | |
Pe auth se intampla totul, acolo se cere(require) content_log*.php si log*.php, in functie de un parametru GET, probabil "state". | |
Acest parametru GET va fi setat in alte parti ale aplicatiei unde vor fi prezente link-uri de genul: index.php?show=auth&state=$state |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[paullik@localhost ~]$ php -c /etc/php/php.ini -r 'echo get_include_path()."\n";' | |
.:/usr/share/pear:/home/paullik/pear/share/pear |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//$a = mail('[email protected]', 'Meeting', 'Mesg body', 'From: [email protected]\r\n'); | |
//$a = mail('[email protected]', 'Meeting', 'Mesg body', 'From: [email protected]'); | |
$a = mail('[email protected]', 'Meeting', 'Mesg body'); | |
var_dump($a); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:36:06 paullik | flavius, cand ai timp: global_functions.php, captcha/*, activate/*, recover/*, mersi | |
paullik | flavius, poti folosi: http://paullik.github.com/dotophp/index.html daca vrei, vezi files si apoi ce ti-am zis mai sus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Datorita abundetei de bancuri cu Bula, Institutul de Etnografie si Folclor a demarat o cercetare pentru aflarea originii lui Bula. Rezultatul a fost: | |
- Stra-strabunicul sau se numea Bulebista, originar din orasul Bulidava, iar pe mama sa o chema Zdamasi - deoarece “PI” (litera greceasca) a fost descoperita de greci mult mai tarziu. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2011-09-02 23:32:05 hisk paullik o sa fie vreodata vreun tutore liber sa-mi verifice si mie exercitiile ? astept de 3 zile nu alta | |
2011-09-02 23:32:42 hisk inteleg ca nu am prioritate dar totusi, un raspuns gen "tu la sfarsit" | |
2011-09-02 23:33:22 g2bytzzu asa astept si eu | |
2011-09-02 23:33:29 paullik hisk, e timpul nostru liber... | |
2011-09-02 23:33:34 paullik sincer e si tarziu | |
2011-09-02 23:33:38 paullik hia ca ma uit eu | |
2011-09-02 23:33:47 paullik incepem cu hisk | |
2011-09-02 23:33:53 paullik hisk, numele exercitiului | |
2011-09-02 23:34:05 hisk What Is My Ip Address | |
2011-09-02 23:34:26 hisk si HTTP e Stateless |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:44:41 paullik | o intrebare: am cateva campuri TINYINT in DB, scopul lor e sa inlocuiasca lipsa tipului BOOL din MySQL, intr-o functie │ | |
| care ar "vrea" sa introduca date in aceste campuri, e mai bine sa pasez direct INT(1/0) sau sa pasez T/F si fac eu │ | |
| conversia? │ | |
20:44:45 paullik | m-am gandit in 2 moduri │ | |
20:45:48 paullik | 1. pasez direct int(1/0), dar scade lizibilitatea functiei si trebuie sa verific ca parametrul sa fie DOAR 1 sau 0, │ | |
| deci am lizibility--, process: one if condition │ | |
20:46:51 paullik | 2. pasez TRUE/FALSE, in cazul asta creste lizibilitatea, dar trebuie sa fac conversie spre int, T->1, F->0, deci: │ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2011-08-27 17:47:43 paullik flavius, cand ai timp sa-mi dai problema aia si sa te uiti pe: https://github.com/paullik/dotophp/blob/master/docs/demo-queries.sql apoi sa-mi zici daca mai trebuie sa inventez query-uri sau daca trec la pasul urmator | |
2011-08-27 17:49:07 paullik pasul urmator fiind: 'dir structure(on the fly) si write function signatures with docblocks) | |
2011-08-27 17:49:57 paullik daca trec la pasul urmator am o intrebare: cum aduc yaCMS-ul in dotophp, ca submodul e exclus cred, poate cu copy / paste :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aaabbb |