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. > Didattica > Corsi A - F > Basi di dati ~ informatica triennale > [Progetto] "Blog" Thread Rating: 1 votes, 4.00 average.
Pages (33): « First ... « 16 17 18 19 [20] 21 22 23 24 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Lightman
.grande:maestro.

User info:
Registered: Jul 2002
Posts: 1517 (0.18 al dì)
Location:
Corso:
Anno:
Time Online: 5 Days, 6:24:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by anto_anto
Ciao, ci sarebbe qualcuno cosi gentile da dirmi come posso far inserire, nel database, un file all'utente?


Se vuoi inserire il file come large object (e quindi direttamente nel db), puoi usare pg_lo_import (se stai usando php, oppure un equivalente, cerca con lo_import)...

Alternativamente puoi uploadare il file sul server, e nel db mettere solo il riferimento al file. In tal caso pero' devi trovare il modo di impedire il duplicamento dei nomi dei file (io normalmente cambio il nome del file sul server da nome_file_originale a nome_del_file_originale_timestampinsecondialmoment
odellupload)...

__________________
"What peece of worke is a man, how noble in reason, how infinit in faculties, in forme and moouing, how expresse and admirable in action, how like an Angell in apprehension, how like a God: the beautie of the world; the paragon of Annimales; and yet to me, what is this Quintessence of dust: man delights not me" - Hamlet

03-04-2007 13:11
Click Here to See the Profile for Lightman Click Here to See the Blog of Lightman Click here to Send Lightman a Private Message Find more posts by Lightman Add Lightman to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
anto_anto
.novellino.

User info:
Registered: Jan 2006
Posts: 5 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 12:09:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

grazie per la risposta

ma non so come uploadare il file sul server...........

03-04-2007 13:41
Click Here to See the Profile for anto_anto Click here to Send anto_anto a Private Message Find more posts by anto_anto Add anto_anto to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
bledar
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 256 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 6 Days, 3:07:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma questo apello di aprile per potersi iscrivere e consegnare il progetto quando lo mettono???

03-04-2007 15:50
Click Here to See the Profile for bledar Click here to Send bledar a Private Message Find more posts by bledar Add bledar to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma voi li avete usati gli indici nel database??

03-04-2007 19:19
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
bledar
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 256 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 6 Days, 3:07:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

e obligatorio?

03-04-2007 19:44
Click Here to See the Profile for bledar Click here to Send bledar a Private Message Find more posts by bledar Add bledar to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ponte
.amico.

User info:
Registered: Jan 2005
Posts: 39 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 5:10:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

COME FACCIO AD INCREMENTARE IL NUMERO DI ACC AD OGNI CONTENUTO?

03-04-2007 21:17
Click Here to See the Profile for ponte Click here to Send ponte a Private Message Find more posts by ponte Add ponte to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Se guardi i miei vecchi post c'è scritto nel dettaglio...

04-04-2007 13:50
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
elcuchu
.amico.

User info:
Registered: Apr 2007
Posts: 33 (0.00 al dì)
Location: Milano
Corso:
Anno:
Time Online: 5:41:55 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Dovrai confrontare la password per vedere se è corretta e in caso affermativo fare un insert.

if($query = pg_query("SELECT password_utente FROM utente WHERE password_utente='$password' "))
{insert.....}
dove $password è la variabile che mi contiene ciò che inserisce l'utente.
però questo if non funziona, perchè anche se la password non esiste mi fa cmq inserire. chi mi potrebbe dare una mano? grazie

04-04-2007 16:26
Click Here to See the Profile for elcuchu Click here to Send elcuchu a Private Message Find more posts by elcuchu Add elcuchu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io scrivo in maniera un po diversa

$query = "SELECT utente,tipo_utente,profilo,bloccato FROM utente WHERE login = ";
$query .= "'";
$query .= $HTTP_POST_VARS["Username"];
$query .= "'";
pg_query($conn,$query);

04-04-2007 19:39
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by bledar
e obligatorio?


se è riferito a me non saprei, chiedo apposta perchè non so se è un bene usarli o se è solo roba in più

04-04-2007 19:40
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
bledar
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 256 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 6 Days, 3:07:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

credo sia un cosa un più , e praticamenta una miglioria in termini di progettazione fisica ma non credo sia cosi importante

04-04-2007 22:51
Click Here to See the Profile for bledar Click here to Send bledar a Private Message Find more posts by bledar Add bledar to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok, allora mi sa che non li uso

05-04-2007 09:32
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ho dei problemi con la pg_lo_exoport, qualcuno mi puo aiutare?

in pratica se come percorso gli do

$percorso = ("F:\Blog\file\\".$name); mi crea il file

se invece gli do

$percorso = ("http://localhost/file/".$name);

oppure $percorso = ("file/".$name); non crea il file

Last edited by Gehur on 05-04-2007 at 12:10

05-04-2007 11:14
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

dovrei aver risolto

05-04-2007 13:13
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Simeon
:D

User info:
Registered: Aug 2004
Posts: 984 (0.13 al dì)
Location: Milano
Corso: Informatica
Anno: IT IS OVER!
Time Online: 14 Days, 19:29:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scusate, ma lo schema E-R che consegnerete voi ha le gerarchie gia' risolte? Mi e' venuto sto dubbio guardando quello che aveva postato bledar, dove si vedevano i contenuti suddivisi nelle varie categorie. Io per esempio ho gia fatto lo schema, ma ho gia tutte le entita' specifiche riunite in quelle generiche (tipo ho utente per utenti amministratori e generici).

E cosa avete messo nella documentazione tecnica e nel manuale utente?

06-04-2007 16:09
Click Here to See the Profile for Simeon Click here to Send Simeon a Private Message Find more posts by Simeon Add Simeon to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 02:29.    Post New Thread    Post A Reply
Pages (33): « First ... « 16 17 18 19 [20] 21 22 23 24 » ... Last »   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.148 seconds (37.73% PHP - 62.27% MySQL) con 24 query.