[PHP] RE: Your Opinion?! PHP4 coding style - Comment and Splitting source code

2001-02-13 Thread Sam Leibowitz
My personal opinions: The effect of comments in code parsing speed is negligable. Never hesitate to put in a comment because you think it's going to slow down the procedure. If your speed requirements were that down to the wire, you should have gone with a compiled app anyway. Or a faster server.

[PHP] RE: Would Like to know

2001-02-13 Thread Sam Leibowitz
> Can PHP direct the output to a file > eg send the HTTP_USER_AGENT information to a file ?? Sure. Read the documentation for fopen(), flock(), and fwrite(). Then fwrite() out $HTTP_SERVER_VARS["HTTP_USER_AGENT"]. Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] what's the difference between include and require??

2001-02-20 Thread Sam Leibowitz
those obnoxious "Cannot redefine function blah() in blah blah blah" errors. - Sam Leibowitz ([EMAIL PROTECTED]) Project Manager Business Technology Center -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: [PHP] SSH file transfers

2001-01-11 Thread Sam Leibowitz
To my knowledge, there's no way to make a browser do SCP without coming up with a custom plugin, which isn't likely to be within the scope of stuff you're willing to take on. Fortunately, someone else has done it for you. F-Secure SSH is an SSH terminal client that includes tunneling and file t

RE: [PHP] Search Engines and PHP

2001-01-22 Thread Sam Leibowitz
Just a quick addendum - search enginies tend to be picky about indexing pages that have short expire times. So, if you're using header() to prevent pages from being cached (or at least, cached for very long), you should expect search engines to turn their noses up at them. Sam -Origi

[PHP] Session handling and SSL

2001-03-26 Thread Sam Leibowitz
onfiguration problem that I'm too dumb to figure out, or should I actually be worried? Thanks, Sam Leibowitz ([EMAIL PROTECTED]) Project Manager Business Technology Center (http://www.btcwcu.org) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP] Re: Managing Multiple Conditions in a MySQL Query

2001-05-02 Thread Sam Leibowitz
ERE Public='yes',Verified='yes'... Additionally, you're passing your results directly to a while loop, which is a something of a no-no. Even if your SQL statement is perfectly formatted, you'll generate a warning if the number of rows returned is zero. Sam