ith this problem.
The /tmp directory should be writable by everyone. If it's not, you
need to talk to the hosting company support people.
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check the permissions on the files/directories involved. I get this
on Linux when the files/directories are too open.
Ken
At 05:38 PM 7/5/2013, Brian Smither wrote:
I have an application running under PHP-5.4.17-TS-VC9 (and .14 as of
yesterday) with Aprelium's Abyss X1 v2.8 web serv
Did you try the glob function? http://php.net/glob
Ken
Sent from my iPhone
On Jun 22, 2013, at 3:10 PM, Daniel Pöllmann wrote:
> Hi,
> I have some files in a directory - some are uploaded via ftp and some other
> are created by a php script.
>
> Scandir just finds the uplo
Sent from my iPhone
On Jun 22, 2013, at 3:10 PM, Daniel Pöllmann wrote:
> Hi,
> I have some files in a directory - some are uploaded via ftp and some other
> are created by a php script.
>
> Scandir just finds the uploaded files, but none of the created files.
> I can't run chown() because th
rm to indicate which form was submitted
2) use a different name for each form's submit button and use that in
the above code
Ken
At 12:52 PM 5/27/2013, Tim Dunphy wrote:
Hey guys,
Thanks for the input! This is pretty nice, and DOES work. I like the fact
that the fields have been into an ite
7; />";
$tmp[] = "";
$tmp[] = "";
?>
LDAP Form
You will notice that I moved the code for the form to above the HTML
section. I believe that very little PHP should be interspersed with
the HTML -- it makes for cleaner code. You can use single qu
You do realize that you shouldn't rely on Javascript to validate
values returned in a form? Also, if you use HTML5, you can use the
required attribute in the tag and the browser won't let a
user submit a form with a required field not filled. Of course, you
should still validate within your P
Drupal 8 is being built using Symfony, which means I have to learn it.
Ken
At 12:44 PM 5/20/2013, Bastien wrote:
Bastien Koert
On 2013-05-20, at 12:40 PM, Tedd Sperling wrote:
> Hi gang:
>
> Who uses Symfony?
>
> Cheers,
>
> tedd
>
>
> _
THank all of you for your help. I think I got this thing licked.
On Wed, Apr 24, 2013 at 7:14 PM, Ken Kixmoeller wrote:
> Thank you very much, Jim ---
>
>
> On Wed, Apr 24, 2013 at 5:34 PM, Jim Lucas wrote:
>
>> On 04/24/2013 03:24 PM, Ken Kixmoeller wrote:
>>
>
Thank you very much, Jim ---
On Wed, Apr 24, 2013 at 5:34 PM, Jim Lucas wrote:
> On 04/24/2013 03:24 PM, Ken Kixmoeller wrote:
>
>> Thanks, Jim ---
>>
>> Is this different from the "max_input_vars" discussion above? (from David
>> OBrien)
>>
Thanks, Jim ---
Is this different from the "max_input_vars" discussion above? (from David
OBrien)
Ken
On Wed, Apr 24, 2013 at 5:06 PM, Jim Lucas wrote:
> On 04/24/2013 02:40 PM, Ken Kixmoeller wrote:
>
>> Thanks so much. Yes, we found that because PHP threw an e
broken. No errors are being thrown. We are
baffled.
Ken
On Wed, Apr 24, 2013 at 4:23 PM, David OBrien wrote:
> On Wed, Apr 24, 2013 at 5:14 PM, David OBrien wrote:
>
>> On Wed, Apr 24, 2013 at 5:09 PM, Ken Kixmoeller wrote:
>>
>>> Hey - --
>>>
>>>
ncorrect
fix"
===
I wondered if it was memory handling, but what is it (I wonder out loud)
that could be "improper" about my array handling. No error messages are
thrown.
Ken
On Wed, Apr 24, 2013 at 4:14 PM, David OBrien wrote:
> On Wed, Apr 24, 2013 at 5:0
s for the last 3 years.
Thanks,
Ken
Yes, but no further need. Problem solved.
On Tue, Apr 9, 2013 at 4:06 PM, El Ale... wrote:
> you probe command system()?
>
>
>
> 2013/4/9 Ken Kixmoeller
>
>> Yes --- it worked. Thank you so very much. I had searched the heck out of
>> this to no avail.
>&
Yes --- it worked. Thank you so very much. I had searched the heck out of
this to no avail.
This is why I think developer communities are so great -- always someone
smarter than me (not that it is a high bar ) and willing to help.
On Tue, Apr 9, 2013 at 3:05 PM, Ken Kixmoeller wrote:
>
Yes -- Thanks Matjen and Daniel ---
There *was* a stray backtick in there. Weird that we haven't run into it
before.
Testing now.
On Tue, Apr 9, 2013 at 2:41 PM, Matijn Woudt wrote:
>
>
>
> On Tue, Apr 9, 2013 at 9:11 PM, Ken Kixmoeller wrote:
>
>> Hi -- -
>&g
backtick call that error?
On Tue, Apr 9, 2013 at 2:39 PM, Daniel Brown wrote:
> On Tue, Apr 9, 2013 at 3:11 PM, Ken Kixmoeller
> wrote:
> > Hi -- -
> >
> > Strange problem. One of my applications was just moved to a new server.
> The
> > new server has php confi
listing the
command, of course)?
Many thanks,
Ken
;t understand the working and I could
have missed few corner cases also. Please suggest the working and
also
if there is some better way to achieve this.
You should be using either mysql_real_escape_string or
mysqli_real_escape_string (preferably the later) depending on how you're
a
logs), but no
"under the hood" fixes.
Anyone experienced this? Ideas?
Many thanks,
Ken
EGIN','09/16/2012');
$jes = 01/03/2012;
if ( strtotime($jes) < strtotime(WSOFFBEGIN) )
{
$error = " MUST begin after " . WSOFFBEGIN . "\n";
}
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So I cannot do nested do loops in php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 11:36 AM 12/25/2012, you wrote:
The ^ is sent by the remove device with \r\n so I assumed telling
fgets to look for one character should be enough but apparently it isn't.
<---Sorry but the above is wrong.
The ^ is sent by the remove device WITHOUT \r\n
Ken
--
PHP General
s loop and
times out after 30 seconds
The ^ is sent by the remove device with \r\n so I assumed telling
fgets to look for one character should be enough but apparently it isn't.
Any help would be greatly appreciated
Ken
Can you post the javascript that's causing the problem? And, yes,
it's IE, what did you expect... :-)
Ken
At 05:10 PM 12/21/2012, Tedd Sperling wrote:
On Dec 21, 2012, at 5:05 PM, Ken Robinson wrote
> A much easier way to do this would be to use a temporary array
and then explo
= explode('~',$tmp); // put the delimiter between
each entry
echo($topic); // this result is used in an AJAX script
No more worrying about whether the delimiter is the last character.
Ken
At 04:38 PM 12/21/2012, Tedd Sperling wrote:
Hi gang;
I just ran into something I have
break;
case ($count <= 7):
default :
$boxes = 1;
break;
}
BTW, you don't need the "break" statement at the end of the last case
and you don't really need the "case ($count <= 7)" since
atabase username/password. Since
you did, change your db password immediately.
Second, when debugging, if you use the die() function, put out
something meaningful like
... or die("Problem with the insert query: $query" . mysqli($dbc));
Once you see the database error, you will probably be able to figure
out the problem.
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thoughts? Any help is appreciated.
Look at array_filter() ... http://php.net/array_filter
17, 3 => 14, 4 => 0, 5 => 1, 6 => 0 );
print_r(array_filter($total_points_awarded));
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
function am I
in need of?
I would use a combination of the functions
str_word_count and array_count_values.
$str = "This is a test of word counting and this
sentence repeats words a a a a a is is is is";
print_r(array_count_values(str_word_count($str, 1)));
?>
Ken Robinson
-
o dodge it by
echo @$_SERVER['HTTP_REFERER'];
The better way to avoid the error is to do something like
echo (isset($_SERVER['HTTP_REFERER']))?$_SERVER['HTTP_REFERER']:'No
referrer set';
Which checks to see if it's set before echoing the valu
convert value to a number.
return number_format($number, $decimals, $dec_point, $thousands_sep);
}
The just do a global replace of number_format with my_number_format.
That should work, although I haven't tested it...
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x high lighting, get one.
Ken
I would suggest that you figure out what is the value of the
variable your passing into your query is it possible that the
value is getting a ' character, in which case it would be crapping
out the line...
That would only occur when the script is actuall
s like PHP is giving up after finding
unrecognizable stuff after either the first
double or single quote on that line. If you're
using an editor that doesn't do syntax high lighting, get one.
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be revealed, but I
wonder if anyone here can give me a definitive answer whether or not
it is possible.
It's called the scope of the variable. See
http://us3.php.net/manual/en/language.variables.scope.php
Variables defined in a function are only available to the function
where they
3 (16,17,04) Any Help will be appreciated. Thank you.
Turn your sets of number into an array and then use the function
array_intersect, http://php.net/array_intersect
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You want:
> if($status == $selected) echo "selected = ' selected' ";
(I didn't bother with \s)
And BTW, unless the support person is actually sitting on top of the
customer (and I can see situations where that would help), you want it
to say "Waiting *for* Cus
27;re writing XML code, you need to send
an XML header type first:
' . "\n";
?>
Rest of your XML content.
This should work.
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 02:25 PM 8/11/2011, Chris Stinemetz wrote:
I have two forms on the same php script. Is it possible to submit both
forms to the same action="processform.php" with a single submit
button?
If you want to submit at the same time, why do you have two forms?
Ken
--
PHP General Ma
re are no elements returned nothing will be displayed?
Sure, do something like this:
echo ($posts_row['store_tptest'] != '')?"results
{$posts_row['stor_tptest']}:'';
?>
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hy use your
own function to pad a string, when there is a built-in function?
Try this code (untested):
$q = "SELECT areacode, prefix FROM Test WHERE `areacode` = '907' AND
`prefix` = '200' LIMIT 5";
$rs = mysql_query($q);
while ($row = mysql_fetch_assoc($rs)) {
At 02:06 PM 7/12/2011, Marc Guay wrote:
Bonus feature: The server is running Windows 7. I suspect the
crickets are going to win this one.
Take a look at http://www.php.net/printer -- this might be what
you're looking for.
Ken
--
PHP General Mailing List (http://www.php.net
Jeezuz!
At least they have a cute 404 page. Gotta count for *something*!
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, May 30, 2011 at 11:19 AM, Ashley Sheridan
wrote:
> Erm,... Most people who use Windows tend not to change basic settings from
> their defaults.
Erm, most Winders users have no clue *how* to change them, nor that
there might be some reason to do so.
Ken
--
PHP General Mailin
Lo,
so, I'm wondering - how many of you use the observer pattern in php;
and if so, do you implement it 'standalone' or with the spl classes?
Is there any particular advantage to doing it "your way"; whichever
your way is?
Ken
--
http://blogs.linux.ie/kenguest/
--
On Fri, May 6, 2011 at 10:05 AM, Ashley Sheridan
wrote:
> Hiya, has anyone had any experience with parsing a string of sql to break it
> down into its component parts? At the moment I'm using several regex's to
> parse a string, which works, but I'm sure there's a more elegant solution.
>
> The
ing to MySQL.
So, pending further investigation, it seems like *this* problem is solved.
Many, many thanks to all who responded.
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e constitutes a federal (if not intergalactic) crime.
2. This signature addition seems to have started with the Blackberry.
Some people got upset with concise replies (like "fine") thinking them
to be snippy, when they were due to limited typing capabilities.
3. Advertising for Apple.
Ken
On Thu, May 5, 2011 at 5:59 AM, Mike Mackintosh
wrote:
> Run phpinfo() or php -I and see if the PHP.ini file is being loaded.
>>>> php.ini shows the include_path correctly, as:
>>>>
>>>> /Users/ken/Documents/Clients/comped_php:/Users/ken/Documents/
27;t have permissions for those directories and/or the
> files within them?
Yes, it ia two-parter. I showed the second. The first is:
Warning: include_once(smm_header.php) [function.include-once]: failed
to open stream: No such file or directory in
/Users/ken/Sites/smm_registration/smmcomputere
On Thu, May 5, 2011 at 4:40 AM, Richard Quadling wrote:
> On 5 May 2011 05:51, David Robley wrote:
>> Ken Kixmoeller wrote:
>>
> include_path should only contain directories, not filenames. [1]
Thanks. Yes, both of those are directories.
Ken
--
PHP General Mailing List (
foundation classes and a clients application classes and other
programs. For various reasons, I put them into my "Documents/Clients"
folder. When I create to set the path to these files in PHP, they are:
/Users/ken/Documents/Clients/comped_php
/Users/ken/Documents/Clients/jaguar_php
P
variables, change existing ones (but they do
not persist to next call) - cannot create new variable without an error
What's the error you're getting?
Also, do you have a call to session_start() at the beginning of each
script before any output is sent to the browser?
Ken
--
PHP Gener
ctive:
http://www.phpfreaks.com/forums/index.php?board=6.0
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 3/7/2011 7:19 AM, Richard Quadling wrote:
> On 5 March 2011 13:48, Ken Watkins wrote:
>> On 3/5/2011 4:30 AM, Richard Quadling wrote:
>>> On 4 March 2011 23:48, Ken Watkins wrote:
>>>> Hi All.
>>>>
>>>> I have a Windows desktop app th
On 3/5/2011 4:30 AM, Richard Quadling wrote:
> On 4 March 2011 23:48, Ken Watkins wrote:
>> Hi All.
>>
>> I have a Windows desktop app that I created using Visual Foxpro (a database
>> app).
>> I want to write a PHP script that I will call from my desktop app. Th
d the best way to return it is in
xml. I'll investigate
the methods you mention for converting xml since I'm not familiar with any of
them.
Thanks!
Ken
On 3/4/2011 6:51 PM, la...@garfieldtech.com wrote:
> Assuming you mean that the PHP script is on a web server somewhere and the
s for your advice.
Ken Watkins
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Feb 11, 2011 at 4:42 PM, Brian Dunning wrote:
> Hey all -
>
> I'm using mcrypt to store credit cards into MySQL. About 90% of them decrypt
> fine, but about 10% decrypt as nonsense ("b1�\�JEÚU�A���" is a good example).
> Maybe there is a character that appears in about 10% of my encrypti
replies inline...
On Wed, Feb 2, 2011 at 3:23 PM, Hansen, Mike wrote:
>
>
> > -Original Message-
> > From: ken.gu...@gmail.com [mailto:ken.gu...@gmail.com] On
> > Behalf Of Ken Guest
> > Sent: Monday, January 31, 2011 3:26 PM
> > To: Hansen, Mi
e. It'd be
> great if it followed the PEAR coding standards.
>
>
Have you found http://pear.php.net/package/PHP_Beautifier yet?
;)<http://www.php.net/unsub.php>
Ken
--
http://blogs.linux.ie/kenguest/
On Thu, Dec 2, 2010 at 8:06 AM, AmirBehzad Eslami
wrote:
> Dear list,
>
> We have dozen of applications, mostly written in PHP and Python.
> They're distributed on different servers, but i'm trying to integrate them
> somehow.
>
> Each application has its own users.
> Is there a way to store all u
With the exception of some work-mandated systems such as fogbugz, I've used
mantis successfully for quite a long time.
On Fri, Nov 12, 2010 at 1:09 AM, Andre Polykanine wrote:
> Hello Jonathan,
>
> I tried to use Mantis, however it didn't send e-mails properly so I
> gave up.
> --
> With best re
> On Tue, 2010-11-09 at 16:51 +0100, Dušan Novaković wrote:
>>
>>
>>> Hello there,
>>>
>>> I have to make chat for website that has around 10 000 users (small
>>> social network). So before I start, I would like to hear different
>>> opinions. Important thing is to have in mind that in one moment y
On Mon, Oct 25, 2010 at 7:57 PM, Colin Guthrie wrote:
> 'Twas brillig, and Mert Oztekin at 25/10/10 13:23 did gyre and gimble:
> > I am looking for an open-source project to help and make some fun. Anyone
> has suggestions?
>
> How about helping out Zend Framework, adding useful classes for vario
available
elsewhere.
Ken
On Mon, Aug 23, 2010 at 3:37 AM, David Mehler wrote:
> Hello,
> Has anyone worked with the google maps API to put a map on their site?
> If so, please contact me offlist i need to get it going.
> Thanks.
> Dave.
>
> --
> PHP General Mailing List (h
ckage
that uses them) I use phpt tests ( http://qa.php.net/write-test.php ).
If you're starting out on something [new] that doesn't yet have unit tests,
I'd suggest phpunit.
hth
Ken
--
http://blogs.linux.ie/kenguest/
ass values
from one page to another using the URL.
Look up $_GET or Predefined Variables in the PHP documentation online.
If that doesn't help, you need to buy the most basic book on web
programming you can find (and read it).
Ken
--
PHP General Mailing List (http://www.php.net/)
To uns
On Wed, Apr 28, 2010 at 3:38 PM, Daniel Brown wrote:
> On Wed, Apr 28, 2010 at 05:47, Ken Guest wrote:
>> Hi.
>> Just to let any of ye know that might be interested, there's a php.ie
>> meeting on tonight in Dublin - in the Longstone pub on Townsend Street
&g
5559&zoom=16&layers=B000FTF
Ken
--
http://blogs.linux.ie/kenguest/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you have to install the net_smtp package, simply with this command:
$ pear install net_smtp-1.4.2 (which will explicitly install version
1.4.2 of Net_SMTP)
If that doesn't work. for whatever reason, you could download the
package manually from http://pear.php.net/package/Net_SMTP/download
and ins
easy to forget.
In my opinion, it is idiotic.
OTOH, what is important to me is the quality of the information that
comes in from you incredibly generous people. Thank you to all posters.
You are the best.
The list behavior is just an irritant, but it pales in comparison to the
benefit.
The PEAR Mail package does not fall back from one mechanism to another
if the first fails.
On Tue, Apr 20, 2010 at 9:16 PM, Ashley Sheridan
wrote:
> On Tue, 2010-04-20 at 22:17 +0200, Peter Lind wrote:
>
>> On 20 April 2010 20:17, Alice Wei wrote:
>> >
>> >> From: peter.e.l...@gmail.com
>> >> D
g PEAR’s Mail packages.”;
$host = “smtp.example.com”;
$port = “25″;
$headers = array (‘From’ => $from, ‘To’ => $to, ‘Subject’ => $subject);
$smtp = Mail::factory(’smtp’, array (‘host’ => $host, ‘port’ => $port));
$mime = new Mail_mime();
$mime->setTxtBody($message);
$mime->addA
For non-simple data I have been using PEAR's File_CSV package. It's
proven itself very useful in
regards to not having to determine in my own code whether something
needs to be quoted etc etc - especially if the output CSV needs to be
wholly RFC 4180 compliant.
The documentation of it is rather mi
Thanks to all! I got who I needed.
Best regards - -- -
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas wrote:
Op 3/11/10 10:05 PM, Ken Kixmoeller schreef:
Hey, folks --- -
-- Session-based, no cookies.
sessions are cookie based. unless your passing the
session id around via a URL parameter, which is a no-no.
Ja, bestimmt. I should have said "no persistent cookies&quo
Manuel Lemos wrote:
Hello,
You may want to try posting an offer here to increase the chances of
finding somebody.
http://www.phpclasses.org/jobs/
You can also look some of the available people on the map of your region:
http://www.phpclasses.org/professionals/country/us/
Thanks
--
PHP G
-- Home-built Orbital CC processing module
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ejpeg($im);
imagedestroy($im);
?>
===
73,
Ken Sande/KC8QNI-T
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>>> On 3/27/2009 at 8:10 PM, in message <49cd6b07.6010...@mac.com>, "Michael A.
>>> Peters" wrote:
Ken Watkins wrote:
>> I have set up a blog site where my family creates posts and they get emailed
>> to members of the family. To keep up with the
>>> On 3/27/2009 at 11:15 AM, in message
>>> <1238166938.3522.5.ca...@localhost.localdomain>, Ashley Sheridan
>>> wrote:
On Fri, 2009-03-27 at 09:59 -0400, Ken Watkins wrote:
> >>> On 3/26/2009 at 10:24 PM, in message
> >>> <0a88dc6e-
hen they will each have
>different cookies.
Shawn -
Yes, domain aliases sound good too. OK, you've given me a couple of good
suggestions, and one of them should suit me :)
Thanks much.
Ken
>>> On 3/26/2009 at 10:24 PM, in message
>>> <0a88dc6e-0655-4565-b9a7-e21337fc0...@bluerodeo.com>, dg
>>> wrote:
On Mar 26, 2009, at 7:14 PM, Ken Watkins wrote:
>> To keep up with their identities, I created a script for each family
>> member t
>>> On 3/26/2009 at 11:12 PM, in message <70.12.30978.2144c...@pb1.pair.com>,
>>> Shawn McKenzie wrote:
Shawn McKenzie wrote:
> Ken Watkins wrote:
>> Hi all.
>>
>> Newbie here.
>>
>> I have set up a blog site where my family creates po
E and another for Firefox so that,
depending on which browser is used, I can tell who is connecting to the blog?
If this is not possible, is there another easy way to do it?
Thanks for your help.
- Ken Watkins
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
On Apr 23, 2008, at 4:53 PM, Shawn McKenzie wrote:
Ken Kixmoeller wrote:
I know how to test for the existance of HTTPS, and stuff like that.
So: Can one test https on a local machine? Resources, anyone? I
have Googled my fingers off.
Why not just generate a free self-signed certificate
IS 5
- or, if I need to -
Mac OS-X 10.4
Apache? (I haven't set up the Mac as a server)
- or -
Linux (Ubuntu) with Apache (I am moving this direction and haven't
yet learned how to run Apache)
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and very good. There
are many tricks and traps to trying to build one from scratch, among
them building a combined cycle and on-demand billing system.
One place to look is the Society of Non-profit Executives, or improve
your google search thusly: http://tinyurl.com/4yt5ru
Ken
On Apr 21
Right. Thanks for the links. This type of approach is the basis of my
software architecture.
Ken
(BTW, don't forget to "Reply All" so your reply goes to the list, too).
On Apr 19, 2008, at 9:03 AM, Tony Marston wrote:
What you are describing is a Role Based Access Control
s the question seems simple.
I have my master application object. On __construct, it checks the
current user's rights from somewhere (a config file or a database,
for example), and instantiates the application based on the rights
profile.
Simple answer, but a lot of front-end work to imple
Thank you -- I don't know about those functions -- I'll check them
out (for general knowledge, too)...
Ken
On Mar 10, 2008, at 12:01 PM, Roberto Mansfield wrote:
If you are building select menus on the fly using javascript, look at
php's json_encode function. It wil
On Mar 8, 2008, at 9:17 AM, tedd wrote:
At 3:01 PM -0600 3/7/08, Ken Kixmoeller wrote:
Hey - - -- - -- --
I keep a profile of a user's rights and responsibilities in
tables. Since this profile defines what a user can do in the
system I am designing, I'd like to build a JavaS
mples or advice.
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ty gives way to practical application.
Good ideas, as usual. Thank you.
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Many thanks, Mike --- yours works great... 0 errors.
On Jan 16, 2008, at 9:24 AM, mike wrote:
function data_encrypt($data) {
if(!$data) { return false; }
return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256,
$GLOBALS['config']['salt'], $data, 'cbc', md5($GLOBALS['config']['
s
- Dec:[EMAIL PROTECTED] -|- Nope
etc.
Wrong: 23/500
--------
Phooey.
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jan 15, 2008, at 10:48 PM, Casey wrote:
It returns the correct value. If you look at the last example, and run
base64_decode on "MDAwMzEwMDI0NDA0MTMyOQ==", you will get
"0003100244041329".
Oops. "Haste makes crappy programming."
Ken
--
PHP General Mailing
On Jan 15, 2008, at 11:08 PM, Andrés Robinet wrote:
I second that, you should base64 encode values before encrypting
and base64
decode them after decrypting to be safe.
Thanks for the idea.
Like this? Fails 500/500 times on my test.
if ($EorD == "D") {
1 - 100 of 328 matches
Mail list logo