Re: [PHP] Text database instead of MySql (Recommendations / Advise also welcome)

2006-04-13 Thread Ryan A
Hey, > A text db is never going to be as fast as a relational db. I know ...but I have no choice, no MySql or any other database installed on the server. > Why can't you use a database (I assume there was some sort of technical reason) ? Load / resources basically, its a bunch of load balanc

Re: [PHP] serialize() function

2006-04-13 Thread Robert Cummings
On Thu, 2006-04-13 at 18:58, tedd wrote: > Not that you don't know -- because I'm sure you do -- but for the > benefit of others. > > One example, each domain has a limit of cookies (20) and you can use > them up pretty quickly. However, if you place your data in an array, > you could then seri

Re: [PHP] Text database instead of MySql (Recommendations / Advise also welcome)

2006-04-13 Thread Jochem Maas
Ryan A wrote: Hey, I have been asked to make a site that would be pretty high traffic... quantify 'high traffic'. problem is, no MySql. you might consider telling the client that the implementation of a high traffic site should not be constrained from the outset by something as petty as My

Re: Re[2]: [PHP] Problems creating images

2006-04-13 Thread Richard Lynch
On Thu, April 6, 2006 5:24 pm, Tom Rogers wrote: > put > > error_reporting( E_ALL); > > at the top of the script and see if any error messages show up. > The fact that the mime type is text seems to indicate some output has > gone to > the client before your header call. That could be any white spa

Re: [PHP] serialize() function

2006-04-13 Thread Jochem Maas
Robert Cummings wrote: On Thu, 2006-04-13 at 18:58, tedd wrote: Not that you don't know -- because I'm sure you do -- but for the benefit of others. One example, each domain has a limit of cookies (20) and you can use them up pretty quickly. However, if you place your data in an array, you

Re: [PHP] Text database instead of MySql (Recommendations / Advise also welcome)

2006-04-13 Thread Richard Lynch
http://php.net/sqllite I dunno how well it will do with "high traffic" though... But at least it will work the same as the MySQL you are familiar with, for the most part. It's the same idea as what you are looking at now, but already built into PHP and ready to rock and roll. :-) You might just

Re: [PHP] Text database instead of MySql (Recommendations / Advise also welcome)

2006-04-13 Thread Ryan A
Hey, > quantify 'high traffic'. Millions of hits per day, hundreds if not thousands of GBs transferred _per day_ sounds like high traffic? :-D --- you might consider telling the client that the implementation of a high traffic site should not be constrained from the outset by s

Re: [PHP] Text database instead of MySql (Recommendations / Advise also welcome)

2006-04-13 Thread Richard Lynch
On Thu, April 13, 2006 7:37 pm, Ryan A wrote: > Hey, > > > A text db is never going to be as fast as a relational db. > > > I know ...but I have no choice, no MySql or any other database > installed on > the server. > > >> Why can't you use a database (I assume there was some sort of >> technical

Re: [PHP] serialize() function

2006-04-13 Thread Richard Lynch
On Thu, April 13, 2006 7:03 pm, Jochem Maas wrote: >> One example, each domain has a limit of cookies (20) and you can use > > I wasn't aware that there was a hard limit on cookies - I always > thought > this was a browser dependent setting ... not that I ever get above > 2 cookies max (and mostly

RE: [PHP] Failed MySQL queries

2006-04-13 Thread Richard Lynch
On Wed, April 5, 2006 1:54 pm, Jim Moseby wrote: >> Rather than using the following, which simply displays a >> white screen with >> the die message, is there a way to add the die message to the >> body of the >> original form page, such as in a variable, so that I can >> display the message >> on

Re: [PHP] Sessions and Frames

2006-04-13 Thread Richard Lynch
On Wed, April 5, 2006 1:02 pm, Shaun wrote: > I have a site that uses frames. The frameset loads another site (both > on the > same server) in the lower frame window. Every time the page changes in > the > lower frame the session id changes, how can I stop this happening? A) Don't use frames. The

Re: [PHP] serialize() function

2006-04-13 Thread Richard K Miller
There's nothing special about the data returned by serialize() except that it can be safely written saved, transmitted, etc. To do anything useful with it you have to unserialize() it. The cool part about it is that you can serialize any data structure, like an entire array or object. T

[PHP] Dates before 1970

2006-04-13 Thread Suhas
Hello, I have a project that deals with the date time stamps since 1900 (and past), any suggestions about a good class that handles Date Time Format before 1970. I really like date() function and want something similar. Thanks in advance! SP -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Text database instead of MySql (Recommendations / Advise also welcome)

2006-04-13 Thread Ryan A
Hey, > You're in for a rough ride...Yep, sure looks like it. --- Quadruple all your time estimates, and start by defining EXACTLY what your app has to do, and EXACTLY how much data needs to from A to B to C.---Wise words, have already done most of that, it was very tempting to sta

[PHP] Sessions Issues With 2 Instances On Same Server

2006-04-13 Thread Mark Sargent
Hi All, I'm looking at OSCommerce, and have been asked if running 2 instances on the same server would be doable. I only foresee perhaps issues with sessions. Has anyone got any thoughts on this? I'd be very appreciative of any help with this. I have installed already 2 instances on a test ma

[PHP] PHP Post & forms

2006-04-13 Thread Gary E. Terry
Quite possibly a stupid question, but here goes. I have a form that is a list of jobs. On that list is a checkbox. The form field is named 'changedate'. I also have a hidden field called 'JobID'. What I am trying to accomplish is if a checkbox is checked, when the form is submitted, I want a

Re: [PHP] PHP Post & forms

2006-04-13 Thread Stephen Johnson
On 4/13/06 7:40 PM, "Gary E. Terry" <[EMAIL PROTECTED]> wrote: > Quite possibly a stupid question, but here goes. > > I have a form that is a list of jobs. On that list is a > checkbox. The form field is named 'changedate'. > > I also have a hidden field called 'JobID'. > > What I am trying

Re: [PHP] Dates before 1970

2006-04-13 Thread Rasmus Lerdorf
Suhas wrote: Hello, I have a project that deals with the date time stamps since 1900 (and past), any suggestions about a good class that handles Date Time Format before 1970. I really like date() function and want something similar. date() uses Unix timestamps which on most Unix platforms goes

Re: [PHP] Dates before 1970

2006-04-13 Thread Suhas
This will definitely solve one way but still other is there, How to get that -ve number which starts at 1/1/1900 at 00:00 AM = 0 I need to be able to convert back and forth as there are some calculations to be done on date field, But this is very interesting.. Thx SP On 4/13/06, Rasmus Lerdorf <

Re: [PHP] Sessions Issues With 2 Instances On Same Server

2006-04-13 Thread chris smith
On 4/14/06, Mark Sargent <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm looking at OSCommerce, and have been asked if running 2 instances on > the same server would be doable. I only foresee perhaps issues with > sessions. Has anyone got any thoughts on this? I'd be very appreciative > of any help wi

Re: [PHP] Dates before 1970

2006-04-13 Thread chris smith
> I have a project that deals with the date time stamps since 1900 (and > past), any suggestions about a good class that handles Date Time > Format before 1970. I really like date() function and want something > similar. If you're using a database at all, most of them will handle any sort of dates

<    1   2