.) Is this even possible?
--
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 . 800.441.3873
.
+
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 . . .. Boulder, CO 80303, U.S.A.
--
PHP
.
+
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 . . .. Boulder, CO 80303
.
+
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 . . .. Boulder, CO 80303, U.S.A
.
+
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 . . .. Boulder, CO 80303, U.S.A.
--
PHP General
.
+
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 . . .. Boulder, CO
] = 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.
+
Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130
IT Director
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
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.
+
Ashley M. Kirchner mailto:[EMAIL PROTECTED
.
+
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 . . .. Boulder
.
+
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, CO 80303, U.S.A.
--
PHP
.
+
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
.
+
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
.
+
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
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
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. 800.441.3873 x130
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 mailto:ash...@pcraft.com
.
+
Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130
IT Director / SysAdmin. 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com
)
..done: 291,634 bytes
Segmentation fault
--
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
feature.
+
Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130
IT Director / SysAdmin. 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http
.
+
Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130
IT Director / SysAdmin. 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http
| 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
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 . 303.442.6410 x130
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):
?php
$image = new Imagick();
$image-newPseudoImage(100, 100,
.
+
Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130
IT Director / SysAdmin. 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com
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
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)
-
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);
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 -
309.1C =
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
?
-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 the output
buffering and I've found
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
)
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, 89);
$diff1 = array_diff($array1, $array2);
$diff2 = array_diff($array2, $array1
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_diff(array_unique($array1 + $array2), array_intersect($array1,
$array2
-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:
$array1 = array(1, 2, 3, 4, 5, 6);
$array2 = array
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
-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 should
-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 Nilesh, (and later both Bobby I), were just
-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 either a student
or a parent
-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 parent registration could be risky
-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. Nothing bad
happens
if a student
-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
-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 this
-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 that
-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 changed,
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
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
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
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 |
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
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
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,
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.
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
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
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 General
I'm trying to extract data coming from an exec() call. The exec()
call is performing an ncdump on a netCDF file:
?php
$filename = mlab.20110101.cdf;
exec(/usr/bin/ncdump -l 2048 -v wmax .$filename, $output);
echo ---\n;
print_r($output);
echo ---\n;
?
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
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
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
201 - 260 of 260 matches
Mail list logo