Re: [PHP] Date (Year) .. adding..

2001-05-23 Thread Rob Hardowa
I like Tyler's solution. It is better to move the call to date() outside the loop. You only need to get the current year once, and then add one onto it each iteration. If you leave the call to date() inside the loop then it calculates the current date each time and that uses CPU power and t

Re: [PHP] Using html templates

2001-05-24 Thread Rob Hardowa
I'm using PHPLib as well and am not all that happy with it. It was working just fine until our host decided to upgrade to PHP4. After that, any values being inserted to HTML using templates that had dollar signs and values would not display! For example, if you said admission was $15.00 all

Re: [PHP] stuck

2001-08-17 Thread Rob Hardowa
I'm not 100% sure what you want to accomplish here, or why it is stuck on the last row, but I've made some observations. On Friday 17 August 2001 09:05 am, you wrote: session_start(); > session_register("address"); > session_register("city"); > session_register("state"); > session_register("zip

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Rob Hardowa
According to the spec: $HTTP_REFERER The address of the page (if any) which referred the browser to the current page. This is set by the user's browser; not all browsers will set this. So if it is set by the user's browser, it can be changed, or shut off. I believe there are programs out

Re: [PHP] sessions

2001-08-17 Thread Rob Hardowa
Hi Jeremy, session_destroy() should not destroy all your sessions. As per the manual: session_destroy() destroys all of the data associated with the current session. If you are having trouble with all your sessions being deleted in each run, it may be a problem with these php.ini file setti

Re: [PHP] Why lynx don't work with cron?

2001-08-21 Thread Rob Hardowa
Hiya, I was waiting for someone to answer this question but it hasn't happened yet. I was using this a couple years ago to get a weather page from http after the ftp site with the raw text disappeared. Rest assured this has NOTHING to do with php and everything to do with lynx. I ran my scr

Re: [PHP] What does PHP stand for?

2001-08-28 Thread Rob Hardowa
I believe that it was called Personal Home Page during version 2, and if I'm not mistaken, there was a contest (sorta) around the time 3 was released to find a new name. On Tuesday 28 August 2001 03:08 pm, you wrote: > On Mar 28 Ago 2001 19:52, John Meyer wrote: > > At 05:15 PM 8/28/01 +0228, y