![]() |
Help! File upload kills session?
1 Attachment(s)
Howdy,
I'm having some problems with handling uploaded files. I don't want to use the database to store them.. the code below works for saving the files to the filesystem, so thats not my problem, however.. after handling the upload I seem to lose my session cookies (or however vB handles users) and it just pukes out the template minus any formatting (no css in the html source either) that is asking for a login. Any ideas? PHP Code:
Edit: I should also add, the code above is being called from a function called 'upload' (I've changed the code above to reflect that...) |
Bump
Ok.. since this doesn't seem to be getting any answers, lets try this angle.. :) How _should_ I handle file uploads in a script. Is there a tutorial out there for that? I did a search but didn't turn up anything helpful. |
All times are GMT. The time now is 01:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|