Обсуждение: Job openings (FreeBSD/C/php/postgresql)
Hopefully this is considered on-topic, please trim cc.
<?
// $Id: job.php,v 1.2 2000/04/17 08:59:57 bright Exp $
require ("$DOCUMENT_ROOT/includes/postgresql.php");
$dbh = database_connect();
$result = database_exec($dbh, "
SELECT
coder_id, name, phone_num, resume
FROM
coders
WHERE
attr_skill = 'guru'
AND (
(city = 'Santa Clara' AND state = 'CA')
OR relocate = 'willing'
)
;");
$count = database_getrows($result);
for ($i = 0; $i < $count; $i++) {
$row = database_fetch_array($result, $i);
if (eregi("(php|postgresql|cvs|freebsd|c programming)", $row["resume"])) {
$conversation = call($row["phone_num"]);
if (eregi("ninja skills", $conversation) &&
offer_accepted($row["name"], $row["phone"])) {
database_exec($dbh, "
INSERT INTO
employees
values ('" . addslashes($row["coder_id"]) . "', '" . addslashes($row["name"] .
"', 'engineer')
;");
database_exec($dbh, "
INSERT INTO
benifits
values ('" . addslashes($row["coder_id"] . "');
");
database_exec($dbh, "
UPDATE
benifits
SET
benifits = 'high',
salary = 'competative',
learning = 'high gear',
enviornment = 'layed back'
WHERE
coder_id = '" addslashes($row["coder_id"]) "'
;");
break;
}
}
}
header("Location: http://www.wintelcom.net/\n\n");
exit;
?>
Work with the best or die like the rest.
hope to hear from you,
--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."
> Hopefully this is considered on-topic, please trim cc.
s/benifits/benefits/g
Dont you hate it when you think you've pulled something off flawlessly
and some little git points out a typo or two? *g*
Good stuff though - hope you find someone :)
Cliff Rowley
- while (!asleep) { code(); }
While we're at it
s/postgresql/mysql =)
----- Original Message -----
From: Cliff Rowley <dozprompt@onsea.com>
To: <jobs@wintelcom.net>
Cc: <jobs@freebsd.org>; <pgsql-general@postgresql.org>; <php3@lists.php.net>
Sent: Wednesday, May 03, 2000 4:20 PM
Subject: Re: [PHP3] Job openings (FreeBSD/C/php/postgresql)
> > Hopefully this is considered on-topic, please trim cc.
>
> s/benifits/benefits/g
>
> Dont you hate it when you think you've pulled something off flawlessly
> and some little git points out a typo or two? *g*
>
> Good stuff though - hope you find someone :)
>
> Cliff Rowley
>
> - while (!asleep) { code(); }
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe@lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe@lists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> While we're at it > s/postgresql/mysql =) haha! (but remember, they arent the same kind of database really - just a little fairness in the laughter)
On Wed 03.0500-13:22, alfred perlstein wrote: > WHERE > coder_id = '" addslashes($row["coder_id"]) "' > ;"); so? where? -- ino-waiting@gmx.net
http://OpenACS.org/why-not-mysql.html On Sun, 2 Apr 2000, Dave wrote: > While we're at it > s/postgresql/mysql =) > > > ----- Original Message ----- > From: Cliff Rowley <dozprompt@onsea.com> > To: <jobs@wintelcom.net> > Cc: <jobs@freebsd.org>; <pgsql-general@postgresql.org>; <php3@lists.php.net> > Sent: Wednesday, May 03, 2000 4:20 PM > Subject: Re: [PHP3] Job openings (FreeBSD/C/php/postgresql) > > > > > Hopefully this is considered on-topic, please trim cc. > > > > s/benifits/benefits/g > > > > Dont you hate it when you think you've pulled something off flawlessly > > and some little git points out a typo or two? *g* > > > > Good stuff though - hope you find someone :) > > > > Cliff Rowley > > > > - while (!asleep) { code(); } > > > > > > -- > > PHP 3 Mailing List <http://www.php.net/> > > To unsubscribe, send an empty message to php3-unsubscribe@lists.php.net > > To subscribe to the digest, e-mail: php3-digest-subscribe@lists.php.net > > To search the mailing list archive, go to: > http://www.php.net/mailsearch.php3 > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > -- > PHP 3 Mailing List <http://www.php.net/> > To unsubscribe, send an empty message to php3-unsubscribe@lists.php.net > To subscribe to the digest, e-mail: php3-digest-subscribe@lists.php.net > To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 > To contact the list administrators, e-mail: php-list-admin@lists.php.net > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org