Re: [PHP] Re: hello

2009-01-08 Thread Allan Arguelles
I only see this in the attachment:

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



bigredli...@yahoo.com wrote:
 Please read the document.

  Attachment: No Virus found
  F-Secure AntiVirus - www.f-secure.com


   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: hello

2009-01-08 Thread Allan Arguelles
Yeah, I was reluctant to open the attachment, but then again I'm on
gentoo :)

I've forgotten about these threats eversince I switched over, didn't
even notice the bounced email(to the sender) as an indication.


-Allan

Robert Cummings wrote:
 On Thu, 2009-01-08 at 17:27 +0800, Allan Arguelles wrote:
   
 I only see this in the attachment:

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

 That's because the list software strips attachments to prevent idiots
 using windows from opening them and unleashing a virus onto their
 system.

 In fact, since the only text in the message other than the stripped
 attachment is Please read the document. I am led to strongly suspect
 that it was a virus. Additionally, the addition of a supposed anti-virus
 check is usually added to such virus attachment emails to help the
 unwashed fool think it's not a virus *lol*.

 Cheers,
 Rob.

   

 bigredli...@yahoo.com wrote:
 
 Please read the document.

  Attachment: No Virus found
  F-Secure AntiVirus - www.f-secure.com


   
   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: hello

2009-01-08 Thread Allan Arguelles
I guess its these examples that remind us that we still need to look out
for ourselves. I got used to the idea that theres so little chance that
I'd be a target, as a linux user, I've become less aware of these things.

Daniel Brown wrote:
 On Thu, Jan 8, 2009 at 04:53, Robert Cummings rob...@interjinn.com wrote:
   
 In fact, since the only text in the message other than the stripped
 attachment is Please read the document. I am led to strongly suspect
 that it was a virus. Additionally, the addition of a supposed anti-virus
 check is usually added to such virus attachment emails to help the
 unwashed fool think it's not a virus *lol*.
 

 Correct.  It's the old Netsky worm - it's got to be at least three
 or four years old by now, I'd guess.  I'm honestly somewhat amazed
 that folks still fall for it and infect themselves, and that those are
 the same folks that would subscribe to a technical list.

 Neat.

 (Yeah, I'm looking at you, `bigredlinux` who obviously is
 using BlueScreenWindows)

   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SQL syntax?

2008-12-05 Thread Allan Arguelles


 $sql = SELECT WorkOrderID AS Work_Order_ID, DATE_FORMAT(StartDate, '%b.
 %e, %Y %l:%i %p') AS Start_Date,
 DATE_FORMAT(EndDate, '%b. %e, %Y %l:%i %p') AS End_Date, ;
 $sql .= Advertiser AS Advertiser_Name,AccountNum AS Account_Number,
 Impressions AS Ad_Impressions, ;
 $sql .= AdSize AS Ad_Size,  CPM AS CPM_Rate, ;
 $sql .= ORDER BY StartDate DESC;
   

You forgot the tables, plus you have an extra comma after CPM_Rate.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SQL syntax?

2008-12-05 Thread Allan Arguelles
Umm.. I meant you need to put

$sql .= FROM workorderform ;

between these:

$sql .= AdSize AS Ad_Size,  CPM AS CPM_Rate, ;
$sql .= ORDER BY StartDate DESC;


:)


Terion Miller wrote:
 On Fri, Dec 5, 2008 at 3:57 PM, Allan Arguelles [EMAIL PROTECTED]wrote:

   
 $sql = SELECT WorkOrderID AS Work_Order_ID, DATE_FORMAT(StartDate,
   
 '%b.
 
 %e, %Y %l:%i %p') AS Start_Date,
 DATE_FORMAT(EndDate, '%b. %e, %Y %l:%i %p') AS End_Date, ;
 $sql .= Advertiser AS Advertiser_Name,AccountNum AS Account_Number,
 Impressions AS Ad_Impressions, ;
 $sql .= AdSize AS Ad_Size,  CPM AS CPM_Rate, ;
 $sql .= ORDER BY StartDate DESC;

   
 You forgot the tables, plus you have an extra comma after CPM_Rate.

 well I changed it to:

  $sql = SELECT workorderform.WorkOrderID AS Work_Order_ID,
 DATE_FORMAT(workorderform.StartDate, '%b. %e, %Y %l:%i %p') AS Start_Date,
 DATE_FORMAT(workorderform.EndDate, '%b. %e, %Y %l:%i %p') AS End_Date,
 ;
 $sql .= workorderform.Advertiser AS
 Advertiser_Name,workorderform.AccountNum AS Account_Number,
 workorderform.Impressions AS Ad_Impressions, ;
 $sql .= workorderform.AdSize AS Ad_Size,  workorderform.CPM AS
 CPM_Rate ;
 $sql .= ORDER BY StartDate DESC;

 and got the same error


 

   


Re: [PHP] SQL syntax?

2008-12-05 Thread Allan Arguelles
Try this:

 $sql = SELECT WorkOrderID AS Work_Order_ID, DATE_FORMAT(StartDate, '%b.
%e, %Y %l:%i %p') AS Start_Date,
DATE_FORMAT(EndDate, '%b. %e, %Y %l:%i %p') AS End_Date, ;
$sql .= Advertiser AS Advertiser_Name,AccountNum AS Account_Number,
Impressions AS Ad_Impressions, ;
$sql .= AdSize AS Ad_Size, CPM AS CPM_Rate ;
$sql.= FROM workorderform ;
$sql .=  WHERE WorkOrderID = WorkOrderID ORDER BY StartDate DESC;


I just removed extra commas from CPM_Rate and workorderform


Terion Miller wrote:
 ah...I also though it was because I didn't have a statement like where
 adsize = adsize or something but I tried that and got the same error I have
 been getting ...

 You have an error in your SQL syntax; check the manual that corresponds to
 your MySQL server version for the right syntax to use near 'FROM
 workorderform, WHERE WorkOrderID = WorkOrderID ORDER BY StartDate DESC' at
 line 2

 and why does it keep saying line 2...
 here is the snippet as it is now:

  $sql = SELECT WorkOrderID AS Work_Order_ID, DATE_FORMAT(StartDate, '%b.
 %e, %Y %l:%i %p') AS Start_Date,
 DATE_FORMAT(EndDate, '%b. %e, %Y %l:%i %p') AS End_Date, ;
 $sql .= Advertiser AS Advertiser_Name,AccountNum AS Account_Number,
 Impressions AS Ad_Impressions, ;
 $sql .= AdSize AS Ad_Size, CPM AS CPM_Rate, ;
 $sql.= FROM workorderform, ;
 $sql .=  WHERE WorkOrderID = WorkOrderID ORDER BY StartDate DESC;


 On Fri, Dec 5, 2008 at 4:14 PM, Allan Arguelles [EMAIL PROTECTED]wrote:

   
  Umm.. I meant you need to put

 $sql .= FROM workorderform ;

 between these:

 $sql .= AdSize AS Ad_Size,  CPM AS CPM_Rate, ;
 $sql .= ORDER BY StartDate DESC;


 :)


 Terion Miller wrote:

 On Fri, Dec 5, 2008 at 3:57 PM, Allan Arguelles [EMAIL PROTECTED] [EMAIL 
 PROTECTED]wrote:



  $sql = SELECT WorkOrderID AS Work_Order_ID, DATE_FORMAT(StartDate,


  '%b.


  %e, %Y %l:%i %p') AS Start_Date,
 DATE_FORMAT(EndDate, '%b. %e, %Y %l:%i %p') AS End_Date, ;
 $sql .= Advertiser AS Advertiser_Name,AccountNum AS Account_Number,
 Impressions AS Ad_Impressions, ;
 $sql .= AdSize AS Ad_Size,  CPM AS CPM_Rate, ;
 $sql .= ORDER BY StartDate DESC;



  You forgot the tables, plus you have an extra comma after CPM_Rate.

 well I changed it to:

  $sql = SELECT workorderform.WorkOrderID AS Work_Order_ID,
 DATE_FORMAT(workorderform.StartDate, '%b. %e, %Y %l:%i %p') AS Start_Date,
 DATE_FORMAT(workorderform.EndDate, '%b. %e, %Y %l:%i %p') AS End_Date,
 ;
 $sql .= workorderform.Advertiser AS
 Advertiser_Name,workorderform.AccountNum AS Account_Number,
 workorderform.Impressions AS Ad_Impressions, ;
 $sql .= workorderform.AdSize AS Ad_Size,  workorderform.CPM AS
 CPM_Rate ;
 $sql .= ORDER BY StartDate DESC;

 and got the same error