Re: Re[2]: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread Stephen
I have a similar problem only my sessions expire once you leave the site, even for a second. I'm not so experienced with cookies so how can I fix this? - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> To: "John W. Holmes" <[EMAIL PROTECTED]> Cc: "'Gerard Samuel'" <[EMAIL PROTEC

Re: [PHP] My first post

2002-12-03 Thread Tom Rogers
Hi, Tuesday, December 3, 2002, 7:37:20 AM, you wrote: VE> Hi. VE> I'm new in PHP. Could you point me where can i download a sample script VE> about how can i paginate some results? VE> TIA Here is a class that will create a google like pagination of results if that is what you are after :) cou

RE: Re[2]: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread John W. Holmes
> I've noticed this as well with the things I've been doing for sessions. > They way I understand it is that the server side session storing values is > supposed to expire after a certain lenght of time. I currently have this > at default so I think it should expire after 24 mins. The cleanup is d

RE: Re[2]: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread John W. Holmes
> Wednesday, December 4, 2002, 4:01:07 AM, you wrote: > >> Ive just been getting myself deep into using sessions. > >> Sessions are working as it should except for one condition. > >> Say I log into the site, and the session is started, and I don't do > >> anything for the next 30 mins, then go bac

Re[4]: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread Tom Rogers
Hi, Wednesday, December 4, 2002, 1:04:07 PM, you wrote: S> I have a similar problem only my sessions expire once you leave the site, S> even for a second. I'm not so experienced with cookies so how can I fix S> this? S> - Original Message - S> From: "Tom Rogers" <[EMAIL PROTECTED]> S> To

[PHP] how to make a individual submit...

2002-12-03 Thread Peter Houchin
howdy i have got me a form, that when submitted is effectlively only one variable, but when i submit it, it grabs the last field displayed instead of the one selected.. normally this would be easy but I think because I have it inside a loop it's playing havock on me.. -[form code in side the

Re[4]: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread Tom Rogers
Hi, Wednesday, December 4, 2002, 1:33:03 PM, you wrote: No question :) It's just that this is what the original question was about and why I suggested doing his own sesssion timeout check as the deleting proccess is too unreliable to depend on for timeout handling. PHP will quite happily return st

RE: [PHP] how to make a individual submit...

2002-12-03 Thread John W. Holmes
> i have got me a form, that when submitted is effectlively only one > variable, > but when i submit it, it grabs the last field displayed instead of the one > selected.. normally this would be easy but I think because I have it > inside > a loop it's playing havock on me.. > > > -[form code

RE: Re[4]: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread John W. Holmes
> No question :) > It's just that this is what the original question was about and why I > suggested > doing his own sesssion timeout check as the deleting proccess is too > unreliable > to depend on for timeout handling. PHP will quite happily return stale > data > which could be bad in a login ty

[PHP] Whimper, help :)

2002-12-03 Thread John Taylor-Johnston
Martin, Anyone, I'm desperate :( PHP isn't sending my SQL correctly. It's not a MySQL problem. It's my PHP syntax. Debugging: http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B $sql = 'SELECT ... FROM '.$table.' WHERE MATCH ... AGAINST (\'"ready maria"\' IN BOOLEA

Re[6]: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread Tom Rogers
Hi, Wednesday, December 4, 2002, 1:59:11 PM, you wrote: JWH> Okay. I think I thought you were the original poster. How do you know JWH> it's returning "stale" data, though? If the cookie is valid, and there JWH> is still a session file (or data in memory), then why is it stale or JWH> expired. Ma

Re: [PHP] Whimper, help :)

2002-12-03 Thread Tom Rogers
Hi, Wednesday, December 4, 2002, 2:06:36 PM, you wrote: JTJ> Martin, JTJ> Anyone, JTJ> I'm desperate :( PHP isn't sending my SQL correctly. It's not a MySQL problem. It's my PHP syntax. JTJ> Debugging: JTJ> http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B JTJ>

[PHP] Re: Prevent storing data when reload

2002-12-03 Thread Steve Yates
"Lars Espelid" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When I reload the page the data gets stored once more. if (record already exists) { echo "hey you hit reload!" } else { [save record to database] } - Steve Yates - I know a good tagline when I

Re: [PHP] Whimper, help :)

2002-12-03 Thread John Taylor-Johnston
Tom, Anyone, No I'm not looking for a ", I'm trying to pass double quotes into MySQL. Like I said, it works when debugging: http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B http://ccl.flsh.usherb.ca/print/display.test.inc.phps but fails when I try to pass my doub

RE: [PHP] Whimper, help :)

2002-12-03 Thread Peter Houchin
what are the field types in the mysql DB? > -Original Message- > From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 4 December 2002 4:13 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Whimper, help :) > > > Tom, > Anyone, > > No I'm not looking for a ", I'm tryin

[PHP] Re: mcrypt 2.4.x - trouble with small data fields?

2002-12-03 Thread Steve Yates
>Is there a minimum field size for using mcrypt? Boy I feel dumb now. :) My answer was in my post. Mcrypt returns a string that is usually longer than the original string, since the return has to be a multiple of the block size used. So a 2-character string takes "blocksize" characters when

[PHP] Not able to connect to FTP server

2002-12-03 Thread Vinod
Hi friends, I am having a DSL Internet connectivity in our office and my PC is connected to Internet using a HTTP/FTP Proxy(192.168.0.10) and the browser(Mozilla) in my PC is configured to connect to net through the proxy When I tried to connect to our ftp site using the following script, I have

Re: [PHP] Whimper, help :)

2002-12-03 Thread John Taylor-Johnston
Peter Houchin wrote: Mostly varchar(255) and a couple of text. (I may have one longtext). But should that make a difference? Like I said, I can run the same SQL in PHPMyAdmin (a MySQL interface) and I get the correct reponse. But pass it through PHP and kablooey. Won't work? John > what are t

[PHP] Help with session variables

2002-12-03 Thread Manuel Ochoa
I'm running PHP 4.3 on a Windows .net server with Apache 2. Please look at the following code as I cannot figure out what I'm doing wrong. Page1. session_start(); session_register("step"); $step=1; header("location: page_A.php"); Page_A. session_start(); extract($_SESSION); $step=2; hea

Re: [PHP] Cold Fusion conversion issues: app vars and cached queries

2002-12-03 Thread Chris Shiflett
--- Steve W <[EMAIL PROTECTED]> wrote: > My company is looking to move our site away from Cold > Fusion due to the cost. We had talked about JSP, but I > would highly prefer PHP. After evaluation, with the > generic database functions now supporting Oracle in CVS, > I think this might be a possibil

Re: [PHP] Whimper, help :)

2002-12-03 Thread John Taylor-Johnston
http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B http://ccl.flsh.usherb.ca/print/index.html?search=%26quot%3Bready+maria%26quot%3B I blame PHP. Can't be MySQL. echo $sql displays the EXACT same thing. Debugging ... Works jdaxell.ccl = 2 records found: $sql = 'SELE

Re: [PHP] Whimper, help :)

2002-12-03 Thread John Taylor-Johnston
http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B http://ccl.flsh.usherb.ca/print/index.html?search=%26quot%3Bready+maria%26quot%3B I blame PHP. Can't be MySQL. echo $sql displays the EXACT same thing. Debugging ... Works jdaxell.ccl = 2 records found: $sql = 'SELE

Re: [PHP] PHP not reporting errors, but hangs!!

2002-12-03 Thread tech
On Wednesday 04 December 2002 11:55 am, Siva Kumar wrote: > About 3 months back I posted the following message to the list: > > On Saturday 12 October 2002 12:11 pm, Siva Kumar wrote: > > I am running Apache/PHP with Postgresql. For the past one day, whenever > > there is an error in the php script

Re: [PHP] Help with session variables

2002-12-03 Thread Jason Wong
On Wednesday 04 December 2002 14:12, Manuel Ochoa wrote: > I'm running PHP 4.3 on a Windows .net server with Apache 2. Please look at > the following code as I cannot figure out what I'm doing wrong. > > Page1. > session_start(); > session_register("step"); > $step=1; > header("location: page_A

[PHP] request for help/advice (xml content management)

2002-12-03 Thread Robert Samuel White
Hello, I am the creator of eNetwizard Content Management Server, an open source content management system using the LAMP suite. I am getting ready for its first major release and have come across some problems that I need to address first... I'm not really sure where to start this is such a *huge

Re: [PHP] Re: Show Folder Contents in Form

2002-12-03 Thread Jason Wong
On Wednesday 04 December 2002 09:41, Stephen wrote: > Nevermind, I fixed it. But now I have another problem. One, my select box > has some sub-directories. How cna I filter those out? It is also showing a > bunch of numbers. I included a screenshot of the select box. The following > is the code: >

Re: [PHP] formating numbers & date

2002-12-03 Thread Jason Wong
On Wednesday 04 December 2002 08:29, Jeff Bluemel wrote: > ... but the date format doesn't seem to > allow me to pass it a date. Your code? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications

[PHP] Not able to connect to FTP server

2002-12-03 Thread Vinod
Hi friends, I am having a DSL Internet connectivity in our office and my PC is connected to Internet using a HTTP/FTP Proxy(192.168.0.10) and the browser(Mozilla) in my PC is configured to connect to net through the proxy When I tried to connect to our ftp site using the following script, I have

[PHP] InstalaciƱon PHP

2002-12-03 Thread Vicente Valero
Hoa a todos, Deseo hacer uso de PHP para crear formularios con la finalidad de acceder a una base de datos MySQL 3.23.53a (todo sobre Linux). Tengo instalado ahora mismo RADIUS y MySQL e iba a decidirme a montar PHP. He estadoobservando las indicaciones de instalación y la verdad, soy bastante n

Re: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread Gerard Samuel
I was the original poster to this topic. Quite suprised it continued.. I have my sessions stored in a database, thus I thought the problem was there, but have come to realise, that is how sessions behave naturally. I originally thought, that the expired session garbage collection dumps stale ses

Re: [PHP] Prevent storing data when reload

2002-12-03 Thread Jason Wong
On Wednesday 04 December 2002 07:39, Justin French wrote: > > When I reload the page the data gets stored once more. I'm sure this is a > > well known problem. Are there any smart tricks to prevent this from > > happening? > > Yes, and they get discussed on this list almost daily... a quick search

Re: [PHP] "x" as a multiplier

2002-12-03 Thread Bastian Vogt
Hi, try $newwidth." x ".$newheight instead. It's important to put the spaces inside the " <- ...don't know the word :-) If it's still not working you could try settype($newwidth, "string"); settype($newheight, "string"); echo $newwidth." x ".$newheigt; but I think, this is not necessary!

<    1   2