Re: [PHP-DB] Paging large recordsets

2004-02-13 Thread Peter Beckman
27;t researched how to do it in Mozilla or Netscape. Beckman ------- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.com/ --

RE: [PHP-DB] Paging large recordsets

2004-02-13 Thread Peter Beckman
th printing? I would assume that the ideal page > > size is not the ideal printed page size. oi vay! > > > > TIA > > > > > > ----- > > Do you Yahoo!? > > Yahoo! Finance: Get your refund fast by filing online >

RE: [PHP-DB] Paging large recordsets

2004-02-13 Thread Peter Beckman
caching. Look to the manual for that. ------- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.com/ ---

Re: [PHP-DB] newbie question

2004-02-13 Thread Peter Beckman
_timestamp() and date<(unix_timestamp()-(365*86400)) ... Documentation: http://mysql.com/date_sub (should redirect to http://www.mysql.com/doc/en/Date_and_time_functions.html) ------- Peter Beckman

Re: [PHP-DB] User Authentication

2004-02-27 Thread Peter Beckman
ROM users WHERE > username='$username' AND password=md5('$password')"); ------- Peter Beckman Internet Guy [EMAIL PROTECTED

Re: [PHP-DB] MySQL - separating web and database servers

2004-03-18 Thread Peter Beckman
; Regards > Piotr Babula > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Peter Beckman

Re: [PHP-DB] PDFLib

2004-04-05 Thread Peter Beckman
List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.co

[PHP-DB] Oracle Client Libraries for Linux

2004-06-14 Thread Peter Beckman
.jar How do I get connected from a remote PHP+Apache box to Oracle9i on linux? Beckman ------- Peter Beckman Inter

Re: [PHP-DB] Re: $_SERVER['HTTP_REFERRER']

2004-07-09 Thread Peter Beckman
Hi Jeff, > > do a print_r($_SERVER) to see which other variables are available. Maybe one > of them will contain what you're looking for. > > Regards, Torsten > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: htt

Re: [PHP-DB] oracle error ORA-12154

2004-07-16 Thread Peter Beckman
pc)(KEY=extproc))) > (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=aleph0))) > > (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zed2.mdah.state.ms.us)(PORT=1521))) > Services Summary... > Service "aleph0" has 1 instance(s). > Instance "aleph0", status

Re: [PHP-DB] PHP use in Federal Govt

2004-07-16 Thread Peter Beckman
http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ------- Peter Beckman Internet Guy [EMAIL PROTECTED]

[PHP-DB] Function that outputs "at line xxx"

2002-10-23 Thread Peter Beckman
which keeps track of what line in which scripts each execution is at? Thanks, Peter --- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL PROTECTED] http://www.purpleco

[PHP-DB] mysql_affected_cols() ??? or equivalent?

2002-10-23 Thread Peter Beckman
ideas? Peter ------- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL PROTECTED] http://www.purplecow.com/ --- -- PHP Database Maili

Re: [PHP-DB] Function that outputs "at line xxx"

2002-10-23 Thread Peter Beckman
__FILE__ should work. > > ---John Holmes... > - Original Message - > From: "Peter Beckman" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, October 23, 2002 3:00 PM > Subject: [PHP-DB] Function that outputs "at line xxx" >

RE: [PHP-DB] Credit Card Info & Cryptography

2002-10-23 Thread Peter Beckman
> > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > > PHP Database Mailing List (http://www.php.net

Re: [PHP-DB] TOO MANY CONNECTIONS!!

2002-10-25 Thread Peter Beckman
code that stats an HTML page for the > > time, > > > and if it's too old, update it. Be sure to use file locking so you don't > > > clobber yourself. > > > > > > Moreover, do you open one connection and re-use it in a page, or do you do > > &

Re: [PHP-DB] URGET HELP : Logic Help - for first record do_this foreach record after do_that

2002-10-25 Thread Peter Beckman
; > > Thank you in advance for any help. > > > > Graeme :) > > > > > > Public Sub House() > > > > On Error Resume drink > > > > If Pint.empty = True Then > > Pint.refill > >Else &g

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Peter Beckman
; > when > > > I > > > upload, it has a Error in query. I checked all the little details but > > > can't > > > find out why? Any ideas are welcome. > > > > > > Jacco > > > > This one is an easy problem to fix. All you have

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Peter Beckman
hy does it not do this at my localhost?? I have the % around my code so > that it searches correctly right? Or should I clean up my code?? > Jacco > > > -- > http://seabird.jmtech.ca > > Attitude is Everything! > But Remember, Attitudes are Contagious! > Is

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Peter Beckman
d because it works fine locally > > What is the differense in my code posted locally and remote? > > Jacco > -- > http://seabird.jmtech.ca > > Attitude is Everything! > But Remember, Attitudes are Contagious! > Is Yours worth Catching > "Peter Beckman"

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Peter Beckman
line 2 > > > SQL: SELECT * FROM airline_a WHERE Field1 LIKE '%%' Field2 LIKE '%%' > > > Field3 > > > LIKE '%%' ORDER BY > > > > You need some ANDs between each of your field LIKE &

RE: [PHP-DB] PHP/MySQL and passing url params

2002-10-27 Thread Peter Beckman
>maxlength="28"> > > > > face="Arial, Helvetica, sans-serif">Last > Name: > >maxlength="28"> > > > > face="Arial, Helvetica, sans-serif">Address: >

RE: [PHP-DB] PHP/MySQL and passing url params

2002-10-28 Thread Peter Beckman
] = "something"; > $my_array[1] = "something else"; > > I've probably missed something in the docs but I don't seem to find any > hard fast rules on defining arrays or rediminsioning them. > > alex > > > -Original Message- > &

Re: [PHP-DB] data_seek and fetch_row

2002-10-28 Thread Peter Beckman
the page,I get this error: > Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result > resource in > > What is wrong??? > --- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL PROTECTED] http://www.purplecow

Re: [PHP-DB] Interbase BLOB problem

2002-10-29 Thread Peter Beckman
ssell > IT Support Manager > Barloworld Optimus (Pty) Ltd > Tel: +2711 444-7250 > Fax: +2711 444-7256 > e-mail: [EMAIL PROTECTED] > web: www.BarloworldOptimus.com > --- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [E

RE: [PHP-DB] Column Defualts

2002-10-29 Thread Peter Beckman
PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > --- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL PROTECTED] http://www.purplecow.com/ -

RE: [PHP-DB] Column Defualts

2002-10-29 Thread Peter Beckman
you should definitely use it. Just avoid having it on all columns by default. Peter On Tue, 29 Oct 2002, Peter Beckman wrote: > With MySQL you save a bit by declaring a column not null. If it is null, > you are using a bit. For performance on high volume and high transaction >

Re: [PHP-DB] new to cookies

2002-10-29 Thread Peter Beckman
me']."'"); > $_POST['uname'] = stripslashes($_POST['uname']); > $_SESSION['username'] = $_POST['uname']; > $_SESSION['password'] = $_POST['passwd']; > $db_object->disconnect(); > ?> > WelcomeY

Re: [PHP-DB] Session variables and arrays

2002-10-29 Thread Peter Beckman
#x27;; > ... Etc ... > > But when I run any sort of array function (is_array, foreach) on > $_SESSION['categories'] it appears that it is a scalar, not an array. > > Any ideas? > > - Ryan > > > -- > PHP Database Mailing List (http://www.php.

Re: [PHP-DB] losing my session variables

2002-10-29 Thread Peter Beckman
7;uname'] = stripslashes($_POST['uname']); > $_SESSION['username'] = $_POST['uname']; > $_SESSION['password'] = $_POST['passwd']; > $db_object->disconnect(); > ?> > Welcome href="javascript:loadPage('mainlayer&#x

Re: [PHP-DB] Re: losing my session variables

2002-10-29 Thread Peter Beckman
ate = date('m d, Y'); > > > $update_login = $db_object->query("UPDATE users SET last_login = > '$date' > > > WHERE username = '".$_POST['uname']."'"); > > > $_PO

Re: [PHP-DB] Decimal places.

2002-10-29 Thread Peter Beckman
this as i will end up with 50 extra variables. > Thanks in advance for your comments. > > Andrew Wilson > Technical Support > Netway Networks > 8920-8877 > > > > > Netway Networks Pty Ltd > (T) 8920 8877 > (F) 8920 8866 > > >

RE: [PHP-DB] Session variables and arrays

2002-10-30 Thread Peter Beckman
nt strlen($_SESSION['categories']); If you get "5", then the variable might be a string with the contents being the word "Array". Pretty doubtful, but we're being thorough here. Peter > Hmph > > - Ryan > > > -Original Message- >

RE: [PHP-DB] Session variables and arrays

2002-10-30 Thread Peter Beckman
ttype():string > strlen():5 > > > -----Original Message- > > From: Peter Beckman [mailto:beckman@;purplecow.com] > > Sent: Wednesday, October 30, 2002 8:57 AM > > To: Ryan Neudorf > > Cc: [EMAIL PROTECTED] > > Subject: RE: [PHP-DB] Session variables and arrays &

Re: [PHP-DB] SESSIONS

2002-11-01 Thread Peter Beckman
> Mississippi Internet...(800) MISSISSIPPI...http://www.mississippi.net > Vicksburg Online...(800) MISSISSIPPI...http://www.vicksburg.com > ======== > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, vis

Re: [PHP-DB] killing cookie

2002-11-01 Thread Peter Beckman
t; http://seabird.jmtech.ca > > Attitude is Everything! > But Remember, Attitudes are Contagious! > Is Yours worth Catching > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -

Re: [PHP-DB] killing cookie

2002-11-01 Thread Peter Beckman
why not?? > > Jacco > > > > -- > > http://seabird.jmtech.ca > > > > Attitude is Everything! > > But Remember, Attitudes are Contagious! > > Is Yours worth Catching > > > > > > > > -- > > PHP Database Mailing L

Re: [PHP-DB] LIKE statement

2002-11-03 Thread Peter Beckman
to take input from a web form by the variable > $search_string and then the query string is constructed from that e.g. > > $query = "select count(distinct itemid) from business where name or > description like'" . $search_string . "'"; > > > Any he

Re: [PHP-DB] Generating readio buttons

2002-11-03 Thread Peter Beckman
t; print $row["descript"]; > print("\n"); > } while($row = mysql_fetch_array($header)); > > } else {print "Sorry, no records were found!";} > > > ?> > > > -- > PHP Database Mailing List (http

Re: [PHP-DB] Generating readio buttons

2002-11-03 Thread Peter Beckman
f you used this input and it was checked: Peter On Sun, 3 Nov 2002, David Jackson wrote: > Peter Beckman wrote: > > Peter, > Thanks for your prompt reply. > > > Gonna need some additional information, such as: > > > > 1. The first three rows your query returns >

Re: [PHP-DB] Locking for data integrity

2002-11-04 Thread Peter Beckman
long > as 30 seconds or more, we've gotten over 17,500 unique entries in the > past 24 hours, and the site is growing). > > Thanks for your help. > > -- Josh > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsu

Re: [PHP-DB] Re: Generating readio buttons

2002-11-04 Thread Peter Beckman
= mysql_fetch_array($header)) { print "{$row['descript']}"; } } else print "Sorry, no records were found!"; print ''; ?> That looks prettier to me. Peter ------- Peter Beckma

Re: [PHP-DB] Date and time issues

2002-11-04 Thread Peter Beckman
ffset = 365; > } > > $new_exp_day = strftime("%Y-%m-%d",mktime(0,0,0,$mn,$dy+$offset,$yr)); > > -- > Frederik Feys > > [EMAIL PROTECTED] > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

Re: [PHP-DB] sort by date

2002-11-06 Thread Peter Beckman
who's tired of answering that > register_globals has been turned off in recent versions raise your hand! > :-) > > > Marco > -- > > php|architect - The magazine for PHP Professionals > The first monthly worldwide magazine dedicated to PHP programmer >

RE: [PHP-DB] sort by date

2002-11-06 Thread Peter Beckman
know I > benefit from it. > > Still, nothing better than being able to get help from some of the seasoned > pros on this list right away. > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -----

Re: [PHP-DB] sort by date

2002-11-06 Thread Peter Beckman
l=php-db Newsgroup: news://news.php.net/php.db Peter On Wed, 6 Nov 2002, dwalker wrote: > What archive and how do I access it? ------- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL P

RE: [PHP-DB] Imploding an array?

2002-11-06 Thread Peter Beckman
; > > > > > When I print_r() the variable I have values so I know that works. > > > > > > Any thoughts on this? > > > > > > Thanks. > > > > > > Aaron > > > > > > > > > -- > > PHP Database Mailing List (

Re: [PHP-DB] MySQL password protection?

2002-11-06 Thread Peter Beckman
> > William > > --- > William Trappeniers > mail at: [EMAIL PROTECTED] > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ------- P

Re: [PHP-DB] MySQL password protection?

2002-11-06 Thread Peter Beckman
> > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

Re: [PHP-DB] Record IDs: Numeric or String??

2002-11-06 Thread Peter Beckman
meaningful > names, but, not sure if this means the DB has to work harder or not. > > Thanks! > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -------

RE: [PHP-DB] Warning - newby question -- $_GET

2002-11-06 Thread Peter Beckman
Box 1290 > CHATSWOOD NSW 2067 CHATSWOOD NSW 2057 > > > Ph: +61 2 9413 2944 Fax: +61 2 9413 9901 > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Peter Beckman

Re: [PHP-DB] Archiving A Database

2002-11-06 Thread Peter Beckman
did look through the archives before I posted, and didn't find > anything. Please flame in private if I missed something! > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Peter BeckmanSy

Re: [PHP-DB] FW: php J2EE .NET

2002-11-06 Thread Peter Beckman
ational +44-121-242-1473 > --- > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

RE: [PHP-DB] addition to uploading

2002-11-07 Thread Peter Beckman
successfully. > > Do I use the mail()?? > > any thoughts > > Thanks > [Ryan Holowaychuk] > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ----------

Re: [PHP-DB] [Newbie Q] csv file upload via php to mysql tutorialrequest

2002-11-07 Thread Peter Beckman
> .kristina > > [EMAIL PROTECTED] > kfxdesign.net > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL PROT

Re: [PHP-DB] ROugh idea of speed

2002-11-08 Thread Peter Beckman
PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL PROTECTED] http://www.purplecow.com/

Re: [PHP-DB] Polls?

2002-11-08 Thread Peter Beckman
o the full extent of the law. > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Peter BeckmanSystems Engineer, Fairfax

Re: [PHP-DB] Polls?

2002-11-09 Thread Peter Beckman
no clue why you'd want to do it this way, but if your MySQL server is that taxed, then this is how I'd do it -- put the processing on the web server. Peter On Fri, 8 Nov 2002, Leif K-Brooks wrote: > The problem is, I need to make a page that shows all of the polls, and > one qu

[PHP-DB] Email and HTML Parser Library

2002-11-09 Thread Peter Beckman
r code would be appreciated! Peter ------- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL PROTECTED] http://www.purplecow.com/ --

Re: [PHP-DB] problem with postgres

2002-11-09 Thread Peter Beckman
x27;s > wrong??? > > > I'm using postgresql 7.2.2, php 4.2 and redhat 8.0. I've added support for > pgsql and I've confirm that pqsql.so is loaded. > > Pls help > > Regards > > > > -- > PHP Database Mailing List (http://www.php.net/) > To u

Re: [PHP-DB] Winamp-Like Search

2002-11-10 Thread Peter Beckman
(http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ------- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL PROTECTED] http://www.purplecow.com/ ---

Re: [PHP-DB] Having more than one id in the same field

2002-11-10 Thread Peter Beckman
any other way? > > Thanx in advance > Achilles > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Peter BeckmanSystems Engineer, Fairfax C

Re: [PHP-DB] retrieving data from mysql table

2002-11-10 Thread Peter Beckman
l_query ( $query ) or die( mysql_error () ); > $x = 0 ; > while ( $row = mysql_fetch_assoc ($result)) { > ?> > >echo $row[$table_headers[$x]] ; > ?> > >$x++ ; > } > ?> &

Re: [PHP-DB] Performance for how many columns to update?

2002-11-10 Thread Peter Beckman
ypted with double rot13 encoding. Any unauthorized attempt >to decrypt it will be prosecuted to the full extent of the law. > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

Re: [PHP-DB] Performance for how many columns to update?

2002-11-10 Thread Peter Beckman
27;m trying to decide whether to make it > only update the changed rows or be lazy and make it update them all if > only 1 has changed. > > Peter Beckman wrote: > > >Straight from the MySQL Documentation, which is where you should look first > >always: >

Re: [PHP-DB] Optimizing

2002-11-10 Thread Peter Beckman
#x27;ve not looked at indexing but think it's time to start, but in a way even > I can understand so I thought i'd ask you all here :-) Peter "RTFM" --- Peter BeckmanSystems Engi

Re: [PHP-DB] Are there any Oracle vs Postgresql official benchmarks

2002-11-11 Thread Peter Beckman
t; thanx in advance, > > > > - Manos Papagelis > > > > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP Database Mailing List (http://www.php.ne

Re: [PHP-DB] php array max value pr. year

2002-11-11 Thread Peter Beckman
i just can't come up with >anything... > > P.S. Sorry for my bad english! > > Martin Allan Jensen > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/

RE: [PHP-DB] Are there any Oracle vs Postgresql official benchmarks

2002-11-11 Thread Peter Beckman
hout > this cache, MySQL's performance fell by two-thirds. > > ---John Holmes... > > > -----Original Message- > > From: Peter Beckman [mailto:beckman@;purplecow.com] > > Sent: Monday, November 11, 2002 12:29 PM > > To: Maxim Maletsky > > Cc: Manos Papa

Re: [PHP-DB] payperiods

2002-11-12 Thread Peter Beckman
t; > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ------- Peter BeckmanSystems Engineer, Fairfax Cable Access Cor

RE: [PHP-DB] payperiods

2002-11-12 Thread Peter Beckman
help! > > -- > Darren Bentley / Systems Administrator > Borealis Internet / 1-800-667-0307 > Prince George, BC, Canada > http://www.pgweb.com > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

Re: [PHP-DB] OT... distribution under the GPL

2002-11-12 Thread Peter Beckman
collection, scripts, whatever) under >the GPL? > > Thank you for any help you may give in pointing me in the right direction. > > > M.Cortes > Fort LeBoeuf School District > > ------- Peter Beckman

Re: [PHP-DB] Variable from PHP to HTML...

2002-11-12 Thread Peter Beckman
orking fine, and the form > > > >$sys = $system['Name']; > if ($cnt == 1) { > $cnt = 2; > echo ""; ?> > > ------- Peter BeckmanS

Re: [PHP-DB] can i create an Access table or mdb with PHP?

2002-11-12 Thread Peter Beckman
he second, why are you trying to use PHP instead of just linking to the Access.mdb file via the web server? Peter ------- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL

Re: [PHP-DB] Multiple Inserts with mySQL

2002-11-13 Thread Peter Beckman
ew at this, so please help me out. Thanks. > > - Anthony > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ------- Peter Beckman

Re: [PHP-DB] Arrays again again

2002-11-13 Thread Peter Beckman
CAN only define ONE year, and ONE value in >each LOOP! > > > > THANKS!!! > > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP Database Mail

Re: [PHP-DB] Shopping Cart Sessions - Think this is a simple prolem- hopefully

2002-11-14 Thread Peter Beckman
cription = $ProductDetails["ProductDescription"]; > $PictureOfProduct = $ProductDetails["PictureOfProduct"]; > } > if(mysql_num_rows($Q) > 0) > > Anyone got any ideas? I'm a bit lost as to why this doesn't work. > > G :) --

Re: [PHP-DB] Move PDFs

2002-11-14 Thread Peter Beckman
do this? > > Any idea or reference how can I start this, is greatly appreciate. > > Thanks in advance > Nato > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ---

Re: [PHP-DB] serious help with linking data together...

2002-11-14 Thread Peter Beckman
> > > > > > >while ($refResult = db_fetch($refQuery)) { > ?> > > > > > } ?> > > > > } > } > ?> --- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EM

Re: [PHP-DB] phpmysqladmin

2002-11-15 Thread Peter Beckman
et/) > To unsubscribe, visit: http://www.php.net/unsub.php > ------- Peter BeckmanSystems Engineer, Fairfax Cable Access Corporation [EMAIL PROTECTED] http://www.purplecow.com/ -

RE: [PHP-DB] Email Encryption?

2002-11-15 Thread Peter Beckman
> I am thinking PGP for this but to be honest I've never really worked > with PGP and wouldn't have the first clue. > > Does anyone have any experience with this or can offer and advise at > all? > > Again, sorry for the OT discussion. > > Aaron > > -- > PHP

RE: [PHP-DB] Email Encryption?

2002-11-15 Thread Peter Beckman
crypted? > > Hense the email. > > Aaron > > -Original Message- > From: Peter Beckman [mailto:beckman@;purplecow.com] > Sent: November 15, 2002 12:35 PM > To: Aaron Wolski > Cc: 'Jason Vincent'; [EMAIL PROTECTED] > Subject: RE: [PHP-DB] Email Encr

Re: [PHP-DB] Query Executes in MySQL Command Line, Not From PHP.

2002-11-15 Thread Peter Beckman
uot;]); > > $sql_element_low = "UPDATE $table SET medialow=NULL WHERE > ".$_POST["tbl"]."contentID=".$_POST["id"].""; > echo $sql_element_low.""; > > mysql_query($sql_element_low) or

Re: [PHP-DB] database update question

2002-11-15 Thread Peter Beckman
CTED] > > > > "There is no reason anyone would want a computer in their home." > > --Ken Olson, president, chairman and founder of Digital Equipment > > Corporation, 1977 > > (They why do I have 8? Somebody help me!) > > > > -- > > PHP

[PHP-DB] Passing by reference

2002-11-16 Thread Peter Beckman
code above correct? If not, can you show me how one might pass by reference correctly? I've tested both pieces of code, but can't determine if there is a speed/memory difference, and I don't actually have 125K in data handy! Thanks, Peter -----

Re: [PHP-DB] Need Help

2002-11-16 Thread Peter Beckman
e"],10,2).':'. > substr($show["Time"],12,2); > > echo ""; > echo "$sms_time "; > echo "$smsc "; > echo "$org_sms "; > echo "$dest_sms "; >

[PHP-DB] Inserting things into the DB

2002-11-16 Thread Peter Beckman
rsist through the insert, which cannot happen (need to be able to prove the md5 hashes generated by DCC is accurate, and adding slashes in the wrong place will screw that up). What's the answer? addslashes then remove the single-quoted-slashes? Thanks for the help. Peter --- Peter Beckma

Re: [PHP-DB] Automatic Refresh Page

2002-11-16 Thread Peter Beckman
for yr help > > -- > Warm regards, > Afif > mailto:[EMAIL PROTECTED] > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ---------

Re: [PHP-DB] Sorting in numerical order, and then randomly

2002-11-17 Thread Peter Beckman
> 0 order by > priority asc > > and then > > select * from ads_value where status = 'current' and priority = 0 order by > RAND() > > TIA, > > -Lisi > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, v

RE: [PHP-DB] php sessions using mysql (or any db)

2002-11-18 Thread Peter Beckman
gt; $query = "INSERT INTO $sess_table > > > VALUES('$SID', '$expiration', '$value')"; > > > > > > $result = mysql_query($query); > > > > > > if (! $result) : > > > > > >$query = "UPDATE $sess_table SET > > >

RE: [PHP-DB] php sessions using mysql (or any db)

2002-11-18 Thread Peter Beckman
ops, the $GLOBALS[acdb] was legacy code for the site I was using. Ignore it. Sorry! Your SessionTableName is set in php.ini -- if $sessiontablename is empty, there is an issue that will prevent sessions from being written/read from! Peter > > -Original Message- > > From: Pete

Re: [PHP-DB] Insert path string into Mysql

2002-11-18 Thread Peter Beckman
abase) or die( "Unable to select database"); > $path = 'c:\\demo\\' ; > $query = "insert into PH_PHOTO (PHOTO_PATH) VALUES ('$path')"; > > $result=mysql_query($query); > > mysql_close(); > ?> > > > > > > -- > PHP Dat

Re: [PHP-DB] Sessions Vs DB Access

2002-11-24 Thread Peter Beckman
access? > > > > Thanks for your help > > > > Regards > > > > Chris > > > > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -

Re: [PHP-DB] PHP4, Apache 1.3.x, and mod ssl install document?

2002-11-27 Thread Peter Beckman
t (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ----------- Peter Beckman Internet Guy [EMAIL PROTECTED]

[PHP-DB] imap_search problems

2002-11-27 Thread Peter Beckman
d replacing the search strings and continue to fail. Argh. I know the word "fat" is in the body of more than 50 messages, as well as in the headers, as there are 10,051 pieces of spam I'm trying to parse. Peter --

Re: [PHP-DB] imap_search problems

2002-11-27 Thread Peter Beckman
o use the debugging tools the nice people at PHP gave you for Christmas. Beckman On Wed, 27 Nov 2002, Peter Beckman wrote: > I'm writing a command line script to go through a mailbox on the file > system. PHP the binary is compiled with imap, I've confirmed by using > imap_hea

[PHP-DB] Fulltext matching

2002-12-02 Thread Peter Beckman
body where match(body) against ('"print pal"'); Peter ----------- Peter Beckman Internet Guy [EMAI

[PHP-DB] Processing HTML forms

2002-12-03 Thread Peter Beckman
it is the preg_match line that does the "magic." Peter ----------- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.com/ -

Re: [PHP-DB] anchors

2002-12-04 Thread Peter Beckman
he start of the parameters? > > Thanks, > Eddie > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ----------- Peter Beckman

Re: [PHP-DB] Index on email or ID?

2002-12-05 Thread Peter Beckman
> > Jim. > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Peter Beckman Internet Guy [EMAIL PROTE

  1   2   >