[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
[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
[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
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
[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
[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
[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,
[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
[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
[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
[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
[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
[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
[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
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
[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
[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
[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
[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
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
[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
[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.
[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
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
[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
25 matches
Mail list logo