[PHP-DB] Check for SNMP device down

2003-09-12 Thread Balaji H. Kasal
Hi, I am running SNMP queries using PHP through browser. I am successfully able to run SNMPGET, SNMPWALK etc when able to talk with particular device or host. But Whenever not able to talk (may be bec' device is down, link is down etc.) SNMP (from localhost) gives No responce from the

[PHP-DB] Check for SNMP device down

2003-09-12 Thread Balaji H. Kasal
Hi, I am running SNMP queries using PHP through browser. I am successfully able to run SNMPGET, SNMPWALK etc when able to talk with particular device or host. But Whenever not able to talk (may be bec' device is down, link is down etc.) SNMP (from localhost) gives No responce from the

[PHP-DB] Whios request record in database

2003-09-12 Thread IS
I want to record the whois requests people do, not the whois output, in a MySQL database. The following code I'm playing with, but it doesn't write anything to my table. What's wrong? ?php if(!$name) { print(form name=\\ action=\$PHP_SELF\ method=\post\ input type=\text\

RE: [PHP-DB] Whios request record in database

2003-09-12 Thread Jacob A. van Zanen
In order to insert data into database you'll need an insert statement I only see select * from $table Jack -Original Message- From: IS [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 1:32 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Whios request record in database I want

[PHP-DB] UPDATE Query

2003-09-12 Thread Shaun
Hi, I have (amogst others) three tables in my database named Bookings, User, and Representative. A User and a Representative are different types of user, however I now want to merge these tables into one - User. When a Booking is made, the User_ID and the Rep_ID are stored in the Booking table. I

Re: [PHP-DB] Re: PHP connection to remote Access database on NT

2003-09-12 Thread Robert Twitty
You cannot use FreeTDS to connect to an Access database. You also cannot use odbc on Linux either. The only way to connect to an Access database from Linux is with something like EasySoft's ODBC-ODBC bridge or ODBTP. -- bob On Thu, 11 Sep 2003, nabil wrote: Yes , and I done myself to mssql

[PHP-DB] tutorial

2003-09-12 Thread NOVIANTO DWIATMOJO
Hi everyone i'm a newbie in php, mysql and linux but i want to learn about it can you guys help me or give me referal to any tutorial links. thank you for your kindness. thanks :P sorry for my english :- [ _ STOP MORE SPAM with

Re: [PHP-DB] Re: PHP connection to remote Access database on NT

2003-09-12 Thread Mark
--- Robert Twitty [EMAIL PROTECTED] wrote: You cannot use FreeTDS to connect to an Access database. You also cannot use odbc on Linux either. The only way to connect to an Access database from Linux is with something like EasySoft's ODBC-ODBC bridge or ODBTP. or iodbc

Re: [PHP-DB] Whios request record in database

2003-09-12 Thread jeffrey_n_Dyke
couple possible problems. 1. register globals being off and you're using variables like $name instead of $_POST['name']. 2. you're not asking that anything be written to the database, only selecting $insert=select * from $table; $db_query=mysql_db_query($db_name,$insert); 3.

Re: [PHP-DB] best upload method

2003-09-12 Thread David Smith
which is the best upload file method ? file uploads or FTP commands from PHP Now that's the most open ended question I've read all day. Here, flip a coin. If it falls heads, FTP. If it falls tails, the other one. Even still, I'm not sure I understand the question: File uploads or FTP command

[PHP-DB] Connect to Oracle DB

2003-09-12 Thread Frederico Madeia
Dear friends, How i connect one server running PHP(linux) to other server running Oracle(linux) ?? when i tryed to connect with ora_logon, the server return me: Call to undefined function: ora_logon(). In php.net describe some functions to connect to oracle,. but how i make to do work ??? I must

Re: [PHP-DB] Connect to Oracle DB

2003-09-12 Thread Martin Marques
El Vie 12 Sep 2003 15:52, Frederico Madeia escribi: Dear friends, How i connect one server running PHP(linux) to other server running Oracle(linux) ?? when i tryed to connect with ora_logon, the server return me: Call to undefined function: ora_logon(). In php.net describe some functions

Re: [PHP-DB] Connect to Oracle DB

2003-09-12 Thread Frederico Madeia
Martin, In some doc that i've read when i compile the php i must put yhe $ORACEL_HOME path, so if oracle isn't instaled on same machine ??? -- Frederico Madeira Coordenador de Suporte N. Landim Comrcio Ltda PABX: 81. 3497.3029 e-mail: [EMAIL PROTECTED] Em Sex, 2003-09-12 s 13:15, Martin

Re: [PHP-DB] best upload method

2003-09-12 Thread open-mind
Sorry but I didn't know which is the name of the first method I will rephrase which is the best method to upload a file to server ?? this: // $result = move_uploaded_file($HTTP_POST_FILES['img_6'][tmp_name],dir/filename.jpg) ; $result = $result ? OK:NOT OK; print $result; or ... this: