Balasubramanyam A knowledge.wea...@gmail.com wrote in message
news:893c34ce0908270424n2d81596dq8529f13818dc9...@mail.gmail.com...
Hello,
I've written a simple application, where users need to login to access the
features of the application. I want to develop login system such that, if
user
Ok, so I've got an authentication/login form that is powered by ajax. The
user logs in, is authenticated, and the last step is to start a session and
save the necessary information in the $_SESSION vars.
For some reason, it appears (and almost of makes sense) that the session
that is started via
In this mechanism, does a role differ significantly from a group?
I have to admin a CRM system that has both roles /and/ groups, and it
always seems a bit excessive. But maybe there's some benefit to roles,
as such, that I'm not seeing.
Thanks, Ben
[JP]
As described, a role appears to
As described, a role appears to act essentially the same as a group
- a predefined set of permissions that can be assigned to multiple
users (as opposed to a set of permissions unique to the user).
[JP]
I should say, the logic of a role is essentially the same as the logic
behind a group. It
I found two small errors in the isLoggedIn(), which are corrected below.
They don't have any effect on the issue at hand though.
**
function isLoggedIn($debug = 0){
global $COOKIE_NAME;
// if there is an active session.
if (isset($_SESSION) $_SESSION['sessDBID'] !=
Nevermind. It was a simple mistake - I had session_start() on the page
the ajax was calling from, but not at the beginning of the php script it was
calling to.
I tried installing it like the documentation said... but I got the
following errors. I contacted the hosting service (dreamhost) and they
said they don't
provide support for pecl, though they do support perl. Anyone?
--
$ pecl install uploadprogress
Failed to download
Daniel Brown danbr...@php.net wrote in message
news:ab5568160812160954o338d0421jb133bdc17b4e3...@mail.gmail.com...
I'm not certain about their configuration, but does DreamHost have
AllowOverrides turned on in their httpd.conf?
If so, just place a full php.ini file in your root
Bojan Tesanovic btesano...@gmail.com wrote in message
news:c4dac606-7711-49cd-9e03-5cdd5627f...@gmail.com...
Well you need to know the TMP file name that has been in progress of
upload, it is usually at /tmp folder
I know how to get that...
also you need to know the actual size of file
Bojan Tesanovic btesano...@gmail.com wrote in message
news:c4dac606-7711-49cd-9e03-5cdd5627f...@gmail.com...
Well you need to know the TMP file name that has been in progress of
upload, it is usually at /tmp folder
I know how to get that...
also you need to know the actual size of
I already downloaded that, thanks. How do I apply it is my question.
There's no documentation for the installation of it, that I see
'Course it is :)
http://www.php.net/manual/en/install.pecl.php
Linked from here: http://pecl.php.net/doc/index.php
I tried installing it like
Not a PHP question. but could someone point me in the direction of how to
download/display only a portion of a PDF, much like google books does? For
example, if you have a 200 page pdf, but the user wishes to see the portion
that is on page 150. rather than downloading the entire PDF, only
This is as much a mysql question as it is php.
What is the most reliable way to retrieve an auto_increment key/id for a
query you just inserted?
In other words, I compile all my data, insert it into a new row, and now I
want to retrieve the ID it created for it in the ID/key field.
Thanks guys, that's exactly what I was looking for
J
-Original Message-
From: M. Sokolewicz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 21, 2007 4:51 PM
To: John Pillion
Cc: php-general@lists.php.net
Subject: Re: php/mysql - getting ID of query
John Pillion wrote:
This is as much
I'm trying to recursively loop through a multi dimensional array with
unknown keys and unknown values, and echo the keys/values to a sql
statement, where the key is the field, and the value is the. value.
What I want to do is test an array index to see if it has any children
indices (which
Not exactly a php question. but I'm doing the project in php, so does that
count? ;-)
A client of mine wants a simple audio recorder for users to record a short
clip/message for other users. anyone recommend any simple audio recorder
applets or similar that can easily be integrated with php?
-Original Message-
From: Tijnema [mailto:[EMAIL PROTECTED]
Sent: Monday, July 30, 2007 4:25 PM
To: John Pillion
Cc: php-general@lists.php.net
Subject: Re: [PHP] audio recorder
On 7/31/07, John Pillion [EMAIL PROTECTED] wrote:
Not exactly a php question. but I'm doing the project
I have a sendmail script that loops through an array of email addresses. the
problem is, the list can sometimes be fairly long, and the page does not
finish loading until the loop has completed. Currently, I have the majority
of the page loading, including text that says messages sending, please
Very nifty Brad,
One addition though, so she/you can work back from any point:
MoreUntestedCode
$i = 0;
$start = strtotime(2006-10-05 12:05am);
while(count($img_array) 5) {
$year = date(Y, strtotime(-$i minutes, $start));
$month= date(m, strtotime(-$i minutes, $start));
19 matches
Mail list logo