Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Forum De Bell Tolls > [web] Problema PHP
Pages (3): « 1 [2] 3 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Napolux
-29 Kg da Settembre 2005

User info:
Registered: Jun 2002
Posts: 3666 (0.42 al dì)
Location: Giussano (MI)
Corso: F28
Anno: ???
Time Online: 21 Days, 19:29:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

P.s. Hai poi risolto????

__________________
Napolux.com

08-03-2004 11:40
Click Here to See the Profile for Napolux Click Here to See the Blog of Napolux Click here to Send Napolux a Private Message Visit Napolux's homepage! Find more posts by Napolux Add Napolux to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dan
..: Dottore :..

User info:
Registered: Oct 2002
Posts: 2446 (0.29 al dì)
Location: MI
Corso: Info
Anno: 3
Time Online: 11 Days, 7:56:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Sì grazie ... risolto tutto con le funzioni. :banana:

08-03-2004 13:02
Click Here to See the Profile for dan Click here to Send dan a Private Message Visit dan's homepage! Find more posts by dan Add dan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Napolux
-29 Kg da Settembre 2005

User info:
Registered: Jun 2002
Posts: 3666 (0.42 al dì)
Location: Giussano (MI)
Corso: F28
Anno: ???
Time Online: 21 Days, 19:29:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by dan
Sì grazie ... risolto tutto con le funzioni. :banana:


:shock: Facevi tutto in una funzione unica???

Quindi avevi tutte le 20000 e passa righe in una funzione sola????

:sbonk:

Immagino la leggibilita' del codice :D

O ho capito male???

__________________
Napolux.com

08-03-2004 13:23
Click Here to See the Profile for Napolux Click Here to See the Blog of Napolux Click here to Send Napolux a Private Message Visit Napolux's homepage! Find more posts by Napolux Add Napolux to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dan
..: Dottore :..

User info:
Registered: Oct 2002
Posts: 2446 (0.29 al dì)
Location: MI
Corso: Info
Anno: 3
Time Online: 11 Days, 7:56:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

C'era + o - la stessa cosa ripetuta parecchie volte ... cosa che adesso ho scritta una volta sola con 3 parametri.

08-03-2004 13:28
Click Here to See the Profile for dan Click here to Send dan a Private Message Visit dan's homepage! Find more posts by dan Add dan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.52 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

non si fanno queste cose!

ad ogni modo, per curiosità, di quante righe si è ridotto il codice? ovvero, di quante righe è ora?

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

08-03-2004 13:57
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
cdmp
society moderator

User info:
Registered: Jan 2004
Posts: 170 (0.02 al dì)
Location: Milano
Corso: Informatica 5ennale
Anno: 5++
Time Online: 19:30:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Uhm.. 3.5Mb.. 29000 righe..
Ma siamo proprio sicuri che non si possa ottimizzare un tantino? ;)

Cmq, durante l'elaborazione lo script invia al browser qualcosa o prima elabora tutto e poi manda solo due cazzate, tipo la mossa scelta?
E nel primo caso, per caso bufferizzi l'output (ob_start.. ob_flush)?

__________________
I keep trying to locate a meeting of Quantum Physicists. But everytime they set a meeting time, the location changes. And vice versa.

08-03-2004 14:00
Click Here to See the Profile for cdmp Click here to Send cdmp a Private Message Visit cdmp's homepage! Find more posts by cdmp Add cdmp to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dan
..: Dottore :..

User info:
Registered: Oct 2002
Posts: 2446 (0.29 al dì)
Location: MI
Corso: Info
Anno: 3
Time Online: 11 Days, 7:56:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Problema risolto, grazie a tutti.

Adesso è di 2000 righe + o - :D

08-03-2004 14:33
Click Here to See the Profile for dan Click here to Send dan a Private Message Visit dan's homepage! Find more posts by dan Add dan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
AlphaGamma
.piano ma pieni.

User info:
Registered: Jun 2002
Posts: 6732 (0.78 al dì)
Location:
Corso: Eh?
Anno: Io cosa?
Time Online: 21 Days, 21:22:01: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by dan
Uso MySQL, senza il controllo dello scacco matto funziona.

Ci mette meno di 30 sec a rimbalzarmi.

Sì, sono proprio 29000 righe.


C'è anche un timeout lato client. :)

__________________
Attenzio', concentrazio', ritmo e VITALITÀ

08-03-2004 16:21
Click Here to See the Profile for AlphaGamma Click Here to See the Blog of AlphaGamma Click here to Send AlphaGamma a Private Message Visit AlphaGamma's homepage! Find more posts by AlphaGamma Add AlphaGamma to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
AlphaGamma
.piano ma pieni.

User info:
Registered: Jun 2002
Posts: 6732 (0.78 al dì)
Location:
Corso: Eh?
Anno: Io cosa?
Time Online: 21 Days, 21:22:01: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by fabpicca
in effetti il "divide et impera" non e' mai una buona scelta...comunque la cosa strana e' che l'errore che ricevi e' un errore di DNS e non di apache...


A livello di algoritmi? :shock:

X Dan: ma è il progetto di basi di dati? Quello sugli scacchi?
O è un programma di scacchi che stai scrivendo tu? Ma usi gli oggetti? Come mai non hai diviso il codice in piu' script? E poi, come fai a districarti in cosi' tanto codice? Ok basta domande... :D

PPS: ehm letto dopo... :evil: ma non usavi le funzioni? Adesso ci fai vedere le 29000 righe di codice! :D

__________________
Attenzio', concentrazio', ritmo e VITALITÀ

Last edited by AlphaGamma on 08-03-2004 at 16:35

08-03-2004 16:22
Click Here to See the Profile for AlphaGamma Click Here to See the Blog of AlphaGamma Click here to Send AlphaGamma a Private Message Visit AlphaGamma's homepage! Find more posts by AlphaGamma Add AlphaGamma to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
^Angelus^
.illuminato.

User info:
Registered: Sep 2002
Posts: 163 (0.02 al dì)
Location: nelle vicinanze di Comelico beach
Corso: Informatica (ex Com Dig)
Anno: Bella domanda
Time Online: 3 Days, 21:34:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by dan
Sì grazie ... risolto tutto con le funzioni. :banana:


:schifo: hai inventato l'acqua calda, le funzioni sono tra le prime cose che si imparano quando si impara a programmare

che scempio....mi stupisco di come sia riuscito a fare un algoritmo tanto complesso come quello degli scacchi senza sapere + di tanto programmare (senza offesa, ma uno che non usa le funzioni e fa una bestialata simile non è un programmatore)

__________________
Empty your mind, be formless, shapeless, like water. If you put water into a cup it became a cup, if you put water into a bottle it became a bottle, if you put into a teapot it became a teapot. Water can flow or can crush. Be water my friend.

Nessuna via come via. Nessun limite come limite

- Bruce Lee -

08-03-2004 16:28
Click Here to See the Profile for ^Angelus^ Click here to Send ^Angelus^ a Private Message Find more posts by ^Angelus^ Add ^Angelus^ to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dan
..: Dottore :..

User info:
Registered: Oct 2002
Posts: 2446 (0.29 al dì)
Location: MI
Corso: Info
Anno: 3
Time Online: 11 Days, 7:56:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ^Angelus^
:schifo: hai inventato l'acqua calda, le funzioni sono tra le prime cose che si imparano quando si impara a programmare

che scempio....mi stupisco di come sia riuscito a fare un algoritmo tanto complesso come quello degli scacchi senza sapere + di tanto programmare (senza offesa, ma uno che non usa le funzioni e fa una bestialata simile non è un programmatore)


Tu hai passato Basi di Dati .... vero?

08-03-2004 19:31
Click Here to See the Profile for dan Click here to Send dan a Private Message Visit dan's homepage! Find more posts by dan Add dan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fabpicca
jesus robot d'acciaio

User info:
Registered: May 2002
Posts: 2166 (0.25 al dì)
Location: Pieve Emanuele
Corso: Ticom
Anno:
Time Online: 12 Days, 23:12:28 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by AlphaGamma
A livello di algoritmi? :shock:



Off-Topic:
era ironico Aplha...

__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour

"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)

08-03-2004 19:34
Click Here to See the Profile for fabpicca Click Here to See the Blog of fabpicca Click here to Send fabpicca a Private Message Visit fabpicca's homepage! Find more posts by fabpicca Add fabpicca to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
^Angelus^
.illuminato.

User info:
Registered: Sep 2002
Posts: 163 (0.02 al dì)
Location: nelle vicinanze di Comelico beach
Corso: Informatica (ex Com Dig)
Anno: Bella domanda
Time Online: 3 Days, 21:34:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Sto facendo il progetto, ma ora sono fermo per l'esame di game design...cmq ho gia lavorato in php, e non solo con quello

__________________
Empty your mind, be formless, shapeless, like water. If you put water into a cup it became a cup, if you put water into a bottle it became a bottle, if you put into a teapot it became a teapot. Water can flow or can crush. Be water my friend.

Nessuna via come via. Nessun limite come limite

- Bruce Lee -

08-03-2004 19:53
Click Here to See the Profile for ^Angelus^ Click here to Send ^Angelus^ a Private Message Find more posts by ^Angelus^ Add ^Angelus^ to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
LazerPhEa
Vendo Steinberger GM7TA

User info:
Registered: Jul 2002
Posts: 4400 (0.51 al dì)
Location: S. Donato Beach
Corso: TICo
Anno: Finito tutto
Time Online: 83 Days, 22:35:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by dan
Tu hai passato Basi di Dati .... vero?

...Diciamo che per sapere quando utilizzare una funzione non bisogna aver passato basi di dati; è sufficiente essere in quarta superiore...

__________________
Questo è il giardino
Dove il principe muore
Nessun sentiero
Nessun destriero
Soltanto un nome... Eterno...

08-03-2004 20:00
Click Here to See the Profile for LazerPhEa Click Here to See the Blog of LazerPhEa Click here to Send LazerPhEa a Private Message Find more posts by LazerPhEa Add LazerPhEa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dan
..: Dottore :..

User info:
Registered: Oct 2002
Posts: 2446 (0.29 al dì)
Location: MI
Corso: Info
Anno: 3
Time Online: 11 Days, 7:56:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ^Angelus^
Sto facendo il progetto, ma ora sono fermo per l'esame di game design...cmq ho gia lavorato in php, e non solo con quello


Pure io. :evil:

08-03-2004 20:37
Click Here to See the Profile for dan Click here to Send dan a Private Message Visit dan's homepage! Find more posts by dan Add dan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 09:46.    Post New Thread    Post A Reply
Pages (3): « 1 [2] 3 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.067 seconds (73.07% PHP - 26.93% MySQL) con 23 query.