[PHP] Re: htaccess

2013-07-08 Thread Tim Streater
On 07 Jul 2013 at 21:22, Tedd Sperling t...@sperling.com wrote: Confirmed. Those two lines cause the problem. However, commenting out those lines causes other problems. Are there similar statements to these: AddType application/x-httpd-php .php .htm .html This one tells apache

php-general Digest 7 Jul 2013 15:09:47 -0000 Issue 8288

2013-07-07 Thread php-general-digest-help
php-general Digest 7 Jul 2013 15:09:47 - Issue 8288 Topics (messages 321566 through 321574): Re: mongo usage 321566 by: Tim Dunphy 321570 by: Matijn Woudt 321571 by: Tim Dunphy 321572 by: Tim Streater 321573 by: Tim Dunphy Re: Guaranteed Way to Get

php-general Digest 8 Jul 2013 03:11:09 -0000 Issue 8289

2013-07-07 Thread php-general-digest-help
php-general Digest 8 Jul 2013 03:11:09 - Issue 8289 Topics (messages 321575 through 321583): Re: phpdocumentor with PHP5.4 321575 by: Sebastian Krebs 321576 by: lester.lsces.co.uk 321577 by: Sebastian Krebs 321578 by: Lester Caine 321579 by: Sebastian

[PHP] phpdocumentor with PHP5.4

2013-07-07 Thread Lester Caine
- http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpdocumentor with PHP5.4

2013-07-07 Thread Sebastian Krebs
Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.**ukhttp://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] phpdocumentor with PHP5.4

2013-07-07 Thread lester
It's a clean install via PEAR a couple of hours ago! Sent from my android device. -Original Message- From: Sebastian Krebs krebs@gmail.com To: Lester Caine les...@lsces.co.uk Cc: PHP General List php-general@lists.php.net Sent: Sun, 07 Jul 2013 16:41 Subject: Re: [PHP] phpdocumentor

Re: [PHP] phpdocumentor with PHP5.4

2013-07-07 Thread Sebastian Krebs
I meant: PhpDocumentor 2 Am 07.07.2013 17:44 schrieb les...@lsces.co.uk: It's a clean install via PEAR a couple of hours ago! Sent from my android device. -Original Message- From: Sebastian Krebs krebs@gmail.com To: Lester Caine les...@lsces.co.uk Cc: PHP General List php

Re: [PHP] phpdocumentor with PHP5.4

2013-07-07 Thread Lester Caine
- http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net

Re: [PHP] phpdocumentor with PHP5.4

2013-07-07 Thread Sebastian Krebs
://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.**ukhttp://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- github.com/KingCrunch

[PHP] htaccess

2013-07-07 Thread Tedd Sperling
Hi gang: I have a client who has an account with GoDaddy (I know). GoDaddy says they have PHP v 5.3 installed on the client's account, but phpinfo() says different, namely it reports 5.2.17. After calling GoDaddy, they said the client has an htaccess file that makes everything 5.2 instead

Re: [PHP] htaccess

2013-07-07 Thread Simon J Welsh
On 8/07/2013, at 8:06, Tedd Sperling t...@sperling.com wrote: Hi gang: I have a client who has an account with GoDaddy (I know). GoDaddy says they have PHP v 5.3 installed on the client's account, but phpinfo() says different, namely it reports 5.2.17. After calling GoDaddy, they said

Re: [PHP] htaccess

2013-07-07 Thread Tedd Sperling
Simon: Confirmed. Those two lines cause the problem. However, commenting out those lines causes other problems. Are there similar statements to these: AddType application/x-httpd-php .php .htm .html AddHandler x-httpd-php5-cgi .php .htm .html That will allow for their function (whatever

[PHP] Making a Timeout Expiration Length to Session Variables

2013-07-07 Thread dealTek
Hi all, I would like to make a timeout length to session variables, so that if a user didn't use the browser page for let's say 5 minutes - the session variables would expire and the user would need to login again. Q: What's the best way to implement this functionality? -- Thanks, Dave -

php-general Digest 6 Jul 2013 06:58:22 -0000 Issue 8286

2013-07-06 Thread php-general-digest-help
php-general Digest 6 Jul 2013 06:58:22 - Issue 8286 Topics (messages 321545 through 321558): Re: strlen ? 321545 by: John Meyer 321546 by: shiplu 321547 by: Jim Giner 321548 by: Matijn Woudt 321549 by: Matijn Woudt 321550 by: Jim Giner

php-general Digest 6 Jul 2013 19:14:09 -0000 Issue 8287

2013-07-06 Thread php-general-digest-help
php-general Digest 6 Jul 2013 19:14:09 - Issue 8287 Topics (messages 321559 through 321565): Re: strlen ? 321559 by: Jim Giner 321560 by: Lester Caine mongo usage 321561 by: Tim Dunphy 321563 by: Thomas Punt 321564 by: Jonathan Sundquist

Re: [PHP] strlen ?

2013-07-06 Thread Lester Caine
Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strlen ?

2013-07-06 Thread Jim Giner
. Apparently when I do that it stores the LF at the end of the csv line. Have to remember that the next time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strlen ?

2013-07-06 Thread Lester Caine
=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] mongo usage

2013-07-06 Thread Tim Dunphy
Hey all, I'm trying to pick up some basic use of MongoDB using PHP. I seem to have hit an early obstacle that I'd like your opinion on. I try to pass an array to the mongo insert function, but for some reason the function does not recognize the array I'm passing. Even though I can perform

[PHP] Guaranteed Way to Get Error Message Wanted

2013-07-06 Thread Brian Smither
to get PHP to report what's happening on a 500 Internal Server Error when it's (presumably? not sure...) not the server's fault. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mongo usage

2013-07-06 Thread Thomas Punt
Could the comma after the last element in your array be causing the problem? Date: Sat, 6 Jul 2013 14:42:07 -0400 From: bluethu...@gmail.com To: php-general@lists.php.net Subject: [PHP] mongo usage Hey all, I'm trying to pick up some basic use of MongoDB using PHP. I seem to have

Re: [PHP] mongo usage

2013-07-06 Thread Jonathan Sundquist
You commented out the setting of yhe addresses variable On Jul 6, 2013 1:42 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey all, I'm trying to pick up some basic use of MongoDB using PHP. I seem to have hit an early obstacle that I'd like your opinion on. I try to pass an array

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
the problem? Date: Sat, 6 Jul 2013 14:42:07 -0400 From: bluethu...@gmail.com To: php-general@lists.php.net Subject: [PHP] mongo usage Hey all, I'm trying to pick up some basic use of MongoDB using PHP. I seem to have hit an early obstacle that I'd like your opinion on. I try

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
; Thanks again! On Sat, Jul 6, 2013 at 2:57 PM, Jonathan Sundquist jsundqu...@gmail.comwrote: You commented out the setting of yhe addresses variable On Jul 6, 2013 1:42 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey all, I'm trying to pick up some basic use of MongoDB using PHP. I seem

Re: [PHP] Guaranteed Way to Get Error Message Wanted

2013-07-06 Thread Richard Quadling
. And still no clue as to why. So, still looking for that magic method to get PHP to report what's happening on a 500 Internal Server Error when it's (presumably? not sure...) not the server's fault. Have you got all your extensions updated? Enable display_startup_errors. Try running the command line

[PHP] Guaranteed Way to Get Error Message Wanted

2013-07-06 Thread Brian Smither
with the code. Nothing! That's why I need the guaranteed message delivery on why PHP does not like the code. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Guaranteed Way to Get Error Message Wanted

2013-07-06 Thread Richard Quadling
executed up until one spot. But there is nothing obviously wrong with the code. Nothing! That's why I need the guaranteed message delivery on why PHP does not like the code. Turn on all your error reporting/logging. Add a try/catch if appropriate. Turn off any unhandled exception processing. Load

Re: [PHP] mongo usage

2013-07-06 Thread Matijn Woudt
On Sat, Jul 6, 2013 at 9:16 PM, Tim Dunphy bluethu...@gmail.com wrote: | You commented out the setting of yhe addresses variable Those were both equivalent ways of stating the same thing. I tried substituting the other statement but there was no change: $db = $connection-jfdb;

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
| You seem to spell the variable differently (1 'd' vs. 2 'd's)? Thanks! Fixed the type-o. Still no change. $connection = new Mongo(); $db = $connection-jfdb; //$collection = $db-addresses; $adresses = $connection-jfdb-addresses; Any other suggestions? Appreciated. Tim On

[PHP] Re: mongo usage

2013-07-06 Thread Tim Streater
= $connection-jfdb-addresses; ~ Any other suggestions? Appreciated. Fix the other typo. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: mongo usage

2013-07-06 Thread Tim Dunphy
. Still no change. $connection = new Mongo(); $db = $connection-jfdb; //$collection = $db-addresses; $adresses = $connection-jfdb-addresses; ~ Any other suggestions? Appreciated. Fix the other typo. -- Cheers -- Tim -- PHP General Mailing List

php-general Digest 5 Jul 2013 17:10:43 -0000 Issue 8285

2013-07-05 Thread php-general-digest-help
php-general Digest 5 Jul 2013 17:10:43 - Issue 8285 Topics (messages 321528 through 321544): PHP 5.4.17 released! 321528 by: Stas Malyshev Re: Web dev, DB and proper db design. 321529 by: Tony Marston 321530 by: Lester Caine 321531 by: Tony Marston

Re: [PHP] Web dev, DB and proper db design.

2013-07-05 Thread Tony Marston
) web guy, things haven't changed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php So, like Jim, I'm just going to speculate your correspondent has never actually designed anything very interesting. I can't really imagine how one does not use

Re: [PHP] Web dev, DB and proper db design.

2013-07-05 Thread Lester Caine
a hickup in the PHP or user side of things has deleted an entry, or more usually the whole table! In this case a properly implemented constraint would have prevented the problem. While using a constraint to manage the deletion of detail elements has a place in reducing traffic between program

Re: [PHP] Web dev, DB and proper db design.

2013-07-05 Thread Tony Marston
. But the main advantage of adding constraints in the database is that it protects the foreign entries from being deleted while they are still in use. One of the problems I end up having to recover is where a hickup in the PHP or user side of things has deleted an entry, or more usually the whole

Re: [PHP] Web dev, DB and proper db design.

2013-07-05 Thread Lester Caine
while they are still in use. One of the problems I end up having to recover is where a hickup in the PHP or user side of things has deleted an entry, or more usually the whole table! In this case a properly implemented constraint would have prevented the problem. While using a constraint to manage

[PHP] Can this work?

2013-07-05 Thread Karl-Arne Gjersøyen
Hello. I have a form in HTML/PHP with for loops that generate a selected list like this: for($i = 1; $i 25;$i++ ){ option value=?php echo $i; ??php echo $i; ?/option } The lists look like this: form action=index.php view-source:http://localhost/%7Ekarl/kasen/io/kp/index.php method=postselect

Re: [PHP] Can this work?

2013-07-05 Thread Stuart Dallas
On 5 Jul 2013, at 14:56, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello. I have a form in HTML/PHP with for loops that generate a selected list like this: for($i = 1; $i 25;$i++ ){ option value=?php echo $i; ??php echo $i; ?/option } The lists look like this: form action

Re: [PHP] Can this work?

2013-07-05 Thread Tedd Sperling
=11/optionoption value=22/optionoption Review this: http://sperling.com/php/select/ Also, omit 'multiple' in the select statement. Other than that, the demo shows how to gather the information you want. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com -- PHP

Re: [PHP] Can this work?

2013-07-05 Thread Karl-Arne Gjersøyen
2013/7/5 Stuart Dallas stu...@3ft9.com On 5 Jul 2013, at 14:56, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello. I have a form in HTML/PHP with for loops that generate a selected list like this: for($i = 1; $i 25;$i++ ){ option value=?php echo $i; ??php echo $i; ?/option

Re: [PHP] Can this work?

2013-07-05 Thread Karl-Arne Gjersøyen
value=1-25 selected=selected1-25/optionoption value=11/optionoption value=22/optionoption Review this: http://sperling.com/php/select/ Also, omit 'multiple' in the select statement. Other than that, the demo shows how to gather the information you want. Cheers, tedd

Re: [PHP] Can this work?

2013-07-05 Thread Stuart Dallas
On 5 Jul 2013, at 15:05, Karl-Arne Gjersøyen karlar...@gmail.com wrote: 2013/7/5 Stuart Dallas stu...@3ft9.com On 5 Jul 2013, at 14:56, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello. I have a form in HTML/PHP with for loops that generate a selected list like this: for($i = 1; $i

Re: [PHP] Can this work?

2013-07-05 Thread Karl-Arne Gjersøyen
2013/7/5 Stuart Dallas stu...@3ft9.com On 5 Jul 2013, at 15:05, Karl-Arne Gjersøyen karlar...@gmail.com wrote: 2013/7/5 Stuart Dallas stu...@3ft9.com On 5 Jul 2013, at 14:56, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello. I have a form in HTML/PHP with for loops that generate

Re: [PHP] Can this work?

2013-07-05 Thread Stuart Dallas
wrote: Hello. I have a form in HTML/PHP with for loops that generate a selected list like this: for($i = 1; $i 25;$i++ ){ option value=?php echo $i; ??php echo $i; ?/option } The lists look like this: form action=index.php view-source:http://localhost/%7Ekarl/kasen/io/kp/index.php

Re: [PHP] Can this work?

2013-07-05 Thread Ashley Sheridan
/7/5 Stuart Dallas stu...@3ft9.com On 5 Jul 2013, at 14:56, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello. I have a form in HTML/PHP with for loops that generate a selected list like this: for($i = 1; $i 25;$i++ ){ option value=?php echo $i; ??php echo $i; ?/option

[PHP] Hmm.. I got NULL here. Why?

2013-07-05 Thread Karl-Arne Gjersøyen
My PHP Source = ?php include('../../tilkobling.php'); $sql = SELECT kg_pa_lager FROM dynamit WHERE valgt_lager = '$valgt_lager' AND varenr = '$varenr'; $resultat = mysql_query($sql, $tilkobling) or die(mysql_error()); while($rad = mysql_fetch_array($resultat

[PHP] Fwd: Hmm.. I got NULL here. Why?

2013-07-05 Thread Karl-Arne Gjersøyen
My PHP Source = ?php include('../../tilkobling.php'); $sql = SELECT kg_pa_lager FROM dynamit WHERE valgt_lager = '$valgt_lager' AND varenr = '$varenr'; $resultat = mysql_query($sql, $tilkobling) or die(mysql_error()); while($rad = mysql_fetch_array($resultat

[PHP] strlen ?

2013-07-05 Thread Jim Giner
. But everyone of them is coming back with a length that is one more than I see. Ex. Mike Hall comes back as 10, not 9 F.B. comes back as 5, not 4. I've looked at my data and counted the chars - there is no extra space at the beginning or end in my table. Anyone have an explanation? -- PHP General

Re: [PHP] strlen ?

2013-07-05 Thread John Meyer
? Does strlen count the line feed? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strlen ?

2013-07-05 Thread shiplu
On Fri, Jul 5, 2013 at 11:10 PM, Jim Giner jim.gi...@albanyhandball.comwrote: Mike Hall comes back as 10, not 9 F.B. comes back as 5, not 4. Doesn't work for me. php var_dump(Mike Hall, strlen(Mike Hall)); string(9) Mike Hall int(9) Try trimming it first and then apply strlen

Re: [PHP] strlen ?

2013-07-05 Thread Jim Giner
On 7/5/2013 1:32 PM, shiplu wrote: On Fri, Jul 5, 2013 at 11:10 PM, Jim Giner jim.gi...@albanyhandball.comwrote: Mike Hall comes back as 10, not 9 F.B. comes back as 5, not 4. Doesn't work for me. php var_dump(Mike Hall, strlen(Mike Hall)); string(9) Mike Hall int(9) Try trimming

Re: [PHP] strlen ?

2013-07-05 Thread Matijn Woudt
On Fri, Jul 5, 2013 at 8:33 PM, Jim Giner jim.gi...@albanyhandball.comwrote: On 7/5/2013 1:32 PM, shiplu wrote: On Fri, Jul 5, 2013 at 11:10 PM, Jim Giner jim.gi...@albanyhandball.com **wrote: Mike Hall comes back as 10, not 9 F.B. comes back as 5, not 4. Doesn't work for me. php

Re: [PHP] strlen ?

2013-07-05 Thread Matijn Woudt
...@albanyhandball.com wrote: Mike Hall comes back as 10, not 9 F.B. comes back as 5, not 4. Doesn't work for me. php var_dump(Mike Hall, strlen(Mike Hall)); string(9) Mike Hall int(9) Try trimming it first and then apply strlen. Why would I need to trim something that I can already see doesn't have

Re: [PHP] strlen ?

2013-07-05 Thread Jim Giner
PM, Jim Giner jim.gi...@albanyhandball.com wrote: Mike Hall comes back as 10, not 9 F.B. comes back as 5, not 4. Doesn't work for me. php var_dump(Mike Hall, strlen(Mike Hall)); string(9) Mike Hall int(9) Try trimming it first and then apply strlen. Why would I need to trim

Re: [PHP] strlen ?

2013-07-05 Thread Stephen
don't see anything concatenating a LF to my string. Is this a browser being used for input? Never assume what a browser will do. It is good practice to validate and condition data before inserting into a database. Consider trimming the data before doing the INSERT. -- Stephen -- PHP General

Re: [PHP] strlen ?

2013-07-05 Thread Jim Giner
. I do validate my data by quoting it but I never expected to have to do a trim to remove a LF. Especially on an iphone for input, since it's not easy to enter a LF. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Guaranteed Way to Get Error Message Wanted

2013-07-05 Thread Brian Smither
I have an application running under PHP-5.4.17-TS-VC9 (and .14 as of yesterday) with Aprelium's Abyss X1 v2.8 web server in FastCGI mode on WinXPSP3. An earlier version of this application works. The current version causes a 500 Internal Server Error. There is no entry in PHP's (fully active

Re: [PHP] strlen ?

2013-07-05 Thread John Meyer
into a database. Consider trimming the data before doing the INSERT. I do validate my data by quoting it but I never expected to have to do a trim to remove a LF. Especially on an iphone for input, since it's not easy to enter a LF. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Find a list of function that clashes?

2013-07-05 Thread Daniel
of generating a list of all the functions that are the same across both phpbb and WordPress? Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Guaranteed Way to Get Error Message Wanted

2013-07-05 Thread Ken Robinson
Check the permissions on the files/directories involved. I get this on Linux when the files/directories are too open. Ken At 05:38 PM 7/5/2013, Brian Smither wrote: I have an application running under PHP-5.4.17-TS-VC9 (and .14 as of yesterday) with Aprelium's Abyss X1 v2.8 web server

Re: [PHP] strlen ?

2013-07-05 Thread Ashley Sheridan
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 4 Jul 2013 10:42:45 -0000 Issue 8283

2013-07-04 Thread php-general-digest-help
php-general Digest 4 Jul 2013 10:42:45 - Issue 8283 Topics (messages 321521 through 321521): Web dev, DB and proper db design. 321521 by: Richard Quadling Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net To unsubscribe from

php-general Digest 5 Jul 2013 04:38:25 -0000 Issue 8284

2013-07-04 Thread php-general-digest-help
php-general Digest 5 Jul 2013 04:38:25 - Issue 8284 Topics (messages 321522 through 321527): Re: Web dev, DB and proper db design. 321522 by: Tony Marston 321523 by: Jim Giner 321524 by: Lester Caine 321525 by: Andy McKenzie 321526 by: Tamara Temple

[PHP] Web dev, DB and proper db design.

2013-07-04 Thread Richard Quadling
Hi. I've just had a conversation regarding DB, foreign keys and their benefits. I was told I've never worked on a web application where foreign keys were used in the database. As someone who has spent 25 years working on accounting/epos systems on MS SQL Server (yep, windows) and now in a web

[PHP] Re: Web dev, DB and proper db design.

2013-07-04 Thread Tony Marston
without foreign keys, but you can have foreign keys with constraints. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Web dev, DB and proper db design.

2013-07-04 Thread Jim Giner
as such in the db, whereas we know what a FK really is. Don't worry. As a former big iron guy and then a c/s guy and now a (new) web guy, things haven't changed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web dev, DB and proper db design.

2013-07-04 Thread Lester Caine
Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web dev, DB and proper db design.

2013-07-04 Thread Andy McKenzie
://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web dev, DB and proper db design.

2013-07-04 Thread Tamara Temple
of such drivel never learned about such things. Probably thinks that a 'key' has to be defined as such in the db, whereas we know what a FK really is. Don't worry. As a former big iron guy and then a c/s guy and now a (new) web guy, things haven't changed. -- PHP General Mailing List

Re: [PHP] Web dev, DB and proper db design.

2013-07-04 Thread musicdev
and then a c/s guy and now a (new) web guy, things haven't changed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php So, like Jim, I'm just going to speculate your correspondent has never actually designed anything very interesting

[PHP] PHP 5.4.17 released!

2013-07-04 Thread Stas Malyshev
Hello! The PHP development team announces the immediate availability of PHP 5.4.17. About 20 bugs were fixed. All users of PHP are encouraged to upgrade to this release. For source downloads of PHP 5.4.17 please visit our downloads page: http://www.php.net/downloads.php Windows binaries can

php-general Digest 3 Jul 2013 09:36:06 -0000 Issue 8282

2013-07-03 Thread php-general-digest-help
php-general Digest 3 Jul 2013 09:36:06 - Issue 8282 Topics (messages 321518 through 321520): Re: Problem with variables 321518 by: Tamara Temple Re: Reseting the auto-increment number in a MySQL database. 321519 by: Tamara Temple Hello again. new newbie querstion

[PHP] Hello again. new newbie querstion

2013-07-03 Thread Karl-Arne Gjersøyen
will re-write it all in English as I appricate your good advice and help! Tanks. // My form with array's input type=hidden name=varenr[] value=?php echo $varenr; ? input type=hidden name=stk_pa_lager[] value=?php echo $stk_pa_lager; ? input type=hidden name=kg_pa_lager[] value=?php echo

php-general Digest 28 Jun 2013 21:56:02 -0000 Issue 8281

2013-06-28 Thread php-general-digest-help
php-general Digest 28 Jun 2013 21:56:02 - Issue 8281 Topics (messages 321515 through 321517): Re: Reseting the auto-increment number in a MySQL database. 321515 by: adriano 321516 by: Paul M Foster 321517 by: Tedd Sperling Administrivia: To subscribe to the digest

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-28 Thread Tedd Sperling
, it was something like what Paul said -- it was not a transaction skip. I don't know what to think about it -- no explanation. But, the problem suddenly vanished -- very strange. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com -- PHP General Mailing List (http

Re: [PHP] Problem with variables

2013-06-28 Thread Tamara Temple
Fernando A soporteallpurp...@gmail.com wrote: I am working with php and codeigniter, but I have not yet experienced. I need create a variable that is available throughout system. This variable contains the number of company and can change. as I can handle this? Hi, Fernando, welcome. I'm

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-28 Thread Tamara Temple
_ tedd.sperl...@gmail.com http://sperling.com I have no answers as to why the huge skip forward, the huge skip backwards though makes me think someone else is doing something in the database, and all the alarums and red flags are waving. I hope I'm wrong. -- PHP General Mailing List (http

php-general Digest 27 Jun 2013 21:16:30 -0000 Issue 8280

2013-06-27 Thread php-general-digest-help
php-general Digest 27 Jun 2013 21:16:30 - Issue 8280 Topics (messages 321496 through 321514): Re: Reseting the auto-increment number in a MySQL database. 321496 by: Samuel Lopes Grigolato 321497 by: Stuart Dallas 321498 by: Tedd Sperling 321499 by: Jim Giner

[PHP] Migration of applications to PHP 5.4

2013-06-27 Thread Forum
Hello, i recently migrated my webserver from Debian Lenny (with PHP 4.x) to Wheezy with PHP 5.4. Some applications like mediawiki could be updated and they are running fine. But there are some old and beloved applications that run any more. A good example is PHPmyedit 5.7.1 http

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-27 Thread adriano
holes in sequence of auto increment happen using transaction for insert new record but you don't commit transaction itself it seems that the autoincrement is incremented anyway at least this is my case. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-27 Thread Paul M Foster
remember the system taking forever to calm down before it gave the next transaction a number way forward of the last one. I waited in front of my browser for quite some time. But I couldn't explain why. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing

php-general Digest 26 Jun 2013 17:07:21 -0000 Issue 8279

2013-06-26 Thread php-general-digest-help
php-general Digest 26 Jun 2013 17:07:21 - Issue 8279 Topics (messages 321493 through 321495): Problem with variables 321493 by: Fernando A 321494 by: Jim Giner Reseting the auto-increment number in a MySQL database. 321495 by: Tedd Sperling Administrivia

[PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Tedd Sperling
(programmatically) to set the next number in an auto-increment? Something like: alter table abc auto_increment = 2301; Any ideas of why this happened? Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Samuel Lopes Grigolato
-increment? Something like: alter table abc auto_increment = 2301; Any ideas of why this happened? Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Stuart Dallas
is NOT possible -- this is a relational table thing. So, is there a way (programmatically) to set the next number in an auto-increment? Something like: alter table abc auto_increment = 2301; ALTER TABLE tbl AUTO_INCREMENT = 2301; -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Tedd Sperling
; -Stuart Thanks -- I needed confirmation on that. It is something that i don't want to do. Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Jim Giner
inserts with the bogus id? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Last Record INSERT

2013-06-26 Thread Tedd Sperling
Hi gang: What's the most-current way to get the ID of the last recorded inserted in a database? Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Tedd Sperling
_ tedd.sperl...@gmail.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Last Record INSERT

2013-06-26 Thread Tedd Sperling
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Last Record INSERT

2013-06-26 Thread Stuart Dallas
the insert? If you're inserting with mysql_query() then that's just as deprecated as mysql_insert_id(). -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Last Record INSERT

2013-06-26 Thread Tedd Sperling
because mysql_insert_id() is deprecated. Now you tell me. :-) I learn something new every day of my life... and I'm getting damned tried of it. Back to the books. Thanks. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com -- PHP General Mailing List (http

Re: [PHP] Last Record INSERT

2013-06-26 Thread Stuart Dallas
to mysqli from mysql will probably be the less painful route. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Last Record INSERT

2013-06-26 Thread Samuel Lopes Grigolato
something new every day of my life... and I'm getting damned tried of it. Back to the books. Thanks. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Last Record INSERT

2013-06-26 Thread Dan Munro
tried of it. Back to the books. Thanks. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- From the desk of Dan Munro

Re: [PHP] Last Record INSERT

2013-06-26 Thread Carsten Jensen
mysql_insert_id() is deprecated. Now you tell me. :-) I learn something new every day of my life... and I'm getting damned tried of it. Back to the books. Thanks. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Matijn Woudt
On Wed, Jun 26, 2013 at 7:35 PM, Tedd Sperling tedd.sperl...@gmail.comwrote: On Jun 26, 2013, at 1:32 PM, Jim Giner jim.gi...@albanyhandball.com wrote: But more importantly - don't you need to figure out why it happened?? As well as correcting any inserts with the bogus id? Yes, I would

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Jim Lucas
is turned on, you might be able to rummage through the logs and see what happened and when it happened. -- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Last Record INSERT

2013-06-26 Thread Tedd Sperling
_ tedd.sperl...@gmail.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Tedd Sperling
client's needs. However, all of a sudden, it's been fixed -- everything is back to normal -- very strange. Thanks to everyone. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

<    4   5   6   7   8   9   10   11   12   13   >