Re: [PHP] Loss of precision in intval()

2007-08-01 Thread David Duong

Roberto Mansfield wrote:

Internally, 75.82 can't be stored exactly, so 75.82 * 100 is probably
7581.92 rather than the expected integer value of 7582. So intval is
behaving properly. Sounds like you want intval(round($a));



[EMAIL PROTECTED] wrote:

Very weird and counter intuitive.  Looking at the php manual, I see this:

Converting to integer from floating point:

When converting from float to integer, the number will be rounded towards 
zero.

But you'd think the multiplication would happen before the rounding.

if you do:
$a = ceil(75.82 * 100);

you should get the proper answer.

This is what I used for testing:

?php
$x = 75.82;
$y = 100;

echo x is  . gettype($x) . br\n;
echo y is  . gettype($y) . br\n;

$a = ceil($x * $y);

echo a is  . gettype($a) . br\n;

echo intval(a) is  . gettype(intval($a)) . br\n;

echo $a .  ***  . intval($a);
?

Not sure that really helps, but seems to be some kind of order of precedence 
issue.

-TG

= = = Original message = = =

This sort of thing really isn't helpful...

?php

$a = 75.82 * 100;

echo intval($a);

?


___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

Better yet: $a + 0, or (int)$a.

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



[PHP] PDO statement/resultset

2006-12-14 Thread David Duong

Hi everyone,

Let me know if there is a better place to post this.

I am playing with the idea of creating a true (KISS) abstraction layer 
that makes full use of PHP5's OOP support. So logically it would make 
sense to make use PDO wherever possible, however, one of PDO's design 
decisions was to make a prepared statement object also a result set 
(another question: ... why?) a script can not make use of the a 
statement more than once without completely fetching all the data it 
needs from the first query, before executing the next.


A likely scenario is that the prepared statement is executed and then 
before the script is done with processing the result, the same statement 
(with different binds) will need to be executed again, also using the 
result set from that statement.


Does PDO provide a method to deal with this problem? From what I 
understand the only solution would be to prepare a new statement for 
each query, even for queries with the same structure which defeats the 
purpose of a prepared statement(?) Is there a solution that is a bit better?


Regards,

David

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



[PHP] Re: string highlight

2005-06-07 Thread David Duong

Sebastian wrote:
i'm looking for a function that can highlight certain search terms in a 
string. anyone have something already made that i can plugin to my 
exisiting code?


I found a couple but they do not work very well.. some break html code 
if the string contains the keywords in the html.


thanks.

You can use str_replace to highlight the search terms.

For example, you could use the following code for each search term (this 
function also accepts arrays, see http://php.net/str_replace):


str_replace ($search_term, b$search_term/b, $body_text);

 - David

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



[PHP] Re: string highlight

2005-06-07 Thread David Duong

David Duong wrote:

Sebastian wrote:

i'm looking for a function that can highlight certain search terms in 
a string. anyone have something already made that i can plugin to my 
exisiting code?


I found a couple but they do not work very well.. some break html code 
if the string contains the keywords in the html.


thanks.


You can use str_replace to highlight the search terms.

For example, you could use the following code for each search term (this 
function also accepts arrays, see http://php.net/str_replace):


str_replace ($search_term, b$search_term/b, $body_text);

 - David
I forgot to mention that if you wanted to have a highlighting effect, 
you will need to use stylesheets.


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



[PHP] Starting/Reviving a Workshop

2003-03-26 Thread David Duong
Hello, I'm thinking about reviving a 'workshop' I had a while back because
of a recent post I found at a forum. The foundation is already set up, and I
would like to see how many people are interested. This workshop is for CGI
scripts mainly PHP and Perl, but PHP takes precedence over Perl. Everything
is Open Source (under GPL) and on CVS.  If you are unfamiliar with CVS, I'll
have a tutorial set up shortly.

David Duong



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



[PHP] Re: .htpasswd and PayPal generated passwords

2003-02-16 Thread David Duong
Try http://www.php.net/md5.

Use md5 to encrypt the password, then when you need to check from login just
encrypt what is given, and see if this matches the md5 found in the
database.

- David

Rob Packer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I use PayPal to generate a username and password and then write them
to
 the .htpasswd file. If I were to switch to using a database (because
 .htaccess seems to always prompt twice!) how would I perform the
comparison
 for the passwords? It would seem that everytime you generate an encrypted
 password it's different. So how would you compare them? Also, does anyone
 know what the encryption method used by PayPal is?

 Thanks for any help...

 Robert Packer





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




[PHP] Re: .htpasswd and PayPal generated passwords

2003-02-16 Thread David Duong
btw - What do you mean by paypal generated passwords?  I am interested in
using PayPal as an alternative to my current credit card handler.

Just a link is appreciated.

- David


Rob Packer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I use PayPal to generate a username and password and then write them
to
 the .htpasswd file. If I were to switch to using a database (because
 .htaccess seems to always prompt twice!) how would I perform the
comparison
 for the passwords? It would seem that everytime you generate an encrypted
 password it's different. So how would you compare them? Also, does anyone
 know what the encryption method used by PayPal is?

 Thanks for any help...

 Robert Packer





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




[PHP] How do I set UID and GID to files.

2003-02-16 Thread David Duong
See topic.



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




[PHP] How do I get the name of the script?

2002-07-13 Thread David Duong

Is their a function that returns an equivalent of $PHP_SELF?



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




Re: [PHP] How do I get the name of the script?

2002-07-13 Thread David Duong

Thnx for hte help, I wanted to keep register globals off, its a security
hazard.
Philip Olson [EMAIL PROTECTED] wrote in message
Pine.BSF.4.10.10207140050140.63499-10@localhost">news:Pine.BSF.4.10.10207140050140.63499-10@localhost...

 You have many options.  Do a call to phpinfo() and
 note all the predefined variables, such as PHP_SELF.
 There is also the __FILE__ constant, print that too.

 Why do you request a function?  If it's because
 $PHP_SELF is not set, that's because the PHP
 directive register_globals = off.  Go through the
 predefined server array instead, it's sexier:

   print $_SERVER['PHP_SELF'];

 See also:
   http://www.php.net/manual/en/reserved.variables.php

 Regards,
 Philip Olson


 On Sat, 13 Jul 2002, David Duong wrote:

  Is their a function that returns an equivalent of $PHP_SELF?
 
 
 
  --
  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




[PHP] another splice?

2002-07-10 Thread David Duong

Is their 1 function method to remove an element within an array using its
key instead of its position within the element?

I am looking for a substitution for placing removing an element without
having to make another array just to list all the array elements and then
using that to specify where to splice.



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




[PHP] Discard the previous message.

2002-07-10 Thread David Duong

Is their a 1 function method to remove an element within an array using its
key instead of its position within the array?

I am looking for a substitution for placing removing an element without
having to make another array just to list all the array elements and then
using that to specify where to splice.


David Duong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Is their 1 function method to remove an element within an array using its
 key instead of its position within the element?

 I am looking for a substitution for placing removing an element without
 having to make another array just to list all the array elements and then
 using that to specify where to splice.





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




[PHP] Re: newbie regex question..

2002-07-10 Thread David Duong

I am not quite sure but this will do the trick:

?php
$fixedfile=img src=\http://64.4.14.24/spacer.gif\; width=1 height=2;
$fixedfile=preg_replace(/src=[^]*?/,src=\!---image goes here---\,
$fixedfile);

#preg_replace(/[search]/,[replacement],[string]);

exit ($fixedfile);
?

I have made some differences from what you were trying to do:
I used preg_replace, I added  to the replacement since without it you
would get:
img src=!---image goes here--- which would be incorrect HTML (img
src= would be correct).

A note From a PHP manual.:
preg_replace(), which uses a Perl-compatible regular expression syntax, is
often a faster alternative to ereg_replace().

Kelly Meeks [EMAIL PROTECTED] wrote in message
002701c22832$3992e800$6501a8c0@yourw92p4bhlzg">news:002701c22832$3992e800$6501a8c0@yourw92p4bhlzg...
Hi folks,

I'm trying my hand at some pattern matching, and I have a question.

I need to take all the text between the title tags of a page, and replace
it.  This I can do, with the following:

$fixedfile=ereg_replace(title.*/title,title? echo \$bstitle;
?/title, $fixedfile);
works like a charm

Now I want to delete everything in the src section of an image tag, so I'm
trying this:

$fixedfile=ereg_replace(src=\.*\,src=\!---image goes here---\,
$fixedfile);

but this doesn't work.

What am I doing wrong?

Kelly




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




[PHP] Re: File Uploading Question

2002-07-10 Thread David Duong

Go to http://www.cs.tut.fi/~jkorpela/forms/file.html;  It gives an example.
Press Find on Page (ctrl+F for Internet Explorer) and type in Style Sheet,
you should find what you are looking for by reading the paragraph and any
below that concern Style Sheet.

For more info about Style Sheets do a search for style sheet or CSS.

Nick Oostveen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I've got a (hopefully) simple question which is indirectly related to php.

 I'm currently developing an application which includes functionality to
 allow users to upload image files.  Does anyone here know of a way to
 customize the look of the HTML file input type? By this I mean changing
 the browse button to a graphic, hiding the text field, etc.

 Any help with this would be greatly appreciated.





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




[PHP] Get difference between strings.

2002-06-22 Thread David Duong

How would I get the difference between strings?

Example:
ViewCVS can browse directories, change logs, and revisions of files. It can
display diffs between versions and show selections of files based on tags or
branches...

This was word for word from sourceforge project ViewCVS, however ViewCVS was
written in Python.

Is their a way for PHP to Display the 'diffs' between two submitted text?

Lets say the user submitted a text file stored as $textin, then the script
displays the 'diffs' (including what was removed) between it and a previous
text stored as $otext.

I just need to be pointed in the right direction.



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




Re: [PHP] Making varibles (more than one) with a function.

2002-05-23 Thread David Duong

If that works than the why does test file I tried previously to making the
post return a $text does not exist error?
?
echoo();

function test() {
$text = Testing;
global $text;
}

function echoo() {
test();
echo $text;
}

?

Sqlcoders.Com Programming Dept [EMAIL PROTECTED] wrote in message
009f01c20241$f05aaf80$6520fea9@dw">news:009f01c20241$f05aaf80$6520fea9@dw...
 Sqlcoders.com Dynamic data driven web solutions

 - Original Message -
 From: David Duong [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: May 22 2002 04:21 PM
 Subject: [PHP] Making varibles (more than one) with a function.
  I am aware that return can return strings but is their a set global or a
  function similar to return?

 hi there!,
 There sure is, it's called global.
 Usage:
 global $variable_a;
 global $variable_b;
 global $variable_c;
 ...

 HTH,
 Dw.

 
 
 
  --
  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




[PHP] Re: Making varibles (more than one) with a function.

2002-05-23 Thread David Duong

Ok, I see.

You have to declare global first and then assign value.
David Duong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 How could I have a function create variables that can be used in other
 functions?

 _Example_:
 makevars() {
 list($md5,$pusername,$pproject,$pfile) = explode(:,$authok);
 $user = $pusername;
 $project = $pproject;
 $file = $pfile;
 }

 function display () {
 makevars();
 echo $user,$project,$file;
 }

 I am aware that return can return strings but is their a set global or a
 function similar to return?





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




[PHP] Making varibles (more than one) with a function.

2002-05-22 Thread David Duong

How could I have a function create variables that can be used in other
functions?

_Example_:
makevars() {
list($md5,$pusername,$pproject,$pfile) = explode(:,$authok);
$user = $pusername;
$project = $pproject;
$file = $pfile;
}

function display () {
makevars();
echo $user,$project,$file;
}

I am aware that return can return strings but is their a set global or a
function similar to return?



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




[PHP] Your Open Source Projects wanted.

2002-05-12 Thread David Duong

Hello,

I'm David Duong of the CGI open source Foundry.  We are looking for a script
to produce.  If you have a good script an would like some programmers to
help develop it I invite you to visit http://cosf.sourceforge.net.



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




[PHP] Re: MySQL or FlatFile

2002-05-12 Thread David Duong

I am referring to whole PHP/Perl files.  It is necessary to load them as
much as 20+ times within the same hour what would be better MySql or
Flatfile?



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




[PHP] MySQL or FlatFile

2002-05-10 Thread David Duong

To store large values (100k+) and load them as much as 6+ times within the
same hour what would be better MySql or Flatfile?



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




[PHP] SourceForge. Whats the worst part about it?

2002-04-24 Thread David Duong

Hello,

Currently I am using SourceForge for a variety of Projects and now some
issues have surfaced concerning SF quality.  Now I am now wonder what is the
worst downfall about SF?  Now SourceForge is a very great tool as mention
earlier, it is a very useful tool in Open Source and I am quite sure many
people believe that also, I would also like to hear from this side.



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




[PHP] Tracking impressions

2002-03-30 Thread David Duong

Hello, I need a script that can track impressions through PHP.

I know you load a php script from IMG tags than some how the image is
loaded or redirected.

Is their a way I can record impressions and environment variables like IP,
Browser, referrer, etc.



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




Re: [PHP] Creating forums in php

2002-03-28 Thread David Duong

Maybe, http://www.phpbb.com

-David.

Boaz Yahav [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
http://www.phorum.org ?

Sincerely

  berber

Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.


-Original Message-
From: Denis L. Menezes [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 3:32 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Creating forums in php


Hello friends,

I am running a website having php and mysql support on which I want to
set
up a discussions forum. Can someone advise me any web resources for
building
a php-mysql forum?

Thanks
denis


--
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




[PHP] Mysql adding extra fields.

2002-03-28 Thread David Duong

How do I add extra fields after it has already been set?



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




[PHP] COSF needs members More Info

2002-03-26 Thread David Duong

COSF will be a CGI foundry that produces scripts from:

 - The existing projects of its members (which means if you have a project
in the works which was supposed to be finished a year ago right before you
started on the new one)
 - The Scripts which have been abandoned because the scripter lost his/her
interest in.
 - From the brain child of any of our members.

I am planning to make a CGI Open Source Foundry

We will start in stages.

After the Foundry is initially set-up we will begin to release scripts.

The main goal would be to improve our skills, start something and actually
finish it quickly and better than designed.

The CGI Open Source Foundry is designed to help Perl/PHP developers find
help and resources to improve the Open Source CGI community.  We plan to
have the CGI Open Source Foundry built by late-summer (refer to our
schedule).  We plan on using this site to share ideas, post news of our
progress on the foundry and various other projects, and recruit programmers.

We are looking for our first members to test and see if this is going to
work.
COSF will be producing Perl and/or PHP scripts for the open source
community, most under the GNU Public License, -their may be a few sold under
other licenses-.
This is how COSF will operate:
A developer will either start a project from his/her own projects or take up
an abandoned/dead project from http://sourceforge.net or other places on the
net.
The developer can assign other developers to help them organize the project.
The project then posts an entry on COSF's open projects board and uses
COSF's groupware tools to help them collaborate on the project.
The script is then distributed through COSF and where ever the developers
desire.

This was taken from the about page of the COSF site, so the formatting may
be a little off.




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




[PHP] The CGI open source foundry needs members - Reedited

2002-03-24 Thread David Duong

Is their anyone who would like to join the CGI Open Source Foundry (COSF)?

COSF will be a CGI foundry that produces scripts from:

 - The existing projects of its members (which means if you have a project
in the works which was supposed to be finished a year ago right before you
started on the new one)
 - The Scripts which have been abandoned because the scripter lost his/her
interest in.
 - From the brain child of any of our members.

I am planning to make a CGI Open Source Foundry

After the Foundry is initally set-up we will begin to release scripts.

The main goal would be to improve our skills, start something and actually
finish it quickly and better than designed.




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




Re: [PHP] Perl NewsGroup?

2002-03-22 Thread David Duong

I didn't put mailing list I meant Usenet lists.

Bvr [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...


 Why not try www.perl.com ???

 I found: http://www.perl.com/cs/user/query/q/6?id_topic=50

 bvr.

 David Duong wrote:

 This may be the worst place to put this but here goes:
 
 Does anyone know of a Perl NewsGroup?
 
 
 





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




[PHP] Re: what is the difference between function and language construct?

2002-03-22 Thread David Duong

empty -- Determines whether a variable is set

gives a boolean result.
$var = 0;

if (empty($var)) {  // evaluates true
echo '$var is either 0 or not set at all';
}
if (!isset($var)) { // evaluates false
echo '$var is not set at all';
}

I don't think that
?php

if (empty($a=5)) {
echo 'ok';
} else {
echo 'bad';
}

?

would work.  Try:

If you want to see if variable is empty, if it is change it to 5.
?php

if (empty($var)) {
echo 'ok';
} else {
echo 'bad';
$a=5;
}

?

-- OR --

If you what to see if $a == 5 than
?php

if ($var==5) {
echo 'ok';
} else {
echo 'bad';
$a=5;
}

?


Bob [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 why this get wrong?

 ?php

 if (empty($a=5)) {
 echo 'ok';
 } else {
 echo 'bad';
 }
 ?




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




[PHP] What is the PHP version of Grep?

2002-03-22 Thread David Duong

I was wondering what is the equvilent of the perl coommand: grep.

Can you list all the files in a certain directory and put it in an array.
Can you list all the files with *.htm in a certain directory and put it in
an array.



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




[PHP] Perl NewsGroup?

2002-03-20 Thread David Duong

This may be the worst place to put this but here goes:

Does anyone know of a Perl NewsGroup?



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




[PHP] Re: I need help building The CGI Open Source Foundry (COSF)

2002-03-20 Thread David Duong

Does anyone have a PHP project that you need more help on?



David Duong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 The objective of this foundry is to develop scripts that will be usefull
to
 anyone.

 We will be producing scripts from scratch when we have a good script in
 mind, but most of the time we will be working on scripts with high
potential
 that a member has created..

 What I mean by marketers is people who are incharge of distributing the
 script.  Thus most of their time will be spent marketing.

 David Duong [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  I need some experienced people to become managers of the CGI Open Source
  Foundry (COSF)?
 
  I am planning to make a CGI Open Source Foundry
 
  We will start in stages.
 
  Stage 1 getting initial members (Hard Part)
  - Once we gain 10-20 members we will start stage 2.
 
  Stage 2 Dividing them into groups (members can be in multiple groups)
  - Managers - Head(s) of the specific groups.
  - GUI - Members with strong webdesigner skills
  - Database
  - File Wizards - Good with file manipulation
  - Clean-up - Clean up the source
  - General Developers
  - Resource - Find servers to host this
  - Marketers - Those who will distribute the scripts.
  - Newbies/Learners
  - Webmasters - See Stage 5
 
  Stage 3 Finding/Creating a Groupware script that will allow us to all to
  work on single or multiple scripts.
 
  Stage 4 Decide what would be the perfect first project.  This project
may
 be
  an existing one in the makes with high potential, or something from
 scratch.
  (Ten people on one script may sound crazy but I think it will work if we
  planned it out.)
 
  Stage 5 Making the main site.  The site will include a place to Release
 and
  Plan all our scripts.  I have my eye on SourceForge.net as host.
 
  After the first stages well start making other scripts that will be of
 use.
 
 
 
  If your interested or have comments than your input would be
appreciated.
 
 





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




[PHP] Re: I need help building The CGI Open Source Foundry (COSF)

2002-03-18 Thread David Duong

The objective of this foundry is to develop scripts that will be usefull to
anyone.

We will be producing scripts from scratch when we have a good script in
mind, but most of the time we will be working on scripts with high potential
that a member has created..

What I mean by marketers is people who are incharge of distributing the
script.  Thus most of their time will be spent marketing.

David Duong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I need some experienced people to become managers of the CGI Open Source
 Foundry (COSF)?

 I am planning to make a CGI Open Source Foundry

 We will start in stages.

 Stage 1 getting initial members (Hard Part)
 - Once we gain 10-20 members we will start stage 2.

 Stage 2 Dividing them into groups (members can be in multiple groups)
 - Managers - Head(s) of the specific groups.
 - GUI - Members with strong webdesigner skills
 - Database
 - File Wizards - Good with file manipulation
 - Clean-up - Clean up the source
 - General Developers
 - Resource - Find servers to host this
 - Marketers - Those who will distribute the scripts.
 - Newbies/Learners
 - Webmasters - See Stage 5

 Stage 3 Finding/Creating a Groupware script that will allow us to all to
 work on single or multiple scripts.

 Stage 4 Decide what would be the perfect first project.  This project may
be
 an existing one in the makes with high potential, or something from
scratch.
 (Ten people on one script may sound crazy but I think it will work if we
 planned it out.)

 Stage 5 Making the main site.  The site will include a place to Release
and
 Plan all our scripts.  I have my eye on SourceForge.net as host.

 After the first stages well start making other scripts that will be of
use.



 If your interested or have comments than your input would be appreciated.





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




[PHP] I need help building The CGI Open Source Foundry (COSF)

2002-03-17 Thread David Duong

I need some experienced people to become managers of the CGI Open Source
Foundry (COSF)?

I am planning to make a CGI Open Source Foundry

We will start in stages.

Stage 1 getting initial members (Hard Part)
- Once we gain 10-20 members we will start stage 2.

Stage 2 Dividing them into groups (members can be in multiple groups)
- Managers - Head(s) of the specific groups.
- GUI - Members with strong webdesigner skills
- Database
- File Wizards - Good with file manipulation
- Clean-up - Clean up the source
- General Developers
- Resource - Find servers to host this
- Marketers - Those who will distribute the scripts.
- Newbies/Learners
- Webmasters - See Stage 5

Stage 3 Finding/Creating a Groupware script that will allow us to all to
work on single or multiple scripts.

Stage 4 Decide what would be the perfect first project.  This project may be
an existing one in the makes with high potential, or something from scratch.
(Ten people on one script may sound crazy but I think it will work if we
planned it out.)

Stage 5 Making the main site.  The site will include a place to Release and
Plan all our scripts.  I have my eye on SourceForge.net as host.

After the first stages well start making other scripts that will be of use.



If your interested or have comments than your input would be appreciated.



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




Re: [PHP] PHP CGI

2002-03-17 Thread David Duong

I mean any time you hear the word CGI it is rarely referring to PHP, always
Perl (My most comfortable Web language).  You'd think that CGI only refers
to Perl.

If you goto a site and download scripts under category CGI you would be
downloading Perl scripts, PHP has its own category.

Should CGI still mainly Perl even though PHP is somewhat easier, quicker
thus easier suited for CGI.

I think the meaning of CGI is quite blured.
Anyone else think so?


[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 On Sun, 17 Mar 2002, David Duong wrote:
  Can PHP be considered CGI?

 Sometimes.

 CGI is a standardized interface between web servers and backend
 applications. PHP can communicate with web servers using that mechanism,
 but it doesn't have to (depends on the web server in use).

 I think the problem here is that you're not asking the question you think
 you're asking. Unfortunately, I'm not sure what you're really trying to
 figure out.

  Would PHP replace Perl as the main language of CGI?

 Who knows? It might. Its use is growing rapidly, and it's much easier to
 learn. A few years ago the prospect would have been unthinkable, due to
 the vastly greater supply of Perl CGI web apps and free libraries in
 circulation. These days the advantage is not so strong. And PHP is far
 better optimized for the specific task of web application development.

 On the other hand, Perl is in the abstract a more powerful language. So
 many programmers will continue to prefer it.

 miguel




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