[PHP-DB] is there a php connectivity for db2?
Hi, I started with a demo version of a module. Wrote the application with php & mysql. The original data is in mainframe & the database is db2. Can I talk to db2 using php? Regards, Jagan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Anti-virus alarm! Sulfbnk var inget virus.
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. "Craig Vincent" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > 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, this file "sulfnbk.exe" only > > restores long filenames. > > Here's a link to a page that explains how you can restore the file. > > http://netsquirrel.com/msconfig/sulf.html > > Buahahahaboy do I smell a troll. Innovative way to spam a list with an > advertisement I must say. Better be careful though, piss the wrong person > off with a scam like this and you could have a lawsuit on your hands. > > Sincerely, > > Craig Vincent > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Re: DROP tables with prefix match
"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 table names, then iterate through with DROP TABLE tablename The result will look something like If you are going to use this repeatedly, I would make this a two-stage endeavor: the first step queries the database and returns a check-box form with all the returned table-names; when submitted, the checked tables are dropped. Hope this helps -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] move next
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 0 $max_display = 1; // show one record at a time // first do a select of all records to get mysql_numrecs and assign to $num_recs // then get the current record $sql = "select * from $table LIMIT $first_rec,$max_display"; ... $next = $first_rec+1; $prev_rec=$first_rec-1; $this_rec = $next; // same record number as current, except 1-based echo "Previous Showing $this_rec of $num_recsNext"; HTH On Thursday, May 16, 2002, at 08:32 AM, Natividad Castro wrote: > 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 (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Terry Romine Web Developer JumpInteractive.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Anti-virus alarm! Sulfbnk var inget virus.
maybe one real one out of hundreds of hoaxes. I always check Symantec's site for bogus and real alerts. On Thursday, May 16, 2002, at 06:17 AM, Olav Bringedal wrote: > --- Craig Vincent <[EMAIL PROTECTED]> wrote: > > >>> >>> Sorry for the last email, it seems, this file >> "sulfnbk.exe" only >>> restores long filenames. >>> Here's a link to a page that explains how you can >> restore the file. >>> http://netsquirrel.com/msconfig/sulf.html >> >> Buahahahaboy do I smell a troll. Innovative way >> to spam a list with an >> advertisement I must say. Better be careful though, >> piss the wrong person >> off with a scam like this and you could have a >> lawsuit on your hands. >> >> Sincerely, >> >> Craig Vincent >> > > Actually the message itself can be concidered a virus. > Has anyone recevied any message that actually describe > a REAL virus? > > http://www.theregus.com/content/archive/19310.html > > > > = > Olav Bringedal > jaggu.org > > __ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > > -- > 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
[PHP-DB] storing big files
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 each of them. Do you know some scripts / algos I can use ? Thks Luc -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] move next
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 (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] get no extensions under php 4.2.1,IIS-5,W2k -> as CGI configured...
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! No entry in the eventlogs! knows anyone this problem? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Anti-virus alarm! Sulfbnk var inget virus.
--- Craig Vincent <[EMAIL PROTECTED]> wrote: > > > > > > Sorry for the last email, it seems, this file > "sulfnbk.exe" only > > restores long filenames. > > Here's a link to a page that explains how you can > restore the file. > > http://netsquirrel.com/msconfig/sulf.html > > Buahahahaboy do I smell a troll. Innovative way > to spam a list with an > advertisement I must say. Better be careful though, > piss the wrong person > off with a scam like this and you could have a > lawsuit on your hands. > > Sincerely, > > Craig Vincent > Actually the message itself can be concidered a virus. Has anyone recevied any message that actually describe a REAL virus? http://www.theregus.com/content/archive/19310.html = Olav Bringedal jaggu.org __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Anti-virus alarm! Sulfbnk var inget virus.
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 11:51 To: Trond Erling Hundal Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DB] Anti-virus alarm! Sulfbnk var inget virus. > 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, this file "sulfnbk.exe" only > restores long filenames. > Here's a link to a page that explains how you can restore the file. > http://netsquirrel.com/msconfig/sulf.html Buahahahaboy do I smell a troll. Innovative way to spam a list with an advertisement I must say. Better be careful though, piss the wrong person off with a scam like this and you could have a lawsuit on your hands. Sincerely, Craig Vincent -- 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] Anti-virus alarm! Sulfbnk var inget virus.
> 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, this file "sulfnbk.exe" only > restores long filenames. > Here's a link to a page that explains how you can restore the file. > http://netsquirrel.com/msconfig/sulf.html Buahahahaboy do I smell a troll. Innovative way to spam a list with an advertisement I must say. Better be careful though, piss the wrong person off with a scam like this and you could have a lawsuit on your hands. Sincerely, Craig Vincent -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Anti-virus alarm! Sulfbnk var inget virus.
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, this file "sulfnbk.exe" only restores long filenames. Here's a link to a page that explains how you can restore the file. http://netsquirrel.com/msconfig/sulf.html Med vennlig hilsen Trond Erling Hundal Daglig leder Epost: [EMAIL PROTECTED] Internett: www.innovationmanagement.no Telefon: 73 54 03 80 Mobil: 918 41 117 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] THIS IS A HOAX !!! WARNING !!Re: [PHP-DB] Virus alarm!
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 infisert av samme virus, og siden >du står I adresseboken min kan du også være infisert. > >For å sjekke om du har fått viruset, gjør dette: >1. Klikk på start -> søk >3. Merk av for at du vil søke på hele harddisken. >2. Skriv: "sulfnbk.exe", og trykk på søk. >4. Dersom du finner programmet, IKKE START DET. Slett det, og deretter >slett det fra papirkurven. >5. Send advarsel videre til alle I adresseboken din. > > >ENGLISH: > >I recently discovered a virus on my computer that none of my antivirus >programs could detect. >It spreads through the adressbook, and since you are in my addressbook, >I am warning you. >The virus deletes everything on your harddisk after 14 days! > >Here's how you can detect it, and delete it: > >1. Go to start -> search. >2. Look in all the harddrives on your computer (C:, D:, E: etc) >3. search for a file named: "sulfnbk.exe" >4. If you find it delete it, then delete it from your recycle bin. >5. Warn everyone who is in your adressbook! > > > > >Med vennlig hilsen >Trond Erling Hundal >Daglig leder >Epost: [EMAIL PROTECTED] >Internett: www.innovationmanagement.no >Telefon: 73 54 03 80 >Mobil: 918 41 117 > > >-- >PHP Database Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- - "Minds are like parachutes, they work best when open" Support free speech; visit http://www.efa.org.au/ Heads Together Systems Pty Ltd http://www.hts.com.au Email: [EMAIL PROTECTED] Tel: 612 9982 6767 Fax: 612 9981 3081 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Virus alarm!
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; 'Andy'; Arik Ashepa; Arild Andersen; B I K K E L; Bengt; Bengt Hundal; Bengt Hundal; Bengt@Innovationmanagement. No; Bent Erik; Berlina; Bind mailinglisten; Bjorn Algroy/HSD_NO/NO; BJØRN GRØNHAUG; Bogdan Stancescu; Bogen Skole; Borland Community; Brad Knowles; Børge; Cami; CityProsjekt - Trond Johansen; Cody DeHaan; Consumer_Support; Costas Halvajoglou; Craig Vincent; Dag. Sorlie@Kystdir. Dep. No; Daniel Berwig; DanielW; Dave Watkinson; DevShed. com Announcement ListList Confirmation from ListManagerSQL; Dobromir Velev; Dontoni@Dontoni. Net; E. James Nagle; Eep@Unifeeder. Com; Eivind Hellandsjø Hjemme; Eivind Hjem; Eivind Olsen; Eivind Stoveland; Eivind@Havneavisen. Net; Emma@Internet21. Co. Uk; Erik Nordmark; Erlend Hansen Juvik; Espen Andve; Espen Johs. Christophersen; Evvind Stoveland; Fabian Vreede; Finn Humborstad; Fluorine@Spray. No; Frank; Frank Lorvik; Frode Island Bergan; George Lioumis; George Pitcher; Germanguys@Yahoo. Com; Goachim@Marmelade. Net; [EMAIL PROTECTED]; Gustav Foseid; Gustav Foseid; Gustav Foseid; Guttorm Fjortoft; Hallgrim Bjørvik; Halvorsen Helge Svein; Harald Arntsen; Harald Normann; Harry Hundal; Harry Kjønsø; Havneavisen Knut Totland; Hayan@Ureach. Com; Henry Chan; Herr K; Hilde@Havneavisen. Net; Hjellum Eivind; Holmen Linda; Hostmaster Netthus /v Roger Birkeland; Hugh Kimber; Ian Stoffberg; "Im Kontoret \(Business Fax\)"; InCreo Interactive Creations AS; Info@Norid. No; Ingunn Stray; Innovation Management as; Innset Jørn; Intranet AS; ISP-Bandwidth; ISP-BANDWIDTH Discussion List Confirmation from internet.com; ISP-BROADBAND Discussion List Confirmation from internet.com; ISP-CABLE Discussion List Confirmation from internet.com; ISP-DNS Discussion List Confirmation from internet.com; [EMAIL PROTECTED]; ISP-DOMAINS Discussion List Confirmation from internet.com; ISP-DSL Discussion List Confirmation from internet.com; ISP-EMAILSERVERS Discussion List Confirmation from internet.com; [EMAIL PROTECTED]; Isp-Marketing@Isp-Marketing. Com; ISP-WEBHOSTING Discussion List Confirmation from internet.com; [EMAIL PROTECTED]; Ivar Torseth; Ivo; Jacob E. Reinertsen; James A Griffin; Jan Fredrik; Jan Fredrik; Jan Fredrik Stoveland; Jan Rune Løvlie; Jennifer Arcino Demeterio; Jim Reid; John Kopparhed; Jonas Lie; Jonathan Hilgeman; Jorg. Bakken@If. No; Joseph S D Yao; Jørgen Dahl; Jørgen Dahl; Jørgen Dahl I; K; Karl Birger Sælør; Kjell Olav Skjølsvik; Kjetil. Tranberg@Pbm. Geveke. Com; Klaus; Knut; Knut; Knut Totland; Kontaktoss@Nextra. No; Leif Øverland; Len Conrad; Lennart Hovland; [EMAIL PROTECTED]; Loving each day like the last...si funciona y funciona muy bien :):D(y):O;); Løkken Terje; Mad Nas; Mai-Bente; Marek Rzewuski; Mariann Gressum; Marianne Brurok; 'Mark Weber'; [EMAIL PROTECTED]; Matthew Tedder; May; May; Memorex kis; Mette - Havneavisen; Midtnorsk@Transportarbeider. No; Mæland Torbjørn; Nautilis; Norway Nordic Customer Service; Nyhetsbrev@Havneavisen. Net; Odd Inge Uleberg; Odd Joar Svensson; Oddbjørn Aunhaug; Ole A. Pettersen; OLE MARTIN JR GRINDE; Ole. Seavild@Sea-Cargo. No; Otto. Lyse@bennett. No; Patrice@Ozeo. Com; Paul Gardiner; PAUL OLAV PEDERSEN; Per Arne; Per Kåre Kjønsvik; Peter Helset; Mysql Mailinglist; Phped@Soysal. Com; Pierrot; Plan Doing All That He Can; Psy@Trance. Net; "Psy@Trance. Net \(Business Fax\)"; "Psy@Trance. Net \(Home Fax\)"; Psy-Request@Trance. Net; Paal Ellefsen; R. J. Michell@Apu. Ac. Uk; Randi Carlsen; Randi Thørring; Rec10; Reeltime@Reeltime; Registry|WinEasy; Regsupport@Activeisp. No; Rick Emery; Rita Floer; robert; Roger Birkeland; Roger Tvedten; Rolf E. Hundal; Rolf E. Hundal; Rolf Inge Valde; Root; Root; Root@Havneavisen. No; Roy Arends; RSalomo; Rune Korneliussen; Safi; Safi; Safi; Safi85; Salg@Easyisp. Org; Salg@Innovationmanagement. No; Salg@Komplett. No; Schjerva Roger; Sendmail-Questions@Sendmail. Org; Shawna; Simon. Pospisil@Fastsearch. Com; Skiltmannen; Soeholt Per; Spring Calvin fellow Hawke; [EMAIL PROTECTED]; Stav Johanssen Trykkeri AS; Steven Chagnot; Stian; Stian Pedersen; Stiftelsen Fullriggeren Sørlandet; Stig Bolme; Stig Ottar; Stoveland Consult; [EMAIL PROTECTED]; Support@Activeisp. No; Support@Komplett. No; Support@Secondary. Com; Support@Wineasy. Se; Svein Waade; Sverrir Ragnarsson; Teknostallen; Telecom. No Nyhetsbrev; Tellef Øgrim; Terje Endresen; Thomas "Omega" Henning; Thorleif Vikre; Tom Børresen; Tomas; Tomas Bjerved; Tone. Moe@Norcargo. No; Torild Hundal; Torild Hundal; torrentUK; Torrunes@Datakompaniet. No; Tove Irén Becker; Tron; Trond E. Hundal; Trond Erling Hundal; Trond Erling Hundal; Trond Erling Hundal; Trond Erling Hundal; Trond Erling Hundal; Trond@Havneavisen. No; Trond@Lunden. As; Ulf Øines; Unnamed; Webmaster@Fsvf. No; [
[PHP-DB] Virus alarm!
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 infisert av samme virus, og siden du står I adresseboken min kan du også være infisert. For å sjekke om du har fått viruset, gjør dette: 1. Klikk på start -> søk 3. Merk av for at du vil søke på hele harddisken. 2. Skriv: "sulfnbk.exe", og trykk på søk. 4. Dersom du finner programmet, IKKE START DET. Slett det, og deretter slett det fra papirkurven. 5. Send advarsel videre til alle I adresseboken din. ENGLISH: I recently discovered a virus on my computer that none of my antivirus programs could detect. It spreads through the adressbook, and since you are in my addressbook, I am warning you. The virus deletes everything on your harddisk after 14 days! Here's how you can detect it, and delete it: 1. Go to start -> search. 2. Look in all the harddrives on your computer (C:, D:, E: etc) 3. search for a file named: "sulfnbk.exe" 4. If you find it delete it, then delete it from your recycle bin. 5. Warn everyone who is in your adressbook! Med vennlig hilsen Trond Erling Hundal Daglig leder Epost: [EMAIL PROTECTED] Internett: www.innovationmanagement.no Telefon: 73 54 03 80 Mobil: 918 41 117 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] db succesfull connection checking
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 connection redirect to an error page (with the header () function). Is there any way to know if connection was succesfull? I've been tryng to check what ibase_connect returns and its allways an Object, doc is really poor abt that function and also the doc claims that ibase_connect() returns an Integer but that is not true... it returns an object ( echo ibase_connect(...) gives me Object). Thx 4 any help - Benjamí Tauler [EMAIL PROTECTED] "Everyone should carefully observe which way his heart draws him, and then choose that way with all his strength." - Hasidic Saying -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] how to connect to a access db from a unix httpserver with php
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 Successfull Connection Checking
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 header() to redirect to a error page(database down) in case of connection to database fails. Using :Apache 2, PHP4, Interbase, W2000 Server. Thx 4 any help. - Benjamí Tauler [EMAIL PROTECTED] http://www.webpersonal.net/btauler "Everyone should carefully observe which way his heart draws him, and then choose that way with all his strength." - Hasidic Saying -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php