Re: [PHP-DB] ODBC

2002-02-02 Thread Mike Maltese
and SQL Server are faster? Mike - Original Message - From: Morten Nielsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 02, 2002 8:42 AM Subject: [PHP-DB] ODBC Hi, Could anybody explain to me what ODBC is. Should I install it with mySQL. Thanks, Morten

Re: [PHP-DB] MySQL

2002-02-04 Thread Mike Maltese
Go download PHPMyAdmin. - Original Message - From: Morten Nielsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 04, 2002 8:34 AM Subject: [PHP-DB] MySQL Hi, Is there an easy way to see the data in a table? I made a table that contains information about people. How

Re: [PHP-DB] cutting off zeros 10.00 to 10

2002-02-06 Thread Mike Maltese
I tested this and it seems to work: $n = 1.90; for($i=strlen($n);$i0;$i--){ if(substr($n,$i,1) == 0){ $n = substr($n,0,(strlen($n))-1); }else{ break; } } No charge...this time. =) Regards, Mike - Original Message - From: Thomas Murphy [EMAIL PROTECTED

Re: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Mike Gohlke
not appearing using netscape. (keeps it from being empty). Hope this helps Mike... Raymond Lilleodegard wrote: Hi again Rick! : ) It is because I am trying to list all products that I have in a database into a menu page. And I would like to have two products beside eachothers. So

Re: [PHP-DB] MySQL Result

2002-03-08 Thread Mike Maltese
mysql_affected_rows(int resource_id); This will return the number of rows that were affected by the last operation, so you could do something like this: if(mysql_affected_rows($connection) == 1){ //insert, update or delete succeeded }else{ //operation failed } - Original Message

Re: [PHP-DB] Relational database

2002-03-21 Thread Mike Maltese
Try this: SELECT Description, Impact, Isolation FROM ccsd NATURAL JOIN log or SELECT Description, Impact, Isolation FROM ccsd LEFT JOIN log USING(logccsd) Just add on a WHERE conditional to get the required results if necessary. - Original Message - From: Ron [EMAIL PROTECTED] To:

[PHP-DB] Build problem oci8

2002-03-26 Thread Mike Gahan
, the oracle supplied shared library which is present in the configured oracle tree. Now, I'm OK with make, but libtool is a bit of a mystery to me. I would be very grateful if anyone out there can give me some hints to make this work. Please copy your replies to my email. -- Mike Gahan

[PHP-DB] PHP MySql

2002-04-02 Thread Mike Meighan
. Mike M. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP MySql

2002-04-02 Thread Mike Meighan
Thanks, just as I had hit send on that messege, the thought of passing the session ID via a querystring hit me. I'm using linux for MySql and Secure Server processing so as data is being collected from various users while on the NT box, when it comes time for secure server type transactions, I

[PHP-DB] Re: mysql connection problem

2002-05-19 Thread Mike P
Sounds like you don't have privileges to access the server from the host you're using. You need to establish privileges in the appropriate mysql db tables (user, db, host, etc) to allow access from the host from which you are attempting to connect. Christian Weilbach [EMAIL PROTECTED] wrote in

[PHP-DB] help with $_Get in form

2002-06-21 Thread Mike Germain
I'm trying to get a partnum field into a select statement but i'm not getting anything passed into the varable. i'm sure it's a simple fix but i can't find it. thx mike html head Inventory Lookup meta name=GENERATOR content=W3e 2000 title/title /head body ?php $partnum=; function

[PHP-DB] Question

2002-06-23 Thread Mike Tuller
I tie the computer to the drive instead? Thanks, Mike -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Question

2002-06-23 Thread Mike Tuller
. -Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED]] Sent: Monday, 24 June 2002 3:43 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Question I am wanting to create a PHP frontend to a database that holds information about the computers that I take care of. I have a problem though when

Re: [PHP-DB] Question

2002-06-23 Thread Mike Tuller
with the computer they are installed in. I know I am answering my own question here, but it makes me feel more comfortable knowing that others come up with the same solutions I do. Thanks. From: Peter Lovatt [EMAIL PROTECTED] Date: Sun, 23 Jun 2002 22:24:32 +0100 To: Mike Tuller [EMAIL PROTECTED], Chris

[PHP-DB] DB400 on AS/400

2002-06-24 Thread Mike Germain
I am trying to do a query on a database on an AS/400. The database is in DB400 format which is simaluar to DB2. Can PHP access databases in DB400 via ODBC or does it only work in DB2? thx, Mike -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP-DB] Re: Question

2002-06-26 Thread Mike Tuller
Thanks for all of the advice. I am learning, and want to learn the right way, and all the advice given will benefit me greatly in the long run. I wish there was an easier way to deal with relationships in MySql, but I am sure that will come along in time. Mike From: Tracker 1 [EMAIL PROTECTED

[PHP-DB] Re: Changing leters to *

2002-07-03 Thread Mike Germain
Password Field: INPUT TYPE=PASSWORD An INPUT element with `TYPE=PASSWORD' is a text field as above, except that the value is obscured as it is entered. (see also: section Security Considerations). For example: pName: input name=login Password: input type=password name=passwd Bartosz Matosiuk

[PHP-DB] Re: Script to control mysql users?

2002-08-29 Thread Mike Tsapenko
' WITH GRANT OPTION; mysql FLUSH PRIVILEGES You also can make a script executing this SQL-queries from root user. -- Mike Tsapenko Chief of Web-development Dept. AlarIT http://www.AlarIT.com Leif K-Brooks [EMAIL PROTECTED] ???/ ? ?: [EMAIL PROTECTED]"

[PHP-DB] using php4 to connect to mysql (newbie question)

2002-11-20 Thread mike karthauser
://www.devarticles.com/art/1/23 All fine until it starts using globals... My dev server is running php4.2.3 with globals off, mysql 3.23.52 on freebsd 4.7 stable. Can anyone recommend any good tutorials for my query? thanks mikek -- Mike Karthauser Managing Director - Brightstorm Ltd Email

[PHP-DB] substituting for $id with globals off (newbie)

2002-11-20 Thread mike karthauser
=%s\%s/abr\n, $_SERVER['PHP_SELF'], $myrow[id], $myrow[name]); } while ($myrow = mysql_fetch_array($result)); } else { // no records to display echo Sorry, no records were found!; } } ? -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http

[PHP-DB] inserting html into mysql tables

2002-11-21 Thread mike karthauser
dreamweaver into a form box and posting it to the table. What would a good varchar(?) be for say 5K of data? cheers mikek -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office

[PHP-DB] option selected

2002-11-25 Thread mike karthauser
of selected=selected within the option. Are there any recommended methods of doing this? -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939 252144 (mobile

[PHP-DB] Re: Max execution time

2002-12-02 Thread Mike Mannakee
. If your query takes longer, then you're hosed, so the best bet is to set the max execution for long enough that you're in no danger, like 10 minutes. HTH Mike Radovan Radic [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all (I post questions although i

[PHP-DB] I got this idea...

2002-12-04 Thread Mike Delorme
Hi! I am knew around here, and a newcomer to PHP, but I know enough. I have = this idea, and I have gone through all the ways that I know off to work = it, but they dont work. I am a paintball player and I get fustrated = because there are too many web sites out there that sell paintball =

[PHP-DB] reversing a date stamp

2002-12-05 Thread mike karthauser
], $myrow[date]); } while ($myrow = mysql_fetch_array($result)); } else { // no records to display echo pSorry, no records were found!; } /snip -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653

[PHP-DB] Enlarging tables

2002-12-09 Thread mike karthauser
We have been entering data into a mysql table and it has got to id=127 and then stopped us from entering anymore data. When i built the table i must have specified the size wrong. Can anyone recommend how to fix this? regards mikek -- Mike Karthauser Managing Director - Brightstorm Ltd Email

Re: [PHP-DB] Enlarging tables

2002-12-09 Thread mike karthauser
|| | title | varchar(255) | YES | | NULL|| ++--+--+-+-++ -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653

Re: [PHP-DB] Enlarging tables

2002-12-09 Thread mike karthauser
on 9/12/02 2:58 pm, Hutchins, Richard at [EMAIL PROTECTED] wrote: Premature clickage... Or you could use a mediumint or int. Just check the mysql manual and select the int type that suits the size of your db best. Ta. Thats working now. Thanks from a 3 week old newbie. -- Mike Karthauser

[PHP-DB] limiting field extraction to 40 characters

2002-12-11 Thread mike karthauser
throughout the site)? cheers -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939 252144 (mobile) SnailmailUnit 8, 14 King Square, Bristol BS2 8JJ

Re: [PHP-DB] limiting field extraction to 40 characters

2002-12-12 Thread mike karthauser
is multi-byte safe. select left(coursecode,40) from courses On Wed, 11 Dec 2002, mike karthauser wrote: I am using ? $result = mysql_query(SELECT * FROM courses,$db); printf(select name=\coursecode\\n); while ($myrow = mysql_fetch_array($result)) { $l=$myrow['coursecode']; ?option

[PHP-DB] CMS error

2002-12-16 Thread mike karthauser
into my edit field. I can imagine this is a common probem in CMS - any suggestions on a quick fix..? cheers mikek -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939

Re: [PHP-DB] CMS error

2002-12-16 Thread mike karthauser
on 16/12/02 5:15 pm, mike karthauser at [EMAIL PROTECTED] wrote: I have a field in a news CMS that could contain Infact most of the time it does in the form of URL's etc. Getting the data initially into the database is no problem - Infact MySQL shows has no toruble with it. The problem i am

[PHP-DB] keyword search a mysql database.

2002-12-18 Thread mike karthauser
this/ or some tutorial that i can read though? Thanks.. BTW kettles on if anyone wants a brew.. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939 252144 (mobile

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

2002-12-19 Thread mike karthauser
Course 1 Training Course 2 Training Course n, etc. Is LIKE the best way to do this or should i be using wildcards? -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office

[PHP-DB] Searching DB and Printing Results

2002-12-30 Thread Mike Delorme
Hi, I have a table in DB Music that looks a little mike this: TABLE NAME _ SONG NAMESONG LYRICS

[PHP-DB] PHP/MySQL

2003-01-04 Thread Mike C
. // Regards Mike -- -- Mike C Macintosh Support Specialist University of Otago (ITS) Dunedin NEW ZEALAND http://www.otago.ac.nz -- -- PHP Database Mailing List (http

[PHP-DB] preventing page from resubmitting when refreshing page

2003-01-09 Thread mike karthauser
duplicating the records? any help would be appreciated. cheers mikek -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939 252144 (mobile) SnailmailUnit 8, 14

[PHP-DB] Remnant data from previous queries when using mysql_fetch_array...

2003-02-05 Thread Mike Hilty
from the current query on the page. Any help with this would be greatly appreciated. Thanks, Mike Hilty -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Remnant data from previous queries when using mysql_fetch_array...

2003-02-06 Thread Mike Hilty
, or some other client side scripting language to get the dynamic query built? Thanks, Mike Hilty John W. Holmes [EMAIL PROTECTED] wrote in message 002b01c2cd7a$2a86d9a0$7c02a8c0@coconut">news:002b01c2cd7a$2a86d9a0$7c02a8c0@coconut... I am a novice PHP dev having a stran

Re: [PHP-DB] MySQL problem -- new to PHP

2003-02-14 Thread Mike Peters
. -- Mike Registered Linux User #247123 It was all very well going about pure logic and how the universe was ruled by logic and the harmony of numbers, but the plain fact was that the disc was manifestly traversing space on the back of a giant turtle and the gods had a habit of going round

[PHP-DB] Re: Question about replacing large textfields

2003-02-14 Thread Mike Hilty
their public CVS server (since Giapeto is not quite released code yet) Thanks, Mike Hilty Wart Van Ingen [EMAIL PROTECTED] wrote in message 153E04744A5AD5118FC900306E001A7202159561@FMEMAIL1">news:153E04744A5AD5118FC900306E001A7202159561@FMEMAIL1... Hi there, I'm looking for a way to let people

[PHP-DB] Site Help

2003-02-18 Thread Mike Delorme
Hello! My name is Mike and I have no clue what I am doing. I have basic skills in PHP, but for some reson I cant bring them together to make the web program that I need. I would like to make a product site. When a client searches for product 6, the program goes to sites listed in an array

Re: [PHP-DB] SESSIONS

2003-02-26 Thread mike karthauser
on 26/2/03 12:58 pm, MaN at [EMAIL PROTECTED] wrote: And also use $_POST[SUBMIT] or set register_globals On Just use $_POST[SUBMIT] register_globals was turned off for security reasons. You are compromising the security of your system if you turn it back on. -- Mike Karthauser Managing

[PHP-DB] How to page results?

2003-03-06 Thread mike karthauser
them via a simple Previous | 1 2 3 4 5 | Next type of scenario. I got a query thus $result2=mysql_num_rows($result); to count our results. Does anyone have any pointers on what to do next? Cheers mikek -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED

Re: [PHP-DB] Don't Understand

2003-03-12 Thread mike karthauser
machine then you're going to have to do it server side. Your script will upload and then resize. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939 252144 (mobile

Re: [PHP-DB] Does Php support Flash files ?

2003-03-18 Thread mike karthauser
on 18/3/03 8:44 am, rajni arya at [EMAIL PROTECTED] wrote: Does PHP supprots Flash files on Open BSD platform ? Is that flash as in macromedia? What do you want PHP to do to the files? -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http

Re: [PHP-DB] Does Php support Flash files ?

2003-03-18 Thread mike karthauser
or are you looking to link to it in the PHP? You can link flash to php and import variables using action script. I am unsure what you are trying to achieve as your questions are a little vague. Plus this is a database list. -- Mike Karthauser Managing Director - Brightstorm Ltd Email

Re: [PHP-DB] Passing variable with previous next

2003-03-19 Thread mike karthauser
on 19/3/03 9:32 am, Achieve IT at [EMAIL PROTECTED] wrote: $company_name = $HTTP_POST_VARS['company_name']; You also need $address_region = $HTTP_POST_VARS['address_region']; Else you arent going to be able to pick up the variable or its value. -- Mike Karthauser Managing Director

[PHP-DB] Is the query I need even possible?

2003-03-19 Thread Mike Mannakee
. Is there any other way to do it? TIA, Mike -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Thumbnails

2003-03-19 Thread Mike Mannakee
What you'd be looking at there would be a custom script. Have a look at the image functions of PHP. It can be done, but I think you'll find it easiest to figure it out and write it yourself. Mike Miguel brás [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there gents, i looked

[PHP-DB] Not seeing whats wrong with code

2003-03-19 Thread Mike Delorme
= starcraft; $database = SHA; $tablename = members; $connect = mysql_connect ($host, $uname, $pass); $select = mysql_select_db ($database); $query = SELECT * from $tablename; $result = mysql_query ($query) while ($row = mysql_fetch_row($result)) { $row } ? Thanks, Mike Delorme

Re: [PHP-DB] Including Details in MySQL longer than 255 characters

2003-03-20 Thread mike karthauser
on 20/3/03 6:11 pm, Adam Venturella at [EMAIL PROTECTED] wrote: Anyway if someone could point me in the right direction I would be very appreciative. Change your column type to TEXT rather than varchar(255) -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL

[PHP-DB] Fwd: FW: Prayer Wheel

2003-03-21 Thread Mike Delorme
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],

[PHP-DB] Gathering data from a database

2003-03-22 Thread Mike Delorme
$tablename; $result = mysql_query ($query, $connect); while ($row = mysql_fetch_array($result)) { print_r( $row ); echo mysql_error(); } ? mysql has an error on line 19. Line 19 is while ($row = mysql_fetch_array($result)). What am I doing wrong? Thanks for your help, Mike

[PHP-DB] DB CODEING HELP!!!!!

2003-03-23 Thread Mike Delorme
this is bugging me. I have tried everything and I cant develop the code without an error. Can someone plese write me simple code that will go through a table and print 3 collums of that table? I cant figure it out

Re: [PHP-DB] Resize pictures and store with MySQL

2003-03-30 Thread Mike Brum
you're basically describing is the functionality that MANY blogs have. You can probably find some free scripts online with a minimum amount of searching. -Mike -Original Message- From: Frank McIsaac [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2003 12:26 PM To: [EMAIL PROTECTED

[PHP-DB] mail()

2003-03-31 Thread Mike Delorme
Can this fucktion be use to mail the submited content of a form? If so how? Thanks for your time, Mike Delorme

[PHP-DB] Posting the results of a query to an email

2003-06-11 Thread mike karthauser
the contents of the cart, convert the item_id to its item_code from products and then dump the results to an email.. Can anyone provide me with some help in where to start. thanks -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http

Re: [PHP-DB] Posting the results of a query to an email

2003-06-11 Thread mike karthauser
on 11/6/03 4:09 pm, mike karthauser at [EMAIL PROTECTED] wrote: I want to select item_code, qty from cart where cookie_id = $_COOKIE[cartId] //the above select needs work And then email these to the client which I would do using php's mail function. Partially answering my own question

Re: [PHP-DB] hiding db password

2003-06-12 Thread mike karthauser
below your site root with $user=USER1; $pass=USER1PASS; Then you should be able to do: Include/path/to/pass.inc.php; snip $conn = OCILogon($user,$pass); Which is more secure. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http

Re: [PHP-DB] hiding db password

2003-06-12 Thread mike karthauser
server. That is what I meant by more secure. Putting files below webroot prevents webusers from getting at them. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939

[PHP-DB] Selecting unique values from a db

2003-06-18 Thread mike karthauser
- 1 | pie.jpg | pie | 3 | pie2.jpg| pie2| _ Many thanks/ mikek -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel

Re: [PHP-DB] Selecting unique values from a db

2003-06-18 Thread mike karthauser
on 18/6/03 12:20 pm, John W. Holmes at [EMAIL PROTECTED] wrote: Not really a PHP question... This is a php db list though. SELECT DISTINCT title FROM ... Thanks for this. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http

RE: [PHP-DB] Renaming all pages to .php

2003-06-19 Thread Mike Brum
You can easily add the .php extension to any .htm(l) page that you have with no worries as long as you have PHP installed and configured properly. The only problem is that page load will be SLIGHTLY slower since PHP will search all .php pages for PHP code to evaluate. Upon finding none, it will

RE: [PHP-DB] Session error?

2003-06-23 Thread Mike Brum
Just put the full path of the dir. For instance I placed mine at C:\php\session to keep things separated. -M -Original Message- From: Tim Winters [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 12:31 PM To: 'CPT John W. Holmes'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Session

Re: [PHP-DB] ideas for Affiliate Program.....

2003-06-24 Thread mike karthauser
think that should save you some time ;-) -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939 252144 (mobile) SnailmailUnit 8, 14 King Square

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

2003-06-25 Thread mike karthauser
on 25/6/03 4:15 pm, Ron Allen at [EMAIL PROTECTED] wrote: Does anybody have an idea how-to use Flash and PHP to access a MySql database. I know how to use PHP and mysql with no problem to pull info, but with Flash I am struggling. Look on flashkit.com -- Mike Karthauser Managing Director

[PHP-DB] AAAAGGGGHHH!!! Help!!

2003-07-11 Thread Mike Mannakee
that part of the WHERE clause is not working. Does anybody see any problem in the sql that I'm not seeing?? This is driving me nuts. Mike -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] osCommerce - which merchant service/payment gateway?

2003-07-17 Thread mike karthauser
://www.protx.com/ provide a gateway for oscommerce. Its in the contributions section. Easy to install and the cheapest gateway we;ve seen. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653

[PHP-DB] Insert/Update help needed

2003-07-17 Thread Mike Baerwolf
in advance, Mike -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Renaming .htm pages to .php

2003-08-03 Thread Mike Brum
If you change you Apache configs, it wouldn't create a problem with .htm pages that don't use any PHP, but the pages will still be sent through the PHP parser. If you don't have a very high-traffic site and there's no other sites on the box, then you probably won't see any real performance hit -

Re: [PHP-DB] a bandwitch question

2003-08-05 Thread mike karthauser
frame? They are separate. Localhost knows nothing about the bottom frame as it is only loaded by the frameset when it is client side. It behaves the same way as if you had 2 browser windows open pulling in the two URLs. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL

[PHP-DB] Help needed with variable scoping? or mysql problem

2003-08-14 Thread Mike Klein
)) ...rest of method... } Any ideas on why this is? When I move the lines above (from $result=...to...echo 'numRows') down a few lines to just before the mysql_fetch_array, then everything works. Whazzup?!? mike klein -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP-DB] Multiple checkboxes

2003-08-14 Thread Mike Baerwolf
help! Mike -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Maximum execution time of 30 seconds exceeded

2003-08-14 Thread Mike Brum
Why is it important that you recycle old PINs? This is most likely eating up the most time in your script execution. My suggestion would be to either A) just keep creating a new one and ignore ones when a child leaves or B) create a 2nd, much smaller table available_pins and when a child

RE: [PHP-DB] Help needed with variable scoping? or mysql problem

2003-08-23 Thread Mike Klein
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 8:10 AM To: Mike Klein Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Help needed with variable scoping? or mysql problem best way to tell is to place .'or die(mysql_error())' after any call to mysql_query

[PHP-DB] Populating an array from mysql db

2003-08-28 Thread mike karthauser
to -00-00 and I wish to ignore these. I'm trying to work out how to set up a loop to extract positive dates from my db so I end up with $bookdate[0] = '2003-09-01'; $bookdate[1] = '2003-09-02'; etc Can anyone provide me with some help in this extraction? Thanks in advance. -- Mike Karthauser

Re: [PHP-DB] Populating an array from mysql db

2003-08-28 Thread mike karthauser
); ? Which does what I need. The tricky bit was the //loop cheers -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939 252144 (mobile) SnailmailUnit 8, 14 King Square

Re: [PHP-DB] Populating an array from mysql db

2003-08-28 Thread mike karthauser
. I'll make your change. Ta. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939 252144 (mobile) SnailmailUnit 8, 14 King Square, Bristol BS2

[PHP-DB] md5() and mysql

2003-08-29 Thread Mike Baerwolf
' AND password='DummyPassword'; I see that nobody will be able to view the password once it's in the database, but I'm thinking that the plain text password is sent to and from the server and someone might be able to snoop the plain text password. Is that right? Thanks for the help, Mike -- PHP

Re: [PHP-DB] $PHP_SELF does not work with all browsers

2003-09-15 Thread mike karthauser
on 15/9/03 1:46 pm, Alain Barthélemy at [EMAIL PROTECTED] wrote: http://localhost/~webpage/?chosenLettre=65 /// where is $PHP_SELF Try using $_SERVER['PHP_SELF'] -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http

[PHP-DB] Why varying functionality across php db apis for db metadata?

2003-09-16 Thread Mike Klein
certain system tables, no? mike klein -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Re: Why varying functionality across php db apis for db metadata?

2003-09-17 Thread Mike Klein
Jason Wong wrote: On Wednesday 17 September 2003 18:46, pete M wrote: Mike Klein wrote: For example, php mysql library supports list_dbs and list_tables commands as well as getting table metadata. MySQL sql also 'natively' supports these commands (show databases, show tables, describe

[PHP-DB] Free php-based mysql browser/query tool available for download...

2003-09-17 Thread Mike Klein
/shareware/databaseExplorers Personally I use phpMyAdmin or the mysql cmdline (like everybody else) for admin tasks, but I wanted a simple front-end for the rest of my website without all of phpMyAdmin's baggage (ui and otherwise). mike klein -- PHP Database Mailing List (http://www.php.net

[PHP-DB] JOIN across db's in MySQL

2003-09-18 Thread Mike Tallroth
the database structure this way? thanks, -- Mike Tallroth Engineering Supervisor Test DesignCenter Plexus Technology Group Neenah, WI mike.tallroth @plexus.com 920-751-5418 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] JOIN across db's in MySQL

2003-09-18 Thread Mike Tallroth
know what that is. thanks for the help, Mike Jeffrey N Dyke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i asked this same question once and somehwere in the archives is a post by John Holmes that shows an example of how mysql allows db joins. its from last month i believe

Re: [PHP-DB] UPDATE part of a column

2003-09-23 Thread mike karthauser
sure the data is 'clean' before entering into the table? Do something like this: $pagetext=ereg_replace( BR, ,$pagetext); To strip the BRs -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117

Re: [PHP-DB] faster imagecreatefromjpeg

2003-10-17 Thread mike karthauser
are going to take ages. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office) 07939 252144 (mobile) SnailmailUnit 8, 14 King Square, Bristol BS2 8JJ -- PHP

[PHP-DB] mysql field comparison to multiple variables

2003-10-24 Thread Mike Baerwolf
Hello, I trying to put together a sql statement that will pull records based on a date field. I can't figure out how to compare the date field to multiple php variables. Something like this, WHERE date_field != $date_1 OR $date_2 OR $date_3 etc. etc. Thanks for the help. Mike -- PHP

[PHP-DB] select inside a while loop

2003-11-27 Thread Mike Baerwolf
the first run through. Any help would be appreciated. Thanks, Mike -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PhpmyAdmin from external computers

2003-12-04 Thread mike karthauser
However, when i connect to that computer from my windows computer and go to the phpmyadmin url it wont let me do anything. Ive set all the priveleges to allow full access in every way, but it still wont let me access it What error do you get? -- Mike Karthauser Managing Director

Re: [PHP-DB] PhpmyAdmin from external computers

2003-12-04 Thread mike karthauser
with no password remotely is not good. Try making another user logged in locally with user and password, then try that from remote. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office

Re: [PHP-DB] PHP/DB speed

2003-12-22 Thread mike karthauser
://www.websiteoptimization.com/services/analyze/ This is by far the most useful dev tool I have found recently. Saves touching dial ups for testing.. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office

Re: [PHP-DB] INSERT into 2 different tables??

2003-12-23 Thread mike karthauser
Just wana ask is it possible to have only one form and when i submit, it should INSERT data into 2 diff tables?? Hope u get my idea... It is possible. You just need to do 2 single inserts to one to each table. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL

Re: [PHP-DB] Re: php mail() question

2003-12-23 Thread mike karthauser
textarea name='headers' cols='250' rows='5'PRE.HtmlSpecialChars($headers[$line])./PRE/textarea'; Which should display. -- Mike Karthauser Managing Director - Brightstorm Ltd Email[EMAIL PROTECTED] Web http://www.brightstorm.co.uk Tel 0117 9426653 (office

[PHP-DB] Re: Associated popup menu (php/mysql)

2004-02-05 Thread Mike S.
for this type of popups yet, but I have a project coming up soon that probably will. If I get a chance to code up a sample, I'll make it available. Good luck. :Mike S. :Austin TX On Thu February 5 2004 7:33pm, Micah Stevens wrote: Javascript is client side programming, PHP is server side and unable

[PHP-DB] Re: Form doesnt write to database

2004-02-07 Thread Mike S.
/mysql-error-codes.html or, if you prefer a flat, text file: http://web.netmask.com/2004/02/mysql-error-codes.txt Good luck! :Mike S. :Austin TX --- Sent: February 7, 2004, 6:48 pm -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Creating HTML objects from Oracle DB data @ runtime

2004-03-01 Thread mike calcagno
checkboxes and save them to the database. any help is appreciated. Thanks, Mike C. [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] undefined function from mysql_connect again

2004-03-01 Thread Mike Ni
Hey everyone, I am having a tough time with MySQL API/Linux and I heard othes had the same issue a few days ago. I keep getting error message undefined fnction while calling mysql_connect. Did anyone find out what was causing this? Thanks! MIke __ Do you

[PHP-DB] MySql PHP API

2004-03-01 Thread Mike Ni
Hey everyone, Does anyone outhere is running Apache/Linux/PHP/Mysql? I am having hard time with MYSQL PHP API. Apache/PHP simply would not recognize any cmysql function call such as mysql_connect. I have recompile the php with mysql extension and th problem continue tobe there. I run the

<    1   2   3   4   >