[PHP] Arrays

2001-10-26 Thread Ashley M. Kirchner
TH_INFO even passing along valid information) -- H | "Life is the art of drawing without an eraser." - John Gardner + Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Internet Opera

Re: [PHP] Arrays

2001-10-26 Thread Ashley M. Kirchner
// idx[2] = INT if ($page > 0 && $page =< $array[idx][2]) etc. -- W | 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

Re: [PHP] Best [non-PHP] way to redirect a browser

2001-10-26 Thread Ashley M. Kirchner
pd.conf. Then you can remove index.html all together -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.

Re: [PHP] Searchengine friendly URLs

2001-10-26 Thread Ashley M. Kirchner
he following article: http://www.zend.com/zend/spotlight/searchengine.php -- W | I haven't lost my mind; it's backed up on tape somewhere. +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]&g

[PHP] array_search()

2001-10-26 Thread Ashley M. Kirchner
? Using PHP 4.0.7-dev. -- W | 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

[PHP] array_search()

2001-10-27 Thread Ashley M. Kirchner
? Using PHP 4.0.7-dev. -- W | 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

[PHP] Passing vars...

2001-11-10 Thread Ashley M. Kirchner
need those variables passed on to the file to which I'm redirecting to. Any ideas anyone? -- H | "Life is the art of drawing without an eraser." - John Gardner +------------ Ashley M. Kirchner <mailto:[EMAIL PRO

[PHP] Login verification

2001-11-11 Thread Ashley M. Kirchner
gin. Once verified, the script either continues on to doing other things, or it bombs with a bad login page. -- H | "Life is the art of drawing without an eraser." - John Gardner +------------ Ashley M. Kirchner <

[PHP] Login Verification - snag!

2001-11-12 Thread Ashley M. Kirchner
te to have to duplicate the file with different permissions just so that the process can read it when it needs to. -- H | "Life is the art of drawing without an eraser." - John Gardner +------------ Ashley M. Kirchner <

[PHP] Piping into script...

2001-11-20 Thread Ashley M. Kirchner
art of drawing without an eraser." - John Gardner +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Pho

Re: [PHP] Piping into script...

2001-11-20 Thread Ashley M. Kirchner
H | "Life is the art of drawing without an eraser." - John Gardner +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.38

Re: [PHP] Piping into script...

2001-11-20 Thread Ashley M. Kirchner
-- H | "Life is the art of drawing without an eraser." - John Gardner +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x

[PHP] Creating $key, $value pairs

2001-11-24 Thread Ashley M. Kirchner
I need to "convert" the following: --- Todays Date: 20-Nov-2001 10:58:24AM Order ID: W25 Customer Email: [EMAIL PROTECTED] Email Promotions: Ok BILL TO: Business Name: Contact Name: Ashley M. Kirc

Re: [PHP] Creating $key, $value pairs

2001-11-25 Thread Ashley M. Kirchner
x27;t have access to, so I'm stuck with having to re-invent the wheel. Either way, thank you very much for your code. It is a great start for what I need done. Thanks! AMK4 -- H | "Life is the art of drawing without an eraser." - John Gardner +

Re: [PHP] Creating $key, $value pairs

2001-11-25 Thread Ashley M. Kirchner
t Day Number: 303.442.6410 Evening Number: Fax Number: Address: 3550 Arapahoe Ave Address: Suite 6 Address: City: Boulder State/Province: CO Zip/Postal Code: 80303 Country: USA BILL TO: Business Name: Contact Name: Ashley M.

Re: [PHP] Costum Error Page

2001-12-07 Thread Ashley M. Kirchner
aser." - John Gardner +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe

[PHP] Better way (if...elseif...else)

2001-03-29 Thread Ashley M. Kirchner
to repeat pieces of code. This piece here just generates a drop down list of items, with the current one being the selected one. AMK4 -- W | | I haven't lost my mind; it's backed up on tape somewhere. |____ ~~

[PHP] Include / Require

2001-04-05 Thread Ashley M. Kirchner
W | | I haven't lost my mind; it's backed up on tape somewhere. | ~~~~~~~~~ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. .eFax 248

Re: [PHP] Include / Require

2001-04-05 Thread Ashley M. Kirchner
the whole bit in the main script? (kinda like the way a function() with a return $var in it would work.) AMK4 -- W | | I haven't lost my mind; it's backed up on tape somewhere. | ~~~~~

[PHP] Threading code

2001-04-09 Thread Ashley M. Kirchner
27;t lost my mind; it's backed up on tape somewhere. | ~~~~~~~~~ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> .

Re: [PHP] $8 PHP hosting from Jeffrey Greer

2001-04-11 Thread Ashley M. Kirchner
n tape somewhere. | ~~~~~~~~~ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. .eF

[PHP] Creating Arrays

2001-04-11 Thread Ashley M. Kirchner
ven't lost my mind; it's backed up on tape somewhere. | ~~~~~~~~~ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 SysAdmin / Websmith

Re: [PHP] Creating Arrays

2001-04-11 Thread Ashley M. Kirchner
erson had 'Work' previously selected): Undefined Work Personal How do I create that $items array? AMK4 -- W | | I haven't lost my mind; it's backed up on tape somewhere. |____

Re: [PHP] What variable are being sent to my script?

2001-04-12 Thread Ashley M. Kirchner
s backed up on tape somewhere. | ~~~~~~~~~ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. .eFax 248.671.0909 http://www.pcraft.com

[PHP] [Fwd: Delivery Notification: Delivery has failed]

2001-04-12 Thread Ashley M. Kirchner
Is anyone else getting these messages when posting to the PHP list? They're starting to get annoying. If this individual can't be bothered to change their email subscription, they should be dropped all together. Original Message Subject: Delivery Notification: Delive

[PHP] Sessions?

2001-04-13 Thread Ashley M. Kirchner
er basis. But for right now, I need a startup primer first. AMK4 -- W | | I haven't lost my mind; it's backed up on tape somewhere. | ~~~~~~~~~

Re: [PHP] How to prevent people from downloading images

2001-07-04 Thread Ashley M. Kirchner
he images (also, if anyone can FIND software that will, post it here > too?!). Odd. I can capture it just fine. -- H | Hi, I'm currently out of my mind. Please leave a message. BP! +-------- Ashley M. Kirchner &l

Re: [PHP] Credit card number checker?

2001-07-16 Thread Ashley M. Kirchner
Also, not all credit cards have 16 numbers. -- H | Hi, I'm currently out of my mind. Please leave a message. BP! +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Inter

Re: [PHP] Credit card number checker?

2001-07-16 Thread Ashley M. Kirchner
irst, and won't actually charge you till you've finalized your stay, returned the car or whatever else. -- H | Hi, I'm currently out of my mind. Please leave a message. BP! +-------- Ashley M. Kirchner <mailto:

Re: [PHP] Credit card number checker?

2001-07-16 Thread Ashley M. Kirchner
story. Sure, I can punch in any (valid) CC#, but who's to say that account actually exists? You won't know that till you submit data to the merchant, to see if the account actually exists. -- H | Hi, I'm currently out of my mind. Please leave a message. BP! +--

Re: [PHP] Credit card number checker?

2001-07-16 Thread Ashley M. Kirchner
AmEx: 15 Diners: 14 Discover: 16 Others: enRoute: 15 JC Penney: 16 (I think 15 is also valid, but i'm not sure) -- H | Hi, I'm currently out of my mind. Please leave a message. BP! +-------

[PHP] Avoiding repost

2001-07-26 Thread Ashley M. Kirchner
t's mailbox. How can I avoid this? -- H | Hi, I'm currently out of my mind. Please leave a message. BP! +------------ Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Inter

Re: [PHP] spell checker

2001-08-06 Thread Ashley M. Kirchner
27;) > > 2. look for close matches (have no idea how to approach this!!) aspell_suggest() - http://www.php.net/aspell_suggest -- H | "Life is the art of drawing without an eraser." - John Gardner +---- Ashley

Re: [PHP] hacks we should know about

2001-08-21 Thread Ashley M. Kirchner
gt; In this case you can't. Dumb question: Can't he create a new folder under his web root (let's call it 'incs') and setup an .htaccess file that denies requests to files within that? -- W | I haven't lost my mind; it's backed up on tape somewhere. +---

[PHP] Re: PHP Web Base Email

2001-09-09 Thread Ashley M. Kirchner
Sall Him wrote: > Does anyone know is there any web base email system which is written in > PHP? Horde/IMP (http://www.horde.org) -- H | "Life is the art of drawing without an eraser." - John Gardner +-------

[PHP] Download

2001-09-18 Thread Ashley M. Kirchner
s for getting the current sources? -- H | "Life is the art of drawing without an eraser." - John Gardner +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Internet

Re: [PHP] PHP Boot Camp [Announcement]

2001-09-20 Thread Ashley M. Kirchner
l like flaming back, do me a favor, shove both feet in your mouth first. -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6

Re: [PHP] Screen Resolution in PHP?

2001-09-24 Thread Ashley M. Kirchner
Jay Paulson wrote: > Is there a way to get the client's screen resolution in php? No. Use JavaScript. -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------- Ashley M. Kirchner <ma

Re: [PHP] "The Kewl Script"

2001-09-30 Thread Ashley M. Kirchner
------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6 http://www.pcraft.com . . ..

Re: [PHP] RE: This is SOOOO FREAKY!!! Laughed like HELL !!! :-)

2001-10-03 Thread Ashley M. Kirchner
an eraser." - John Gardner +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Ara

[PHP] Submitting variables via /'s

2001-10-05 Thread Ashley M. Kirchner
that? I can't simply refer to $PHP_SELF anymore if I'm changing those variables, can I? -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTEC

Re: [PHP] Submitting variables via /'s

2001-10-05 Thread Ashley M. Kirchner
Good. Now, does anyone have a link to documentation on how to use this method? (I forgot to ask that, duh) -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------- Ashley M. Kirchner <mailto:[EMAIL

Re: [PHP] Re: Submitting variables via /'s

2001-10-05 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 Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . ..

Re: [PHP] Re: Submitting variables via /'s

2001-10-05 Thread Ashley M. Kirchner
PHP script that should be executed. -- W | 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

[PHP] Browser reload problem

2004-07-28 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 Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com ..

Re: [PHP] Browser reload problem

2004-07-29 Thread Ashley M. Kirchner
several other _REQUEST variables ... _POST["payment_gross"] = "20.00" .. some more _POST variables that match the _REQUEST ones above -- L | I haven't lost my mind; it's backed up on tape somewhere. +----

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Ashley M. Kirchner
mind; 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 Laboratories, Inc.

Re: [PHP] Browser reload problem

2004-07-30 Thread Ashley M. Kirchner
tion of inserting a header redirect back to the same page really discards all of the $_POST variables. And if so, what happens with the $_REQUEST ones? -- W | I haven't lost my mind; it's backed up on tape somewhere. +--------

[PHP] Looking for article

2004-08-12 Thread Ashley M. Kirchner
tape somewhere. +-------- Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 h

[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] 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

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] 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] 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 <

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,

[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] 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

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
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
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
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
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
-- 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
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] 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] 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

[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

[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] 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);

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] 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

[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

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] 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

[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

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

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
> -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: > > > >

[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] 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

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

[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] 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

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] 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: 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: 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: 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] 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] 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

[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

[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] 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] 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

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] 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

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

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

[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] 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

<    1   2   3   >