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.

[PHP] Saving session to database

2013-05-16 Thread Lester Caine
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.5.31 ( http://lsces.org.uk/phpinfo.php ) If I comment out th

FW: [PHP] saving sessions

2011-08-05 Thread Jen Rasmussen
AM To: midhungir...@gmail.com; php-general@lists.php.net Subject: RE: [PHP] saving sessions But please do not use cookies to store a password as code! Cookies are human readable with some add-ons Check like this: if someone registers, insert it into a table: Then, if someone wants to log

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

[PHP] saving sessions

2011-08-04 Thread wil prim
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 if it finds a match it will store a $_SESSION [] variable.

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

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

2010-04-13 Thread Merlin Morgenstern
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 afterwards wondering where their already entered data is.

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

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

2009-07-26 Thread Skip Evans
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 JS code to do this I perhaps could

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

[PHP] Saving loading time at counting rows

2008-07-12 Thread Joep Roebroek
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 other pages. Is there a technique to est

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

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

2008-05-31 Thread blackwater dev
I'm using the google api to allow people to search the web via my site. The pages are simply iframed within my site. Is it possible for me to give them a 'save' button and let them save the page they are viewing in it's current state? I don't mean save to their computer but I would use php to sa

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

[PHP] Saving

2007-08-06 Thread Dan
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 pointers will be u

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

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

2007-03-30 Thread Tim
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 javascript to hide show blocks of divs to hid

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

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

[PHP] saving and retrieving an array from a database

2006-08-07 Thread Ross
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? Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] Saving a dynamic file

2006-07-29 Thread MIGUEL ANTONIO GUIRAO AGUILERA
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 editable in a word processor later. Do I have to write line by line until I'm done wit

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

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

2006-02-16 Thread tedd
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 using an "INTO DUMPFILE" query. If you are the system admin, and have all the system permissions, then this is not a big problem. However, if you aren't, then getting MySQ

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

[PHP] Saving of buffers, from a security standpoint

2005-05-11 Thread Colin Ross
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, etc), or is it just held in the system's memory? My conce

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[2]: [PHP] Saving Files

2005-01-05 Thread Richard Davey
Hello Philip (please email the PHP list directly, not me personally), Wednesday, January 5, 2005, 4:01:15 PM, you wrote: PT> Ok, I have another question. Would I be able to execute a batch file PT> (or something) upon the user hitting a button, which would then save PT> the file to the specified

Re[2]: [PHP] Saving Files

2005-01-05 Thread Richard Davey
Hello gustav, Wednesday, January 5, 2005, 8:41:05 AM, you wrote: gvs> It works very well saving an uploaded file to a specific gvs> destination? It's basically what Richard wants to do? The gvs> replacement of the file is automatically done if no options is gvs> specified in some way to not overw

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

[PHP] Saving Files

2005-01-04 Thread prthomp
Hi all. Note, this may be a bit off topic. With that said... I am wanting to save a file off my website to a certain location on my computer. Is there a way to click on a button (or something) and that invokes the download, which then saves to (for example) C:\SomePlace\Directory\Pizza\sausage

  1   2   3   >