Re: [PHP-DB] Automatically Refreshing png-Image'd Web Page

2004-03-19 Thread Adam Voigt
efresh a web page displaying a png > image? > > Thanks in advance for any thoughts/insights into how I can solve this > problem. > > dave -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-03-18 Thread Adam Voigt
ange needed would be quite simple. > > PB -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] MySql query

2004-03-17 Thread Adam Voigt
t are formatted something like this: > > SELECT * FROM sometable WHERE 1 > > does "WHERE 1" just return every row? > > thanks in advance. -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP - MSSQL - LINUX

2004-03-17 Thread Adam Voigt
d recipient, > please delete the mail. > Any use not in accord with its purpose, any dissemination or disclosure, either > whole or partial, is prohibited. > Please inform us in case of erroneous delivery, thanks for your cooperation. -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] mssql query

2004-03-16 Thread Adam Voigt
but looking at the mssql reference book I > have, it doesn't go into great detail on date functions, so I was > wondering if anyone knows how to do a unique on the eventtime with > the date and ignore the time. -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] PHP -> MSSQL connects, but can't query

2004-03-15 Thread Adam Voigt
> > Connected to server. > Warning: Sybase: Server message: Line 1: Incorrect syntax near 'e'. > (severity 15, procedure N/A) in /home/www/sql-test.php on line 12 Can't > connect to Northwind > > > > Can anyone help me figure this one out?! > > Thanks! > Jason Morrill > IT Manager > Child & Family Agency SE Connecticut > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP -> MSSQL connects, but can't query

2004-03-12 Thread Adam Voigt
encing the sql-test.php file: > - > > Connected to server. > Warning: Sybase: Server message: Line 1: Incorrect syntax near 'e'. > (severity 15, procedure N/A) in /home/www/sql-test.php on line 12 > Can't connect to Northwind > > > > Can anyone help me figure this one out?! > > Thanks! > Jason Morrill > IT Manager > Child & Family Agency SE Connecticut -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Protecting mysql database

2004-03-03 Thread Adam Voigt
ody may access the > database via phpadmin or anything else > > Appreciate your input on this one. -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Uploading files

2004-02-27 Thread Adam Voigt
; > files bigger than 1M and the browser send an "server not found" error. > > > > > > Does anybody know anything about that? > > > Thank you > > -- > > > > Adam Voigt > > [EMAIL PROTECTED] > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Uploading files

2004-02-27 Thread Adam Voigt
;server not found" error. > > Does anybody know anything about that? > Thank you -- Adam Voigt [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: [PHP] Re: [PHP-DB] Embedded MySQL server (libmysqld)?

2004-02-23 Thread Adam Voigt
-02-23 at 11:53, [EMAIL PROTECTED] wrote: > Adam Voigt wrote: > > Check these guys out: > > > > http://spenix.com/WebHostingPlans.aspx > > > > Very cheap, very reliable, great features, and support is second to none > > I've ever experienced, and before

Re: [PHP-DB] Embedded MySQL server (libmysqld)?

2004-02-23 Thread Adam Voigt
2-23 at 09:53, [EMAIL PROTECTED] wrote: > Howdy -- > Would someone point or provide me with an example of PHP + libMysqld > (Embedded MySQL server)? > > My problem is my churchs web site doesn't provide a MySQL database as > a default package (add $15.95/mo)for a MySQ

Re: [PHP-DB] Connect to MSDE using PHP

2004-02-23 Thread Adam Voigt
27;sa','password') > mssql_connect('namedinstance\coconut','sa','password') > > and those wouldn't work either. The only response I get is "failed to > connect to server ..." > > I'm off to try ODBC. Anyone hav

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-20 Thread Adam Voigt
Any idea why the following lines in the php.ini file don't work? > mssql.min_error_severity = 11 > mssql.min_message_severity = 11 > > Michael > > -Original Message- > From: Adam Voigt [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 19, 2004 12:44 PM >

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Adam Voigt
my script. The other query is to the same db; in fact, it uses the > exact same $db connection object. > > Any ideas on getting PHP to ignore this info message? > > Thanks again. > Michael > > -Original Message- > From: Adam Voigt [mailto:[EMAIL PROTECTED] >

Re: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Adam Voigt
and doesn't execute my query. > > I'm running php 4.3.3 for Windows; the SQL Server and web server are on the > same machine. I'm using PEAR:DB for the database access. > > Thanks. > > Michael Flanagan > voice: (1) 303-674-2691 > fax: (1) 603-963-0704 (

Re: [PHP-DB] Re: How to get PHP to download web contents

2003-07-07 Thread Adam Voigt
solution will look like this: > > $html = implode ('', file ('http://someuser:[EMAIL PROTECTED]/')); > > > > > > > > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.

Re: [PHP-DB] Reading from a file

2003-07-01 Thread Adam Voigt
o figure out > what to read but that isn't very practical in my case. > > Also, how do I get rid of any white space at the end of a variable if there is some > once it is read in? > > - Rick -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The Crypto

Re: [PHP-DB] Related Tables - Capture ID

2003-06-26 Thread Adam Voigt
f the second tables record insertion to insert into > a field into a related table in the third. What would the easiest way to go > about this in php? > > Thanks, > > MAO -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The Cryptocomm Group -- PHP Database Ma

Re: [PHP-DB] moving though an array..

2003-06-26 Thread Adam Voigt
t that would look > like (based on "form variables"): > > SELECT * FROM tablename WHERE (manufacturer LIKE %n% OR colour LIKE %n%) > > The information between ( and ) needs to be written in such a manner > that it scales up or down in options.. depending on what was

Re: [PHP-DB] Accessing MySql using Flash while using PHP as themiddleware

2003-06-25 Thread Adam Voigt
o pull info, but > with Flash I am struggling. -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The Cryptocomm Group -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Total Values with MySQL

2003-06-03 Thread Adam Voigt
> > Say I have three values in ColumnName all of '1' then can I get MySQL to > return 3? > > Thanks for your help -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The Cryptocomm Group -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Problem with php/mysql and ISS on windows XPprofeesional

2003-06-03 Thread Adam Voigt
> i think i have to disable this eroor message only > > > can any one tell me how i disable that error message > > > > > > _ > > > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > > > http://join.msn.com/?page=features/junkmail > > > > > > > > > -- > > > 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 > > > > _ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The Cryptocomm Group -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Problem with php/mysql and ISS on windowsXPprofeesional

2003-06-03 Thread Adam Voigt
t; > > only "Spy Hunter" > > > > > > > > i think i have to disable this eroor message only > > > > can any one tell me how i disable that error message > > > > > > > > _

Re: [PHP-DB] Problem with php/mysql and ISS on windows XPprofeesional

2003-06-03 Thread Adam Voigt
; > can any one tell me how i disable that error message > > > > _ > > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > > > -- > > P

Re: [PHP-DB] Connect Microsoft SQL database with php on unix

2003-04-01 Thread Adam Voigt
.phparch.com/ > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Addslashes (MSSQL)

2003-03-20 Thread Adam Voigt
' with '' in MSSQL (one single quote replaced with two single quotes) $text = str_replace("'","''",$old_text); ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP-DB] Help with MySQL Logic

2003-03-03 Thread Adam Voigt
ns would be appreciated. Randy -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP-DB] What wrong in this SQL

2003-02-27 Thread Adam Voigt
RE cat_id = 1 ' at line 4 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc De

Re: [PHP-DB] "LIMIT" problem MSSQL

2003-02-19 Thread Adam Voigt
Well if you do, (sort by id) this will work. On Wed, 2003-02-19 at 11:14, Noam Giladi wrote: i'm not using a fixed sort tnx noam "Adam Voigt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Assuming your s

Re: [PHP-DB] "LIMIT" problem MSSQL

2003-02-19 Thread Adam Voigt
.php.net/unsub.php -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP-DB]

2003-02-12 Thread Adam Voigt
Gatsis Nikos Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: [EMAIL PROTECTED] http://www.qbit.gr -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signat

RE: [PHP-DB] collaborating on a document

2003-02-11 Thread Adam Voigt
where you have control over what clients are used. But in the WWW arena, you just don't know what clients are going to be used. -----Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 10:25 AM T

RE: [PHP-DB] collaborating on a document

2003-02-11 Thread Adam Voigt
visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP-DB] Storing iterated results into various variables

2003-02-04 Thread Adam Voigt
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP-DB] Date format in MySQL

2003-02-03 Thread Adam Voigt
ks for your support All the best Lisa Lisa Rubanowicz CNH Ireland Tel: +353 46 77663 Email: [EMAIL PROTECTED] -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.2

RE: [PHP-DB] Send mail with a file

2003-01-16 Thread Adam Voigt
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 -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.2

Re: [PHP-DB] data move

2003-01-13 Thread Adam Voigt
ling List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP-DB] keyword search a mysql database.

2002-12-18 Thread Adam Voigt
uare, Bristol BS2 8JJ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP-DB] Get error message, need help

2002-12-16 Thread Adam Voigt
> > I got this code from Dreamweaver MX: PHP Web Development pg. 257 > > Thanks > > David > > > > -- > PHP Database Mailing List (http://www.php.net/) > To

RE: [PHP-DB] MSSQL Text Length Restriction

2002-12-10 Thread Adam Voigt
tally Jeffrey N Dyke To: Adam Voigt <[EMAIL P

RE: [PHP-DB] MSSQL Text Length Restriction

2002-12-10 Thread Adam Voigt
H Jeff Adam Voigt mm.com&g

RE: [PHP-DB] MSSQL Text Length Restriction

2002-12-10 Thread Adam Voigt
they don't look too terribly inefficient. -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 10:18 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] MSSQL Text L

[PHP-DB] MSSQL Text Length Restriction

2002-12-10 Thread Adam Voigt
I can't seem to get more then 255 characters to be sent back from a field in our MSSQL database, unless the fields is a "TEXT" type, which is very inefficient. Anyone know a fix? (I've already tried modifying the max size variables in the php.ini under the MSSQL sec

Re: [PHP-DB] Refining my search app..

2002-12-02 Thread Adam Voigt
A little cleaner: switch($_POST[column]) { case("foo"):$query = mysql_query("WHATVER");break; case("too"):$query = mysql_query("BLAH");break; default:$query = mysql_query("DOH");break; } while($row = mysql_fetch_array($query))

Re: [PHP-DB] Resource id #2

2002-11-27 Thread Adam Voigt
't be the first), but a statement that simply has a > variable name doesn't DO anything. Should these have echos in front > of them? > > --- Adam Voigt <[EMAIL PROTECTED]> wrote: > > Umm, he is putting them into an array, I quote: > > > > while ($ro

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

2002-11-27 Thread Adam Voigt
> PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP-DB] Resource id #2

2002-11-27 Thread Adam Voigt
ow['Books.ISBN']; > > $row['BookList.dbase']; > > $row['BookList.dbase_user']; > > $row['BoxSet.BoxSet']; > > $row['Category.Category']; > > $row['Category.Sub_category']; > > $row['Publisher.Publisher']; > > $row['AuthUsers.email']; > > > > } > > > > > > ?> > > > > I then have some HTML to display the result of the search. I don't > > receive any error messages - I just see an empty table from the HTML > > code I wrote. I added an echo of the $result to find the "resouce id > > #2". > > > > Thanks for any help you can provide. > > > > --joel > > > > > > > > > > > > > > > > _ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP-DB] Connecting to MS SQL 7

2002-11-27 Thread Adam Voigt
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Gro

Re: [PHP-DB] Resource id #2

2002-11-26 Thread Adam Voigt
']; > $row['Publisher.Publisher']; > $row['AuthUsers.email']; > > } > > > ?> > > I then have some HTML to display the result of the search. I don't > receive any error messages - I just see an empty table from the HTML > code I wrote. I added an echo of the $result to find the "resouce id > #2". > > Thanks for any help you can provide. > > --joel > > > > > > > > _ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP-DB] Re: MySQL/PHP Iterative Tree

2002-11-26 Thread Adam Voigt
; -END PGP SIGNATURE- > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

[PHP-DB] MySQL/PHP Iterative Tree

2002-11-26 Thread Adam Voigt
ke link's out of each item), for as many sublevel's as there might be (infinite). Am I missing something, is there a simple logical way to do this recursively? Or if there's a semi-complex way, anyone got a script example? I'd very much appreciate it. -- Adam Voigt ([EMAIL PROTECTED]

Re: [PHP-DB] Re: Get Last ID Inserted

2002-11-21 Thread Adam Voigt
Ahh, thanks very much. On Thu, 2002-11-21 at 12:08, David Elliott wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello Adam > > On 21 November 2002 at 11:12:46 -0500 (which was 16:12 where I live) Adam > Voigt rearranged electrons to get > > > But if

Re: [PHP-DB] Re: Get Last ID Inserted

2002-11-21 Thread Adam Voigt
GIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello Adam > > On 21 November 2002 at 10:47:15 -0500 (which was 15:47 where I live) Adam > Voigt wrote > > > Using Microsoft SQL does anyone know how to get the id of the row that > > you just inserted without clumsily t

Re: [PHP-DB] inserting html into mysql tables

2002-11-21 Thread Adam Voigt
07939 252144 (mobile) > > Snailmail >> Unit 8, 14 King Square, >Bristol BS2 8JJ > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocom

[PHP-DB] Get Last ID Inserted

2002-11-21 Thread Adam Voigt
Using Microsoft SQL does anyone know how to get the id of the row that you just inserted without clumsily trying to select the id back based on the same criteria of your insert (which might be overlapping)? -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49

Re: [PHP-DB] Fastest, easiest Flatfile DB with PHP

2002-11-18 Thread Adam Voigt
with > some alternative technique. Anyone ? > > thanks > > Teemu > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG K

Re: [PHP-DB] Multiple Inserts with mySQL

2002-11-14 Thread Adam Voigt
iling List (http://www.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > > > > > > --- > > Peter BeckmanSystems Engineer, Fairfax Cable Access Corp

Re: [PHP-DB] MySql Update.

2002-11-12 Thread Adam Voigt
". $table_headers[$x] . "=" . $values[$x] . " , " >}) ; > > $query = $query1.$query2 ; > > $result = mysql_query ($query) ; > etc... > > > > _ > Help STOP SPAM with the new MSN 8 and get 2 months F

Re: [PHP-DB] first Array value duplicating..

2002-11-07 Thread Adam Voigt
Ok, here's how I do it: =) Delete checkbox's (assuming this is being called recursively, once for each row in the db): And on submition: foreach($_POST[delete] AS $row) mysql_query("DELETE FROM tablename WHERE id = '$row';"); Adam Voigt [EMAIL PROTECTED]

RE: [PHP-DB] calling sql script

2002-11-07 Thread Adam Voigt
Well, either use PHPMyAdmin, or if this is a recursive thing like, you need to have this done one the fly, and you have shell (SSH) access to your host, connect your host and do "which mysql" in the console and this will probably give you the path. Adam Voigt [EMAIL PROTECTED] On Thu,

Re: [PHP-DB] MySQL password protection?

2002-11-07 Thread Adam Voigt
Make the include file (or wherever your page with the pass is) encrypted, see ioncube.com they charge by the amount of code you incrypt, for a simple database include file, I think it would be $1 or less. On Wed, 2002-11-06 at 16:04, William Trappeniers wrote: > Hi all > > I was wondering if it i

Re: [PHP-DB] I need Microsoft SQL Library: mssql70.so

2002-10-02 Thread Adam Voigt
. Adam Voigt [EMAIL PROTECTED] On Wed, 2002-10-02 at 12:48, Leo Hotmail wrote: > > > I've installed Linux Red Hat 7.1 with php 4 and have the this libraries in >/usr/lib/php4 > > pgsql.so > ldap.so > imap.so > > but I need Microsoft SQL Library: m

Re: [PHP-DB] PHP in a javascript function with DB calls.

2002-09-10 Thread Adam Voigt
Umm, the body tag in HTML has an onLoad parameter. So: That code for the window.new is probably wrong, but that will do it. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-09-10 at 11:20, Aaron Wolski wrote: > Hi All, > > I HOPE this is the right place for this.. if not I

Re: [PHP-DB] mssql datetime field

2002-07-25 Thread Adam Voigt
Could you give an example of what you are sending in as the date value in an Insert/Update? Adam Voigt [EMAIL PROTECTED] On Thu, 2002-07-25 at 08:45, [EMAIL PROTECTED] wrote: > > has anyone had any expierence with the datetime field coming back from > MSSQL as someting along the

Re: [PHP-DB] PHP4 MSSQL Error handling

2002-07-25 Thread Adam Voigt
$result = mssql_query($query) or die(mssql_get_last_message()); Adam Voigt [EMAIL PROTECTED] On Wed, 2002-07-24 at 19:48, Salve Tinkerworth wrote: > Does anyone have any good tips for error handling? I've tried different > methods to retrieve good error information from mssql_query

Re: [PHP-DB] extract data from database into an array

2002-07-15 Thread Adam Voigt
$query = mysql_query("SELECT whatever FROM whatever;"); while($row = mysql_fetch_array($query)) $construct[] = $row[whatever]; That will give you an array (construct) with position 0 being the first row, position 1 being the second row, and so on. Adam Voigt [EMAIL PROTECTE

RE: [PHP-DB] MySQL Clustering, redundancy

2002-06-18 Thread Adam Voigt
fluid" solution I could think of would be an application gateway of some sort which will load balance properly to different IP's while in your code you only point to one. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-06-18 at 09:12, Matt Babineau wrote: > Thanks for your response Adam!

Re: [PHP-DB] MySQL Clustering, redundancy

2002-06-18 Thread Adam Voigt
e you must take account of this in your code interacting with the server, but the data will be sync'd). Adam Voigt [EMAIL PROTECTED] On Tue, 2002-06-18 at 08:47, Matt Babineau wrote: > Hi All: > > I quickly skimmed the MySQL manual and didn't see any information on > clus

Re: [PHP-DB] Finding highest number in auto increment

2002-04-09 Thread Adam Voigt
Oh, forget to include that if you only want that one record, use the "LIMIT 1" keyword as well. Adam Voigt [EMAIL PROTECTED] P.S.: All of this is in the MySQL manual. On Tue, 09 Apr 2002 15:48:45 +0200, Lisi <[EMAIL PROTECTED]> wrote: > Each record in my table has a unique

Re: [PHP-DB] Finding highest number in auto increment

2002-04-09 Thread Adam Voigt
SELECT * FROM whatever ORDER BY id DESC; Ofcourse if you want Ascending order, it would be "ASC" instead of "DESC" Adam Voigt [EMAIL PROTECTED] On Tue, 09 Apr 2002 15:48:45 +0200, Lisi <[EMAIL PROTECTED]> wrote: > Each record in my table has a unique ID numbe

Re: Re: [PHP-DB] New PostgreSQL functions

2002-04-08 Thread Adam Voigt
example of all the positives they found to the PHP language, and I certainly don't want you to think me a ASP zealot because I don't program in ASP or iHTML for that matter, I'm a pure PHP evangelist from top to bottom. Adam Voigt [EMAIL PROTECTED] On Mon, 08 Apr 2002 23:04:25

Re: [PHP-DB] New PostgreSQL functions

2002-04-08 Thread Adam Voigt
7;s funny PHP has so many ways to do certain things, and so few ways to do other things. =) Just Curious, Adam Voigt [EMAIL PROTECTED] On Mon, 08 Apr 2002 13:41:46 +0900, Yasuo Ohgaki <[EMAIL PROTECTED]> wrote: > Hi, > > I&

Re: RE: [PHP-DB] mail()

2002-04-02 Thread Adam Voigt
make the email appear as coming from [EMAIL PROTECTED], while when they clicked the reply button, it would go to [EMAIL PROTECTED], the most useful situation for these is when your server appends a nastry from address like apache@localhost or whatever from the webserver daemon. Adam Voigt [EMAIL

Re: [PHP-DB] mail()

2002-04-02 Thread Adam Voigt
entering a hardcoded test without the variables to make sure it works just even with straight static values? Adam Voigt [EMAIL PROTECTED] On Tue, 2 Apr 2002 10:55:20 -0500, James Kupernik <[EMAIL PROTECTED]> wrote: > I'm trying to run a mail function .. the program is running, but I