[PHP-WIN] RE: [PHP] MySQL Identifying worst-performing codes

2007-10-04 Thread Jay Blanchard
[snip] There is  a tool call "idera" (SQL diagnostic manager). Basically it is a performance monitoring and diagnostics tool. It has a feature;  Identifying of worst-performing codes - Identifies performance bottlenecks such as the worst-performing stored procedures, long-running queries, mos

[PHP-WIN] RE: [PHP] odd behavior SOLVED - MORE & IMPORTANT

2006-01-20 Thread Jay Blanchard
[snip] >From the offices of "You Ain't Gonna' Beleeeve Dis, Inc." We barked up several trees, but there were no real squirrels. PHP 4.4.1, the version on the server in question, comes with 2 flavors of ini file, the dist and the recommended. I had copied the recommended and renamed it php.ini, wh

[PHP-WIN] RE: [PHP] odd behavior SOLVED

2006-01-19 Thread Jay Blanchard
[snip] ...lots of valuable information [/snip] >From the offices of "You Ain't Gonna' Beleeeve Dis, Inc." We barked up several trees, but there were no real squirrels. PHP 4.4.1, the version on the server in question, comes with 2 flavors of ini file, the dist and the recommended. I had copi

[PHP-WIN] INI path issues

2006-01-19 Thread Jay Blanchard
When I expire you will find my hands wrapped tightly around the throat of a Windows network administrator. I had PHP installed on a web server, and all was working OK, save for one small thing. phpinfo() indicated that the path to the php.ini was c:\WINNT, which it was not. So I copy the file from

RE: [PHP-WIN] any good suggestion on books

2006-01-16 Thread Jay Blanchard
[snip] for beginners. I've been browsing the group for a little while. I honestly have not gotten a book to learn php on. just wanted to learn and see what you all were saying here. I'm not going to ask question about php since I haven't started yet, My question I am going to ask is this. What

RE: [PHP-WIN] If code not working?

2006-01-04 Thread Jay Blanchard
[snip] if((($_SERVER["REMOTE_ADDR"]=="x.x.x.x")||($_SERVER["REMOTE_ADDR"]=="y.y.y.y "))||0){ saying "if (remote address OR remore address) OR false [/snip] Now, having said that I think I see the problem. if(FALSE){ do something; } What is being tested for? -- PHP Windows Mailing List (htt

RE: [PHP-WIN] If code not working?

2006-01-04 Thread Jay Blanchard
[snip] I appear to have a problem with my If statement. No error is presented to me, but does anyone see what is wrong. IP addresses masked for safety & security. Code as follows: [/snip] echo $_SERVER["REMOTE_ADDR"] and see what is there. I would also add parentheses to the statement,

RE: [PHP-WIN] exec() problem

2005-12-21 Thread Jay Blanchard
[snip] The same script works fine in another win2k box running PHP version 5. Strange is that if I add print $result; right after exec ( $command, $result ); nothing is printed. When the script runs on the machine that works it prints Array obviously. So, my guess is that $command is never being ex

RE: [PHP-WIN] PHP not returning variables!

2005-12-01 Thread Jay Blanchard
[snip] ahh! Thanks :D Well, I may aswell edit my scripts now if they may need editing in the future anyway for PHP6. [/snip] That is a good plan for more reasons than that! There have been many a holy war over the register_globals issue. -- PHP Windows Mailing List (http://www.php.net/) To unsu

RE: [PHP-WIN] PHP not returning variables!

2005-12-01 Thread Jay Blanchard
[snip] But on the new server it doesnt, it produces a blank page. The following however, does work. Any idea why there acting differently? [/snip] Yep, because register_globals (in the php.ini--if you change it make sure to restart your web server so that ther settings take effect) is 'off' in

RE: [PHP-WIN] list files in a directory

2005-11-03 Thread Jay Blanchard
[snip] I got some directories on a web server, these I called with PHP to be displayed on an HTML page. But I do not get them sorted properly. I want them to be sorted by name and not by size. Could some one please shed some light on this. [/snip] Get all of the directory or file names into an arr

RE: [PHP-WIN] INI Path problems

2005-10-24 Thread Jay Blanchard
[snip] ...tons of good stuff [/snip] I decided to go ahead and install apache...20 minutes ago. Apache installed and configured with all the stuff that needed to be changed in the httpd.conf to allow PHP to play nice. It came right up. All of my extensions were installed. Confirmed via phpinfo

RE: [PHP-WIN] INI Path problems

2005-10-24 Thread Jay Blanchard
[snip] Check your drive for other php.ini files. It looks 1st in the window/systems folder but it can also be in the apache/bin directory. Do a search on your drive for php.ini. There may be more. [/snip] I have done this and there are no others. Still no luck. -- PHP Windows Mailing List (ht

RE: [PHP-WIN] INI Path problems

2005-10-24 Thread Jay Blanchard
[snip] I am running W2K with IIS 5.0 and PHP 4.4.n (nsapi) I am attempting to get the curl extension working but I keep getting an undefined function. I check phpinfo and find that the extension is not loading. I check further and find that, although the ini file states that the extension director

[PHP-WIN] INI Path problems

2005-10-24 Thread Jay Blanchard
I am running W2K with IIS 5.0 and PHP 4.4.n (nsapi) I am attempting to get the curl extension working but I keep getting an undefined function. I check phpinfo and find that the extension is not loading. I check further and find that, although the ini file states that the extension directory shoul

[PHP-WIN] RE: [PHP] Getting PHP to work under IIS 6.0

2003-10-03 Thread Jay Blanchard
[snip] Has anyone been able to get PHP working fully under IIS 6.0? If so, try the following script: I get "Warning: shell_exec() [function.shell-exec]: Unable to execute" whenever I try this or any other shell_exec or back tick (`) shell function. I've tried running in IIS 5.0 isolation mod

[PHP-WIN] RE: [PHP] Re: PHP PDF Support...

2003-09-25 Thread Jay Blanchard
[snip] In the current issue of php|architect - an electronically distributed magazine, which you can find here http://www.phparch.com/ there is an article on printing with php. The magazine is not free, but is good value anyway. [/snip] and props to John Holmes who so frequently provides solutions

[PHP-WIN] RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Jay Blanchard
[snip] ...please snip replies [/snip] Your php.ini should be in /etc/apache/ Once you have it there restart your Apache server. Now, let's creat a MySQL connection string in a seperate file (not in the php.ini, which acording to some of the stuff I have read you have done. Also there should n

[PHP-WIN] RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Jay Blanchard
[snip] I have installed Mandrake Linux and it comes standard with Apache PHP and MySQL. You can install all these rpms through the server selectionAnyway. In my test environment it is function city and of course register globals were on. Now I have Taked my PHP.INI-DIST set the globals to o

[PHP-WIN] RE: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users

2002-08-01 Thread Jay Blanchard
Well, the predictions have come true. In San Antonio only four folks signed up for the meetup, and the event was cancelled with no way to get in touch with the other local developers to make a go of it. Out of the 147 cities listed only 15 had enough people for meetup.com to do their thing. A nobl

[PHP-WIN] RE: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users

2002-07-31 Thread Jay Blanchard
[snip] First of all, sorry for the additional cross post. MeetUp.com lacks the ability to let you contact other folks who have signed up. In my general area, Massachusetts, there are a bunch of tiny groups scattered about, and I'd like a chance to get all of them to converge in one place to make t

[PHP-WIN] RE: [PHP] CRON JOB

2002-07-17 Thread Jay Blanchard
[snip] What do I have to do before I can run my file.php as a cron job in Linux? [/snip] Look at the archives for the past couple of days, it has been covered in some detail. Make sure to compile PHP without apsx, and for practical purposes move the PHP executable to the /usr/local/bin directory.

[PHP-WIN] RE: PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-15 Thread Jay Blanchard
[snip] No, it's not a dating service :) Want to meet other PHP developers in your area? Check out: http://php.meetup.com/ Pretty nifty idea... especially given the lack of user groups in the U.S. I thought for others who had not seen this I would post this. There is probably already a user

[PHP-WIN] PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-12 Thread Jay Blanchard
No, it's not a dating service :) Want to meet other PHP developers in your area? Check out: http://php.meetup.com/ Pretty nifty idea... especially given the lack of user groups in the U.S. [/snip] I thought for others who had not seen this I would post this. There is probably already a user

[PHP-WIN] RE: [PHP] Passing Variables

2002-05-23 Thread Jay Blanchard
[snip] me.php [/snip] Note the concatenation operators, HTH! Jay -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php