Re: [PHP] how to reinitialise an MySQL_fetch_array

2001-12-16 Thread Frederick L. Steinkopf
Use the function mysql_data_seek(result variable, row number) so in your case it would be: mysql_data_seek($result2, 0); You should also consider suppressing the warning for an empty set by placing a '@' in front of the function - Original Message - From: Ivan Carey [EMAIL PROTECTED] To:

Re: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-02 Thread Frederick L. Steinkopf
While I've never done this before, couldn't you use a session and have session variables tied to the user name and password and then have the logout function kill the session? - Original Message - From: Rodolfo Gonzalez [EMAIL PROTECTED] To: Matthew Walker [EMAIL PROTECTED] Cc: Aras

Re: [PHP] The future of PHP

2001-08-29 Thread Frederick L. Steinkopf
Manuel, Rather than whining about the future of PHP, why don't you be proactive and take on the goal of raising the $100,000 for the project? Fred Steinkopf - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Manuel Lemos [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

Re: [PHP] PC MAG article - what a crap!

2001-05-09 Thread Frederick L. Steinkopf
What's truly amazing is that they apparently are unaware of the Nusphere distro. Even a total dolt can install apache, mysql, perl, and php on a windows box in minutes. I've done it on three (98 and NT) so far and it is as simple as put the CD in the machine, fire it up, click on a couple of

[PHP] concurrent fopen fwrite fclose

2003-02-11 Thread Frederick L. Steinkopf
Hi, How does php handle multiple concurrent fopen fwrite fclose calls? I have a website that gets 7 million page views a month and we have created a custom log file using fopen fwrite and fclose. When running this concurrently with the apache log we notice significantly lower page hits with the

Re: [PHP] longitude/latitude function

2002-11-16 Thread Frederick L. Steinkopf
Just a note to keep in the back of your mind. Unless I'm mistaken MapQuest prints out road miles to a location. The formula prints out direct (or as the crow flies) miles. There will almost always be differences between the two. Fred Steinkopf - Original Message - From: Aaron Gould