PHP un MySQL

Moderator: pamela

Locked
MZM

PHP un MySQL

Post by MZM » 16:26 Tuesday 30 Sep 2003

Vai juus par register globals = off esat dzirdeejushi? Ja ne, tad peedeejais laiks...

Linuxaa register_globals = off jau defaultajaa instalaacijaa, lai lameri nevar shaadus saitus taisiit.

zenofex
Posts: 8
Joined: 12:29 Sunday 28 Sep 2003

Post by zenofex » 20:51 Tuesday 30 Sep 2003

Ei, pirms saac savu gudriibu izraadiit varbuut saakumaa paarliecinies vai TIESHAAM php.ini failaa ir register_globals=on. Un par to is_int().... varbuut kaadu linku uzmet kur paraadiits uzskataami, kaapeec katrs integers ir jaapaarbauda, vai tas tieshaam ir integers nevis tur boolean vai string.

MZM

Post by MZM » 11:13 Wednesday 1 Oct 2003

Tu, BSD gudriniek. Es par to register globals uzzinaaju peec taa, ka tev iebarojot urlii glupiibas (piem. 2 vietaa "2 and 3") sajemu atpakalj MySQL pazinojumu par kljuudu kverijaa. tev urlji veidojas kaa variable=integer un tad sho integer tad arii vajag paarbaudiit pirms barot iekshaa citaam funkcijaam. isint() ir visvieglaakais veids kaa paarliecinaaties, vai es tur caur urli nebaroju glupiibas serverim.
vot taa.

BSD usojot nav daudz jaalasa, jo nav ko... :P

Jurz
Posts: 522
Joined: 14:28 Saturday 20 Sep 2003
Contact:

Post by Jurz » 11:18 Wednesday 1 Oct 2003

nu jau šodien vajadzētu būt bišku labāk - pamēģini tik tagad palauzt :o

MZM

Post by MZM » 11:26 Wednesday 1 Oct 2003

Slinkums kaartiigi testeet, bet vismaz vairs nemana, ka viss pa taisno tiktu gaazts ieksh MySQLa. Tas ir labi. Ja BSDshnjiki iemaaciisies veel RTFM, tad buus pavisam labi ;)

Vells
Posts: 589
Joined: 11:26 Monday 22 Sep 2003
Contact:

Post by Vells » 16:42 Thursday 23 Oct 2003

mjaa ar saiisinaajumiem pie skaidriibas netiksim nekad :)

Driv3r
Posts: 293
Joined: 11:31 Monday 22 Sep 2003
Contact:

Post by Driv3r » 17:22 Thursday 23 Oct 2003

ar kuriem saiisinaajumiem ?? :twisted:

Vells
Posts: 589
Joined: 11:26 Monday 22 Sep 2003
Contact:

Post by Vells » 17:39 Thursday 23 Oct 2003

MZM postaa shaads "RTFM"
un smejas veel fuj :)

Driv3r
Posts: 293
Joined: 11:31 Monday 22 Sep 2003
Contact:

Post by Driv3r » 18:07 Thursday 23 Oct 2003

RTFM - Read The Fucking Manual :twisted:

Locked