It depends. If the project built up of slightly different modules, putting
the coders on a big, white table seems to be a good idea. But if the modules
are completely different, you should separate them, so each of them can be
focused on their own subject. In this case, you have to have some peo
What is a good tool to coordinate a team of programmers efficiently?
To give each one a different part of the project is a start, but it needs to
get combined at some points to be a working project.
Not to debug code you have written was a hint, to see actually bugs as a bug
and not as a feature.
On Mon, 2008-01-21 at 23:39 -0500, nihilism machine wrote:
> now my debug shows that with the following code, all of the
> $_POST['whatever'] values are blank.
>
>
> class forms {
>
> var $UserInput;
>
> // Forms to variables
> function forms() {
> if (c
now my debug shows that with the following code, all of the
$_POST['whatever'] values are blank.
class forms {
var $UserInput;
// Forms to variables
function forms() {
if (count($_POST) > 0) {
foreach($_POST as $curPostK
On Mon, 2008-01-21 at 23:15 -0500, nihilism machine wrote:
> Why isnt this cleaning my form $_POST's
>
> class forms {
>
> var $UserInputClean;
>
> // Forms to variables
> function forms() {
> if (count($_POST) > 0) {
> foreach($_POST
Why isnt this cleaning my form $_POST's
class forms {
var $UserInputClean;
// Forms to variables
function forms() {
if (count($_POST) > 0) {
foreach($_POST as $curPostKey => $curPostVal) {
$c
On Mon, 2008-01-21 at 18:01 -0500, Tom Ray [Lists] wrote:
> Hey-
>
> I'm trying to install PHP5 with mysql support and I keep running into
> the same problem over and over again. I run the configuration with this:
> --with-mysql=/usr/local/mysql and without fail I get this every time:
>
> ext/m
Chris wrote:
Tom Ray [Lists] wrote:
Chris wrote:
Tom Ray [Lists] wrote:
Hey-
I'm trying to install PHP5 with mysql support and I keep running
into the same problem over and over again. I run the configuration
with this: --with-mysql=/usr/local/mysql and without fail I get
this every time:
I configured autofs in my fedora so that when I plug any usb stick in
/dev/sda1 it automatically mounts in /mnt/auto/usb0
There is two lines where the problem arise.
$util->run_command("ls -1 /mnt/auto/usb0 | wc -l");// it shows 13 when I
plug my usb stick.
$list = scandir("/mnt/auto/usb0 ");
sure, why notyou can exec most of the commands and log all of the results
to a file that you can email yourself
bastien
> Date: Mon, 21 Jan 2008 17:55:11 -0600
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Subject: [PHP]
Miguel Guirao wrote:
Hello fellow members of this list,
There is a couple of rutinary tasks that our servers (different platforms)
perform during the night. Early during the day, we have to check that every
task was performed correctly and without errors. Actually, we do this by
hand, going firs
Tom Ray [Lists] wrote:
Chris wrote:
Tom Ray [Lists] wrote:
Hey-
I'm trying to install PHP5 with mysql support and I keep running into
the same problem over and over again. I run the configuration with
this: --with-mysql=/usr/local/mysql and without fail I get this every
time:
ext/mysql/ph
Hello fellow members of this list,
There is a couple of rutinary tasks that our servers (different platforms)
perform during the night. Early during the day, we have to check that every
task was performed correctly and without errors. Actually, we do this by
hand, going first to server A (AIX plat
Chris wrote:
Tom Ray [Lists] wrote:
Hey-
I'm trying to install PHP5 with mysql support and I keep running into
the same problem over and over again. I run the configuration with
this: --with-mysql=/usr/local/mysql and without fail I get this every
time:
ext/mysql/php_mysql.o: In function `
Tom Ray [Lists] wrote:
Hey-
I'm trying to install PHP5 with mysql support and I keep running into
the same problem over and over again. I run the configuration with this:
--with-mysql=/usr/local/mysql and without fail I get this every time:
ext/mysql/php_mysql.o: In function `zif_mysql_creat
""David Giragosian"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On 1/21/08, Tor Vidvei <[EMAIL PROTECTED]> wrote:
I'm developing a traning page for basic math. The answers are entered by
the user in simple text input fields and the same page is returned (after
having been proc
""blackwater dev"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have a text file that contains 200k rows. These rows are to be
imported
into our database. The majority of them will already exists while a few
are
new. Here are a few options I've tried:
I've had php cycle t
Jim Lucas wrote:
Peter wrote:
I am trying to convert ms access sql to postgresql using php.
I have a sql statement in the form ;-
$sql = SELECT DISTINCT [Table Name].[Column.Name], [Table Name
1].[Column Name 2] etc.
what I want to end up with is $sql = SELECT DISTINCT
table_name.column_nam
Hi all,
Does anyone understand the difference between memory_get_usage and
memory_get_peak_usage with and without the parameter?
I don't understand how the allocations could be so far apart.
eg (small script that takes a minute to run):
$ php -f file.php
Peak usage (true): 4,608.0
blackwater dev wrote:
I have a text file that contains 200k rows. These rows are to be imported
into our database. The majority of them will already exists while a few are
new. Here are a few options I've tried:
I've had php cycle through the file row by row and if the row is there,
delete
Nathan Nobbe wrote:
hi all,
recently ive been debating a bit about the use of the crypt() function and
the best practice thereof, im hoping you can help to clarify this for me.
so, the crypt function
http://www.php.net/manual/en/function.crypt.php
has a second parameter, $salt, which, if not su
Hey-
I'm trying to install PHP5 with mysql support and I keep running into
the same problem over and over again. I run the configuration with this:
--with-mysql=/usr/local/mysql and without fail I get this every time:
ext/mysql/php_mysql.o: In function `zif_mysql_create_db':
/home/tech/upgrad
On Jan 20, 2008 9:53 PM, Leticia Larrosa <[EMAIL PROTECTED]> wrote:
> Hello
>
>
>
> I have a MSSql 2000 database that have stored data with the follow special
> characters: ó, í, Ñ, á, é, ú.
>
> When I see the data through any MsSql Client I see exactly those characters.
>
>
> The Collation of data
On Jan 20, 2008 6:13 AM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> If your server's default file is index.php, you could use the following
> in an index.php file:
>
> header('Location: /');
> ?>
>
You really shouldn't use relative paths in a header location.
http://www.w3.org/Protocols/rf
what about uploading the entire file into a [semi]temp table..then doing cross
table comparisons to load your main table with the data?
bastien> Date: Mon, 21 Jan 2008 13:08:27 -0500> From: [EMAIL PROTECTED]> To:
php-general@lists.php.net> Subject: Re: [PHP] a better way to do a data
import?>
Jim Lucas wrote:
Peter wrote:
I am trying to convert ms access sql to postgresql using php.
I have a sql statement in the form ;-
$sql = SELECT DISTINCT [Table Name].[Column.Name], [Table Name
1].[Column Name 2] etc.
what I want to end up with is $sql = SELECT DISTINCT
table_name.column_nam
Don't be scared of functions, no magic or mystery there, all you are doing
is putting your code in a function like so:
function add($a, $b) {
return $a + $b;
}
..for example and calling it like so:
$a = 12;
$b = 100;
$sum = add(12, 13);
...etc etc, not too much more to learn than that and now I
On Mon, 2008-01-21 at 15:28 -0500, Jason Pruim wrote:
> On Jan 21, 2008, at 3:27 PM, Robert Cummings wrote:
>
> > On Mon, 2008-01-21 at 15:20 -0500, Jason Pruim wrote:
> >>
> >> I try so hard to NOT rely on the wealth of info available here, but
> >> you guys don't make it easy!! :)
> >
> > The o
On Jan 21, 2008, at 3:33 PM, Wolf wrote:
Jason Pruim <[EMAIL PROTECTED]> wrote:
On Jan 21, 2008, at 3:27 PM, Robert Cummings wrote:
On Mon, 2008-01-21 at 15:20 -0500, Jason Pruim wrote:
I try so hard to NOT rely on the wealth of info available here, but
you guys don't make it easy!!
On Jan 21, 2008 3:52 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Would that not give favor to people who appear to like to hear them
> selves talk (Or type in this case since I can not just call a simple
> txttospeach("Speak this electronic mail so that all may hear the glory
> that is my voice!")
On Jan 21, 2008 3:47 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> Now I just need to find a way to increase the content of my posts.
Just reply to everyone with random Wikipedia articles. You can even
say it is on topic because it is generated with PHP.
--
PHP General Mailing List (http://w
On Jan 21, 2008, at 3:47 PM, Robert Cummings wrote:
On Mon, 2008-01-21 at 15:28 -0500, Jason Pruim wrote:
On Jan 21, 2008, at 3:27 PM, Robert Cummings wrote:
On Mon, 2008-01-21 at 15:20 -0500, Jason Pruim wrote:
I try so hard to NOT rely on the wealth of info available here, but
you guys
Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Jan 21, 2008, at 3:27 PM, Robert Cummings wrote:
>
> > On Mon, 2008-01-21 at 15:20 -0500, Jason Pruim wrote:
> >>
> >> I try so hard to NOT rely on the wealth of info available here, but
> >> you guys don't make it easy!! :)
> >
> > The only goo
On Jan 21, 2008, at 3:27 PM, Robert Cummings wrote:
On Mon, 2008-01-21 at 15:20 -0500, Jason Pruim wrote:
I try so hard to NOT rely on the wealth of info available here, but
you guys don't make it easy!! :)
The only good thing to do with wealth is share.
Now you're just trying to add to y
On Mon, 2008-01-21 at 15:20 -0500, Jason Pruim wrote:
>
> I try so hard to NOT rely on the wealth of info available here, but
> you guys don't make it easy!! :)
The only good thing to do with wealth is share.
Cheers,
Rob.
--
...
SwarmBuy.
On Jan 21, 2008, at 3:02 PM, Eric Butera wrote:
On Jan 21, 2008 2:57 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
Today, I found a bug in my software which I was originally happy to
find since that means there's one less that I have to worry
about... 3
hours later while trying to figure out h
On Jan 21, 2008, at 3:04 PM, James Ausmus wrote:
On Jan 21, 2008 11:57 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
Today, I found a bug in my software which I was originally happy to
find since that means there's one less that I have to worry
about... 3
hours later while trying to figure out
On Jan 21, 2008 11:57 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Today, I found a bug in my software which I was originally happy to
> find since that means there's one less that I have to worry about... 3
> hours later while trying to figure out how to fix it I wish I never
> found it!
>
> Here'
On Jan 21, 2008 2:57 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Today, I found a bug in my software which I was originally happy to
> find since that means there's one less that I have to worry about... 3
> hours later while trying to figure out how to fix it I wish I never
> found it!
>
> Here's
Today, I found a bug in my software which I was originally happy to
find since that means there's one less that I have to worry about... 3
hours later while trying to figure out how to fix it I wish I never
found it!
Here's the deal, I have a file that exports the records in the
database
On Mon, 2008-01-21 at 14:37 -0500, Mike Potter wrote:
>
> You should have said "yes" and quit while you thought you were ahead.
I'm not trying to get "ahead"... I didn't know I was competing. Are we
competing? I thought I was just answering posts.
> > that was me saying that there is certainly a
My apologies Robert, Gmail sucks. I'm bouncing this back to the list, where it
belonged in the first place. Feel free to make corrections if I've
mischaracterized
what you wrote. Good luck with that, btw, but don't expect me to engage.
Robert Cummings wrote:
>>> And THAT does remind me of my MUD
On Jan 21, 2008 1:08 PM, blackwater dev <[EMAIL PROTECTED]> wrote:
> I think that's possible, so I'll give it a shot.
>
> For some reason, even with straight inserts my php script is dying around
> 180,000 rows. Basically, I took out all the compare/update code so now I
> grab the row from the db
I think that's possible, so I'll give it a shot.
For some reason, even with straight inserts my php script is dying around
180,000 rows. Basically, I took out all the compare/update code so now I
grab the row from the db and if there isn't one, do an insert. I've wiped
my db so should do straigh
On Mon, 2008-01-21 at 12:35 -0500, blackwater dev wrote:
> I have a text file that contains 200k rows. These rows are to be imported
> into our database. The majority of them will already exists while a few are
> new. Here are a few options I've tried:
>
> I've had php cycle through the file
On Jan 21, 2008 12:35 PM, blackwater dev <[EMAIL PROTECTED]> wrote:
> I have a text file that contains 200k rows. These rows are to be imported
> into our database. The majority of them will already exists while a few are
> new. Here are a few options I've tried:
>
> I've had php cycle through
RavenWorks schreef:
Well, just for the sake of anybody in my situation finding this thread in the
future -- the workaround is to use this:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /redirectTest2/verify.p
rectified ;-)
Originele bericht
On Jan 21, 2008 11:51 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
yeah - you'll get used to it, mostly. it happens to everyone that they seem to
be
getting replies to things they didn't write - I was responding to the OP in this
case - adding to
I have a text file that contains 200k rows. These rows are to be imported
into our database. The majority of them will already exists while a few are
new. Here are a few options I've tried:
I've had php cycle through the file row by row and if the row is there,
delete it and do a straight ins
Daneane schreef:
Chris, Jochem, Nathan, Jason, Paul,
Thanks for the suggestions and information. This is great, gives me a good
place to start.
let us know how you get on - chances are you'll learn some tricks other may
find handy :-)
Best,
-dg
--
PHP General Mailing List (http://www.php
Chris, Jochem, Nathan, Jason, Paul,
Thanks for the suggestions and information. This is great, gives me a good
place to start.
Best,
-dg
Peter wrote:
I am trying to convert ms access sql to postgresql using php.
I have a sql statement in the form ;-
$sql = SELECT DISTINCT [Table Name].[Column.Name], [Table Name 1].[Column
Name 2] etc.
what I want to end up with is $sql = SELECT DISTINCT table_name.column_name,
table_name_1.co
On 1/21/08, Tor Vidvei <[EMAIL PROTECTED]> wrote:
>
> I'm developing a traning page for basic math. The answers are entered by
> the user in simple text input fields and the same page is returned (after
> having been processed by php) to the user with indications of correctness
> or error on each
On Jan 21, 2008 10:31 AM, Tor Vidvei <[EMAIL PROTECTED]> wrote:
> I'm developing a traning page for basic math. The answers are entered by
> the user in simple text input fields and the same page is returned (after
> having been processed by php) to the user with indications of correctness
> or er
On Jan 21, 2008 10:19 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> I don't think making a single generic function to iterate over every
> value in the GET/POST arrays is a very good idea. Each field on a
> form can contain very different pieces of data that should be handed
> quite differently.
On Jan 21, 2008 5:50 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Ron Rademaker schreef:
> > Jochem Maas wrote:
> >> Ron Rademaker schreef:
> >>> Hi Jochem,
> >>>
> >>> Apache comes with an nice ab tool which stands for apache
> >>> benchmarking. You can use this to benchmark stuff like concurrent
Hi Peter. Is this what you want to do. Copy this into a
*.php page, and then look at it with your browser.
I just refactored one of my heredoc queries to handle your
problem.
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; xml:la
I'm developing a traning page for basic math. The answers are entered by
the user in simple text input fields and the same page is returned (after
having been processed by php) to the user with indications of correctness
or error on each answer. If the AutoComplete feature is turned on a
-- Forwarded message --
From: Nathan Nobbe <[EMAIL PROTECTED]>
Date: Jan 21, 2008 10:43 AM
Subject: Re: [PHP] change php variable depending on selection
To: stp <[EMAIL PROTECTED]>
On Jan 21, 2008 9:42 AM, stp <[EMAIL PROTECTED]> wrote:
> I'm sorry…..I've got the conversion of t
Eric Butera schreef:
...
then from client space you would just say
InputFilter::filterInput();
then, subsequently you can use $_POST and $_GET directly with the
assumption
that the input has been escaped.
BAD! assuming $_GET/$_POST are sanitized and escaped is always wrong. stick
cleaned/val
On Jan 20, 2008 8:36 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> now for the juicy bit - you have *no* garantee that the system clock and/or
> the timezone setting on the client machine is anything like correct. actually
> the chances that it is not are quite high - disregarding idiots, just think
On Jan 20, 2008 10:06 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Jan 20, 2008 9:47 PM, nihilism machine <[EMAIL PROTECTED]> wrote:
>
> > how does this look? should this by me calling ... myforms = new
> > forms(); work by turning all key/value pairs for both get and post
> > into variable nam
On Jan 20, 2008 10:15 PM, nihilism machine <[EMAIL PROTECTED]> wrote:
> im trying to keep this php4 OOP. im just trying to clean the post/gets
> and then make them all into variables with their names being the keys
> to the get/post, and their values as the variables values.
>
> ie: $_POST['someFor
Well actually not a real lot so far. I'm just trial and error(lots of that)
at the moment. I've only been 'playing with php for about a month or so.
$file = "phptest1.txt";
$rep = array ("tbl_" , "_%", "bool default 0", "bool default 1", '?');
$wih = array ("", "_pc", "bool DEFAULT FALSE", "bool D
Ron Rademaker schreef:
Jochem Maas wrote:
Ron Rademaker schreef:
Hi Jochem,
Apache comes with an nice ab tool which stands for apache
benchmarking. You can use this to benchmark stuff like concurrent
requests.
indeed, I know ab, but it doesn't allow for a very realistic request
'spread'
Can yo upost the code you have got to do the conversion
so far please?
Regards
Keith
-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk
All email addresses are challenge-respon
Jochem Maas wrote:
Ron Rademaker schreef:
Hi Jochem,
Apache comes with an nice ab tool which stands for apache
benchmarking. You can use this to benchmark stuff like concurrent
requests.
indeed, I know ab, but it doesn't allow for a very realistic request
'spread'
- at least as far as I k
Ron Rademaker schreef:
Hi Jochem,
Apache comes with an nice ab tool which stands for apache benchmarking.
You can use this to benchmark stuff like concurrent requests.
indeed, I know ab, but it doesn't allow for a very realistic request 'spread'
- at least as far as I know.
I was hoping for
2008. 01. 19, szombat keltezéssel 11.12-kor Daniel Brown ezt írta:
> Aside from that, Zoltan, if you happen to be able to find the
> function to post without much problem, feel free, and I'll look into
> incorporating it into the script. Otherwise, I can fix it myself. My
> fault for not thi
On Mon, 2008-01-21 at 10:50 +0100, Jochem Maas wrote:
> Does anyone have any tips, urls, advice as to how to start
> going about creating something like a 'test suite' for testing
> high load performance of a website?
>
I went through a similar headache recently, and looked at a whole whack
of t
hi guys,
I need to do some performance testing for a site of mine.
I want to compare performance of various combinations
of using APC, Squid, Apache/LightHTTPD mod_php/fastcgi.
all very well I can build the various setups but I'm stuck as
to how to go about recreating realistic load on the machi
I am trying to convert ms access sql to postgresql using php.
I have a sql statement in the form ;-
$sql = SELECT DISTINCT [Table Name].[Column.Name], [Table Name 1].[Column
Name 2] etc.
what I want to end up with is $sql = SELECT DISTINCT table_name.column_name,
table_name_1.column_name_2, ...
72 matches
Mail list logo