Uploading a file to the server requires two steps: (1) copying the file to the server and (2) making a link to the file so that u can access it [option]. in step (1), the php codes are straight foward as presented on the php manual the only thing you have tp remember is that the directory where you want to copy the file must have a write permission! in step (2) i assume that you want to copy a file to the server and then you have to make a weblink to that file so that you can simply click it and start download. For example, if you want to maitain a database of PDF files (reports), you can creat a form, where users may submit their documents in such a way that the files will be served in a directory on the server, while the file titles and abstracts may be stored in a database. Then other users will be presented with a weblink which they click to download the file. Lungo --- Paul Hodel <paul@xxxxxxxxx> wrote: > The best way is learn to learn > > http://www.php.net/upload > > Paul Hodel > ----- Original Message ----- > From: S S > To: php-objects@xxxxxxxxxxxxxxx > Sent: Tuesday, January 25, 2005 7:50 AM > Subject: Upload > > > > > How can i upload a file to the server in php? Can > anybody help me? > > > --------------------------------- > Do you Yahoo!? > Yahoo! Search presents - Jib Jab's 'Second Term' > > [Non-text portions of this message have been > removed] > > > > > > > PHP Data object relational mapping generator - > http://www.meta-language.net/ > > > > ------------------------------------------------------------------------------ > Yahoo! Groups Links > > a.. To visit your group on the web, go to: > http://groups.yahoo.com/group/php-objects/ > > b.. To unsubscribe from this group, send an > email to: > php-objects-unsubscribe@xxxxxxxxxxxxxxx > > c.. Your use of Yahoo! Groups is subject to the > Yahoo! Terms of Service. > > > > [Non-text portions of this message have been > removed] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/