Re: [PHP] Saving session to database

2013-05-17 Thread Lester Caine
Andrew Ballard wrote: I've found database session storage requires extra diligence in error handling. When I see that error at 0 it is usually because something blew up either before the session handler was ready or after it was torn down. Found the culprit ... Suhosin http://www.simplemachines

Re: [PHP] Saving session to database

2013-05-17 Thread Andrew Ballard
I've found database session storage requires extra diligence in error handling. When I see that error at 0 it is usually because something blew up either before the session handler was ready or after it was torn down. Andrew On May 17, 2013 2:42 PM, "Matijn Woudt" wrote: > On Fri, May 17, 2013 a

Re: [PHP] Saving session to database

2013-05-17 Thread Matijn Woudt
On Fri, May 17, 2013 at 8:07 PM, Lester Caine wrote: > Matijn Woudt wrote: > >> >> It seems to me the session functions are failing, probably due to >> problems with >> the database. Have you checked that there actually is a ##session table >> in your >> database? >> You might want to add some de

Re: [PHP] Saving session to database

2013-05-17 Thread Lester Caine
Matijn Woudt wrote: It seems to me the session functions are failing, probably due to problems with the database. Have you checked that there actually is a ##session table in your database? You might want to add some debugging code to these functions, to check if errors occur with inserting or r

Re: [PHP] Saving session to database

2013-05-17 Thread Matijn Woudt
On Thu, May 16, 2013 at 2:49 PM, Lester Caine wrote: > Matijn Woudt wrote: > >> >> >> >> On Thu, May 16, 2013 at 10:43 AM, Lester Caine > > wrote: >> >> I'm having a problem with webtrees ... http://webtrees.net/ >> My copy is running on http://webtrees.lsces.or

Re: [PHP] Saving session to database

2013-05-16 Thread Lester Caine
Matijn Woudt wrote: On Thu, May 16, 2013 at 10:43 AM, Lester Caine mailto:les...@lsces.co.uk>> wrote: I'm having a problem with webtrees ... http://webtrees.net/ My copy is running on http://webtrees.lsces.org.uk and you will see that it is throwing an error relating to the sessio

Re: [PHP] Saving session to database

2013-05-16 Thread Matijn Woudt
On Thu, May 16, 2013 at 10:43 AM, Lester Caine wrote: > I'm having a problem with webtrees ... http://webtrees.net/ > My copy is running on http://webtrees.lsces.org.uk and you will see that > it is throwing an error relating to the session handling. > > Running Apache 2.2.22, PHP5.4.14, MySQL 5.

RE: [PHP] saving sessions

2011-08-04 Thread Florian Müller
like this: This is as far as I know a quite high level of security, in comparisions with other ways. Regs, Flo > From: midhungir...@gmail.com > Date: Fri, 5 Aug 2011 08:20:11 +0530 > To: wilp...@me.com > CC: php-general@lists.php.net > Subject: Re: [PHP] saving sessions > &

Re: [PHP] saving sessions

2011-08-04 Thread Midhun Girish
On Sat, Aug 6, 2011 at 7:56 AM, wil prim wrote: > Hello, im new to the whole storing sessions thing and I really dont know > how to ask this question, but here it goes. So on my site when someone logs > in the login.php file checks for a the username and password in the table i > created, then i

Re: [PHP] Saving form data into session before leaving a page

2010-04-14 Thread Ashley Sheridan
On Wed, 2010-04-14 at 06:49 +0100, Lester Caine wrote: > Nathan Rixham wrote: > > Peter Lind wrote: > >> On 13 April 2010 17:27, Paul M Foster wrote: > >>> On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: > >>> > Hello everybody, > > I have form where users enter

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Lester Caine
Nathan Rixham wrote: Peter Lind wrote: On 13 April 2010 17:27, Paul M Foster wrote: On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the u

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Nathan Rixham
Peter Lind wrote: > On 13 April 2010 17:27, Paul M Foster wrote: >> On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: >> >>> Hello everybody, >>> >>> I have form where users enter data to be saved in a db. >>> >>> How can I make php save the form data into a session before the us

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Peter Lind
On 13 April 2010 17:27, Paul M Foster wrote: > On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: > >> Hello everybody, >> >> I have form where users enter data to be saved in a db. >> >> How can I make php save the form data into a session before the user >> leaves the page witho

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 1:46 PM, Robert Cummings wrote: > > Toilets flush themselves so that we don't need to touch what someone else > touched... very likely after *cough* wiping up. > > They have a cure for having to life a finger and wipe also but I won't continue lol -- -Dan Joseph ww

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Robert Cummings
tedd wrote: At 12:40 PM -0400 4/13/10, Robert Cummings wrote: Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:19 PM, tedd wrote: So, OP explain what you are trying to do? Cheers, tedd Sorta looks to me like he's in a situation where users are fleeing the form, and wondering why its not fi

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Robert Cummings
Kevin Kinsey wrote: Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings wrote I had a pair-a-dimes one time. Unfortunately I was a nickel short of a quarter to put in the slot. But the question is... were they outside the box? Nah, the question is, since the slot was intende

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Robert Cummings
Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings wrote I had a pair-a-dimes one time. Unfortunately I was a nickel short of a quarter to put in the slot. > But the question is... were they outside the box? They were in my pocket... so yes! Cheers, Rob. -- http://www.int

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread tedd
At 12:40 PM -0400 4/13/10, Robert Cummings wrote: Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:19 PM, tedd wrote: So, OP explain what you are trying to do? Cheers, tedd Sorta looks to me like he's in a situation where users are fleeing the form, and wondering why its not filled in when t

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Paul M Foster
On Tue, Apr 13, 2010 at 12:36:02PM -0400, Dan Joseph wrote: > I kinda like that word Paradigm. Rolls off the tongue nicely. I'm going to > use it 3 times today before I leave the office. ROTFL! Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 12:48 PM, Kevin Kinsey wrote: > Nah, the question is, since the slot was intended to accept a quarter, > why the heck didn't it take two dimes and a nickel ... or just two dimes, > and throw a nickel in gratis? > > I must be getting old. We have toilets that flush themsel

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Kevin Kinsey
Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings wrote I had a pair-a-dimes one time. Unfortunately I was a nickel short of a quarter to put in the slot. But the question is... were they outside the box? Nah, the question is, since the slot was intended to accept a quart

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings wrote > I had a pair-a-dimes one time. Unfortunately I was a nickel short of a > quarter to put in the slot. > > But the question is... were they outside the box? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month.

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Robert Cummings
Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:19 PM, tedd wrote: So, OP explain what you are trying to do? Cheers, tedd Sorta looks to me like he's in a situation where users are fleeing the form, and wondering why its not filled in when they go back. The natural reaction for this would b

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 12:19 PM, tedd wrote: > So, OP explain what you are trying to do? > > Cheers, > > tedd Sorta looks to me like he's in a situation where users are fleeing the form, and wondering why its not filled in when they go back. The natural reaction for this would be to call it a

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Kevin Kinsey
Paul M Foster wrote: Sorry, I just get cranky with people who won't follow the rules. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread tedd
At 11:27 AM -0400 4/13/10, Paul M Foster wrote: On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the user leaves the page without pressin

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Paul M Foster
On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: > Hello everybody, > > I have form where users enter data to be saved in a db. > > How can I make php save the form data into a session before the user > leaves the page without pressing the submit button? Some members leave > the

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Ashley Sheridan
On Tue, 2010-04-13 at 15:20 +0200, Merlin Morgenstern wrote: > Hello everybody, > > I have form where users enter data to be saved in a db. > > How can I make php save the form data into a session before the user > leaves the page without pressing the submit button? Some members leave > the pa

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Peter Lind
On 13 April 2010 15:20, Merlin Morgenstern wrote: > Hello everybody, > > I have form where users enter data to be saved in a db. > > How can I make php save the form data into a session before the user leaves > the page without pressing the submit button? Some members leave the page and > return a

Re: [PHP] Saving server side file to local machine with JS

2009-07-27 Thread Thijs Lensselink
Skip Evans wrote: > Sorry, I should have been clearer. > > When PHP finishes creating the file I need one of the JS alert type > windows to appear that says.. > > "Your file has completed, would you like to save it to your machine?" > > Like you get when you download a file. > > If I knew the J

Re: [PHP] Saving loading time at counting rows

2008-07-13 Thread Eric Butera
On Sat, Jul 12, 2008 at 8:26 PM, Joep Roebroek <[EMAIL PROTECTED]> wrote: > I had this question, which I didn't really know where to ask, so I > thought to begin at this mailing list. > > Very basicly said, I count the rows of a table which had approx 5 > or more rows. > > The problem is, there

Re: [PHP] Saving loading time at counting rows

2008-07-13 Thread Per Jessen
Joep Roebroek wrote: > I had this question, which I didn't really know where to ask, so I > thought to begin at this mailing list. > > Very basicly said, I count the rows of a table which had approx 5 > or more rows. > > The problem is, there is a notable difference in loading time with > ot

Re: [PHP] Saving loading time at counting rows

2008-07-12 Thread Robert Cummings
On Sat, 2008-07-12 at 23:22 -0400, tedd wrote: > At 2:26 AM +0200 7/13/08, Joep Roebroek wrote: > >I had this question, which I didn't really know where to ask, so I > >thought to begin at this mailing list. > > > >Very basicly said, I count the rows of a table which had approx 5 > >or more row

Re: [PHP] Saving loading time at counting rows

2008-07-12 Thread tedd
At 2:26 AM +0200 7/13/08, Joep Roebroek wrote: I had this question, which I didn't really know where to ask, so I thought to begin at this mailing list. Very basicly said, I count the rows of a table which had approx 5 or more rows. The problem is, there is a notable difference in loading t

Re: [PHP] saving outside website content via php...

2008-06-02 Thread Shawn McKenzie
Boyd, Todd M. wrote: -Original Message- From: blackwater dev [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2008 9:26 PM To: Shawn McKenzie Cc: php-general@lists.php.net Subject: Re: [PHP] saving outside website content via php... Yes, but file_get_contents will get me the code which

RE: [PHP] saving outside website content via php...

2008-06-02 Thread Boyd, Todd M.
> -Original Message- > From: blackwater dev [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 01, 2008 9:26 PM > To: Shawn McKenzie > Cc: php-general@lists.php.net > Subject: Re: [PHP] saving outside website content via php... > > Yes, but file_get_contents will get m

Re: [PHP] saving outside website content via php...

2008-06-01 Thread blackwater dev
Yes, but file_get_contents will get me the code which I could then echo back out to the browser but that wouldn't give me any external images, css files or js. On Sun, Jun 1, 2008 at 11:23 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Gabriel Sosa wrote: > >> why no just save the searhed url

Re: [PHP] saving outside website content via php...

2008-06-01 Thread Shawn McKenzie
Gabriel Sosa wrote: why no just save the searhed url in a db field. next time you just need call the iframe with the last or N search anyway if you still want to save all the searched page try using curl http://ar.php.net/manual/en/function.curl-exec.php saludos On Sat, May 31, 2008 at 8:11

Re: [PHP] saving outside website content via php...

2008-06-01 Thread Gabriel Sosa
why no just save the searhed url in a db field. next time you just need call the iframe with the last or N search anyway if you still want to save all the searched page try using curl http://ar.php.net/manual/en/function.curl-exec.php saludos On Sat, May 31, 2008 at 8:11 PM, blackwater dev <[E

Re: [PHP] Saving

2007-08-07 Thread Richard Lynch
On Mon, August 6, 2007 2:22 pm, Dan wrote: > Has anyone had to save the insance of a class which had a properties > which > were pointers? I have a really simple class. Just a few functions > and a > couple properties & variables. But now I need to be able to save the > class > to a file. Of co

Re: [PHP] Saving

2007-08-06 Thread Dan
Aww fuck! I clicked the wrong newsgroup. Sorry about that guys. "Stut" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Dan wrote: Has anyone had to save the insance of a class which had a properties which were pointers? I have a really simple class. Just a few functions and a

Re: [PHP] Saving

2007-08-06 Thread Stut
Dan wrote: Has anyone had to save the insance of a class which had a properties which were pointers? I have a really simple class. Just a few functions and a couple properties & variables. But now I need to be able to save the class to a file. Of course when you re-open the file the pointe

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-16 Thread Tijnema !
On 4/16/07, Tim <[EMAIL PROTECTED]> wrote: ... > You could use AJAX to get things from/to PHP, but why should > you? You can use session within javascript too i believe. > > > > > Tijnema > > > > > > ps. Maybe you could also use AJAX instead of submitting forms the > > > whole time. ... > Real

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-16 Thread Tim
... > You could use AJAX to get things from/to PHP, but why should > you? You can use session within javascript too i believe. > > > > > Tijnema > > > > > > ps. Maybe you could also use AJAX instead of submitting forms the > > > whole time. ... > Really, it's not that hard to use AJAX. You mi

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-03 Thread Tim
#x27;m more familiar with your input i oppted for this list ;) Tim > -Message d'origine- > De : Richard Lynch [mailto:[EMAIL PROTECTED] > Envoyé : dimanche 1 avril 2007 07:39 > À : Tim > Cc : php-general@lists.php.net > Objet : Re: [PHP] Saving css state in javas

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-01 Thread Jürgen Wind
Richard Lynch wrote: > > On Fri, March 30, 2007 12:13 pm, Juergen Wind wrote: >> Tijnema ! wrote: >>> >>> You can use session within javascript too i believe. >>> >> no, sessions are completely serverside, but you can use js to pass >> variables >> using the query string when sending a xmlHttpR

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Richard Lynch
On Fri, March 30, 2007 12:13 pm, Juergen Wind wrote: > Tijnema ! wrote: >> >> You can use session within javascript too i believe. >> > no, sessions are completely serverside, but you can use js to pass > variables > using the query string when sending a xmlHttpRequest. [pedantic] Actually, the co

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Richard Lynch
On Sat, March 31, 2007 4:11 am, Tijnema ! wrote: > I've did a few test on this PC(AMD64 3200+), it's running EasyPHP > (Apache+PHP+MySQL), and it shows me that PHP is about twice as fast > then Javascript.(Tested using IE6, FF wasn't working because script > took too long to execute, which generate

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Richard Lynch
On Fri, March 30, 2007 9:45 am, Tim wrote: > My issue is on page reload, i have a form on the same page, when a > category > is clicked, the categorie info displays and you can update the info > through > this form (table and form on same page). My issue comes when i post > the > data, the page com

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Jochem Maas
Tijnema ! wrote: > On 3/31/07, Jochem Maas <[EMAIL PROTECTED]> wrote: >> Tijnema ! wrote: .. >> >> 'processing' JSON formatted data is a matter of running a single eval() >> line in javascript!?! >> >> just outputting HTML directly into a div is useful in many simple >> situations but it doesn't

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Tijnema !
On 3/31/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/31/07, Jochem Maas <[EMAIL PROTECTED]> wrote: > Tijnema ! wrote: > > On 3/30/07, Jochem Maas <[EMAIL PROTECTED]> wrote: > >> Tim wrote: > >> > > > > > > > > ... > > >> personally I prefer JSON formatted data, for which there are even a > >> c

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Tijnema !
On 3/31/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Tijnema ! wrote: > On 3/30/07, Jochem Maas <[EMAIL PROTECTED]> wrote: >> Tim wrote: >> > > > > > > ... >> personally I prefer JSON formatted data, for which there are even a >> couple of >> functions available in newer versions of php (otherwi

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Jochem Maas
Tijnema ! wrote: > On 3/30/07, Jochem Maas <[EMAIL PROTECTED]> wrote: >> Tim wrote: >> > > > > > > ... >> personally I prefer JSON formatted data, for which there are even a >> couple of >> functions available in newer versions of php (otherwise you can find >> code on the net >> easily enough t

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tijnema !
On 3/30/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Tim wrote: > > > > > > >> I think you want to use sessions for this :) > Ok, i can put the data in the session variable, but i can only get the > "current" state through javascript > > ie:onsubmit="getstate()"; which wou

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Jochem Maas
Tim wrote: > > > > > > >> I think you want to use sessions for this :) > Ok, i can put the data in the session variable, but i can only get the > "current" state through javascript > > ie:onsubmit="getstate()"; which would get the id's of the blocks that > are set

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Juergen Wind
Tijnema ! wrote: > > You can use session within javascript too i believe. > no, sessions are completely serverside, but you can use js to pass variables using the query string when sending a xmlHttpRequest. -- View this message in context: http://www.nabble.com/Saving-css-state-in-javascri

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
> It's not too hard, but if you already did a lot of work on > the form processing, you prefer not to write it all over > again i think ;) Actually thanx, that solves my problem if i process my forms/table clicks the ajax way i wont have to reload the page and that takes care of storing the cur

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
> > > > > > > > > > I think you want to use sessions for this :) > > > > > > > > Ok, i can put the data in the session variable, but i can > > > only get the > > > > "current" state through javascript > > > > > > > > ie:onsubmit="getstate()"; which would get the id's of the > > > blocks that > > >

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tijnema !
On 3/30/07, Tim <[EMAIL PROTECTED]> wrote: > -Message d'origine- > De : Tijnema ! [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 30 mars 2007 17:06 > À : Tim > Cc : php-general@lists.php.net > Objet : Re: [PHP] Saving css state in javascript and passing >

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
> -Message d'origine- > De : Tijnema ! [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 30 mars 2007 17:06 > À : Tim > Cc : php-general@lists.php.net > Objet : Re: [PHP] Saving css state in javascript and passing > to php via form submit > > On 3/30/0

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tijnema !
On 3/30/07, Tim <[EMAIL PROTECTED]> wrote: > -Message d'origine- > De : Tijnema ! [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 30 mars 2007 16:56 > À : Tim > Cc : php-general@lists.php.net > Objet : Re: [PHP] Saving css state in javascript and passing >

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
> -Message d'origine- > De : Tijnema ! [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 30 mars 2007 16:56 > À : Tim > Cc : php-general@lists.php.net > Objet : Re: [PHP] Saving css state in javascript and passing > to php via form submit > > On 3/30/0

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tijnema !
On 3/30/07, Tim <[EMAIL PROTECTED]> wrote: Hello all, I have a little dilemna here: I am using php/css/mysql to generate a hierarchical table of categories and sub-categories and sub-sub.. Etc.. A screenshot can be found here: http://www.internet46.fr/mehim/screenshot.jpg Now i'm also using

Re: [PHP] saving and retrieving an array from a database

2006-08-07 Thread Richard Lynch
On Mon, August 7, 2006 7:52 am, [EMAIL PROTECTED] wrote: > ok this seem to work but how do I bring it back? This is what I have > so far. > > $first[] = array('appple', 'pear', 'banana'); > $second = serialize($first); Store $second in the DB here. It's just a big long-ass string at this point.

RE: [PHP] saving and retrieving an array from a database

2006-08-07 Thread Peter Lauri
http://se2.php.net/serialize /Peter -Original Message- From: Ross [mailto:[EMAIL PROTECTED] Sent: Monday, August 07, 2006 7:19 PM To: php-general@lists.php.net Subject: [PHP] saving and retrieving an array from a database Hi, I have an array of values. I want to save them with php to a

Re: [PHP] saving and retrieving an array from a database

2006-08-07 Thread Andrei
ialize($second); > > echo $second; //outputs serialized data > echo $third[1]; > > ?> > - Original Message - From: "Peter Lauri" <[EMAIL PROTECTED]> > To: "'Ross'" <[EMAIL PROTECTED]>; > Sent: Monday, August 07, 2006 8

Re: [PHP] saving and retrieving an array from a database

2006-08-07 Thread ross
ok this seem to work but how do I bring it back? This is what I have so far. - Original Message - From: "Peter Lauri" <[EMAIL PROTECTED]> To: "'Ross'" <[EMAIL PROTECTED]>; Sent: Monday, August 07, 2006 8:23 AM Subject: RE: [PHP] saving and r

RE: [PHP] saving and retrieving an array from a database

2006-08-07 Thread Jim Moseby
> > Hi, > > I have an array of values. I want to save them with php to a > single field in > my database and then retrieve them to an array. > > > What is the simplest way to achive this? > > http://us3.php.net/serialize Cheers! JM -- PHP General Mailing List (http://www.php.net/) To u

RE: [PHP] Saving a dynamic file

2006-08-04 Thread Miguel Guirao
Using the OB functions I got it done!! Thanks y'all!! Miguel -Original Message- From: Weber Sites [mailto:[EMAIL PROTECTED] Behalf Of WeberSites LTD Sent: Sabado, 29 de Julio de 2006 02:00 p.m. To: 'MIGUEL ANTONIO GUIRAO AGUILERA'; php-general@lists.php.net Subject: RE:

Re: [PHP] Saving a dynamic file

2006-08-03 Thread Richard Lynch
On Fri, July 28, 2006 9:01 pm, MIGUEL ANTONIO GUIRAO AGUILERA wrote: > > > Hi!! > > I'm in the need of saving to a file a dynamic page that I generated > from a PHP script, taking data from a table!! > > So far I have figured out two options: > > 1) Save the page as a XML document so it can be ed

RE: [PHP] Saving a dynamic file

2006-07-30 Thread Brady Mitchell
Depends on what you are planning to do with the file. Saving it to PDF is also possible, take a look at http://fpdf.org and http://htmldoc.org/. Brady -Original Message- Hi!! I'm in the need of saving to a file a dynamic page that I generated from a PHP script, taking data from a tab

Re: [PHP] Saving a dynamic file

2006-07-29 Thread Larry Garfield
Depends what you're saving it for. Either of those options works, although you'd probably find it easier to save to OpenDoc format rather than Word, as OpenDoc is just XML with compression (and used by every major word processor except Word). Saving just a plain XML file is the same as savin

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-18 Thread tedd
On 2/16/06, tedd <[EMAIL PROTECTED]> wrote: However, after given it some thought, I would imagine that one could get a unique generated string, create a file with that string, give the file the correct permissions, then pull the image from the dB and save, do image processing, and then reloa

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-17 Thread Gerry Danen
On 2/16/06, tedd <[EMAIL PROTECTED]> wrote: > However, after given it some thought, I would imagine that one could > get a unique generated string, create a file with that string, give > the file the correct permissions, then pull the image from the dB and > save, do image processing, and then rel

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-16 Thread tedd
So single-user disclaimer would apply? Obviously, if you have numerous people accessing your dB and doing inserts and updates, then all the lock-down stuff needs to be implemented. But, my code is not for that, but rather for someone (a single programmer) who wants to pull an image from a B

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-16 Thread tedd
Gerry wrote: What if several users try to access a different picture at the same time? Won't that render the wrong image for some? Gerry Gerry: Normally, it's not needed for civilians. This is for when YOU want to do some image stuff on your images, like to do some background processing v

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-16 Thread Gerry Danen
What if several users try to access a different picture at the same time? Won't that render the wrong image for some? Gerry On 2/16/06, tedd <[EMAIL PROTECTED]> wrote: > Hi gang: > > In a previous post (i.e., [PHP] Strange response to MySQL query) I > was trying to save a BLOB as a file, namely u

Re: [PHP] Saving of buffers, from a security standpoint

2005-05-12 Thread Colin Ross
in my own defence, i too am not much of a silent failure kinda guy. Custom errar handlers are great, (i user PEAR::ErrorStack and it works great) my point is that in a public, production environment, i'd rather have anything not caught by the custom eror handler go unseen by the browser, althou

Re: [PHP] Saving of buffers, from a security standpoint

2005-05-11 Thread Richard Lynch
Personally, I'd rather have the error messages go SOMEWHERE useful, and write custom error handler to put "nice" error messages to the browser that reveal nothing. If things go wrong in my script/software/hardware/network, I don't want the system to just silently FAIL and swallow errors. Yes, it'

Re: [PHP] Saving of buffers, from a security standpoint

2005-05-11 Thread Colin Ross
at this point, I'm planning on (at least on production) turning off all error reporting, I am using PEAR::ErrorStack mainly for error handling, which I love using btw... all I'm trying to do is make sure that no information gets outputed from the script, even if some horrible error occurs, i gu

Re: [PHP] Saving of buffers, from a security standpoint

2005-05-11 Thread Richard Lynch
On Wed, May 11, 2005 10:02 am, Colin Ross said: > I am working on a bit of code for credit-card processing, so please keep > in > mind, security of the data is essential.. > On part of it i wish to use a buffer, but i wonder if that data is saved > anywhere on the running system (as a temp file, et

Re: [PHP] Saving of buffers, from a security standpoint

2005-05-11 Thread Brent Baisley
You can't be assured that the data is stored only in RAM. Just about all systems use some sort of swap space, so what is stored in memory could end up on disk in a swap file. Of course, if someone is able to access the swap files on your computer, you're probably dead already. PHP also stores s

Re: [PHP] Saving Files

2005-01-05 Thread Richard Lynch
[EMAIL PROTECTED] wrote: > 3. Saves/downloads the file to that exact location as pulled from and > replaces the old file Ain't no way you're going to be allowed to decide where to save files on *MY* computer! That would be a MAJOR security hole... Now let's look at ways you *COULD* do this. Fi

Re: [PHP] Saving Files

2005-01-04 Thread Richard Davey
Hello prthomp, Wednesday, January 5, 2005, 1:24:24 AM, you wrote: pue> The whole process: pue> 1. User uploads from a specific location (that I already know) pue> 2. Modifies the file via the web pue> 3. Saves/downloads the file to that exact location as pue> pulled from and replaces the old file

Re: [PHP] Saving thumbnails [SOLVED]

2004-11-17 Thread Phpu
I resolv the problem. Thanks anyway - Original Message - From: "Eakin, W" <[EMAIL PROTECTED]> To: "Phpu" <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 3:21 PM Subject: Re: [PHP] Saving thumbnails > Phpu wrote: > > >Hi, > >I f

RE: [PHP] Saving thumbnails

2004-11-17 Thread Mike
Use imagejpeg() http://us2.php.net/manual/en/function.imagejpeg.php -M -Original Message- From: Phpu [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 6:23 AM To: [EMAIL PROTECTED] Subject: [PHP] Saving thumbnails Hi, I found a tutorial that creates thumbnails on the fly. The

Re: [PHP] saving blobs to file system

2004-11-15 Thread Marek Kilimajer
Merlin wrote: Hi there, I do have images inside a blob field which I would like to save to the hard drive. Now I cant find a fuction in saving the file. Usually I retrieve the data out of the blob, and output a header before echoing the data. Basicly I do have the image now saved inside a strin

Re: [PHP] saving blobs to file system

2004-11-15 Thread Greg Donald
On Mon, 15 Nov 2004 21:12:25 +0100, Merlin <[EMAIL PROTECTED]> wrote: > Hi there, > > I do have images inside a blob field which I would like to save to the hard > drive. Now I cant find a fuction in saving the file. Usually I retrieve the > data > out of the blob, and output a header before echo

Re: [PHP] Saving non-english text into database problem !!

2004-10-06 Thread Marek Kilimajer
Dre wrote: Hi I have a strange problem that I can not figure out how to solve .. I'm trying to save some data into a regular mySQL database table by using a normal php insertion script but I'm trying to save "Arabic Text" and here comes the problem .. When I'm performing the insertion by writing th

Re: [PHP] Saving variables in a session in a destructor

2004-06-29 Thread Curt Zirzow
* Thus wrote David Goodlad: > Unless I do an unset($sm); at the end of a script like this, the > $_SESSION array will never contain the state=>foobar key/value. > > Can anyone offer some insight into this? http://bugs.php.net/27555 Curt -- First, let me assure you that this is not one of thos

Re: [PHP] Saving state script

2004-05-17 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]): > > My local setup is Win98SE, Apache 2.0.49 and PHP 4.3.6. The remote server > is Linux 2.4.20, Apache 1.3.29, and PHP 4.3.3. > > Matt's version of the script is at: > > http://www.samspublishing.com/articles/article.asp?p=29587&seqNum=7 > >

RE: [PHP] Saving and mailing remote file

2004-05-13 Thread Oliver Hankeln
Sascha Meyer wrote: > Hi Jay, > > that's exactly what I need to accomplish (as I mentioned: I wanted to download the file to the webserver - which means saving the file locally, cause that's where the script resides - and then send it to the email recipient). > > I need to find a way to downloa

[PHP] Antwort: RE: Antwort: RE: [PHP] Saving and mailing remote file

2004-05-13 Thread Sascha Meyer
Hi Jay, that's exactly what I need to accomplish (as I mentioned: I wanted to download the file to the webserver - which means saving the file locally, cause that's where the script resides - and then send it to the email recipient). I need to find a way to download the file itself, the rest i

[PHP] Re: Antwort: RE: [PHP] Saving and mailing remote file

2004-05-13 Thread AcZ
Sascha Meyer wrote: Hi again, I need to download a remote file (e.g. some linked pdf document on another server) and send this file to a defined user. I don't know if there is a way to attach a remote file to an email (I don't want to send a link to the above mentioned file, but the file itself

Re: [PHP] Antwort: RE: [PHP] Saving and mailing remote file

2004-05-13 Thread Burhan Khalid
Sascha Meyer wrote: Hi again, I need to download a remote file (e.g. some linked pdf document on another server) and send this file to a defined user. I don't know if there is a way to attach a remote file to an email (I don't want to send a link to the above mentioned file, but the file itself

[PHP] RE: Antwort: RE: [PHP] Saving and mailing remote file

2004-05-13 Thread Jay Blanchard
[snip] I need to download a remote file (e.g. some linked pdf document on another server) and send this file to a defined user. I don't know if there is a way to attach a remote file to an email (I don't want to send a link to the above mentioned file, but the file itself...) [/snip] You cannot

[PHP] Antwort: RE: [PHP] Saving and mailing remote file

2004-05-13 Thread Sascha Meyer
Hi again, I need to download a remote file (e.g. some linked pdf document on another server) and send this file to a defined user. I don't know if there is a way to attach a remote file to an email (I don't want to send a link to the above mentioned file, but the file itself...) Sascha -- PH

RE: [PHP] Saving and mailing remote file

2004-05-13 Thread Jay Blanchard
[snip] Could one of you help me in saving the remote file to the local webserver? [/snip] Can you be more clear here? There is a file on a remote server that you want to save locally? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] saving as .XLS

2004-03-26 Thread Daniel Purdy
[snip] Hi, I am looking for some information about the way of saving the result of my php script (html table) with .XLS (ms excel) format. Do you know where could I get info about this? Thanks, [/snip] Take a look at the write excel class, there is a php version of it, however most of the document

Re: [PHP] saving form data - calling another script from PHP?

2004-02-24 Thread Charlie Fiskeaux II
Gary Sanders wrote: Charlie, Can you make the submit target be the PHP script and have the PHP script call the Perl script to send the email? Sure, that would definitely work; I just don't know how to call the Perl script and pass the data (and uploaded/attached files) to it. -- Charlie Fiske

  1   2   >