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:
http://www.php.
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 __construct($database_nam
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 = '
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
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 acces
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 a
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 multip
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
195
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($f
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 check
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; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelo
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 al
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 fir
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);
14 matches
Mail list logo