I see, well I have a login that has multiple levels and here is how I
have it.
Obvious pertinent info has been changed, but you can adopt and add
your own.
a config file with userlevel values EG:
$parent = 2; //Parent Level
$student = 1; //Student Level
$guest = 0;//Guest level
A
-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,
[snip]
And unless we are adding a multiple seconds to the load time is anyone
going to notice a difference of 1 second?
yes
regards
Jochen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and my code begins like this...
$uploaddir =
$_SERVER['DOCUMENT_ROOT'].'/webteam/voiko/public_html/uploads/';
$file = $uploaddir . basename($_FILES['uploadfile']['name']);
$data = file_get_contents($uploaddir . $_FILES[uploadfile][name]);
$data=split([;\r],$data);
;
$num = count($data);
Hello everyone,
It's not a strictly PHP question, however since I use that with PHP,
I'm asking it there.
How can I accomplish the task of inserting rows into MySql database
with missing IDs? Say, I have rows with IDs 1, 2, 3, 5, 9, 12, 17, and
195. How do I make the check that allows to insert
From: Andre Polykanine
It's not a strictly PHP question, however since I use that with PHP,
I'm asking it there.
How can I accomplish the task of inserting rows into MySql database
with missing IDs? Say, I have rows with IDs 1, 2, 3, 5, 9, 12, 17, and
195. How do I make the check that allows
Hello Bob,
Nope; they're not. They are blog entries that were deleted along with
their comments. I'm just thinking about doing this when the amount of
entries exceeds a reasonable number.
--
With best regards from Ukraine,
Andre
Skype: Francophile; WlmMSN: arthaelon @ yandex.ru; Jabber:
Andre Polykanine wrote:
Hello everyone,
It's not a strictly PHP question, however since I use that with PHP,
I'm asking it there.
How can I accomplish the task of inserting rows into MySql database
with missing IDs? Say, I have rows with IDs 1, 2, 3, 5, 9, 12, 17, and
195. How do I make the
the thing i just tried is with
// Open a memory file for read/write...
$fp = fopen('php://temp', 'r+');
// ... write the $input array to the file using fputcsv()...
fputcsv($fp, $input, $delimiter, $enclosure);
// ... rewind the file so we can read what we just wrote...
rewind($fp);
At 4:34 PM +0300 5/3/10, Andre Polykanine wrote:
Hello everyone,
It's not a strictly PHP question, however since I use that with PHP,
I'm asking it there.
How can I accomplish the task of inserting rows into MySql database
with missing IDs? Say, I have rows with IDs 1, 2, 3, 5, 9, 12, 17, and
On Mon, 2010-05-03 at 00:07 -0600, Ashley M. Kirchner wrote:
-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
On 05/03/2010 09:56 PM, Ashley Sheridan wrote:
On Mon, 2010-05-03 at 00:07 -0600, Ashley M. Kirchner wrote:
-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
At 8:09 PM -0600 5/2/10, Ashley M. Kirchner wrote:
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
From: Ashley M. Kirchner
From: Paul M Foster
The only reliable way to resolve this is to let the school
administration to handle it. Each registration would *attempt* to
register as a student, parent or whatever. Those attempted
registrations
would go into a wait queue. Meantime, emails
Hi there,
I am new to classes in PHP and do want to change a class that has been
in a package I downloaded. I do simply want to access a variable from
outside.
This is the code:
class search_helper extends AjaxACApplication
{
//global $DB;
var $db_database =
You do not need to access $DB as a global variable
Since $db_database is a property of search_helper, you can initialize it by
passing a value via the constructor like this
class search_helper extends AjaxACApplication
{
protected $db_database;
public function
I have some code that is currently static. It runs via Cron,
generating images which can then be viewed via some other PHP.
What I want to do is allow a user to upload data which I can then pipe
directly into the existing program to produce on the fly images. I am
looking at this:
17 matches
Mail list logo