php-general Digest 16 Aug 2003 08:16:35 -0000 Issue 2239

Topics (messages 159743 through 159789):

Re: Segmentation Fault
        159743 by: Jay Blanchard
        159758 by: Curt Zirzow

Checkboxes
        159744 by: Cesar Aracena
        159745 by: Matt Babineau
        159746 by: Cesar Aracena
        159747 by: Wouter van Vliet
        159748 by: CPT John W. Holmes
        159749 by: Chris Boget

Re: Screen Resoultion
        159750 by: Kris Yates
        159751 by: Chris W. Parker
        159754 by: Kris Yates

Re: How to get data from database with a click
        159752 by: Comex
        159786 by: Viraj Kalinga Abayarathna

Re: PCRE regexp bug ?
        159753 by: tpc.csua.berkeley.edu
        159756 by: tpc.csua.berkeley.edu
        159757 by: Curt Zirzow

Re: Function arguments
        159755 by: Jim Lucas

Re: Foreach POST VARS problem
        159759 by: Catalin Trifu
        159760 by: Curt Zirzow
        159761 by: Catalin Trifu

Re: If you ever had a Vic20
        159762 by: John Taylor-Johnston
        159763 by: John Taylor-Johnston
        159764 by: Matt Babineau
        159769 by: John Taylor-Johnston

Bug in Ereg?
        159765 by: Kris Yates
        159766 by: Kris Yates
        159767 by: Jennifer Goodie
        159768 by: Curt Zirzow
        159770 by: Marek Kilimajer
        159771 by: Wouter van Vliet
        159772 by: Wouter van Vliet

executing a shell command within a function
        159773 by: Sævar Öfjörð
        159774 by: Mike Brum

Installing How-To
        159775 by: Rodney Davis

mysql_num_rows
        159776 by: John Taylor-Johnston
        159777 by: CPT John W. Holmes

Help - Translation Troubles : cvs / chapters / streams.structs.xml
        159778 by: Hafid

Help - Translation Troubles : cvs / chapters / streams.common.xml
        159779 by: Hafid

HOW DO U SPLIT UP LARGE STRINGS?
        159780 by: John Ryan
        159781 by: jabber.raditha.com
        159782 by: CPT John W. Holmes
        159783 by: John Ryan

How to write my own php extensions
        159784 by: Dennis Lee
        159785 by: jabber.raditha.com

test
        159787 by: adam

call function as variable
        159788 by: adam

Re: How do I call a function in a Class from another function in the same class
        159789 by: adam

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 ---
[snip]
I am running a PHP script from the command line that is returning 
"Segmentation Fault".  I run a lot of script from the command line and
have 
never seen this before.  I don't even know where to begin.

I know that PHP is set up to run scripts from the command line and plent
of 
other scripts run.

This particular script is not doing anything out of the ordinary.  It is

opening a database connection, opening a .csv file and inserting rows
into 
the database.  How in the world could this Seg Fault?
[/snip]

segmentation fault: n.
[Unix] 

1. [techspeak] An error in which a running program attempts to access
memory not allocated to it and core dumps with a segmentation violation
error. This is often caused by improper usage of pointers in the source
code, dereferencing a null pointer, or (in C) inadvertently using a
non-pointer variable as a pointer.

This script has no doubt worked before, so some other codition exists.
Things like this are generally created by infinite loops or improper
variables.

--- End Message ---
--- Begin Message ---
* Thus wrote Jackson Miller ([EMAIL PROTECTED]):
> I am running a PHP script from the command line that is returning 
> "Segmentation Fault".  I run a lot of script from the command line and have 
> never seen this before.  I don't even know where to begin.

http://bugs.php.net/how-to-report.php

> 
> I know that PHP is set up to run scripts from the command line and plent of 
> other scripts run.
> 
> This particular script is not doing anything out of the ordinary.  It is 
> opening a database connection, opening a .csv file and inserting rows into 
> the database.  How in the world could this Seg Fault?

Obtain a backtrace of the program (assuming your on unix):

Run gdb with php as the program:

> gdb /path/to/php


when the gdb prompt somes up type the word 'run' with the options
and filename you would normally would pass to php:

(gdb) run [options] phpfile.php

Once it finishes with your crash then type 'bt':

(gdb) bt


To kinda understand what this all means you can read this
documentation under 'Locating which function call cases fault':

http://bugs.php.net/bugs-generating-backtrace.php


HTH,

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

--- End Message ---
--- Begin Message ---
Hi all,
 
I am wondering what would be the best way to handle checkboxes. I am
making a site that will display several items in a 20-items-per-page
format and each item will have a checkbox next to it for the user to
select them. Now, what I need to do is to record the items selected by
the user when clicking the “Next button” into a MySQL table. Should I
name all the checkboxes the same, using the item IDs as values and then
use an array to see which ones where selected or maybe another thing?
 
Thanks in advanced,
 
Cesar Aracena
 <http://www.icaam.com.ar> www.icaam.com.ar
Note: The information inside this message and also in the attached files
might be confidential. If you are not the desired receptor or the person
responsible of delivering the message, we notify you that it's copy,
distribution, keep or illegal use of the information it has it's
prohibited. Therefore we ask you to notify the sender by replying this
message immediately and then delete it from your computer.
 

--- End Message ---
--- Begin Message ---
You could try this:

<input type="hidden" name="box1" value="0">
<input type="checkbox" name="box1" value="1">

So basically when it get submitted, you'll have either a 0 or 1 response
to know whether or not it has been checked.

Does this help?

Matt

On Fri, 2003-08-15 at 14:25, Cesar Aracena wrote:
> Hi all,
>  
> I am wondering what would be the best way to handle checkboxes. I am
> making a site that will display several items in a 20-items-per-page
> format and each item will have a checkbox next to it for the user to
> select them. Now, what I need to do is to record the items selected by
> the user when clicking the Next button into a MySQL table. Should I
> name all the checkboxes the same, using the item IDs as values and then
> use an array to see which ones where selected or maybe another thing?
>  
> Thanks in advanced,
>  
> Cesar Aracena
>  <http://www.icaam.com.ar> www.icaam.com.ar
> Note: The information inside this message and also in the attached files
> might be confidential. If you are not the desired receptor or the person
> responsible of delivering the message, we notify you that it's copy,
> distribution, keep or illegal use of the information it has it's
> prohibited. Therefore we ask you to notify the sender by replying this
> message immediately and then delete it from your computer.
>  


--- End Message ---
--- Begin Message ---
It could be a solution but only working with a few items. My list(s)
will be filled up with hundreds of items grabbed automatically out of
another MySQL table... would it help too? Maybe naming the checkboxes
with each item own ID... anyone?

Thanks,

Cesar Aracena
www.icaam.com.ar

> -----Mensaje original-----
> De: Matt Babineau [mailto:[EMAIL PROTECTED]
> Enviado el: Viernes, 15 de Agosto de 2003 12:34 p.m.
> Para: Cesar Aracena
> CC: [EMAIL PROTECTED]
> Asunto: Re: [PHP] Checkboxes
> 
> You could try this:
> 
> <input type="hidden" name="box1" value="0">
> <input type="checkbox" name="box1" value="1">
> 
> So basically when it get submitted, you'll have either a 0 or 1
response
> to know whether or not it has been checked.
> 
> Does this help?
> 
> Matt
> 
> On Fri, 2003-08-15 at 14:25, Cesar Aracena wrote:
> > Hi all,
> >
> > I am wondering what would be the best way to handle checkboxes. I am
> > making a site that will display several items in a 20-items-per-page
> > format and each item will have a checkbox next to it for the user to
> > select them. Now, what I need to do is to record the items selected
by
> > the user when clicking the Next button into a MySQL table. Should I
> > name all the checkboxes the same, using the item IDs as values and
then
> > use an array to see which ones where selected or maybe another
thing?
> >
> > Thanks in advanced,
> >
> > Cesar Aracena
> >  <http://www.icaam.com.ar> www.icaam.com.ar
> > Note: The information inside this message and also in the attached
files
> > might be confidential. If you are not the desired receptor or the
person
> > responsible of delivering the message, we notify you that it's copy,
> > distribution, keep or illegal use of the information it has it's
> > prohibited. Therefore we ask you to notify the sender by replying
this
> > message immediately and then delete it from your computer.
> >




--- End Message ---
--- Begin Message ---
I think I'd just use like

<input type="checkbox" name=box[1] value=1>
<input type="checkbox" name=box[2] value=1>
<input type="checkbox" name=box[3] value=1>
<input type="checkbox" name=box[4] value=1>

then you can loop through it with foreach($_POST[box] as $BoxID => $Value)
.. I assume the recieving script knows what boxes it expects?

-----Oorspronkelijk bericht-----
Van: Cesar Aracena [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 15 augustus 2003 20:38
Aan: [EMAIL PROTECTED]
Onderwerp: RE: [PHP] Checkboxes
Urgentie: Hoog


It could be a solution but only working with a few items. My list(s)
will be filled up with hundreds of items grabbed automatically out of
another MySQL table... would it help too? Maybe naming the checkboxes
with each item own ID... anyone?

Thanks,

Cesar Aracena
www.icaam.com.ar

> -----Mensaje original-----
> De: Matt Babineau [mailto:[EMAIL PROTECTED]
> Enviado el: Viernes, 15 de Agosto de 2003 12:34 p.m.
> Para: Cesar Aracena
> CC: [EMAIL PROTECTED]
> Asunto: Re: [PHP] Checkboxes
>
> You could try this:
>
> <input type="hidden" name="box1" value="0">
> <input type="checkbox" name="box1" value="1">
>
> So basically when it get submitted, you'll have either a 0 or 1
response
> to know whether or not it has been checked.
>
> Does this help?
>
> Matt
>
> On Fri, 2003-08-15 at 14:25, Cesar Aracena wrote:
> > Hi all,
> >
> > I am wondering what would be the best way to handle checkboxes. I am
> > making a site that will display several items in a 20-items-per-page
> > format and each item will have a checkbox next to it for the user to
> > select them. Now, what I need to do is to record the items selected
by
> > the user when clicking the Next button into a MySQL table. Should I
> > name all the checkboxes the same, using the item IDs as values and
then
> > use an array to see which ones where selected or maybe another
thing?
> >
> > Thanks in advanced,
> >
> > Cesar Aracena
> >  <http://www.icaam.com.ar> www.icaam.com.ar
> > Note: The information inside this message and also in the attached
files
> > might be confidential. If you are not the desired receptor or the
person
> > responsible of delivering the message, we notify you that it's copy,
> > distribution, keep or illegal use of the information it has it's
> > prohibited. Therefore we ask you to notify the sender by replying
this
> > message immediately and then delete it from your computer.
> >




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



--- End Message ---
--- Begin Message ---
You could name them as:

<input type="checkbox" name="choice[]" value="1">
<input type="checkbox" name="choice[]" value="2">
etc...

Then $_POST['choice'] will be an array of the boxes chosen.

$list = implode(',',$_POST['choice']);

will give you a comma separated list of all items chosen.

---John Holmes...

----- Original Message ----- 
From: "Cesar Aracena" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 15, 2003 2:25 PM
Subject: [PHP] Checkboxes


Hi all,
 
I am wondering what would be the best way to handle checkboxes. I am
making a site that will display several items in a 20-items-per-page
format and each item will have a checkbox next to it for the user to
select them. Now, what I need to do is to record the items selected by
the user when clicking the "Next button" into a MySQL table. Should I
name all the checkboxes the same, using the item IDs as values and then
use an array to see which ones where selected or maybe another thing?
 
Thanks in advanced,
 
Cesar Aracena
 <http://www.icaam.com.ar> www.icaam.com.ar
Note: The information inside this message and also in the attached files
might be confidential. If you are not the desired receptor or the person
responsible of delivering the message, we notify you that it's copy,
distribution, keep or illegal use of the information it has it's
prohibited. Therefore we ask you to notify the sender by replying this
message immediately and then delete it from your computer.
 


--- End Message ---
--- Begin Message ---
> It could be a solution but only working with a few items. My list(s)
> will be filled up with hundreds of items grabbed automatically out of
> another MySQL table... would it help too? Maybe naming the check
> boxes with each item own ID... anyone?

What you could do is this:

$query = "SELECT field_name FROM table"
$result = mysql( $dbname, $query );

while( $dataRow = mysql_fetch_assoc( $result )) {
  echo '<input type="checkbox"
                    name=checkboxes[]
                    value="' . $dataRow['field_name'] . '">';
                    
}

On submission, all your checboxes will be here:

$_POST['checkboxes']

and you can iterate through that to see what fields/checkboxes
were set.  No fuss, no muss and no billion if( isset( $checkbox )).

Chris


--- End Message ---
--- Begin Message --- Leif K-Brooks wrote:

[EMAIL PROTECTED] wrote:

i didnt understand a word of that , please rephrase ??

ASP doesn't do an upload meter by magic. PHP can do anything ASP can do, it simply doesn't have built-in features for anything unessential.

So true.. I use PHP a lot to dynamically generate DHTML and JScript, which of course are tied to ways to get data back to PHP from jscript/dhtml results. My latest project is dynamically generating "cool menus" using Thomas Brattli's Coolmenus library (jscript/dhtml) with PHP and database results.

A while back, out of sheer boredom, I wrote a PHP script which dynamically generates a PHP script using database results, saves it to a database, and then
"grabs" and executes the new script. I havent used that for anything except playing around and burning time/killing boredom. However, I also have a PHP program which you can run and edit the source code for the program inside the program itself, hit render and all of a sudden you are running the new version of the program. It is so cool that it is just plain sick. I use this methodology all the time - every day, everyone loves it, and my fridge has good food in it as a result. My point is that nothing is impossible, it is all just a matter of how you perceive things and how you react to these perceptions. Free your mind and the paychecks will follow, not to mention good code will just flow from your fingertips. :)


Kris
http://2binteractive.com
http://doomstar.com/?target=me



--- End Message ---
--- Begin Message ---
Kris Yates <mailto:[EMAIL PROTECTED]>
    on Friday, August 15, 2003 11:55 AM said:

> However, I also have a PHP program which you can run and edit the
> source code for the program inside the program itself, hit render and
> all of a sudden you are running the new version of the program. It is
> so cool that it is just plain sick.  I use this methodology all the
> time - every day, everyone loves it, and my fridge has good food in
> it as a result.

Hhmmm... tell us more.



c.

--- End Message ---
--- Begin Message --- Chris W. Parker wrote:

Kris Yates <mailto:[EMAIL PROTECTED]>
   on Friday, August 15, 2003 11:55 AM said:



However, I also have a PHP program which you can run and edit the
source code for the program inside the program itself, hit render and
all of a sudden you are running the new version of the program. It is
so cool that it is just plain sick. I use this methodology all the
time - every day, everyone loves it, and my fridge has good food in
it as a result.



Hhmmm... tell us more.




c.



Basically it is just a lean and mean content editor I wrote that saves anything (html, php, yada yada-you-name-it) to a database. I use it inside an "environment framework" system I created which controls logging in and using the editor. So you go to the 'site', log in, and then you can run the editor and whatever other apps you have been given user-level access to. Your access level also determines what content you can access. Low level access users can edit only their own content. "Super elite" users can view/edit all content of all users, and as well can edit the HTML/PHP, etc. of the site itself. As "super user elite", you can also select the content editor and edit the source code (PHP) of the content editor. Really, you can edit any application that is inside the environment framework system. ...hmmm.. Based on a setting defined for each peice of content in the database, when you click 'render', some PHP files may be written to a specified file system while other content 'chunks' stay in the database and never rendered out as files. These chunk files can but do not contain PHP... this is used for just content or referencing actual content chunks.. so I created a very basic macro psuedo language using PHP.. I call it metaChunk but I imagine the name may already be taken, otherwise this email acts as my copyright to that name according to the Berne Copyright convention. :) LOL ... An example of a content 'chunk' as seen in the editor (just an example that does not *really* exist - just typing junk from my head that would parse):

<b>Hello !!$:varuser!!<b><br>
You have logged in !!$:logins!! times<br><br>
!!displayChunk:menu.js!!
!!displayChunk:userscreen!!
!!includefile:funk.php!!

The output is of course an HTML document that the end-user sees in ye olde browser.

This is all a couple of years old and since then I have found others that have developed similar things.. lots of CMS systems and macro languages..... someone said my metaChunk psuedo lang looks like "struts", which I have yet to see for myself or bother to read about. So Chunks can include and run PHP, display and render other chunks, and display variables. One day I may expand it. I'd like to release all this to open source but I just cant afford to do that yet, and a contract with my employer is another deterent. I am guessing others out there are in the same boat. I have been PHP'ing since late 98 but working on this stuff specifically since 2k. In my 3 years of developing this stuff, I have made a point to not examine open source code so as to keep everything 'original'. I am just an old school programmer/ex hacker from the 80's that refuses to rip others off as I have already been ripped off a time or two in the past both in the music biz and the technology biz, including *major* media companies to say the least....

If you were to put <? echo "Hello, World!"; ?> inside the database as a content 'chunk', it will just display the PHP to the web-browser instead of actually executing the code. All in all this whole deal just makes my life easier since I dont need my users being able to exec any code.

Just FYI, this project started in late 2000 after my return from Los Angeles where I was recording at Paramount. I bought a Commodore 64 SX at a yard sale for $5.00 US. I got a copy of CNET 10.0 BBS out of a dusty old box and set it up for fun. It became my reference point for the first few months to create a BBS like system for the web which was similar to the old days of BBS, unlike the majority of BBS type systems on the web today. Just trying to be unique and different in my own old-school way. I blab about all of this vaguely at my doomstar.com site, which implements these tools and my employer is also allowing me to reuse my codeBase in applications I develop for their clients.

Note to all: please send private replies as any further discussion could quickly become 'off topic' for the php-general list. I am interested in meeting other like minded people whom already know how to code and just want to throw ideas around for fun and inspiration.

Thanks for you interest in my work! It is greatly appreciated.

Kris
http://doomstar.com/?target=me


--- End Message ---
--- Begin Message ---
<[EMAIL PROTECTED]>
Curt Zirzow:
> I'm confused, does this message have anything to do with what the
> original message, below, is asking?
I <think> it is the common mistake of pressing Reply instead of taking the
trouble to type in the [EMAIL PROTECTED]



--- End Message ---
--- Begin Message ---
try java scripts, there is a function called "onChange()", you can attach
this
with your combo box and can submit (SELF) the form upon the content change
in
combobox.

I have done this long time back, i'll send you the coding if still i have
that script in my
archives.

Viraj

----- Original Message -----
From: Subodh Gupta <[EMAIL PROTECTED]>
To: PHP General <[EMAIL PROTECTED]>
Sent: Friday, August 15, 2003 2:04 PM
Subject: [PHP] How to get data from database with a click


> Dear Friends,
>
> When we click a combo box, in a perticular file, the output from the
> database should display in the same screen, in a text box or a combo box
(We
> want this to happen without pressing the submit button).
>
> Any clue please????
>
> Subodh
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 15, 2003 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] php, search engine that index via local filesystem?
>
>
> Hi,
>
> Do you want to provide a web interface to your local file system? well
> the easiest would then be to just exec locate, which will make use of
> the slocate db. Alternatively you can try to exec find. These can be
> done painlessly and you don't have to install any software.
>
> If you need a more sophisticated solution i belive htdig has the
> facility to index from local files.
>
> If you are looking to build a full fledged search engine aspseek and
> mnogosearch (both open source) are some of the best around.
>
> all the best
>
>
> Louie Miranda wrote:
>
> >Do you know any?
> >
> >
> >--- -
> >Thanks,
> >Louie Miranda
> >
> >
> >
> >
> >
> >
> >
>
>
> --
>
> Raditha Dissanayake
> -------------------------------------------------------------
> http://www.radinks.com/sftp/
> Lean and mean Secure FTP applet with Graphical User Inteface.
> just 150 Kilo Bytes
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>


--- End Message ---
--- Begin Message ---
Thank you.  I did the following:

if (isset($_POST[MI]) && (preg_match('/^[[:alpha:]]{1,1}$/', $_POST[MI]) == 0))

and zero is caught.

On Fri, 15 Aug 2003, CPT John W. Holmes wrote:

> From: <[EMAIL PROTECTED]>
>
> > I use preg_match to validate the Middle Initial field of a form and so far
> > it works, except yesterday a user submitted a "0" (zero) as a middle
> > initial!  My regexp is:
> >
> > if (!empty($_POST[MI]) && (preg_match('/^[[:alpha:]]{1,1}$/', $_POST[MI])
> == 0))
> >
> > I tested it with 0-9 and my regexp catches every digit except 0.
> Curious...
>
> empty("0") is going to be true. So, !empty("0") is going to be false, so you
> won't "catch" the zero.
>
> ---John Holmes...
>
>


--- End Message ---
--- Begin Message ---
I believe I spoke too soon.  If I use isset() then even if I leave the
field empty it still returns true.  I am trying to view the documentation for
this function but php.net seems to be timing out now.

On Fri, 15 Aug 2003 [EMAIL PROTECTED] wrote:

>
> Thank you.  I did the following:
>
> if (isset($_POST[MI]) && (preg_match('/^[[:alpha:]]{1,1}$/', $_POST[MI]) == 0))
>
> and zero is caught.
>
> On Fri, 15 Aug 2003, CPT John W. Holmes wrote:
>
> > From: <[EMAIL PROTECTED]>
> >
> > > I use preg_match to validate the Middle Initial field of a form and so far
> > > it works, except yesterday a user submitted a "0" (zero) as a middle
> > > initial!  My regexp is:
> > >
> > > if (!empty($_POST[MI]) && (preg_match('/^[[:alpha:]]{1,1}$/', $_POST[MI])
> > == 0))
> > >
> > > I tested it with 0-9 and my regexp catches every digit except 0.
> > Curious...
> >
> > empty("0") is going to be true. So, !empty("0") is going to be false, so you
> > won't "catch" the zero.
> >
> > ---John Holmes...
> >
> >
>
>


--- End Message ---
--- Begin Message ---
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> 
> I believe I spoke too soon.  If I use isset() then even if I leave the
> field empty it still returns true.  I am trying to view the documentation for
> this function but php.net seems to be timing out now.

> > if (isset($_POST[MI]) && (preg_match('/^[[:alpha:]]{1,1}$/', $_POST[MI]) == 0))


That is because the browser is sending in the POST data:
MI=

Thus, php does set it to ''.

Use something like this instead:

  if (strlen($_POST['MI'])) ...


btw, you should really quote your array keys.

HTH,


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

--- End Message ---
--- Begin Message ---
Most of my program functions use the first approach

I have what ever must be given because the nature of the functions only
exists because it does certain things.

I then have the last argurment passed be an array.  This will contain all
the data that I might want to use inside the function other then the
required fields.

for example I have a 'BOXTOP()' and 'BOXBOTTOM()' function set.

for the 'BOXTOP()' function I require the first argument but after that is
an array.

with this, I can customize the with of my box and if it isn't given it
defaults to a predefined with.

I can do the same thing with themes, colors, borders, cellpadding,
cellspacing, etc...

Then it will pass this same information to the corresponding 'BOXBOTTOM()'
function.

This keeps things very nice and clean.

inside the 'BOXTOP()' function is a mess, but once it is how you want it,
you will find that it is very easy to work with functions formated like
this.


Jim Lucas

----- Original Message ----- 
From: "Hardik Doshi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 15, 2003 8:53 AM
Subject: [PHP] Function arguments


> Hi Group,
>
> I have a question on overloaded function.
>
> What is the best way to pass the arguments so it is
> easy to maintain in future if function behaviour
> changes by adding/removing one or more arguments?
>
> Currently i am passing arguments in array. But i think
> it is not the clean way to do it and another approach
> i am using is functionName(arg1, arg2='', arg3='') but
> here again i think it is not easy to maintain.
>
> Please let me know if you guys have other options or
> improved version of above options.
>
> Thanks
>
> Hardik
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
        hi,

    Are you sure the data is posted from HTML
through POST ? try adding the lines below:

>     $colors="";
if(is_array($HTTP_POST_VARS) && !empty($HTTP_POST_VARS )) {
>     foreach($HTTP_POST_VARS as $ThisVar=>$ThisVal){
>         if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){
>             $newVarA=explode("-", $ThisVar);
>             $colors.="$newVarA[1]:";
>             }
>         }
}

Catalin



--- End Message ---
--- Begin Message ---
* Thus wrote Kris Yates ([EMAIL PROTECTED]):
>
>    foreach($HTTP_POST_VARS as $ThisVar=>$ThisVal){
> 
> ...
>
> *Warning*: Invalid argument supplied for foreach() in 
> */devda1/htdocs/2binteractive.com/htdocs/0new/content/lanskyShopAdmin.php* 
> on line 2
> 
> I guess I just need to know what this variable name has been changed 
> to.  I searched the PHP.NET manual for $HTTP_POST_VARS and got no results.
> 

$_POST;

Also it is now a superglobal in php 4.3 and doesn't need to be
global'ed inside of functions.


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

--- End Message ---
--- Begin Message ---
    btw! if you use it inside a function, you need
to declare it as global!

Catalin

>     Are you sure the data is posted from HTML
> through POST ? try adding the lines below:
>
> >     $colors="";
> if(is_array($HTTP_POST_VARS) && !empty($HTTP_POST_VARS )) {
> >     foreach($HTTP_POST_VARS as $ThisVar=>$ThisVal){
> >         if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){
> >             $newVarA=explode("-", $ThisVar);
> >             $colors.="$newVarA[1]:";
> >             }
> >         }
> }
>
> Catalin
>
>



--- End Message ---
--- Begin Message ---
OK,
I tried this, but am getting this error:
Warning:  Wrong parameter count for mysql_num_rows() in /.../testals.php on line 189
189> if (mysql_num_rows() == 1)
What's up?
John

$myconnection = mysql_connect($server,$user,$pass);
mysql_select_db($db,$myconnection);

$news = mysql_query("select StudentId from $table where StudentID = $StudentID");

 if (mysql_num_rows() == 1)
  include ("./html/access_error.htm");
 else
  include ("./html/registration.htm");




--- End Message ---
--- Begin Message ---
> I had a Vic20 sitting next to a Lisa... :)

The debate in them days was whether a timex-simplex would outlast. Commodore sold a 
lot but never went anywhere past high school labs. I knew a guy with a PC who laughed 
at every else. Funny how things turned out.



--- End Message ---
--- Begin Message ---
mysql_num_rows($news)

On Fri, 2003-08-15 at 17:42, John Taylor-Johnston wrote:
> OK,
> I tried this, but am getting this error:
> Warning:  Wrong parameter count for mysql_num_rows() in /.../testals.php on line 189
> 189> if (mysql_num_rows() == 1)
> What's up?
> John
> 
> $myconnection = mysql_connect($server,$user,$pass);
> mysql_select_db($db,$myconnection);
> 
> $news = mysql_query("select StudentId from $table where StudentID = $StudentID");
> 
>  if (mysql_num_rows() == 1)
>   include ("./html/access_error.htm");
>  else
>   include ("./html/registration.htm");
> 
> 
> 


--- End Message ---
--- Begin Message ---
:) Tried that:

Warning: Supplied argument is not a valid MySQL result resource in /.../testals.php on 
line 189
189>  if (mysql_num_rows($news) == 1)
John

> Matt> mysql_num_rows($news)

$server = "localhost";
$user = "****";
$pass = "****";
$db = "redwards";
$table = "testals";

$myconnection = mysql_connect($server,$user,$pass);
mysql_select_db($db,$myconnection);

$news = mysql_query("select StudentId from $table where StudentID = $StudentID");

 if (mysql_num_rows($news) == 1)
  include ("./html/access_error.htm");
 else
  include ("./html/registration.htm");



--- End Message ---
--- Begin Message --- Hi,

I have a form with checkboxes that POSTs to a PHP script.

What is posted [ from phpinfo() ]:

_POST["color-1"]      on
_POST["color-4"]      on
_POST["color-6"]      on


Parser: foreach($_POST as $ThisVar=>$ThisVal){ if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){ $newVarA=explode("-", $ThisVar); $colors.="$newVarA[1]:"; } }

Expected Output:

$colors="1:4:6:";

Real Output:

$colors=":1:4:6:";

I can work with the output I am getting, however, I am curious why I am not getting the "expected output". Can anyone shed light on this? I am using PHP 4.3.2 compiled under a unix environment. Is this a bug in ereg or am I just not seeing something obvious in my foreach?

Thanks,

Kris



--- End Message ---
--- Begin Message --- Just an addendum.. My parser has $colors=""; right before the foreach loop.

Kris Yates wrote:

Hi,

I have a form with checkboxes that POSTs to a PHP script.

What is posted [ from phpinfo() ]:

_POST["color-1"]     on
_POST["color-4"]     on
_POST["color-6"]     on


Parser: foreach($_POST as $ThisVar=>$ThisVal){ if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){ $newVarA=explode("-", $ThisVar); $colors.="$newVarA[1]:"; } }

Expected Output:

$colors="1:4:6:";

Real Output:

$colors=":1:4:6:";

I can work with the output I am getting, however, I am curious why I am not getting the "expected output". Can anyone shed light on this? I am using PHP 4.3.2 compiled under a unix environment. Is this a bug in ereg or am I just not seeing something obvious in my foreach?

Thanks,

Kris






--- End Message ---
--- Begin Message ---
> What is posted [ from phpinfo() ]:
>
> _POST["color-1"]      on
> _POST["color-4"]      on
> _POST["color-6"]      on
>
>
> Parser:
>     foreach($_POST as $ThisVar=>$ThisVal){
>         if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){
>             $newVarA=explode("-", $ThisVar);
>             $colors.="$newVarA[1]:";
>             }
>         }
>
> Expected Output:
>
> $colors="1:4:6:";
>
> Real Output:
>
> $colors=":1:4:6:";

Do you have anything else in _POST that's equal to 1?  I didn't look up
order of operation, so I may be off here, but your if condition might not be
doing what you are expecting.  Try using parentheses to group it like this
if(ereg("color-", $ThisVar) AND ($ThisVal=="on" OR $ThisVal==1)){  (I'm
guessing that's what you want).  Why are you using ereg anyway?  You're not
using a regular expression so strstr would work just as well and be slightly
faster.


--- End Message ---
--- Begin Message ---
* Thus wrote Kris Yates ([EMAIL PROTECTED]):
> Hi,
> 
> I have a form with checkboxes that POSTs to a PHP script.
> 
> What is posted [ from phpinfo() ]:
> 
> _POST["color-1"]      on
> _POST["color-4"]      on
> _POST["color-6"]      on

There is more post data than this.

> 
> 
> Parser:
>    foreach($_POST as $ThisVar=>$ThisVal){
>        if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){
>            $newVarA=explode("-", $ThisVar);
>            $colors.="$newVarA[1]:";
>            }
>        }

Your logic, as jennifer pointed, isn't probably what your
expecting. You're POST data has a value of 1 somewhere.

Also, ereg is very expensive for doing exact string matches like
you are doing there, best to use the str* functions avaible to do
tasks like this.  ie:

if ('color-' == substr($ThisVar, 0, 6))
 
And then no need to explode into an array and then extract the
value (more overhead).. since the format is known you can do
something like:

$colors .= substr($ThisVar, 6);

HTH,

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

--- End Message ---
--- Begin Message --- Kris Yates wrote:
if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){
this condition reads
if( (ereg("color-", $ThisVar) AND $ThisVal=="on") OR $ThisVal==1)

It is called operator precedence.
www.php.net/manual/en/language.operators.html#language.operators.precedence
You have POST var with value of 1 somewhere before.


--- End Message ---
--- Begin Message ---
Hope I can be of any help again .. what you are doing seems rather
complicated... what if you have your checkboxes like:

<input type=checkbox name="checkbox[colors][1]" value="on">
<input type=checkbox name="checkbox[colors][4]" value="on">
<input type=checkbox name="checkbox[colors][6]" value="on">

and the recieving script just doing:

if (isset($_POST['colors']) && is_array($_POST['colors'])) $colors =
join(':', $_POST['colors']);

PHP will only register indexes in the $_POST['colors'] array for the boxes
that are checked, all your colors are in one array, so one simple join would
do the trick .. won't it? The if in front of it is just to prevent any
"undefined index" notices .. might you have E_ALL set as error level.

.. wait .. getting a message .. yeah, there's a better way

$colors = (isset($_POST['colors']) && is_array($_POST['colors'])) ? $colors
= join(':', $_POST['colors']) : '';

now your $colors variable will always be set with a string value.

Grtz,
Wouter

Ps. anybody knows when syntax highlighting is gonna be an option in MS
Outlook? Would be neat, wouldn't it?

-----Oorspronkelijk bericht-----
Van: Kris Yates [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 15 augustus 2003 23:53
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP] Bug in Ereg?


Hi,

I have a form with checkboxes that POSTs to a PHP script.

What is posted [ from phpinfo() ]:

_POST["color-1"]        on
_POST["color-4"]        on
_POST["color-6"]        on


Parser:
    foreach($_POST as $ThisVar=>$ThisVal){
        if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){
            $newVarA=explode("-", $ThisVar);
            $colors.="$newVarA[1]:";
            }
        }

Expected Output:

$colors="1:4:6:";

Real Output:

$colors=":1:4:6:";

I can work with the output I am getting, however, I am curious why I am
not getting the "expected output".  Can anyone shed light on this?  I am
using PHP 4.3.2 compiled under a unix environment.  Is this a bug in
ereg or am I just not seeing something obvious in my foreach?

Thanks,

Kris



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



--- End Message ---
--- Begin Message ---
ow .. this script won't work ..

checkboxes like this:
        <input type=checkbox name="colors[1]" value="on">

or var calling like this:
        $_POST['checkbox']['colors']

would do better ;) of course :D:D

-----Oorspronkelijk bericht-----
Van: Wouter van Vliet [mailto:[EMAIL PROTECTED]
Verzonden: zaterdag 16 augustus 2003 1:06
Aan: Kris Yates; [EMAIL PROTECTED]
Onderwerp: RE: [PHP] Bug in Ereg?


Hope I can be of any help again .. what you are doing seems rather
complicated... what if you have your checkboxes like:

<input type=checkbox name="checkbox[colors][1]" value="on">
<input type=checkbox name="checkbox[colors][4]" value="on">
<input type=checkbox name="checkbox[colors][6]" value="on">

and the recieving script just doing:

if (isset($_POST['colors']) && is_array($_POST['colors'])) $colors =
join(':', $_POST['colors']);

PHP will only register indexes in the $_POST['colors'] array for the boxes
that are checked, all your colors are in one array, so one simple join would
do the trick .. won't it? The if in front of it is just to prevent any
"undefined index" notices .. might you have E_ALL set as error level.

.. wait .. getting a message .. yeah, there's a better way

$colors = (isset($_POST['colors']) && is_array($_POST['colors'])) ? $colors
= join(':', $_POST['colors']) : '';

now your $colors variable will always be set with a string value.

Grtz,
Wouter

Ps. anybody knows when syntax highlighting is gonna be an option in MS
Outlook? Would be neat, wouldn't it?

-----Oorspronkelijk bericht-----
Van: Kris Yates [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 15 augustus 2003 23:53
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP] Bug in Ereg?


Hi,

I have a form with checkboxes that POSTs to a PHP script.

What is posted [ from phpinfo() ]:

_POST["color-1"]        on
_POST["color-4"]        on
_POST["color-6"]        on


Parser:
    foreach($_POST as $ThisVar=>$ThisVal){
        if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){
            $newVarA=explode("-", $ThisVar);
            $colors.="$newVarA[1]:";
            }
        }

Expected Output:

$colors="1:4:6:";

Real Output:

$colors=":1:4:6:";

I can work with the output I am getting, however, I am curious why I am
not getting the "expected output".  Can anyone shed light on this?  I am
using PHP 4.3.2 compiled under a unix environment.  Is this a bug in
ereg or am I just not seeing something obvious in my foreach?

Thanks,

Kris



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



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



--- End Message ---
--- Begin Message ---
Hi,

I’m coding a function that will create a set of directories using
execution of shell commands within the function. Then the function saves
different sizes of images in each directory. Later in the function I
open one of these directories to list the content in them. The problem
is that the directoris don’t exist when the function is trying to list
the content in them. When I execute the function again with exactly the
same parameters there is no problem, then the directories exist!

I’m thinking that the shell commands are somehow set in some kind of
buffer or queue and are not executed until the rest of the php code is
executed?
Could this be true? If anyone has anything to say on this I’d appreciate
it.

BTW I'm using RH8.0 and PHP 4.2.2
 
Kveðja,
Sævar Öfjörð
[EMAIL PROTECTED]
þetta reddast - hönnunarlausnir
www.reddast.is



--- End Message ---
--- Begin Message ---
Why don't you try to use mkdir() instead of shell commands?

http://us2.php.net/manual/en/function.mkdir.php

-M

-----Original Message-----
From: Sævar Öfjörð [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 15, 2003 8:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] executing a shell command within a function


Hi,

I’m coding a function that will create a set of directories using execution
of shell commands within the function. Then the function saves different
sizes of images in each directory. Later in the function I open one of these
directories to list the content in them. The problem is that the directoris
don’t exist when the function is trying to list the content in them. When I
execute the function again with exactly the same parameters there is no
problem, then the directories exist!

I’m thinking that the shell commands are somehow set in some kind of buffer
or queue and are not executed until the rest of the php code is executed?
Could this be true? If anyone has anything to say on this I’d appreciate it.

BTW I'm using RH8.0 and PHP 4.2.2
 
Kveðja,
Sævar Öfjörð
[EMAIL PROTECTED]
þetta reddast - hönnunarlausnir
www.reddast.is



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





--- End Message ---
--- Begin Message ---
Does anyone know of a good howto on installing php w/ GD and phplib etc on a
Redhat box?

Thanks,
Rodney


--- End Message ---
--- Begin Message ---
My question got buried on the bottom of the thread. Sorry for the repeat. I'm getting 
this message:

Warning: Supplied argument is not a valid MySQL result resource in /.../testals.php on 
line 189

189>  if (mysql_num_rows($news) == 1)

Ideas?

$server = "localhost";
$user = "****";
$pass = "****";
$db = "redwards";
$table = "testals";

$myconnection = mysql_connect($server,$user,$pass);
mysql_select_db($db,$myconnection);

$news = mysql_query("select StudentId from $table where
StudentID = $StudentID");

 if (mysql_num_rows($news) == 1)
  include ("./html/access_error.htm");
 else
  include ("./html/registration.htm");



--- End Message ---
--- Begin Message --- John Taylor-Johnston wrote:

My question got buried on the bottom of the thread. Sorry for the repeat. I'm getting this message:

Warning: Supplied argument is not a valid MySQL result resource in /.../testals.php on line 189

Read with me. Supplied argument ($news) is not a valid MySQL result resource.


189> if (mysql_num_rows($news) == 1)

Ideas?

$server = "localhost";
$user = "****";
$pass = "****";
$db = "redwards";
$table = "testals";

$myconnection = mysql_connect($server,$user,$pass);
mysql_select_db($db,$myconnection);

$news = mysql_query("select StudentId from $table where
StudentID = $StudentID");

$news is not valid, therefore your query failed. Use mysql_error() to find out why.


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





--- End Message ---
--- Begin Message ---
Hi

I just want to ask if I have to translate this expression: struct stat
in:
<structfield>sb</structfield> is a regular, system defined, struct stat.

Apparently, it is not translatable and I was asked to no do it; but some
translators did it: for ex. the French translation.

So, please do I have to translate it or keep it like it is?
and if it is translatable, does this expression mean: structure statistics ?
and is "struct stat" a file ?

Regards

Hafid

--
> PHP Arabization Forum: (http://www2.php4arab.info/doc.ar.list/)
> Dictionary: (http://www2.php4arab.info/acronyms)



--- End Message ---
--- Begin Message ---
Hi,

I'm translating the file / chapters / streams.common.xml and I'm facing some
problems so I need some help please:

1. "memory mapped files"
I don't understand the meaning of this  expression, so I can just make a
temporary translation in this moment. I need to know the meaning or function
of these files. Is this meaning right > "the files which memory is mapped?"

2. I ask you to simplify your texts. I remarked that I affronted the same
problem with other groups when translating like French and Spanish groups.

Example: How would you express this sentence in a simple way:
<function>php_stream_copy_to_mem</function> allocates a buffer
<parameter>maxlen</parameter>+1 bytes in length using
<function>pemalloc</function> (passing <parameter>persistent</parameter>).

The difficulty is here: a buffer <parameter>maxlen</parameter>+1 bytes in
length
Do you mean: maxlen buffer or buffer maxlen ????



--
> PHP Arabization Forum: (http://www2.php4arab.info/doc.ar.list/)
> Dictionary: (http://www2.php4arab.info/acronyms)







--- End Message ---
--- Begin Message ---
I've a string with a huge mySQL query, seperated by a semi-colon and then
line-break. You can't run this query staright to mySQL (and i dont want to
try), so Im trying to split up the query into, say, 100 mysql commands at a
time.

Is it possible to split up a string every 100 semi-colons it finds??

I input this string from a text file through fopen while(fgets)? Is it
easier to just read 100 lines at a time, run a query, and then read another
100 lines from the text file?

TIA



--- End Message ---
--- Begin Message --- hello,
you can use the split() method to break this up into pieces. Unless you are doing a large number of inserts on tables with several keys mysql will not be troubled too much by the number of queries you run.



John Ryan wrote:


I've a string with a huge mySQL query, seperated by a semi-colon and then
line-break. You can't run this query staright to mySQL (and i dont want to
try), so Im trying to split up the query into, say, 100 mysql commands at a
time.

Is it possible to split up a string every 100 semi-colons it finds??

I input this string from a text file through fopen while(fgets)? Is it
easier to just read 100 lines at a time, run a query, and then read another
100 lines from the text file?

TIA







--

Raditha Dissanayake
-------------------------------------------------------------
http://www.radinks.com/sftp/
Lean and mean Secure FTP applet with Graphical User Inteface.
just 150 Kilo Bytes



--- End Message ---
--- Begin Message --- John Ryan wrote:

I've a string with a huge mySQL query, seperated by a semi-colon and then
line-break. You can't run this query staright to mySQL (and i dont want to
try), so Im trying to split up the query into, say, 100 mysql commands at a
time.

Is it possible to split up a string every 100 semi-colons it finds??

I input this string from a text file through fopen while(fgets)? Is it
easier to just read 100 lines at a time, run a query, and then read another
100 lines from the text file?

Maybe you should be using the LOAD_FILE() function in your query?


Quote:
LOAD_FILE(file_name)
Reads the file and returns the file contents as a string. The file must be on the server, you must specify the full pathname to the file, and you must have the FILE privilege. The file must be readable by all and be smaller than max_allowed_packet. If the file doesn't exist or can't be read due to one of the above reasons, the function returns NULL:


mysql> UPDATE tbl_name
           SET blob_column=LOAD_FILE("/tmp/picture")
           WHERE id=1;


-- ---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





--- End Message ---
--- Begin Message ---
well, it must be big as it says 'mysql server gone away'

i cant open the file from mysql, i need to edit a few things each line. i
suppose i could open it, then save it to disk and then run that mysql
command

"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hello,
> you can use the split() method to break this up into pieces. Unless you
> are doing a large number of inserts on tables with several keys mysql
> will not be troubled too much by the number of queries you run.
>
>
> John Ryan wrote:
>
> >I've a string with a huge mySQL query, seperated by a semi-colon and then
> >line-break. You can't run this query staright to mySQL (and i dont want
to
> >try), so Im trying to split up the query into, say, 100 mysql commands at
a
> >time.
> >
> >Is it possible to split up a string every 100 semi-colons it finds??
> >
> >I input this string from a text file through fopen while(fgets)? Is it
> >easier to just read 100 lines at a time, run a query, and then read
another
> >100 lines from the text file?
> >
> >TIA
> >
> >
> >
> >
> >
>
>
> --
>
> Raditha Dissanayake
> -------------------------------------------------------------
> http://www.radinks.com/sftp/
> Lean and mean Secure FTP applet with Graphical User Inteface.
> just 150 Kilo Bytes
>
>



--- End Message ---
--- Begin Message ---
Hi all :

I want to write my own php extensions , but I don't know how to start .

Please tell me where I can find some examples or resources such as tutorials
.

Thanks in advance .



--- End Message ---
--- Begin Message --- There are some documents in the php source tarball itself. this is a good starting point. Then please goto zend.com you will see some fantastic articles.

all the best

Dennis Lee wrote:

Hi all :

I want to write my own php extensions , but I don't know how to start .

Please tell me where I can find some examples or resources such as tutorials
.

Thanks in advance .





--

Raditha Dissanayake
-------------------------------------------------------------
http://www.radinks.com/sftp/
Lean and mean Secure FTP applet with Graphical User Inteface.
just 150 Kilo Bytes



--- End Message ---
--- Begin Message --- tst


--- End Message ---
--- Begin Message --- Hi!

I have folowing function which they are a member in a class.

function foo(){
something
}

function zoo(){
something else
}


and i have a array such:


$test = array(1=>foo,2=zoo);

and i want to call the fuction foo() and zoo something like;

$object->$test[1]();

I have tried this this, it will not working. But is there any other way to do something like this!!

cheers


--- End Message ---
--- Begin Message ---
 typically problem!
have you used $this->tehotherfunction();
or just use therotherfunction();???
if you call from your class to a members method , you have use $this!!!
And read more about oo-method!

cheers

Donpro wrote:
Hi,
I have two functions in a class where one calls the other. When creating my
object I get an error:
"Call to undefined function"
I dont understand why the function can't be seen?
Thanks,
Don


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003




--- End Message ---

Reply via email to