Re: [PHP] Re: Variables via url

2012-05-12 Thread Ashley M. Kirchner
On 5/12/2012 7:21 AM, Jim Giner wrote: Of course, someone here with much more knowledge than I could very soon make me look stupid :) Meh, I don't call that looking stupid. I call it a different way of skinning the cat. :) We're all here to learn from one another, right? Thanks fo

[PHP] Variables via url

2012-05-11 Thread Ashley M. Kirchner
Can someone point me at examples or directions on how I can pass a variable via a URL in the following way: http://server.domain.com//script///variable/ I will only be passing one single /variable/. And I want the /script/ to use that. I don't want to see what the script i

[PHP] Re: Extracting data from exec() call

2011-06-14 Thread Ashley M. Kirchner
On 6/14/2011 12:03 PM, Shawn McKenzie wrote: --or to search for wmax = if($array = preg_grep('/^ wmax = $/', $output)) { $wmax = explode(', ', $array[0]); } array_shift($wmax); print_r($wmax); May need some more error checking. Yeah, error checking ... Can't search for '/^ wmax $/

[PHP] Extracting data from exec() call

2011-06-14 Thread Ashley M. Kirchner
I'm trying to extract data coming from an exec() call. The exec() call is performing an ncdump on a netCDF file: This is all fine, however the data comes in with extra information I don't need, and the data I do need is in a long string format: Array ( [0] => netc

RE: [PHP] Check for open file

2011-03-03 Thread Ashley M. Kirchner
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Thursday, March 03, 2011 2:03 PM > To: sstap...@mnsi.net > Cc: php-general@lists.php.net > Subject: RE: [PHP] Check for open file > > > As far as I was aware, if you're in the middle of writing to a fi

RE: [PHP] Check for open file

2011-03-03 Thread Ashley M. Kirchner
> As far as I was aware, if you're in the middle of writing to a file and > another > script was attempting to write to it, the OS would prevent that as you had an > open lock on it. > > -- > Thanks, > Ash > http://www.ashleysheridan.co.uk I guess I would have to test that. -- PHP Gene

RE: [PHP] Check for open file

2011-03-03 Thread Ashley M. Kirchner
> Write the file with a temporary name and extension. Once the file is closed, > change the name to the pattern your server is looking for. Once you finish > processing it, either change the name again, or move it to a different > directory. Don't reuse the same file name, but add a numeric value

[PHP] Check for open file

2011-03-03 Thread Ashley M. Kirchner
Is there a clean or reliable way of checking to see if a file is still being written to before doing anything with it? Here's the scenario: we have a Samba share that we can copy files to (from within Windows or Macs). The server picks up the file and does so

RE: [PHP] Google Visualization Chart API

2011-02-17 Thread Ashley M. Kirchner
> So. Easy peasy. Not exactly. Those examples are not from the Visualization API - it's two different things. The API is written so that one does not have to generate those parameters individually and then pass them through POST/GET to Google. It's cleaner and faster to work with. T

Re: [PHP] Google Visualization Chart API

2011-02-17 Thread Ashley M. Kirchner
On 2/17/2011 12:26 PM, Ashley Sheridan wrote: Googles API creates an image which you can save locally and insert into a PDF that you create with something like fpdf. There are plenty of functions in PHP which can be used for this, such as fread(), etc. That's the thing, I know it does, but

[PHP] Google Visualization Chart API

2011-02-17 Thread Ashley M. Kirchner
I'm currently using Google Visualization API[1] to generate both interactive and static charts for a client and they're viewing these online[2]. However they now want to be able to download a PDF containing the charts (static) in it. Does anyone know of a way where I can take the same A

[PHP] Printing in columns

2010-08-27 Thread Ashley M. Kirchner
I need some guidance here. I've been fighting with this problem for a few days now and not having a whole lot of luck. I have some, but I run into issues sooner or later. So I'm hoping that someone here can give me some ideas of how to better approach this, perhaps help with c

[PHP] Re: [MySQL] Re: MySQL select matching

2010-07-19 Thread Ashley M. Kirchner
On 7/19/2010 10:48 AM, Michael Dykman wrote: Not quite sure what the question is. from: mysql> select * from table where id='1'; +---+-+-+---+ | 1 | 123 | 0.0 | C | | 1 | 234 | 0.1 | D | | 1 | 345 | 0.0 | D | | 1 | 456 | 0.1 | C | | 1 | 567 | 0.1 | G | +

[PHP] MySQL select matching

2010-07-19 Thread Ashley M. Kirchner
I may be going at this completely wrong but at the moment I'm stuck. I have a DB from a client and need to do several searches on it. This one sentence is important because it's their DB, not mine. So I can't modify the way the DB was created in the first place, I can only work with wh

Re: [PHP] is

2010-06-11 Thread Ashley M. Kirchner
On 6/11/2010 4:07 PM, David Harkness wrote: *PHP* files? I would have flagged that as the problem rather than disabling short tags. Yeah, whoever created their site originally mixed XML/HTML/PHP all in the same file (all the files were .html but contained xml and php snippets) so I h

Re: [PHP] is

2010-06-11 Thread Ashley M. Kirchner
On 6/11/2010 11:40 AM, Daevid Vincent wrote: I use short tags and I output XML all the time. I think there's a difference to note here. You're outputting XML from PHP, versus files having XML tags in the files ... I ran into a problem with short tags not too long ago when a client t

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
> -Original Message- > From: Karl DeSaulniers [mailto:k...@designdrumm.com] > Sent: Monday, May 03, 2010 12:03 AM > To: PHP > Subject: Re: [PHP] Need login suggestions > > I see, well I have a login that has multiple levels and here is how I > have it. > Obvious pertinent info has been cha

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
> -Original Message- > From: Karl DeSaulniers [mailto:k...@designdrumm.com] > Sent: Sunday, May 02, 2010 11:44 PM > To: PHP > Subject: Re: [PHP] Need login suggestions > > Hi Ashley, > I would have your database that is attached to this part of the > website, > verify with another database

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
> -Original Message- > From: Adam Richardson [mailto:simples...@gmail.com] > Sent: Sunday, May 02, 2010 10:59 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Need login suggestions > > Just be cautious with FERPA guidelines (which can actually get quite > confusing) if you're doing

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
> -Original Message- > From: Paul M Foster [mailto:pa...@quillandmouse.com] > Sent: Sunday, May 02, 2010 10:53 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Need login suggestions > > The only reliable way to resolve this is to let the school > administration to handle it. Each r

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
> -Original Message- > From: Angus Mann [mailto:angusm...@pobox.com] > Sent: Sunday, May 02, 2010 10:43 PM > To: Ashley M. Kirchner; php-general@lists.php.net > Subject: Re: [PHP] Need login suggestions > > It sounds like it really doesn't matter how you do it.

RE: [PHP] Re: Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
> -Original Message- > From: Bobby Pejman [mailto:bpej...@gmail.com] > Sent: Sunday, May 02, 2010 8:30 PM > To: Nathan Rixham; Ashley M. Kirchner > Cc: php-general@lists.php.net > Subject: Re: [PHP] Re: Need login suggestions > > I would also agree that allowing p

[PHP] RE: Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
> -Original Message- > From: Nathan Rixham [mailto:nrix...@gmail.com] > Sent: Sunday, May 02, 2010 8:21 PM > To: Ashley M. Kirchner > Cc: php-general@lists.php.net > Subject: Re: Need login suggestions > > Ideally you need to be able to unambiguously identify

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
> -Original Message- > From: Nathan Rixham [mailto:nrix...@gmail.com] > Sent: Sunday, May 02, 2010 8:39 PM > To: Ashley M. Kirchner > Cc: php-general@lists.php.net; Nilesh Govindarajan > Subject: Re: [PHP] Need login suggestions > > Ashley, > > I think Nil

RE: [PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
> -Original Message- > From: Nilesh Govindarajan [mailto:li...@itech7.com] > Sent: Sunday, May 02, 2010 8:20 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Need login suggestions > > Its a very bad idea to allow public registration for parents, instead > the school IT department s

[PHP] Need login suggestions

2010-05-02 Thread Ashley M. Kirchner
Slightly OT, but I can't think of a better forum to ask this in. I'm sure a lot of us here have at some point or another built a system that requires registration to gain access. What I'm trying to figure is how to set different levels of access. We're building a large site for a school distr

RE: [PHP] Array differences

2010-04-14 Thread Ashley M. Kirchner
> -Original Message- > From: lala [mailto:l...@mail.theorb.net] > Sent: Wednesday, April 14, 2010 10:15 AM > To: Ashley M. Kirchner > Cc: php-general@lists.php.net > Subject: Re: [PHP] Array differences > > Ashley M. Kirchner wrote: > > > >

RE: [PHP] Array differences

2010-04-14 Thread Ashley M. Kirchner
-Original Message- > From: Ryan Sun [mailto:ryansu...@gmail.com] > Sent: Wednesday, April 14, 2010 8:45 AM > To: a...@ashleysheridan.co.uk > Cc: Ashley M. Kirchner; php-general@lists.php.net > Subject: Re: [PHP] Array differences > > Maybe this one works? > array_dif

Re: [PHP] Array differences

2010-04-14 Thread Ashley M. Kirchner
On 4/14/2010 2:39 AM, Ashley Sheridan wrote: On Tue, 2010-04-13 at 23:01 -0600, Ashley M. Kirchner wrote: $array1 = array("12", "34", "56", "78", "90"); $array2 = array("12", "23", "56", "78&quo

[PHP] Array differences

2010-04-13 Thread Ashley M. Kirchner
I have the following scenario: $array1 = array("12", "34", "56", "78", "90"); $array2 = array("12", "23", "56", "78", "89"); $result = array_diff($array1, $array2); print_r($result); This returns: Array ( [1] => 34 [4] => 90

[PHP] Determining Top # from MySQL

2010-04-10 Thread Ashley M. Kirchner
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 amount of times they appear

RE: [PHP] Updating HTML on page

2010-04-05 Thread Ashley M. Kirchner
y off here? > -Original Message- > From: TG [mailto:tg-...@gryffyndevelopment.com] > Sent: Monday, April 05, 2010 8:48 PM > To: Ashley M. Kirchner; php-general@lists.php.net > Subject: Re: [PHP] Updating HTML on page > > The only way to do it with PHP alone would be to control

[PHP] Updating HTML on page

2010-04-05 Thread Ashley M. Kirchner
I have a PHP script that queries a DB to get a list of image names. Then it processes each name and generate thumbnails and what not. What I want to do is have a page called (through the browser) which updates as the PHP process in the background is working. So when you first pull up the page it

[PHP] preg_match? Or something else?

2010-04-02 Thread Ashley M. Kirchner
I have an array that's created as follows: $string = "73G146C 311- 309.1C"; $arr = preg_split("/[\s]+/", $string); Now I need to take each element in that array, and break them up even further so that I get: 73G=> "73" and "G" 146C => "146" and "C" 311- => "311" and

RE: [PHP] ldap_bind() connectivity

2010-03-15 Thread Ashley M. Kirchner
> -Original Message- > From: Peter Lind [mailto:peter.e.l...@gmail.com] > Sent: Monday, March 15, 2010 3:13 AM > To: Ashley M. Kirchner > Cc: php-general@lists.php.net > Subject: Re: [PHP] ldap_bind() connectivity > > You might want to check what the function out

[PHP] ldap_bind() connectivity

2010-03-15 Thread Ashley M. Kirchner
Thanks to Jochem Mass for helping earlier to the string splitting. Works great (so far). Now on to my next problem, which has to do with ldap_bind(). I have the following code: $ldapconn = @ldap_connect($adServer); $ldapbind = ldap_bind($ldapconn, $ldapuser, $ldappass);

[PHP] Splitting a string ...

2010-03-14 Thread Ashley M. Kirchner
I'm not a regexp person (wish I was though), and I'm hoping someone can give me a hand here. Consider the following strings: - domain\usern...@example.org - domain\username - the same as above but with / instead of \ (hey, it happens) - usern...@example.

[PHP] Connect to LDAP

2009-11-08 Thread Ashley M. Kirchner
Hi folks, I've never done any PHP->LDAP code writing (nor have I ever dealt with an LDAP server to begin with.) However I'm writing an app which requires verifying a user's credentials against an LDAP server. The admin of the server sent me the following snippet, however also made it

Re: [PHP] Imagick question

2009-11-05 Thread Ashley M. Kirchner
destroy(); -- H | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:ash...@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft

Re: [PHP] Imagick question

2009-11-05 Thread Ashley M. Kirchner
Brady Mitchell wrote: I'm sure it can be done, but without seeing your code we can't really help. Easily solved. From the PHP manual (http://www.php.net/manual/en/function.imagick-roundcorners.php): newPseudoImage(100, 100, "magick:rose"); $image->setImageFormat("png");

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
ished what I needed, but it doesn't actually fix the problem: enabling zlib will cause pear to segfault. -- H | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:ash...@pcraft.com&

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
-- H | It's not a bug - it's an undocumented feature. +------------ Ashley M. Kirchner <mailto:ash...@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
ed feature. +---- Ashley M. Kirchner <mailto:ash...@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 5

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
all/upgrade, pear will always segfault. PECL does not exhibit that behavior. -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner <mailto:ash...@pcraft.com> . 303.442.6410 x130 IT

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
o download PEAR-1.9.0.tgz (291,634 bytes) ..done: 291,634 bytes Segmentation fault -- H | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:ash...@pcraft

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
A -- H | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:ash...@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
e is that PEAR segfaults no matter what I try to install. PECL works just fine (at least I was able to install something with it.) -- H | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <m

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
the source from php.net and installed that. -- H | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:ash...@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin

[PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
Typing 'pear segmentation fault' in Google produces tons of responses so I know I'm not the only one with this issue, but I'll be damned if I can figure out what the problem is and how to fix it. I rolled my own PHP 5.3.0 from source. Compilation went fine, no errors. Installation went

Re: [PHP] Email configuration

2009-02-06 Thread Ashley M. Kirchner
Nathan Rixham wrote: Hmmm... So Ashley is a "him"? yeah quot: "Actually I'm a guy, but we can't all be perfect ;)" http://www.mail-archive.com/php-general@lists.php.net/msg235765.html Wouldn't be the first Ashley who's a guy. I happen to be one of those too ... -- PHP General Mailing L

Re: [PHP] old HTTP variables

2009-01-18 Thread Ashley M. Kirchner
Larry Garfield wrote: http://us3.php.net/manual/en/ini.core.php#ini.register-long-arrays Bingo. That's what I needed. Although you should probably take the time to upgrade the app anyway, as those variables are deprecated and won't be around forever. Yeah, that would be nice, except

Re: [PHP] old HTTP variables

2009-01-18 Thread Ashley M. Kirchner
mike wrote: $HTTP_GET_VARS = $_GET; etc. :) I know what they are. I'm not about to change a couple of thousand lines of someone else's code unless there's no other way. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] old HTTP variables

2009-01-18 Thread Ashley M. Kirchner
Maybe I'm asking for trouble here, but, is there any way to make PHP 5.2.8 understand the old $HTTP variables? Like: $HTTP_SESSION_VARS $HTTP_GET_VARS $HTTP_POST_VARS $HTTP_SESSION_VARS $HTTP_COOKIE_VARS etc., etc. I have an old application for which development has stopped back in

Re: [PHP] phpguru.org back up

2008-08-13 Thread Ashley M. Kirchner
undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .

Re: [PHP] running base64 code from unknown source

2008-07-24 Thread Ashley M. Kirchner
[EMAIL PROTECTED] wrote: If this is a false code, hope we can do something about it. Code works as expected and spits out 'Hello World' as it should. -- H | It's not a bug - it's an undocumented feature. +------

Re: [PHP] WAMP servers

2008-03-27 Thread Ashley M. Kirchner
umented feature. +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Ashley M. Kirchner
Well, at least we know which subject will make it to the top next week -- H | It's not a bug - it's an undocumented feature. +---- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x

Re: [PHP] running Batch process using php

2007-10-22 Thread Ashley M. Kirchner
cells at the moment, I'd say run it through a cron task (or 'at' task if you're on a Win32 platform). -- W | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PR

Re: [PHP] evil script in server logs (Heads Up)

2007-10-05 Thread Ashley M. Kirchner
d mean the remote host is already infected and is now looking for more targets. -- W | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x1

Re: [PHP] evil script in server logs (Heads Up)

2007-10-05 Thread Ashley M. Kirchner
up in the log files. But, without further information, I'm just as clueless... -- W | It's not a bug - it's an undocumented feature. +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6

Re: [PHP] evil script in server logs (Heads Up)

2007-10-05 Thread Ashley M. Kirchner
Paul Scott wrote: I am taking a quick look through the access logs on our dev box, and came across this little nasty that was trying to execute itself as a XSS attack(?) Interestingly enough, MimeDefang/ClamAV quarantined your message because of that script: Quarantine Messages:

[PHP] Re: [Fedora] [PHP] Installation of pear

2007-09-28 Thread Ashley M. Kirchner
documented feature. +---- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapah

[PHP] Re: [horde] Requirement of IMP / Horde

2007-09-26 Thread Ashley M. Kirchner
umented feature. +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . .

Re: [PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
en one can pick one of those events and hit a submit button to trigger an external script. -- W | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.64

Re: [PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
Tijnema wrote: But Javascript != PHP, so if this is what you want, you're on the wrong list... Ik weet dat meneer. But I also hate JavaScript. So if I can avoid it and use PHP, then I will. Hence me asking here first to see if I can get it accomplished with PHP. :) -- PHP General Maili

[PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
I have a page containing two drop down lists. I need to figure out a way to populate/update the second drop down list based on a selection of the first one (the data for both drop down lists is in a MySQL database). Is this something I need to do in JavaScript? Or can I somehow trick PH

Re: [PHP] Just to prove my point (used to be -> Re: [PHP] People's misbehavior on the list)

2007-05-18 Thread Ashley M. Kirchner
ed feature. +---- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapah

Re: [PHP] People's misbehavior on the list

2007-05-18 Thread Ashley M. Kirchner
umented feature. +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6

[PHP] set_time_limit failing...

2007-04-30 Thread Ashley M. Kirchner
#x27;s an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcra

Re: [PHP] Intro to PHP question

2007-03-08 Thread Ashley M. Kirchner
ed feature. +---- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder,

Re: [PHP] whois Domain??

2007-01-09 Thread Ashley M. Kirchner
Curt Zirzow wrote: Assuming paths is evil :) To add to what Curt says here, so is assuming the command actually exists. :) -- H | It's not a bug - it's an undocumented feature. +---- Ashley M. Kirchner <

[PHP] Database Question

2006-12-19 Thread Ashley M. Kirchner
Someone's going to tell me to go buy a book, I just know it. I'll ask anyway: I'm starting to log weather data to a database and I'm trying to figure out what's the best way to create the tables. The reports are coming in every minute, of every hour, 24 hours a day. Eventually, I'd

Re: [PHP] Converting array keys to variables?

2006-11-17 Thread Ashley M. Kirchner
s an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe

[PHP] Converting array keys to variables?

2006-11-17 Thread Ashley M. Kirchner
[path]; $year = $array[0][year]; $month = $array[0][month]; $day = $array[0][day]; $hhmm = $array[0][hhmm]; -- A -- W | It's not a bug - it's an undocumented feature. +------------ Ashley M. Kirchner <mailto:[EMAIL P

Re: [PHP] Looping through array

2006-11-16 Thread Ashley M. Kirchner
ns of course. -- W | It's not a bug - it's an undocumented feature. +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130

Re: [PHP] Looping through array

2006-11-16 Thread Ashley M. Kirchner
hings in order, 1 through 5, then 6 through 10. -- W | It's not a bug - it's an undocumented feature. +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith

[PHP] Looping through array

2006-11-16 Thread Ashley M. Kirchner
#x27;5' to the index value. There's got to be a saner way... -- W | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x13

Re: [PHP] Checking file existence

2006-11-15 Thread Ashley M. Kirchner
, and unless somehow the camera quits, it'll be fine. I know, way too many 'unless's... It's a way of life. :) -- A -- W | It's not a bug - it's an undocumented feature. +------------ Ashley M

Re: [PHP] Checking file existence

2006-11-15 Thread Ashley M. Kirchner
It's not a bug - it's an undocumented feature. +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging

[PHP] Checking file existence

2006-11-15 Thread Ashley M. Kirchner
ages. -- W | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 80

[PHP] date() function

2006-11-14 Thread Ashley M. Kirchner
nute through an if loop to see if it's < 10. But I'm wondering if there's a better way. -- W | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED

Re: [PHP] [funny] The state of Java Development

2006-10-27 Thread Ashley M. Kirchner
Daevid Vincent wrote: "The state of Java Development" A friend snapped this picture at the Barnes & Noble in Woodinville, WA... Nice and ... blank. -- W | It's not a bug - it's an undocumented feature. +------

[PHP] Proxy and header redirection

2006-09-08 Thread Ashley M. Kirchner
's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Labor

Re: [PHP] sort() warning

2006-09-06 Thread Ashley M. Kirchner
Robert Cummings wrote: It's because you have written sloppy code and didn't bother to initialize $Dirs to an array. So it's default value is null. You would know this if you had notices enabled. Error fixed. Also, the other problem is that you are either a) opening the wrong path, b) t

[PHP] sort() warning

2006-09-06 Thread Ashley M. Kirchner
Given this piece of code: $i = 0; if ($dir = opendir($path)) { while ($dh = readdir($dir)) { if ($dh != '.' && $dh != '..') { $Dirs[$i] = $dh; $i++; } } } closedir($dir); sort($Dirs); Why does sort() give me the following warning: PHP Warning: sort(

Re: [PHP] Problems installing 5.1.4

2006-07-03 Thread Ashley M. Kirchner
Richard Lynch wrote: Looks to me like PEAR is trying to phone home to download more PEAR stuff to install PEAR stuff... Are you connected to the internet? Yep, 24/7. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems installing 5.1.4

2006-07-02 Thread Ashley M. Kirchner
I'm trying to get v5.1.4 installed on my server and running into something of a mystery. I can configure and run make with no problem. When I run 'make install' however, it starts the process, installing the dynamic modules, PHP SAPI module, make the necessary changes in httpd.conf and m

Re: [PHP] Checking for empty()

2006-06-14 Thread Ashley M. Kirchner
t if one simply hits a space and/or a return, empty() will fail. off the top of my head, the functions strlen() and isset() come to mind. Will look into them. Danke. -- W | It's not a bug - it's an undocumented feature. +-----

[PHP] Checking for empty()

2006-06-14 Thread Ashley M. Kirchner
bmits the form. -- W | It's not a bug - it's an undocumented feature. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130

[PHP] Color matching magic?

2006-04-06 Thread Ashley M. Kirchner
d; it's backed up on tape somewhere. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcra

Re: [PHP] Different Values for intval(float)

2006-02-18 Thread Ashley M. Kirchner
it's backed up on tape somewhere. +---- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Imaging .

[PHP] GD Graph tutorial?

2005-12-05 Thread Ashley M. Kirchner
- it's an undocumented feature. +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc..

Re: [PHP] PHP 5.0.5

2005-11-22 Thread Ashley M. Kirchner
Curt Zirzow wrote: On Mon, Nov 21, 2005 at 09:41:40PM -0700, Ashley M. Kirchner wrote: ext/ftp/ftp.lo(.text+0x76): In function `data_close': /usr/local/src/apache/php-5.0.5/ext/ftp/ftp.c:1566: undefined reference to `SSL_shutdown' This means basically that the header

Re: [PHP] PHP 5.0.5

2005-11-21 Thread Ashley M. Kirchner
f/magic --with-mysql=/usr --with-ncurses=shared --with-zlib=shared --enable-sockets --with-tsrm-pthreads --with-ldap=shared --with-openssl=shared --with-mcal=shared -- R | I haven't lost my mind; it's backed up on tape somewhere. +-----

[PHP] PHP 5.0.5

2005-11-21 Thread Ashley M. Kirchner
ftp.c:295: undefined reference to `SSL_shutdown' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 libphp5.so compiles just fine just before this bomb. Any sugestions anyone? -- R | I haven't lost my mind; it's backed up on tape somewhere. +-

Re: [PHP] Re: previous + next buttons, no DB

2005-08-19 Thread Ashley M. Kirchner
he picture name, such_n_such_mountain, this_beach, small_flower, blah, blah, blah. -- H | I haven't lost my mind; it's backed up on tape somewhere. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.

Re: [PHP] Re: previous + next buttons, no DB

2005-08-18 Thread Ashley M. Kirchner
that make sense? -- R | I haven't lost my mind; it's backed up on tape somewhere. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.

[PHP] previous + next buttons, no DB

2005-08-18 Thread Ashley M. Kirchner
#x27;next' button. I just don't know how to keep that relationship or how to start coding that. Ideas/suggestions/pointers are much appreciated here. -- R | I haven't lost my mind; it's backed up on tape somewhere. +-------

[PHP] SAFEMODE w/ PEAR

2005-06-24 Thread Ashley M. Kirchner
cked up on tape somewhere. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com . . ..

[PHP] radio buttons in $_POST

2005-04-23 Thread Ashley M. Kirchner
hat and how can I have it show up? (the radio input does show up once one of the radios is checked, but I need it to show up when empty as well.) -- H | I haven't lost my mind; it's backed up on tape somewhere. +-------- Ashle

  1   2   3   >