Re: [PHP] Re: Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Robert Cummings
On Tue, 2008-12-16 at 07:35 +0100, Ondrej Kulaty wrote: > I use md5(microtime()); I applaud the use of PHP on the "PHP" list... but I think the OP wants an SQL query :) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://ww

[PHP] Re: Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Ondrej Kulaty
I use md5(microtime()); -- Ondrej Kulaty "Rob Gould" píse v diskusním príspevku news:1492934866135048840337272044147195196-webm...@me.com... >I have a mySQL database with 700,000 records in it, which are presently >keyed with an "auto-increment" field. > > What I'd like to do is create anoth

Re: [PHP] Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Steve Edberg
At 11:29 PM -0500 12/15/08, Rob Gould wrote: update mytable set hash_field = md5(AutoIdField + unix_timestamp()) I _think_ I understand that - - - - but what does the "AutoldField" variable mean? He probably intends AutoIdField to be a stand-in for whatever your current auto increment colu

Re: [PHP] Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread German Geek
If i had to guess, it would be the column/field in the table that has the autoincrement value. Tim-Hinnerk Heuer http://www.ihostnz.com On Tue, Dec 16, 2008 at 5:29 PM, Rob Gould wrote: > > > update mytable set hash_field = md5(AutoIdField + unix_timestamp()) > > I _think_ I understand that -

Re: [PHP] Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Rob Gould
update mytable set hash_field = md5(AutoIdField + unix_timestamp()) I _think_ I understand that - - - - but what does the "AutoldField" variable mean? On Monday, December 15, 2008, at 09:37PM, "Bastien Koert" wrote: >On Mon, Dec 15, 2008 at 9:29 PM, Rob Gould wrote: > >> I have a mySQL

Re: [PHP] Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Bastien Koert
On Mon, Dec 15, 2008 at 9:29 PM, Rob Gould wrote: > I have a mySQL database with 700,000 records in it, which are presently > keyed with an "auto-increment" field. > > What I'd like to do is create another field with a field where each and > every record number has a unique keyvalue. Example: "s

[PHP] Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Rob Gould
I have a mySQL database with 700,000 records in it, which are presently keyed with an "auto-increment" field. What I'd like to do is create another field with a field where each and every record number has a unique keyvalue. Example: "su5e23vlskd" for records 1, and "34fdfdsglkdj4" for record

Re: [PHP] Credit Card processing: Chase PaymenTech

2008-12-15 Thread phphelp -- kbk
Thanks, Guys -- To those who say 'move providers' -- I can't. My client, which also sells a bunch of other stuff on-line has an exclusive arrangement with that processor. How about using gateway providers? Any experience with that? Ken On Dec 15, 2008, at 1:06 AM, clive wrote: phphelp -

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread ceo
Assuming your local box is not wide open to the 'net for mail relaying, install Pegasus/Mercury mail server and call it done. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread Jim Lucas
Lets keep things on the list! Ian Lin wrote: > Jim Lucas, > > Thank you for your advise! > > It is not necessarily crucia that I use the mail() function, but that > is what I usually use when writing email scripts for my clients because > thier servers all support it. I am a web designer and wo

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread Bastien Koert
On Mon, Dec 15, 2008 at 2:49 PM, Jim Lucas wrote: > Ian Lin wrote: > > hi I have been searching for a way to get the php mail function to work > and have had no luck. I was hoping you could address my situation: > > > > I have a fairly new xampp install and I need to know how to get mail() to > w

[PHP] Re: header modify errors

2008-12-15 Thread Jon Drukman
Terion Miller wrote: *Warning*: Cannot modify header information - headers already sent by (output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31) in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc\dbconn_openTest.php* on line *3* Line 32-36 are: ". $msg .""; } ?> st

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread Jim Lucas
Ian Lin wrote: > hi I have been searching for a way to get the php mail function to work and > have had no luck. I was hoping you could address my situation: > > I have a fairly new xampp install and I need to know how to get mail() to > work. I would like to know tha simplest way possible to g

[PHP] new xampp server problem w/mail

2008-12-15 Thread Ian Lin
hi I have been searching for a way to get the php mail function to work and have had no luck. I was hoping you could address my situation:   I have a fairly new xampp install and I need to know how to get mail() to work. I would like to know tha simplest way possible to get the mail function to

Re: [PHP] Re: header modify errors

2008-12-15 Thread Terion Miller
On Mon, Dec 15, 2008 at 11:29 AM, Jay Moore wrote: > Terion Miller wrote: > >> I am working from home today and getting this error with my copy of my >> project: >> *Warning*: Cannot modify header information - headers already sent by >> (output started at >> C:\Inetpub\Xampp\htdocs\SNLeader\WOSy

Re: [PHP] Re: header modify errors

2008-12-15 Thread VamVan
Hey, Few things: 1) Check to see if you have any trailing spaces after the end of the file. 2) Check to see if your session_start() is not the first line of the code. Thanks, V On Mon, Dec 15, 2008 at 9:36 AM, Terion Miller wrote: > On Mon, Dec 15, 2008 at 11:29 AM, Jay Moore wrote: > > > Te

Re: [PHP] Re: header modify errors

2008-12-15 Thread Terion Miller
On Mon, Dec 15, 2008 at 11:37 AM, Jim Lucas wrote: > Jay Moore wrote: > > Terion Miller wrote: > >> I am working from home today and getting this error with my copy of my > >> project: > >> *Warning*: Cannot modify header information - headers already sent by > >> (output started at > >> C:\Inetp

Re: [PHP] Re: header modify errors

2008-12-15 Thread Jim Lucas
Jay Moore wrote: > Terion Miller wrote: >> I am working from home today and getting this error with my copy of my >> project: >> *Warning*: Cannot modify header information - headers already sent by >> (output started at >> C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31) >> in *C:\Inetpub

Re: [PHP] header modify errors

2008-12-15 Thread Jim Lucas
Terion Miller wrote: > I am working from home today and getting this error with my copy of my > project: > *Warning*: Cannot modify header information - headers already sent by > (output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31) > in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSy

[PHP] Re: header modify errors

2008-12-15 Thread Jay Moore
Terion Miller wrote: I am working from home today and getting this error with my copy of my project: *Warning*: Cannot modify header information - headers already sent by (output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31) in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc

[PHP] header modify errors

2008-12-15 Thread Terion Miller
I am working from home today and getting this error with my copy of my project: *Warning*: Cannot modify header information - headers already sent by (output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31) in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc\dbconn_openTest.php* o

Re: [PHP] Chrome 1.0 released

2008-12-15 Thread tedd
At 5:22 PM -0800 12/14/08, Yeti wrote: It more and more seems like a conspiracy against M$ to me. A company trying to make up its own standards every once in a while, how can that be wrong? The more experienced you become, the more you'll see M$ for what it is. They are concerned about the bot

[PHP] XML Get Value of Node DOMXPath

2008-12-15 Thread Stephen Alistoun
Hello all, Need help to get the value of the node. We know how to get the value of the city , item and itemPrice nodes below. How do we get the value of NumberOfRooms? $hotelElements = $xpath->query( '', $searchReponseElement ); foreach( $h

Re: [PHP] Re: apache and PHP / Eclipse

2008-12-15 Thread Carlos Medina
TEric Butera schrieb: On Sun, Dec 14, 2008 at 10:33 AM, Nathan Rixham wrote: Eduardo Vizcarra wrote: I am having a hard time trying to get some pages work. I have PHP 5.2.8, Apache 2.2 and MySQL 5.1 running in a Windows Vista home edition. All packages were installed, and configured, the stran

Re: [PHP] Re: apache and PHP / Eclipse

2008-12-15 Thread Eric Butera
On Sun, Dec 14, 2008 at 10:33 AM, Nathan Rixham wrote: > Eduardo Vizcarra wrote: >> >> I am having a hard time trying to get some pages work. I have PHP 5.2.8, >> Apache 2.2 and MySQL 5.1 running in a Windows Vista home edition. All >> packages were installed, and configured, the strange thing is

RE: [PHP] Good PHP book?

2008-12-15 Thread Jay Blanchard
[snip] Hi guys/gals. I'm a first time user. Does anyone know of a good php book? [/snip] http://www.amazon.com/PHP-Advanced-Visual-QuickPro-Guide/dp/0321376013 if you are already a programmer but want to get up to speed on PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] Good PHP book?

2008-12-15 Thread Micah Gersten
O'reillys Learning PHP 5: http://oreilly.com/catalog/9780596005603/index.html Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com jeffery harris wrote: > Hi guys/gals. I'm a first time user. Does anyone know of a good php book? > > > > -- PHP General Mailin

Re: [PHP] Chrome 1.0 released

2008-12-15 Thread Luke Slater
Hah, the world will only be a small collateral fallout in the mighty battles . . . On Mon, 15 Dec 2008, German Geek wrote: > Conspiracy against M$? I thought they were conspiring against the world :-) > > Tim-Hinnerk Heuer > > http://www.ihostnz.com > > > On Mon, Dec 15, 2008 at 2:22 PM, Yeti w