php-general Digest 30 Mar 2002 16:50:10 -0000 Issue 1257
Topics (messages 90744 through 90791):
Re: Processing Code created on the fly
90744 by: Jason Wong
90745 by: Jonathan Duncan
90749 by: Miguel Cruz
90750 by: Jason Wong
Re: gettext functionality needs configuration flag
90746 by: CC Zona
global vars in a function
90747 by: Justin French
90748 by: CC Zona
MySQL ID
90751 by: Mantas Kriauciunas
90754 by: Miguel Cruz
Some Problems that Newman has with PHP since reinstall.
90752 by: Philip J. Newman
problems trying to use PHP to choose CSS
90753 by: Timothy J. Luoma
The LFReD Project goes open source.
90755 by: Terry Brownell
<<<anytext Question
90756 by: Sebastian A.
90757 by: Miguel Cruz
changing the color from black to blue on an image. Help on imagecolorset.
90758 by: Andy
90759 by: bvr
.::. THIS IS WHAT YOU'VE ALL BEEN WAITING FOR .::.
90760 by: Vins
www.auction4sale.co.za
90761 by: Vins
Qmail Question
90762 by: Vins
90764 by: caspar kennerdale
90767 by: bvr
90777 by: bvr
90782 by: Vins
class extends
90763 by: caspar kennerdale
90768 by: bvr
php configs in the apache config file?
90765 by: Robert Montgomery
90766 by: bvr
Re: Security hole using cookies for sessions. Workaround?
90769 by: bvr
SPAM
90770 by: Vins
90778 by: bvr
90779 by: Vins
90780 by: caspar kennerdale
90781 by: Vins
90783 by: bvr
Has anyone written such a function?
90771 by: Boaz Yahav
Not to harp the subject Vins
90772 by: anti-blank
Re: banner ads
90773 by: Boaz Yahav
90785 by: Vins
Exec command problems
90774 by: Georgie Casey
SPAM or ADVERTISING
90775 by: Alienator
90788 by: Matt Friedman
Re: Dynamic Web Navigation
90776 by: Boaz Yahav
Re: oh no
90784 by: caspar kennerdale
SPAM SPAM SPAM
90786 by: Vins
90787 by: Duncan Hill
please /ignore childish spammer (Auction for sale)
90789 by: bvr
GOOD, now that we've all stopped our pettiness including me, back to qmail
90790 by: Vins
Not a valid MySQL resource?
90791 by: Brian Waskiewicz
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
On Saturday 30 March 2002 11:16, Jonathan Duncan wrote:
> <?
> These variables are populated and assigned in a function:
> (This is just an example. In actuality these variables
> are populated using other means.)
> ---------------------------------------------------------
> $othervars = " $service = $sqlresult['service'];
> $m_amount = $sqlresult['m_amount'];
> $paidthru = $sqlresult['paidthru'];
> $amountdue = $sqlresult['amountdue'];";
>
> $tabledata = " <TD>$account</TD>
> <TD>$service</TD>";
>
>
>
> This is file that calls the above function:
> (The lines with the *s are supposed to take
> the data from the variables and then process
> them as if they were part of the code.)
> --------------------------------------------
> while ($sqlresult = mysql_fetch_array($result)) {
> $id = $sqlresult['id'];
> $account = $sqlresult['account'];
> * $thefunction->othervars;
> $email = $sqlresult['email'];
> $terms = $sqlresult['terms'];
> $account_list .= "<TR CLASS=\"$oddoreven\">
> <TD ALIGN=\"center\"><A
> HREF=\"editaccount.php?id=$id&edit=yes\">image</A></TD>
> * $thefunction->tabledata;
> <TD ALIGN=\"center\">\$$m_amount</TD>
> <TD><A HREF=\"somefile.php\">$paidthru</A></TD>
> <TD ALIGN=\"center\">\$$amountdue</TD>
> <TD><A HREF=\"mailto:$email\" $oelinkstyle>$email</A></TD>
> <TD ALIGN=\"center\">$terms</TD></TR>";
> ?>
You need to check out the eval() function.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
The real trouble with reality is that there's no background music.
*/
--- End Message ---
--- Begin Message ---
Yeah, I have played with the eval function a bit, but it didn't seem to help
much. Then again, I haven't ever used the eval function before so I may not
know how to properly implement it. I have read the page for eval on php.net
several times as well as the very helpful examples, but whenever I use eval,
it just prints out the same stuff. By same stuff I mean wether I use eval
or just the variable by itself it just prints out the contents of the
variable. In the web page source it looks as if the contents were merely
echoed because it still has the $'s and variable names. Any other ideas or
examples on how to implement eval on this?
Thanks for the help,
Jonathan Duncan
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Saturday 30 March 2002 11:16, Jonathan Duncan wrote:
>
> > <?
> > These variables are populated and assigned in a function:
> > (This is just an example. In actuality these variables
> > are populated using other means.)
> > ---------------------------------------------------------
> > $othervars = " $service = $sqlresult['service'];
> > $m_amount = $sqlresult['m_amount'];
> > $paidthru = $sqlresult['paidthru'];
> > $amountdue = $sqlresult['amountdue'];";
> >
> > $tabledata = " <TD>$account</TD>
> > <TD>$service</TD>";
> >
> >
> >
> > This is file that calls the above function:
> > (The lines with the *s are supposed to take
> > the data from the variables and then process
> > them as if they were part of the code.)
> > --------------------------------------------
> > while ($sqlresult = mysql_fetch_array($result)) {
> > $id = $sqlresult['id'];
> > $account = $sqlresult['account'];
> > * $thefunction->othervars;
> > $email = $sqlresult['email'];
> > $terms = $sqlresult['terms'];
> > $account_list .= "<TR CLASS=\"$oddoreven\">
> > <TD ALIGN=\"center\"><A
> > HREF=\"editaccount.php?id=$id&edit=yes\">image</A></TD>
> > * $thefunction->tabledata;
> > <TD ALIGN=\"center\">\$$m_amount</TD>
> > <TD><A HREF=\"somefile.php\">$paidthru</A></TD>
> > <TD ALIGN=\"center\">\$$amountdue</TD>
> > <TD><A HREF=\"mailto:$email\" $oelinkstyle>$email</A></TD>
> > <TD ALIGN=\"center\">$terms</TD></TR>";
> > ?>
>
> You need to check out the eval() function.
>
>
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
>
> /*
> The real trouble with reality is that there's no background music.
> */
--- End Message ---
--- Begin Message ---
On Fri, 29 Mar 2002, Jonathan Duncan wrote:
> Yeah, I have played with the eval function a bit, but it didn't seem to
> help much. Then again, I haven't ever used the eval function before so
> I may not know how to properly implement it. I have read the page for
> eval on php.net several times as well as the very helpful examples, but
> whenever I use eval, it just prints out the same stuff. By same stuff I
> mean wether I use eval or just the variable by itself it just prints out
> the contents of the variable. In the web page source it looks as if the
> contents were merely echoed because it still has the $'s and variable
> names. Any other ideas or examples on how to implement eval on this?
You might want to think carefully about what you're trying to achieve
(after looking at your code, I certainly don't have the faintest idea, nor
do I get why it can't be accomplished using functions). eval() is usually
a last-ditch measure.
In any case, here's an example of how to use it:
<?
$a = 3;
$b = 4;
$c = "\$a+=\$b;";
eval($c);
print $a;
?>
Note that you have to pay a lot of attention to which dollar signs you
escape and which you don't. With sufficiently complicated substitutions
you can end up with a mess of dollar signs and backslashes that will give
you a nosebleed.
miguel
--- End Message ---
--- Begin Message ---
On Saturday 30 March 2002 12:39, Jonathan Duncan wrote:
> Yeah, I have played with the eval function a bit, but it didn't seem to
> help much. Then again, I haven't ever used the eval function before so I
> may not know how to properly implement it. I have read the page for eval
> on php.net several times as well as the very helpful examples, but whenever
> I use eval, it just prints out the same stuff. By same stuff I mean wether
> I use eval or just the variable by itself it just prints out the contents
> of the variable. In the web page source it looks as if the contents were
> merely echoed because it still has the $'s and variable names. Any other
> ideas or examples on how to implement eval on this?
Well one thing you shouldn't do is use double-quotes when assigning strings
for later evaluation, particularly when they contain 'variables'.
Thus this does NOT work:
<?php
$doo = "$doo = 'dah';"; # $
eval($doo);
echo "Doo is $doo<br>";
?>
Whereas this does:
<?php
$doo = '$doo = \'dah\';';
eval($doo);
echo "Doo is $doo<br>";
?>
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
To program is to be.
*/
--- End Message ---
--- Begin Message ---
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Thalis A. Kalfigopoulos) wrote:
> Someone with the proper authority should probably put on the manual pages
> that to get the gettext functionality you have to configure with the
> --with-gettext flag.
Did you know that anyone is allowed to add an annotation to the manual?
For instance, if you go to <http://php.net/gettext>, you'll see several
"user-contributed comments" (directly below the official text). At the top
and bottom of that block is a image of a plus sign and an image of a
question mark; click on the plus sign to add your own note to the page.
--
CC
--- End Message ---
--- Begin Message ---
Hi,
Am I missing something? I'm trying to use vars set in my config.php file in
a function, and can't seem to do it without using $GLOBALS["varname"], which
is a bit of a pain in the....
---config.php---
$var1 = 1;
---
---something.php---
function foo
{
if($var1)
{
echo "foo"; // doesn't work
}
}
function foo2
{
if($GLOBALS["var1"])
{
echo "foo"; // does work
}
}
---
Is there a way to make global vars available in each function, or is this
just the way things go?
Justin French
---------------------
http://indent.com.au
http://soundpimps.com
---------------------
--- End Message ---
--- Begin Message ---
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Justin French) wrote:
> Am I missing something? I'm trying to use vars set in my config.php file in
> a function, and can't seem to do it without using $GLOBALS["varname"]
<snip>
> Is there a way to make global vars available in each function, or is this
> just the way things go?
PHP scope rules are different from C and other languages; you must use the
'global' keyword. See
<http://www.php.net/manual/en/language.variables.scope.php> for more info.
--
CC
--- End Message ---
--- Begin Message ---
Hey [EMAIL PROTECTED],
I have few users in my small page. And it goes with ID numbers. I
did auto increasement. And i think all the settings are ok. but in
phpMyAdmin it shows ID numbers starting from 5 and i have 10 users
so when i deleted row(user) with ID number 9 i have id number going
like 5 6 7 8 10 .... . So i have like two questions. How to do that
autoincreasement started from 0 and how to do that all id number
where by order without missing some of them when i delete them. Like
how so make that ID number 10 to be number 9 in the list..and all
other number to go down by one. Is there simple way to do it?
P.S i am so sorry that my english is weak. I am just learning ESL ir
highschool :)....
Thanks for helping everybody
:------------------------------:
Have A Nice Day!
Mantas Kriauciunas A.k.A mNTKz
Contacts:
[EMAIL PROTECTED]
Http://mntkz-hata.visiems.lt
--- End Message ---
--- Begin Message ---
On Sat, 30 Mar 2002, Mantas Kriauciunas wrote:
> I have few users in my small page. And it goes with ID numbers. I
> did auto increasement. And i think all the settings are ok. but in
> phpMyAdmin it shows ID numbers starting from 5 and i have 10 users
> so when i deleted row(user) with ID number 9 i have id number going
> like 5 6 7 8 10 .... . So i have like two questions. How to do that
> autoincreasement started from 0 and how to do that all id number
> where by order without missing some of them when i delete them. Like
> how so make that ID number 10 to be number 9 in the list..and all
> other number to go down by one. Is there simple way to do it?
If you want flexible, custom sequences, you need something like Oracle! In
MySQL what you see is what you get.
I think you are probably stuck with that behavior. If you want a truly
consecutive and gap-free index you'll have to add another field and
maintain it yourself (which will be expensive unless you fastidiously do
it whenever you delete a record).
miguel
--- End Message ---
--- Begin Message ---
Hi People,
I just installed PHP again, and am having some problems with a few things.
When Posting to a form, veriables do not travel across the pages. I have
checked the PHP.INI for something but nothing seems to change this.
... ALSO ...
My redirect scripts have stoped responding.
Any Ideas??
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
--- End Message ---
--- Begin Message ---
Hello PHP friends
I went searching (Core PHP Programm, php.net and google) for an
answer, but didn't find anything that did what I want, namely: Use PHP to
set the style sheet for a site.
I am trying this method: Register a global variable ($CSS) using a FORM.
Currently this does not work at all in Internet Explorer ver6. It does
work in Mozilla 0.99 and Opera v6, but ONLY for page when it reloads... as
soon as I go to another page, the $CSS variable seems to get reset to
'global'
I wonder if I am not doing something stupid/overlooking something obvious,
but I am very new @ PHP so that is possible.
I have attached my various code snippets here.
// in my global PHP file
// Now what I am trying to do here is set a default that should ONLY be
// used if the $CSS variable is NOT already set
if (!isset($CSS))
{
// if it is not set, then and only then set it and define it
session_start();
session_register("CSS");
$CSS="global";
}
// in my global header file:
// this should take the variable $CSS and use it for the style sheet
// yes the .css should be appended to the $CSS
echo <<< EOD
<link type="text/css" rel="stylesheet" href="/global/css/$CSS.css"
/>
EOD;
//in my global footer file
// here is where we set the variable by the FORM and reload the page
echo <<< EOD
<div style="text-align: right">
<form action="$PHP_SELF" method="post">
<p>Choose style:
<select name="CSS">
<option value="default" selected="selected">Default</option>
<option value="smaller">Smaller</option>
<option value="tamecolors">Tamer Colors</option>
<option value="print">Print</option>
</select>
<input alt="Set Style" type="submit" name="Set Style" value="Set Style" />
</p>
<p>Current style is: <strong>$CSS</strong></p>
</form>
</div>
EOD;
Any help appreciated....
Thanks
TjL
--
Site: www.tntluoma.com mailto:[EMAIL PROTECTED]
Info: Apache/1.3.19 (Unix) with PHP/4.0.6
--- End Message ---
--- Begin Message ---
Hello all,
The LFReD Project has gone open source. LFReD is the award winning language
processing intelligent agent.
First release is a PHP conceptual knowledge base.
https://sourceforge.net/projects/lfred/
http://www.LFReD.com
Terry Brownell
--- End Message ---
--- Begin Message ---
I am trying to use <<<anytext in an object but I am having a number of
problems. <<<anytext does not seem to work if it is indented. If I un-indent
<<<anytext and the text between it, it works perfectly. Does anyone know
what could be causing this error? I can give you a sample of my code if it
would help...
--- End Message ---
--- Begin Message ---
On Sat, 30 Mar 2002, Sebastian A. wrote:
> I am trying to use <<<anytext in an object but I am having a number of
> problems. <<<anytext does not seem to work if it is indented. If I un-indent
> <<<anytext and the text between it, it works perfectly. Does anyone know
> what could be causing this error? I can give you a sample of my code if it
> would help...
What you can't indent is the
anytext
line, because it has to be exactly identical to what's after the <<<, and
spaces or tabs at the beginning make it not identical.
miguel
--- End Message ---
--- Begin Message ---
Hi there,
I would like to change the color on a png file from black to blue. This png
file is
transparent and contains only a spot which is black. It is needed to stay
transparent
because I am gonna merge it later on with a jpeg.
I tryed imagecolorset but anyhow I do not understand the syntax.
Here is my try:
# set home color
$farbe_b = imagecolorallocate($country_image,0,0,0); // create index for
the black color
imagecolorset($country_image,$farbe_b,51,51,204); // darker blue
Can anybody help on this.
Thanx in advance,
Andy
--- End Message ---
--- Begin Message ---
first:
<http://www.php.net/manual/en/function.imagefill.php>
$col = imagecolorallocate($im, 51, 51, 204);
then:
ImageFill <http://www.php.net/manual/en/function.imagefill.php>($im, $x,
$y, $col);
or
ImageSetPixel($im, $x, $y, $col);
bvr.
Andy wrote:
>Hi there,
>
>I would like to change the color on a png file from black to blue. This png
>file is
>transparent and contains only a spot which is black. It is needed to stay
>transparent
>because I am gonna merge it later on with a jpeg.
>
>I tryed imagecolorset but anyhow I do not understand the syntax.
>
>Here is my try:
>
> # set home color
> $farbe_b = imagecolorallocate($country_image,0,0,0); // create index for
>the black color
> imagecolorset($country_image,$farbe_b,51,51,204); // darker blue
>
>Can anybody help on this.
>
>
>Thanx in advance,
>
>Andy
>
>
>
>
--- End Message ---
--- Begin Message ---
1 Dollar = 10 South African Rands
for the best prices in the world....
www.auction4sale.co.za
CHECK IT.
Stand a chance to win a new cell phone when you register and sell something.
Once you've added your auction, tell all your friend about it.
You are also added to the competition when you bid on an item.
--- End Message ---
--- Begin Message ---
www.auction4sale.co.za
--- End Message ---
--- Begin Message ---
I have qmail on my server.
I've set up and email address to send all incoming mail to a php script.
How would I break down the message and read the to field and the from field
etc.
where can i find information on that ?
--- End Message ---
--- Begin Message ---
after your last two spams I'd be surprised if anyone would be will to answer
your questions
-----Original Message-----
From: Vins [mailto:[EMAIL PROTECTED]]
Sent: 30 March 2002 10:15
To: [EMAIL PROTECTED]
Subject: [PHP] Qmail Question
I have qmail on my server.
I've set up and email address to send all incoming mail to a php script.
How would I break down the message and read the to field and the from field
etc.
where can i find information on that ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
This is what you've been waiting for:
F@#$@CK OFF!
bvr.
Vins wrote:
>I have qmail on my server.
>I've set up and email address to send all incoming mail to a php script.
>
>How would I break down the message and read the to field and the from field
>etc.
>
>where can i find information on that ?
>
>
>
--- End Message ---
--- Begin Message ---
I'm west-european, and I don't want to fuck with you and I don't know
what it's like..
THANKS AGAIN.
bvr.
Vins wrote:
>Listen here.
>I'm south african.
>You wouldn't want to fuck with.
>I'm sure you know what we all are like.
>
>Watch what you say
>
>
>----- Original Message -----
>From: "bvr" <[EMAIL PROTECTED]>
>To: "Vins" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Saturday, March 30, 2002 2:24 PM
>Subject: Re: [PHP] Qmail Question
>
--- End Message ---
--- Begin Message ---
well.
just a small translation...
i will climb through my monitor and out yours and beat the living shit out
of you
"Bvr" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I'm west-european, and I don't want to fuck with you and I don't know
> what it's like..
>
> THANKS AGAIN.
>
> bvr.
>
> Vins wrote:
>
> >Listen here.
> >I'm south african.
> >You wouldn't want to fuck with.
> >I'm sure you know what we all are like.
> >
> >Watch what you say
> >
> >
> >----- Original Message -----
> >From: "bvr" <[EMAIL PROTECTED]>
> >To: "Vins" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> >Sent: Saturday, March 30, 2002 2:24 PM
> >Subject: Re: [PHP] Qmail Question
> >
>
--- End Message ---
--- Begin Message ---
can you use class extends feature to refernce more than one class-
so a class called contnet could call functions fromone called html and one
called db?
thanks in advance
--- End Message ---
--- Begin Message ---
Read http://www.php.net/manual/language.oop.php
bvr.
caspar kennerdale wrote:
>can you use class extends feature to refernce more than one class-
>
>so a class called contnet could call functions fromone called html and one
>called db?
>
>thanks in advance
>
>
--- End Message ---
--- Begin Message ---
Supposedly, in your apache httpd.conf file you can
specify php config values. I'm trying to shore up
security on a new box by setting the following
within <VirtualHost> tags:
php_value open_basedir /path/to/virtualhost/
However, it doesnt work. If I set the values in the
php.ini file, it DOES work... What am I missing??
Are there any restrictions to setting these php values
in an httpd.conf file? The doc's dont really mention
anything... I'm baffled!
I'm running apache_1.3.23 + php-4.1.2 on a linux box.
Thanks,
Rob
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/
--- End Message ---
--- Begin Message ---
It doesn't work with CGI installations of PHP.
bvr.
Robert Montgomery wrote:
>Supposedly, in your apache httpd.conf file you can
>specify php config values. I'm trying to shore up
>security on a new box by setting the following
>within <VirtualHost> tags:
>
>php_value open_basedir /path/to/virtualhost/
>
>However, it doesnt work. If I set the values in the
>php.ini file, it DOES work... What am I missing??
>Are there any restrictions to setting these php values
>in an httpd.conf file? The doc's dont really mention
>anything... I'm baffled!
>
>I'm running apache_1.3.23 + php-4.1.2 on a linux box.
>
>Thanks,
>Rob
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Greetings - send holiday greetings for Easter, Passover
>http://greetings.yahoo.com/
>
--- End Message ---
--- Begin Message ---
Three tips:
- Let the session expire after X secs.
- Use BODY's ONUNLOAD attribute/JS event handler
- Provide a 'Logout' button.
bvr.
--- End Message ---
--- Begin Message ---
Lets define that....
Large quantities of email sent to large ammounts of email address at one
time.
I posted 2 messages.
You people take everything too seriously.
I'm sure you've also doen it once in you life before.
And a message for bvr and caspe kennerdale.
You are obviousely Americans
--- End Message ---
--- Begin Message ---
Yeah, pretty obvious .. you must have figured that from the .NL
extension to my e-mail address..
Lemme guess, .ZA that's Japan nie waar nie ??
You are obviously not an expert so don't make us filthen this list with
(anti-)SPAM messages and stupid off-topic definitions.
THANKS!
bvr.
Vins wrote:
>Lets define that....
>
>Large quantities of email sent to large ammounts of email address at one
>time.
>I posted 2 messages.
>
>You people take everything too seriously.
>I'm sure you've also doen it once in you life before.
>
>And a message for bvr and caspe kennerdale.
>You are obviousely Americans
>
>
>
--- End Message ---
--- Begin Message ---
oh dam....
and American that can actually speak some Traditional Afrikaans that makes
absolutely no sense.
listen check the south african afrikaans gramma website before trying to
message me with shit like that
"Bvr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Yeah, pretty obvious .. you must have figured that from the .NL
> extension to my e-mail address..
>
> Lemme guess, .ZA that's Japan nie waar nie ??
>
> You are obviously not an expert so don't make us filthen this list with
> (anti-)SPAM messages and stupid off-topic definitions.
>
> THANKS!
>
> bvr.
>
>
> Vins wrote:
>
> >Lets define that....
> >
> >Large quantities of email sent to large ammounts of email address at one
> >time.
> >I posted 2 messages.
> >
> >You people take everything too seriously.
> >I'm sure you've also doen it once in you life before.
> >
> >And a message for bvr and caspe kennerdale.
> >You are obviousely Americans
> >
> >
> >
>
>
>
--- End Message ---
--- Begin Message ---
And a message for bvr and caspe kennerdale.
You are obviousely Americans
setting the record straight- this is a huge assumption- and I'm not
american, and you didnt even spell my name correctly!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
well, lets just clasify that as a dis to your name....
"Caspar Kennerdale" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> And a message for bvr and caspe kennerdale.
> You are obviousely Americans
>
> setting the record straight- this is a huge assumption- and I'm not
> american, and you didnt even spell my name correctly!
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
WHEN DOES IT GET TO YOUR BRAIN that i'm not American..
grammatica hulp is niet nodig, ik spreek *echt* nederlands ;)
bvr.
>oh dam....
>and American that can actually speak some Traditional Afrikaans that makes
>absolutely no sense.
>listen check the south african afrikaans gramma website before trying to
>message me with shit like that
--- End Message ---
--- Begin Message ---
Hi
I need a function that will get a date in the past and return how much
time has passed since that date till now.
The input to the function is a MySQL DATETIME format and the output
should be something like :
2 Years, 36 Days, 7 hours , 25 minutes
I would write it but I'm pretty sure it has been done.
thanks
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
--- End Message ---
--- Begin Message ---
But actually be it one email, two emails or 1000 emails what you did really is
considered spam.
spam
1. <messaging> (From Hormel's Spiced Ham, via the Monty Python "Spam" song) To post
irrelevant or inappropriate messages to one or more Usenet newsgroups, mailing lists,
or other messaging system in deliberate or accidental violation of netiquette.
http://www.dictionary.com/search?q=spam
In all actualality what I am doing right now is considered Spam as well, and yet I
will apologize for it.
But it's best not to start a flame war with people which is very well the route you
are starting to take with this.
This is suppose to be a list for coding, for PHP to be specific, and no your post
about your auction site to the
list is inappropriate material for the list. So yes, it was Spam. Your best bet
really would have been to drop it,
let everyone chalk it up as a mistake on your part and move on, not:
> You people take everything too seriously.
> I'm sure you've also doen it once in you life before.
>
> And a message for bvr and caspe kennerdale.
> You are obviousely Americans
1. I know very few people that have resorted to Spam, I run several pay sites and I
won't do it, because it is bothersome
to people, and that isn't the way to attract clients/users.
2. What really is the relevance of your statement about how they must obviously be
Americans? This is the point I was
making about taking the wrong path and inciting a flame war. It serves no purpose,
undermines the list, and wastes
people's email box space with useless mail.
Again as I've admited this message itself can be considered Spam and it very well is.
But I apologize for it, since it is not
in the topic of the list, but I for one prefer to see emails about code, not 'What
I've always been waiting for'.
Thanks and my apologies for being off topic to the list.
Anti-Blank
Sr. Designer/Developer
Site Administrator
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
What about phpAdsNew?
http://www.phpadsnew.com
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-----Original Message-----
From: tom hilton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 11:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] banner ads
Hi, does anyone know of a simple banner ad rotation script that can
rotate
animated gifs.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
phpadsnew is good.
well developed program
and it's making me tons of cash
"Boaz Yahav" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
What about phpAdsNew?
http://www.phpadsnew.com
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-----Original Message-----
From: tom hilton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 11:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] banner ads
Hi, does anyone know of a simple banner ad rotation script that can
rotate
animated gifs.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
when i try to execute a program, PHP just stalls there for ages, my page
doesnt load or anything. the program is a dos pogram, i pass variables thru
d command line and when the program runs it just returns 1 line of output
and stops.
WHATS D PROBLEM?
btw, i first get PHP to write a text file and then get the program to open
this text file and yes, i closed the file before trying to exec the program
--
Regards,
Georgie Casey
[EMAIL PROTECTED]
***************************
http://www.filmfind.tv
Online Film Production Directory
***************************
--- End Message ---
--- Begin Message ---
once apon a time there was a South African online company called
EasyInfo.co.za.
have a look, www.easyinfo.co.za, the pulled a stunt and stoll all the
unlisted numbers from the local telephone company telkomsa www.telkom.co.za.
turns out, after the big court case they are now getting 3 times more hit
and generating a shit load more of money that ever were in the past !
so, what is advertising(SPAM)...
a big fat stunt that someone pulls off to generate website traffic.
for the 700 of so hits that i got alon from this news group i generated a
couple of thousand rands in just 2days.
--- End Message ---
--- Begin Message ---
So the end justifies the means is what you are saying. Using an example
of someone who got what they wanted through devious and dishonest
actions as a justification for your actions is a demonstration of your
warped ideas of what is ok and what is not.
Spammers do not get it. They're only out for their own selfish ends, as
you have clearly demonstrated, and they don't care about anyone else.
You should be ashamed, but I'm certain that you are not.
Matt Friedman
Web Applications Developer
-----Original Message-----
From: Alienator [mailto:[EMAIL PROTECTED]]
Sent: Saturday March 30, 2002 8:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SPAM or ADVERTISING
once apon a time there was a South African online company called
EasyInfo.co.za.
have a look, www.easyinfo.co.za, the pulled a stunt and stoll all the
unlisted numbers from the local telephone company telkomsa
www.telkom.co.za.
turns out, after the big court case they are now getting 3 times more
hit
and generating a shit load more of money that ever were in the past !
so, what is advertising(SPAM)...
a big fat stunt that someone pulls off to generate website traffic.
for the 700 of so hits that i got alon from this news group i generated
a
couple of thousand rands in just 2days.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
http://www.weberdev.com
Check out the Articles / Tutorials
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-----Original Message-----
From: Omland Christopher m [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 6:43 PM
To: Daniel Negron/KBE
Cc: [EMAIL PROTECTED]
Subject: [PHP] Dynamic Web Navigation
Does anyone have a good link to a tutorial, or a book suggestion that
will
help me learn more about making dynamic web pages with MySQL/PHP. Mainly
things like loading navigation menues, and pics and what not?
Thanks.
-Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
and what of it
-----Original Message-----
From: Vincent Kruger [mailto:[EMAIL PROTECTED]]
Sent: 30 March 2002 14:08
To: caspar kennerdale
Subject: oh no
you a fucking pommy.
god dam
--- End Message ---
--- Begin Message ---
SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM
love it.
cheerz all
--- End Message ---
--- Begin Message ---
On Sat, 30 Mar 2002, vins wrote:
> SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM
*plonk*
--- End Message ---
--- Begin Message ---
I'm sorry,
I made a mistake even responding to this person and with that annoyed
lots of people on this list and wasted my time.
Now we're running the risk that he will turn into a spoiler which can be
pretty bad on an unmoderated list..
Therefore I'll stop replying to his messages (including 'spammish' PHP
questions), and I hope others will do the same thing, .
bvr.
Duncan Hill wrote:
>On Sat, 30 Mar 2002, vins wrote:
>
>>SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM
>>
>
>*plonk*
>
>
>
--- End Message ---
--- Begin Message ---
I need help with qmail
could anyone help me?
--- End Message ---
--- Begin Message ---
Can anyone tell me what is causing the following error:
Warning: Supplied argument is not a valid MySQL result resource in
/ip/sums/www/test/admin/mailing_list.phtml on line 123
The page will work fine one time, then I'll come back later and get the
error. I won't change anything, but the page will work later on anyway. I
know there's nothing wrong with the database server, and the query should
return results.
Thanks.
--- End Message ---