[PHP-DB] DB Successfull Connection Checking

2002-05-16 Thread Benj
How could I check if the connection to a database was succesfull or not? $db=ibase_connect (...); allways return an object, and I dont know how to see if the connection was succesfully established or not (from code, of course I can see it on the browser with warning message...) I want to use

[PHP-DB] how to connect to a access db from a unix httpserver with php

2002-05-16 Thread Mikael Syska
how do I connect to a access db from a unix apache server with php //Mikael -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] db succesfull connection checking

2002-05-16 Thread Benj
I want to check if the connection to database is successfull, (Apache, PHP4, Interbase, W2000Server) when I call: ibase_connect() in case of error it displays a warning message on resulting page. But what I want to do, is to check if connection is successfull and in case of not successfull

RE: [PHP-DB] Virus alarm!

2002-05-16 Thread matt stewart
DON'T!! this file is on everyones machine, and is not a virus!! -Original Message- From: Trond Erling Hundal [mailto:[EMAIL PROTECTED]] Sent: 16 May 2002 10:26 To: ,; -=* Alf Marius *=-; Abonnement; Alf Halsen; Alf Lange De; Amajonaz . . .; Andreas Nordenstam; Andrey Hristov;

[PHP-DB] THIS IS A HOAX !!! WARNING !!Re: [PHP-DB] Virus alarm!

2002-05-16 Thread Steve Farmer
Folks, check anti virus sites this is a hoax and will destroy your windows system !! regards Steve At 11:25 AM +0200 16/5/02, Trond Erling Hundal wrote: Jeg fikk en mail fra en I adresseboken min om et nytt virus, som hadde slettet hele harddisken hans! Jeg fant da også ut at jeg hadde blitt

[PHP-DB] Anti-virus alarm! Sulfbnk var inget virus.

2002-05-16 Thread Trond Erling Hundal
Beklager forrige epost, det viser seg at jeg og en god del andre har blitt lurt. Her er en webside som forklarer hvordan du reparerer feilen: http://netsquirrel.com/msconfig/sulf.html Filen sulfnbk.exe er en fil som gjenoppretter lange filnavn. English: Sorry for the last email, it seems,

RE: [PHP-DB] Anti-virus alarm! Sulfbnk var inget virus.

2002-05-16 Thread Craig Vincent
Beklager forrige epost, det viser seg at jeg og en god del andre har blitt lurt. Her er en webside som forklarer hvordan du reparerer feilen: http://netsquirrel.com/msconfig/sulf.html Filen sulfnbk.exe er en fil som gjenoppretter lange filnavn. English: Sorry for the last email, it

RE: [PHP-DB] Anti-virus alarm! Sulfbnk var inget virus.

2002-05-16 Thread matt stewart
bit cynical maybe craig??? i think he actually made an honest mistake and is trying to rectify the situation... don't think there's any harm done, just a couple more emails to delete from the inbox! -Original Message- From: Craig Vincent [mailto:[EMAIL PROTECTED]] Sent: 16 May 2002

[PHP-DB] get no extensions under php 4.2.1,IIS-5,W2k - as CGI configured...

2002-05-16 Thread Hermann Otteneder
hi, I had troubles with php 4.2.1 under IIS-5 on W2K as a SAPI module. Now I configured this as a cgi version. And now no function (mssql_*) - call shows effect! (path is correctly set and php_mssql.dll is uncommented in the php.ini). the scripts ends simple on the first mssql_* function-call!

[PHP-DB] move next

2002-05-16 Thread Natividad Castro
Hi to all, how do I move through a recordset? For example, if I have 4 records and I want to display one at a time and let the user to click a MoveNext button to go to the next record or a Previous button to go to the Previous record. Thanks in advanced Nato -- PHP Database Mailing List

[PHP-DB] storing big files

2002-05-16 Thread Luc Barthélémy
I have to deal with big files uploaded by customers. I plan to store them on filesystem rather than in DB, and just store urls in database. To have an accurate upload system (and not all files in the same folder !!), I was thinking about storing these files in a tree, generating an hashcode for

Re: [PHP-DB] move next

2002-05-16 Thread Terry Romine
Look at setting up a couple of vars (I use $start_rec and $max_display) and then use these to do a LIMIT on your SELECT statement. Then use a link to go to next item or previous item. Pseudo code: $first_rec = ($first_rec) ? $first_rec : 0; // if rec is passed in, use it else start at

[PHP-DB] Re: DROP tables with prefix match

2002-05-16 Thread Hugh Bothwell
John Hughes [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I need to rebuild a PHP-mySQL site that has an extensive table structure. Is there a way to DROP all tables that start with a certain prefix? First, use SHOW TABLES FROM db LIKE prefix% to get the

Re: [PHP-DB] Anti-virus alarm! Sulfbnk var inget virus.

2002-05-16 Thread Benjamin Walling
It's been a long time since I heard this one. Damn marketing guy at work forwarded a similar email to the entire company, telling them to delete the file sulfnbk.exe one day when I was out. Thing was supposedly 'dormant until June 1st, 2001' and then the whole company was going to get screwed.