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
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
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
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;
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
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,
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
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
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!
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
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
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
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
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.
14 matches
Mail list logo