[kadmin@freebsd-devel][/www/data/]
php --ini
Configuration File (php.ini) Path: /usr/local/etc
Loaded Configuration File: /usr/local/etc/php-cli.ini
Scan for additional .ini files in: /usr/local/etc/php
Additional .ini files parsed: /usr/local/etc/php/extensions.ini
I apologize if I&
grep skynet
>#
>
>No more of those "Your e-mail concerning our products and
>services" autoreplies from the Belgacom Webteam. Sorry it took me
>this long to realize it and get around to it.
>
> Happy Friday.
Aunt AMaViS says, "What autoreplies?"
o);
$replaced =
str_replace($replace,$replacements,file_get_contents("/somefile.txt"));
=
This, of course, doesn't negate a good templating system* ... but it's
handy to know and you'll probably use it sooner or later.
Kevin Kinsey
P.S. *assuming that's not an oxymoron!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Another possibility might be to explode the contents of the
expression and run a call to function_exists() on it ... but
that might be a tad too broad as well.
HTH,
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You'll want your PHP code to be proprietary and encoded,
of course.
Run this script, save the output, and then run *that*.
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Quadling wrote:
On 16 November 2010 13:21, Jay Blanchard wrote:
[snip]
Hi Folks, is it possible to install PHP on IIS? If yes, can someone
please guide me on how to go about doing it? Thanks
[/snip]
http://www.wampserver.com/en/
Jay, if that had been wimpserver ...
I think it's
to send you a list of people to remove! ;-}
Paul
Lord-a-mercy, yes!!! Daniel, what license for this service? BSD?
CC? GPL? :-D
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
er 3
I'm a hacker, so this is a HACK:
comment 1
comment 2
comment 3
)";
$lines=explode("\n",$data);
array_shift($lines);
array_pop($lines);
print_r($lines);
?>
I'll leave it to the big boys to debate and devise more elegant
solutions.
Kevin Kinsey
--
PHP Genera
Bastien Koert wrote:
On Thu, Oct 28, 2010 at 10:12 AM, Jack wrote:
I have a form which has the following: ( quick clip )
http://www.abc.com/processing/process_form.php"; onSubmit="return
preSubmit();">
Peer Guide
When the form
Marc Guay wrote:
As Nicholas pointed out, the extra underscore in the key is the issue.
That's way too easy a fix. I think he should check to make sure his
version of PHP was compiled with the right extensions and that the
browser isn't doing something unpredictably bizarre when submitting
the
oss.
And then you tell them that when the boss isn't in, they don't have to
do any work.
I'm pretty sure the employees will be your new BFFs.
+11.
We should ABSOLUTELY copy Scot Adams on this.
Wait a minute, maybe Tedd's client IS Scot Adams.
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cript from \\xxx.xxx.xxx.xxx\scriptdir\
to c:\scriptdir\ then it's work !!
everything work good EXCEPT the @EXEC command ...
Safe mode in PHP is OFF ...
Hello,
Can you show us the script? The first thing I'd do is
call "is_file(\\xxx.xxx.xxx.xxx\scriptdir\foo.php)" ... a
Peter Lind wrote:
On 12 May 2010 07:10, Kevin Kinsey wrote:
Ashley Sheridan wrote:
On Tue, 2010-05-11 at 08:48 +0530, chetan rane wrote:
Hi all,
mod rewrite was actually inrduced to have search engne frendly urls.
hnce if you want a seo site then you have to use options 1 & 2. using
sm
may be an artifact of an earlier time. There
was a time when SE's didn't do so well with query strings, but it'd
be a little silly to think their owners didn't realize this and left
things exactly the way they were back in 2002 ... wouldn't it?
My $0.02,
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Quadling wrote:
On 25 April 2010 14:16, tedd wrote:
What's your game?
Ooh, do we *have* to tell?
I've got interest in the AOE stuff, but haven't played in
a while. Haven't purchased AOE3. If I'm *really* bored,
I've got freecell.exe running on every O.S. I run
I'm also a Playe
;ve no idea what OS you're on;
a classical location might be something like:
{/usr/local}/etc/apache/httpd.conf
HTH,
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bobby Pejman wrote:
I must say, I never heard or even thought of the idea of calling it
> LookOut. Hahaha. It made me laugh for a good 10 minutes and
> if that term is open source, I will be using it ;)
I've still got a Win98 box in service somewhere around here; I use
it for audio recording.
Alice Wei wrote:
Date: Sun, 18 Apr 2010 21:02:29 -0500
From: k...@daleco.biz
To: aj...@alumni.iu.edu
CC: k...@designdrumm.com; php-general@lists.php.net
Subject: Re: [PHP] Mail Function Using PEAR Issues
Karl DeSaulniers wrote:
Hey Alice,
Again, try throwing the MIME in.
$headers = 'MIME-Ve
Karl DeSaulniers wrote:
Hey Alice,
Again, try throwing the MIME in.
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
Also:
$headers .= 'Errors-to: ' . "\r\n";
Which I suggested on your previous thread. Also, I see you have
$from set
rep libclntsh.so
libclntsh.so.10.1 (libc6,x86-64) => /usr/lib/oracle/
10.2.0.4/client64/lib/libclntsh.so.10.1
libclntsh.so (libc6,x86-64) => /usr/lib/oracle/
10.2.0.4/client64/lib/libclntsh.so
What is wrong ? , thanks for help
http://bugs.php.net/29301
??
Kevin Kinsey
--
PHP Genera
Dan Joseph wrote:
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings wrote
I had a pair-a-dimes one time. Unfortunately I was a nickel short of a
quarter to put in the slot.
But the question is... were they outside the box?
Nah, the question is, since the slot was intended to accept a quart
Paul M Foster wrote:
Sorry, I just get cranky with people who won't follow the rules.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;s documentation team, eh?
But, this time I'll do what I shoulda mentioned before and
include the "IANAE" disclaimer on all things PEAR, many
things PHP, and some things SMTP.
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thorization, you might be able to
hack something together with the PHP IMAP functions, or
even sockets, but you're getting into a big lotta work
for what seems a small thing.
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alice Wei wrote:
Hi,
I have an issue here where I see no PHP errors on my mail
> function usage, and yet I am not getting the mail in the
> desired account. Here is what I have for my PHP code:
$headers = "From: aj...@alumni.iu.edu";
$to = "aj...@alumni.iu.edu ";
$subject = "Comments Regardi
Ashley M. Kirchner wrote:
Given a MySQL query like this $q = "select num from table", I get a result
like this:
+---+
|num|
+---+
| 1|
| 4|
| 6|
| 2|
| 4|
| 5|
| 3|
| 2|
| 4|
| 2|
| 3|
| 3|
| 2|
| 1|
+---+
What I want is a listing of numbers sorted by the amoun
Nilesh Govindarajan wrote:
On 04/07/10 21:41, Chris G wrote:
http://sites.google.com/site/vfgbyuhoi6/kewe2w
Is there no spam filter at lists.php.net ?
Does your filter catch 101% of all of it? That's
the only one I've seen in a Long Time(tm).
Just asking :-)
Kevin Kinsey
Colin Guthrie wrote:
'Twas brillig, and Kevin Kinsey at 05/04/10 19:15 did gyre and gimble:
Nonetheless, I'm suspecting the programmers had something
like this in mind.
Yeah I guess that's why it interprets these terms. Good thinking :)
Isn't strtotime() based on some
3:05:51
[kad...@archangel][~]
php -r "echo date('r',strtotime('west'));"
Mon, 05 Apr 2010 07:05:59 -0500
This is correct for American Samoa, but I've no idea why :-D
Nonetheless, I'm suspecting the programmers had something
like this in mind. Isn't strtotime() based on some GNU utility?
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sumarliưi Einar Daưason wrote:
I have setup PHP (32 bit) on IIS7.5 and MySQL 5.1.45 (64 bit) with success.
phpinfo() shows the MySQL extension loaded, but when I try to use
mysql_connect( $host, $user, $password ) in a PHP script I get following
error:
PHP Warning: mysql_connect() [function.m
Paul M Foster wrote:
Folks:
If I wanted to encrypt a file in PHP and then write it out to disk
(one-way encryption, requiring a password), what PHP built-ins might you
recommend to encrypt the contents of the file before writing it out to
disk?
Paul
Here's a very generic mcrypt example. IANA
don't. You DO need the
rest of the PHP extensions, libraries, config files, etc.
... a "PHP installation", whether or not your have the
CLI binary is not that important, although I always do
since I like to run system scripts in PHP via cron, etc.
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sr/local/bin/php
php5-5.2.11
This command is highly dependent on your Linux distro: on
RH I think it's "rpm", "dpkg" on Debian, "urpmf" on Mandriva,
etc.
If you have two installations of the same version, $deity
help you :-)
HTH,
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;d want to
definitely do some reading on security best procedures
and changes since PHP 4
As for the rest of the discussion, a bookshop could
easily be most of the standard cart-type apps. Since
they have only a few characteristics, it's much easier
than, for example, retail clothing ;-)
Forgot to mention, you could check into the privacy
vs. server settings by doing:
session_start();
echo session_id();
on both pages. If they're different, then
this is the problem.
KDK
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Martine Osias wrote:
Hi:
I need to store variables to send then between pages. I don't need the
variables in a database so I try to send them with sessions. The
variables don't seem to be there when I try to get them. What could be
the problem. Here are the pages where I store and retrieve th
Thank you.
Martine
Should be trivial to find out what's happening. Something
like:
$success=mysql_query($insert_statement) or die("Uh-oh, mysql
said:".mysql.error());
HTH,
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thilo Klein wrote:
Kevin Kinsey schrieb:
Andre Polykanine wrote:
Hello everyone,
I'm writing a class to send mail via an SMTP server with authorization.
Everything seems to work but I get an EHLO error:
554 SMTP synchronization error
Where should I look to avoid this?
Thanks!
Be p
other server's greeting
before you send HELO/EHLO. ;-)
HTH,
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h's email address is j...@foo.com
Throw in a foreach() and some data writes or w/e, and you're done.
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with sockets or streams.
My $0.02,
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley Sheridan wrote:
is_quantum() is pretty useful as well, if you want to see if it's sort
of there and not at the same time. Probably turns into a cat in a box at
some point too, everything quantum has cats in...
Thanks,
Ash
So, should we add to the list:
is_schrodingers_cat_alive()
??
Robert Cummings wrote:
You forgot to configure the auto_prepend:
php.ini:
auto_prepend = "robs_harem.php"
chmod($wife,0600);
while ($n<$days) {
fputs($rob,$couch);
sleep(28800);
}
}
?>
Good luck, buddy ;-)
Kevin Kinsey
PS > why are all the trolls i
one of the ladies... she's in on it!!!
Warning: constant "ladies" defined incorrectly in
<1236973618.10169.75.ca...@localhost> line 7
:-D
Kevin Kinsey
--
Even if you do learn to speak correct
English, whom are you going to speak it to?
-- Clarence
Kevin Kinsey wrote:
Pretty good thoughts, there. Some years ago, Tim Perdue
(of PHPBuilder and SourceForge fame) had a popular
article on "Search Engine Friendly URL's" (or some such),
in which he described use of the Apache ForceLocal
directive to make a site just One Big Scri
(instead of GET, a la "?section=man&term=foo") so that
the browser appears to be accessing documents in subfolders,
but it's really just telling the server to grab a page with certain
values defined in the URI.
It sure looks like a possibility of this or similar magic in
this ca
benifactor wrote:
I am trying to come up with the best way to check for errors on a form. I have
done this before by checking each $_POST variable seperatly but needed a better
way that would display more then one error. The following is what i came up
with...
if (!$condition1 || !$conditi
textarea:
ALTER TABLE footable auto_increment=0;
and then press the "GO" button.
You can set the auto_increment number to any positive
integer, AFAIK, though there might be a limit.
:-)
Kevin Kinsey
--
Just because you're paranoid doesn't mean they AREN'T after you.
--
php.net will get you some "free pointers" ?
H.A.N.D.!
Kevin Kinsey
--
There is nothing more exhilarating than to be shot at without result.
-- Churchill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
course, some of us could be waiting for the day when they ship with a
"php.ini-ironclad", "php.ini-stealthmode", or
"php.ini-anal-retentive-paranoid",
but I'm not sure those are slated, even for PHP6 ;-)
HTH,
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
might be quite enough to do the trick.
HTH,
Kevin Kinsey
--
A pedestal is as much a prison as any small, confined space.
-- Gloria Steinem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stut wrote:
Joe Wollard wrote:
Leave poor Zouari alone! I for one think that Microsoft
buying Zend would be the best thing to happen to PHP, EVAR!
This Rasmus guy didn't even mean for PHP to be what it is, he
just wanted something simple and now look at it. It's WAY to
complex for an unorganiz
t any Real People(tm)
behind these addys.
Kevin Kinsey
--
Sentient plasmoids are a gas.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Davey wrote:
On 27 Mar 2006, at 19:10, [EMAIL PROTECTED] wrote:
In short, Zend Optimise has *nothing* at all to do with 'making dumb
programmers code better' I'm afraid.
I'm not completely sure on this, and if it is true I don't have the
links, but I think it does do one thing to "m
curious sometimes, I expect. I know I've seen
more than one big hosting company act like such things didn't
exist
Kevin Kinsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
builtin
in some shells, in which case ... ah, nevermind.
If you're guessing? typical places include : /usr/local/bin/php,
/usr/bin/php, /usr/etc/php . . . .
HTH,
Kevin Kinsey
--
The devil finds work for idle glands.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ryan A wrote:
Anybody else getting these annoying auto responses from [EMAIL PROTECTED]
?
If yes, can someone email the list mod to delete his account or something,
or email me back the list mods email and I'll do it myself.
Thanks,
Ryan
What, no killfile?
If we bug the mods for every
above, one problem
I foresee is that the cgi-bin directory is hardly ever in $PATH. . .
HTH,
Kevin Kinsey
--
How many people work here?
Oh, about half.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y?
Hopefully, you caught that above. The 6th parameter of
imagestring should be an integer to represent the color.
HTH,
Kevin Kinsey
--
You will hear good news from one you thought unfriendly to you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ou get in contact with the
right person; it's just that we ain't him/her.
G'day,
Kevin Kinsey
--
Oatmeal raisin.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
't the
end of the world" (unless you want the world to see it).
All that said, have you looked at Hermes, CentraView (not
PHP, IIRC) or NOLA? ATM, I can't even recall what NOLA
does, but I seem to recall that it was fairly generic (may
have been more of a retail-frontend).
Also, a qu
.
Yes; 'tis true. However, in looking at the manual page further, I
see at least one "user submitted" entry that looks like what you
may be desiring, not too far down the page.
HTH,
Kevin Kinsey
--
When the only tool you have is a hammer, every problem starts to look
like
true.
Meanwhile, I'm off to unwedge my tongue, which seems to have
lodged itself firmly between my cheek and upper jaw....
Use what you want, they'll make more,
Kevin Kinsey
--
A wise man can see more from the bottom
of a well than a fool can from a mountain top.
--
PHP
John Nichel wrote:
Ray Cantwell wrote:
Hello again,
I was wondering if any of you knew of a good command line
utility for php5 on linux? The box i write on has no X-windows.
Ray.
A command line utility to do what?
Indeed. Context might even indicate he's looking for
something to use to
ill, not too hard to open an editor, code a tiny script,
and run it from the CLI in either PHP4 or PHP5.
Let's all learn to test things, eh?
Kevin Kinsey
--
If there is a wrong way to do something, then someone will do it.
-- Edward A. Murphy Jr.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
In the end it is not worth worrying about. If someone asks you what PHP
stands for tell them it stands for the best darned programming language you
ever saw.
Hrm, I thought it was "People Hate PERL" .
:-D
/me ducks and runs
--
First Corollary of Taber's Secon
"extension doubling", check the contents of
/usr/local/etc/php/extensions.ini --- almost surely you have
duplicate entries there.
Just as an aside, if you're trying to keep up with PHP development
and the latest Apache, it might be a Good Thing(TM) to update
from FBSD 5.2.1 also.
H
foobar
but obviously, yours did not.
"022" is the default umask for most shells. Seems likely
that you were running your editor/IDE/whatnot setuid
root, perhaps?
HTH,
Kevin Kinsey
--
Don't hate yourself in the morning -- sleep till noon.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s fails, their MTA
doesn't know who else to notify but the "sender",
e.g. "php-general@lists.php.net", and we all get
a nice error message to sift.
I suppose it's just like any community; if somebody
farts on the subway, we all get to share the result
#include
Ke
've a friend who's
always preaching about "open sores", you might
call him up.
Also, several web-mail solutions are text-only,
or have that option, IIRC. Although it's been a
while since I used hotmail or excite, etc., you
might take a look.
HTH,
Kevin Kinsey
*I'm not
to view the file via
a server (e.g., the browser address bar says "http://";),
or via the filesystem (you've opened it from an "explorer"
type window and the address bar says "file:///")
Is PHP running as mod_php in apache, or CGI?
Finally, can you view o
read, and ask sensible questions.
Read Eric S. Raymond's essay 'How to ask questions the smart
way", if you've not already done so.
So, it's "read, code, and read code; then, ask for help nicely
if you need it!"
Good luck with PHP,
Kevin Kinsey
--
Chicag
uicy to the big players", as a friend of mine says.
Makes you wonder if this really isn't a jab against the other DB
companies/orgs --- I could foresee Zend pushing some PHP/Oracle
interface/optimization products within a year or so if this happens
Kevin Kinsey
--
Reality -- what a con
qladd);
try adding something like:
if (!$result) {
die(mysql_errno($conn) . ": " . mysql_error($conn) . "\n")
}
Very good habit to be into. Also, adding the query will help during
the "debugging phase" of development. I generally use something like:
mysql_q
Eric Butera wrote:
PHP List,
Perhaps one of you might know the answer to this, because I certainly do
not, nor do any of my coworkers. The "problem" is that scripts on our OSX
10.4 (our local development machines) and RedHat/Debian linux servers do not
throw the "headers already sent" message.
host php.net, but they are very supportive of the Open-Source
movement as a whole, and run the best OS on the planet .
] YMMV
] NAIAA
] IANAL
Neither am I. TIFWIW
Kevin Kinsey
--
Although the moon is smaller than the earth, it is farther away.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or a working example ?
Thanks!
My code:
Your code works for me, *most* of the time - say, 96%++. I tested
with small values for $childrencount (2 up to 200). I'd hesitate to
speculate, but it smells like an SQL server performance issue to
my weak nose...(IANAE).
Kevin Kinsey
DaleCo, S.P
77 matches
Mail list logo