Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

RE: [PHP-DB] Question on Files&Sessions
How are you storing the file in your PHP code?

If it'll fit in a variable, it should be able to be stored in $_SESSION.

This might mean using serialize() and unserialize().

Although someone may have a better way of doing this.  It seems to me
that storing an entire file in a variable is going to be cumbersome on
your server.  You might try storing the file name and path or something:

C:\somepath\somefilename.ext


Someone probably has a better way to do this, but those are my initial
thoughts.. Without much experience having to do something like this with
files and without knowing more about your situation.

-TG



> -----Original Message-----
> From: Kathy_A_Wright@Keane.com [mailto:Kathy_A_Wright@Keane.com]=20
> Sent: Friday, November 19, 2004 11:46 AM
> To: php-db@lists.php.net
> Subject: [PHP-DB] Question on Files&Sessions
>=20
>=20
> Can you hold a file in a session?   I am trying to send a=20
> file to a third page and it won't seem to work sending
> it in a session.   Does anyone know how to do this?
>=20
> Thanks
>=20
>=20
> Kathy A Wright | Keane Inc. | Suite:=20
> Outside: 617-517-1706 | E-mail: kwright@keane.com
> [ Mailing: 100 City Sq.  Charlestown, MA 02129 USA ]
>=20

Report this thread to moderator Post Follow-up to this message
Old Post
Trevor Gryffyn
11-19-04 08:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP DB archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:30 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.