Re: [nyphp-talk] MySQL Issue

2008-01-10 Thread Randal Rust
On Jan 10, 2008 10:00 PM, David Krings <[EMAIL PROTECTED]> wrote: > I gave up on phpMyAdmin a long time ago and use the tools from the MySQL > website. I'd give those a try and see if that gives you more command. i figured it out. it was something really dumb. i didn't have the right username/pas

Re: [nyphp-talk] MySQL Issue

2008-01-10 Thread David Krings
Randal Rust wrote: I installed MySQL 5 on a machine, and had nothing but problems with it. So I rolled back to MySQL 4.0.24. Now I can't create new databases through PHPMyAdmin. When I look at the PHPMyAdmin home page, it says I'm connected to: MySQL 4.0.24-nt running on localhost as [EMAIL PROT

[nyphp-talk] MySQL Issue

2008-01-10 Thread Randal Rust
I installed MySQL 5 on a machine, and had nothing but problems with it. So I rolled back to MySQL 4.0.24. Now I can't create new databases through PHPMyAdmin. When I look at the PHPMyAdmin home page, it says I'm connected to: MySQL 4.0.24-nt running on localhost as [EMAIL PROTECTED] It should be

Re: [nyphp-talk] Namespaces

2008-01-10 Thread Jon Baer
Its also good to scan the last php-internals list and grep for Namespaces discussions as things can automagically change on you :-) http://marc.info/?l=php-internals&m=118355320225178&w=2 http://marc.info/?l=php-internals&m=119308858512331&w=2 - Jon On Jan 10, 2008, at 8:07 PM, David Krings w

Re: [nyphp-talk] WYSIWYG editors

2008-01-10 Thread Urb LeJeune
Thanks to all who responded to my request for suggestions on WYSIWYG editors. Urb Dr. Urban A. LeJeune, President E-Government.com 609-294-0320 800-204-9545 ~ E-Government.com lowers you costs while increasing your expectations.

Re: [nyphp-talk] Namespaces

2008-01-10 Thread David Krings
Kristina Anderson wrote: I think this has something to do with variable scope? Such as, in ASP (like VB), if you declare a variable i within a function, it loses scope after the function executes and you can have another variable i outside a function which stays in scope (this is NOT necessari

Re: [nyphp-talk] Namespaces

2008-01-10 Thread Kristina Anderson
I think this has something to do with variable scope? Such as, in ASP (like VB), if you declare a variable i within a function, it loses scope after the function executes and you can have another variable i outside a function which stays in scope (this is NOT necessarily a good thing, either).

Re: [nyphp-talk] Writing large files to client efficiently

2008-01-10 Thread Michael B Allen
On 1/10/08, John Campbell <[EMAIL PROTECTED]> wrote: > > In your experience, how much slower is fpassthru compared to serving > > static content? Is it twice as slow? > > Well, I just tested it and it doesn't appear to make much difference. > You have to fire up the php interpreter either way. I

Re: [nyphp-talk] Writing large files to client efficiently

2008-01-10 Thread John Campbell
> In your experience, how much slower is fpassthru compared to serving > static content? Is it twice as slow? Well, I just tested it and it doesn't appear to make much difference. You have to fire up the php interpreter either way. I am running PHP+APC, and I see 4.2 ms for both requests with th

Re: [nyphp-talk] Writing large files to client efficiently

2008-01-10 Thread Michael B Allen
On 1/10/08, John Campbell <[EMAIL PROTECTED]> wrote: > On Jan 10, 2008 1:49 PM, Michael B Allen <[EMAIL PROTECTED]> wrote: > > What is the most efficient way to write large files to the client? > > > > fpassthru? > > > > Mike > > Yes. Make sure you are not output buffering, and don't forget to cal

Re: [nyphp-talk] Writing large files to client efficiently

2008-01-10 Thread John Campbell
On Jan 10, 2008 1:49 PM, Michael B Allen <[EMAIL PROTECTED]> wrote: > What is the most efficient way to write large files to the client? > > fpassthru? > > Mike Yes. Make sure you are not output buffering, and don't forget to call session_write_close() before running fpassthru() if you are using

[nyphp-talk] Writing large files to client efficiently

2008-01-10 Thread Michael B Allen
What is the most efficient way to write large files to the client? I want to control download access to uploaded files (and dodge all the security issues associated with allowing access to uploaded files) so I can't just serve it as static content - it has to be under script control. fpassthru?

Re: [nyphp-talk] Namespaces

2008-01-10 Thread Tim Gales
David Krings wrote: Hi! I got sucked into a (probably pointless) discussion about ASP vs. PHP. One of the arguments against using PHP was that there is only a single namespace. Uhm, that took the wind out of my sail as I have no clue what a namespace is and why having only one is really bad.

Re: [nyphp-talk] Namespaces

2008-01-10 Thread Guilherme Blanco
In a few words, one namespace is a way to organize code into scopes. By doing this, you prevent collisions when mixing libraries. One example... Packages Creole, Doctrine and PEAR_DB. All of them has one class named Connection (Ok, I know they already differ in names, but this is just one example

[nyphp-talk] Namespaces

2008-01-10 Thread David Krings
Hi! I got sucked into a (probably pointless) discussion about ASP vs. PHP. One of the arguments against using PHP was that there is only a single namespace. Uhm, that took the wind out of my sail as I have no clue what a namespace is and why having only one is really bad. Anyone can explain

Re: [nyphp-talk] Joomla and SE Friendly URLs

2008-01-10 Thread Paul Guba
I would be interested in what others say as well as I am about to implement a solution. What I am looking at is ARTIO JoomSEF. Installed but not configured yet. Think I'll wait a bit to hear what you all say. Paul Guba On Jan 10, 2008, at 8:09 AM, Randal Rust wrote: These should be pre

[nyphp-talk] Joomla and SE Friendly URLs

2008-01-10 Thread Randal Rust
These should be pretty easy questions for the Joomla experts. I have a meeting with a potential client this afternoon who had the current version of their site built by a turnkey service using Joomla. The meeting is all about SEO and SEM, and I noticed two things right away when I looked at their s