Re: [PHP] Ini files for CLI only on non Win32 platform

2013-09-13 Thread Kevin Kinsey
[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&

Re: [PHP] Finally....

2013-08-17 Thread Kevin Kinsey
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?"

Re: [PHP] variable placeholders in a text file

2013-01-04 Thread Kevin Kinsey
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

Re: [PHP] Turning a string into a condition

2012-02-16 Thread Kevin Kinsey
. 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

Re: [PHP] Need Part-time Coder

2011-12-28 Thread Kevin Kinsey
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

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Kevin Kinsey
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

Re: [PHP] php-general-digest-unsubscr...@lists.php.net not working?

2010-11-04 Thread Kevin Kinsey
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

Re: [PHP] PHP Question

2010-10-28 Thread Kevin Kinsey
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

Re: [PHP] form post question

2010-10-28 Thread Kevin Kinsey
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

Re: [PHP] Array problem

2010-10-27 Thread Kevin Kinsey
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

Re: [PHP] Re: 1984 (Big Brother)

2010-09-14 Thread Kevin Kinsey
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

Re: [PHP] exec in different directory where PHP is Installed

2010-05-24 Thread Kevin Kinsey
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

Re: [PHP] PHP Application Structre

2010-05-12 Thread Kevin Kinsey
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

Re: [PHP] PHP Application Structre

2010-05-11 Thread Kevin Kinsey
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

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Kevin Kinsey
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

Re: [PHP] PHP not being read?

2010-04-25 Thread Kevin Kinsey
;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

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Kevin Kinsey
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.

Re: [PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Kevin Kinsey
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

Re: [PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Kevin Kinsey
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

Re: [PHP] problems with feature '--with-pdo-oci' RPM (spec)

2010-04-14 Thread Kevin Kinsey
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

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Kevin Kinsey
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

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Kevin Kinsey
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

Re: [PHP] Mail Function Problem

2010-04-12 Thread Kevin Kinsey
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

Re: [PHP] Mail Function Problem

2010-04-12 Thread Kevin Kinsey
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

Re: [PHP] Mail Function Problem

2010-04-11 Thread Kevin Kinsey
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

Re: [PHP] Determining Top # from MySQL

2010-04-10 Thread Kevin Kinsey
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

Re: [PHP] Greate day for you,

2010-04-07 Thread Kevin Kinsey
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

Re: [PHP] Re: Logical reason for strtotime('east') and strtotime('west') returning valid results?

2010-04-06 Thread 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

Re: [PHP] Logical reason for strtotime('east') and strtotime('west') returning valid results?

2010-04-05 Thread Kevin Kinsey
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

Re: [PHP] PHP (32 bit) on IIS7.5 and MySQL 5.1.45 (64 bit) -> established connection failed because connected host has failed to respond

2010-04-03 Thread Kevin Kinsey
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

Re: [PHP] File encryption under PHP

2010-04-01 Thread Kevin Kinsey
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

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Kevin Kinsey
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

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Kevin Kinsey
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

Re: [PHP] open source bookshop

2010-03-17 Thread Kevin Kinsey
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 ;-)

Re: [PHP] PHP Sessions

2010-03-12 Thread Kevin Kinsey
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

Re: [PHP] PHP Sessions

2010-03-12 Thread Kevin Kinsey
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

Re: [PHP] PHP MySQL Insert Statements

2010-03-11 Thread Kevin Kinsey
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

Re: [PHP] EHLO error 554: what can it be?

2010-03-09 Thread Kevin Kinsey
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

Re: [PHP] EHLO error 554: what can it be?

2010-03-08 Thread Kevin Kinsey
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

Re: [PHP] Parse a string containing name and email

2010-03-06 Thread Kevin Kinsey
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

Re: [PHP] Mail Function In PHP

2010-03-06 Thread Kevin Kinsey
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

Re: [PHP] How to get the 'return type' of a function?

2010-02-23 Thread Kevin Kinsey
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() ??

Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-14 Thread Kevin Kinsey
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

Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Kevin Kinsey
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

Re: [PHP] strange php url (CORRECTION)

2006-04-28 Thread Kevin Kinsey
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

Re: [PHP] strange php url

2006-04-21 Thread Kevin Kinsey
(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

Re: [PHP] any better way...

2006-04-20 Thread Kevin Kinsey
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

Re: [PHP] phpMyAdmin--resetting auto increments to 0

2006-04-16 Thread Kevin Kinsey
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. --

Re: [PHP] SQL result

2006-04-14 Thread Kevin Kinsey
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

Re: [PHP] php security

2006-04-06 Thread Kevin Kinsey
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

Re: [PHP] parse a Makefile

2006-04-03 Thread Kevin Kinsey
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

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Kevin Kinsey
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

Re: [PHP] IP Address Filtering

2006-03-29 Thread Kevin Kinsey
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

Re: [PHP] Why Should I Use Zend Optimizer?

2006-03-27 Thread Kevin Kinsey
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

Re: [PHP] where php at?

2006-03-27 Thread Kevin Kinsey
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

Re: [PHP] where php at?

2006-03-27 Thread Kevin Kinsey
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

Re: [PHP] Irritating [EMAIL PROTECTED]

2006-03-27 Thread Kevin Kinsey
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

Re: [PHP] Three quickies anyone?

2006-03-27 Thread Kevin Kinsey
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

Re: [PHP] colored text in images

2006-03-24 Thread Kevin Kinsey
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

Re: [PHP] problem

2006-03-22 Thread Kevin Kinsey
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

Re: [PHP] Invoices

2006-03-19 Thread Kevin Kinsey
'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

Re: [PHP] Convert all named entities into numeric character references

2006-03-06 Thread Kevin Kinsey
. 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

Re: [PHP] CLI utility

2006-03-03 Thread Kevin Kinsey
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

Re: [PHP] CLI utility

2006-03-03 Thread Kevin Kinsey
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

Re: [PHP] Ternary operators

2006-02-15 Thread Kevin Kinsey
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

Re: [PHP] PHP !== Hypertext Pre-Processor

2006-02-15 Thread Kevin Kinsey
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

Re: [PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-15 Thread Kevin Kinsey
"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

Re: [PHP] phpinfo returns a permission error

2006-02-14 Thread Kevin Kinsey
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

Re: [PHP] Blogger post failed?

2006-02-14 Thread Kevin Kinsey
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

Re: [PHP] testing text body emails

2006-02-13 Thread Kevin Kinsey
'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

Re: [PHP] phpinfo returns a permission error

2006-02-13 Thread Kevin Kinsey
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

Re: [PHP] how to learn php

2006-02-11 Thread Kevin Kinsey
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

Re: [PHP] Oracle buying out Zend ... how does that affect PHP?

2006-02-11 Thread Kevin Kinsey
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

Re: [PHP] Can't insert values into MySQL DB via PHP

2006-02-10 Thread Kevin Kinsey
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

Re: [PHP] Weirdness with PHP FreeBSD/OSX/Linux headers already sent

2006-02-10 Thread Kevin Kinsey
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.

Re: [PHP] php versions between os/platform

2006-02-10 Thread Kevin Kinsey
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

Re: [PHP] pcntl functions and database

2006-01-28 Thread Kevin Kinsey
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