RE: [PHP-DB] SQL request on DBase file
Hi, Whats wonrg with the manual? http://ca3.php.net/manual/en/ref.oracle.php http://www.zend.com/products/zend_core/zend_core_for_oracle I looked at these links and I found nothing about .pdf files !!! I have no problem with Oracle, but only for requesting, in SQL, .dbf files... David. Bastien Hi, I have to rewrite an application from ASP. In this application, I receive DBase files which may be saved into Oracle. In ASP, I used a generic driver and I made SQL requests on these files. It is possible with PHP on Linux ? Do you have some examples ? Thank you very much. David. signature.asc Description: Ceci est une partie de message numériquement signée
RE: [PHP-DB] SQL request on DBase file
Guess I misunderstodd the post, thought you were asking about how to access oracle after importing the dbase files http://ca.php.net/manual/en/ref.dbase.php Not sure about your question on PDFs..can you clarify? Bastien From: David BERCOT [EMAIL PROTECTED] To: php-db@lists.php.net Subject: RE: [PHP-DB] SQL request on DBase file Date: Sat, 11 Feb 2006 14:31:50 +0100 Hi, Whats wonrg with the manual? http://ca3.php.net/manual/en/ref.oracle.php http://www.zend.com/products/zend_core/zend_core_for_oracle I looked at these links and I found nothing about .pdf files !!! I have no problem with Oracle, but only for requesting, in SQL, .dbf files... David. Bastien Hi, I have to rewrite an application from ASP. In this application, I receive DBase files which may be saved into Oracle. In ASP, I used a generic driver and I made SQL requests on these files. It is possible with PHP on Linux ? Do you have some examples ? Thank you very much. David. signature.asc -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] SQL request on DBase file
Guess I misunderstodd the post, thought you were asking about how to access oracle after importing the dbase files http://ca.php.net/manual/en/ref.dbase.php Not sure about your question on PDFs..can you clarify? Of course. No problemo ;-) I want to make SQL request on PDFs files like (syntax is fantaisist) : Conn = OpenDatabase(PDF Driver,/var/www/repDBF); SQLStmt = Select * From DBFFile1 where Name = 'DUBOIS'; RS = Conn.Execute(SQLStmt); These is what I do in ASP on Windows... David. Bastien From: David BERCOT [EMAIL PROTECTED] To: php-db@lists.php.net Subject: RE: [PHP-DB] SQL request on DBase file Date: Sat, 11 Feb 2006 14:31:50 +0100 Hi, Whats wonrg with the manual? http://ca3.php.net/manual/en/ref.oracle.php http://www.zend.com/products/zend_core/zend_core_for_oracle I looked at these links and I found nothing about .pdf files !!! I have no problem with Oracle, but only for requesting, in SQL, .dbf files... David. Bastien Hi, I have to rewrite an application from ASP. In this application, I receive DBase files which may be saved into Oracle. In ASP, I used a generic driver and I made SQL requests on these files. It is possible with PHP on Linux ? Do you have some examples ? Thank you very much. David. signature.asc signature.asc Description: Ceci est une partie de message numériquement signée
[PHP-DB] handling of checkboxvalues
Hi, I want to have a function that delete some customers. The customers will be selected by cklicking on in checkboxes. This is the line I codes the checkboxes: input type='checkbox' name='user_loeschen[] value=id id=.[User-ID]. How can I use the checkboxvariable within another script and handle the id-value? I little codescripplet will help me. Regards, Ruprecht -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Changing a column in a table
Hi all, I defined a field in a table to be float(10.2) but I decided it should be float(10.3). Can I change it without creating a new table? I can't seem to find anything in the online documentation about this. __ - Martian Rover KF6KNC -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] handling of checkboxvalues
Give the checkbox value the id of the record to be deleted...if its checked, then you can simply do an in string check in the sql input type='checkbox' name='user_loeschen value='.[User-ID].' $sql = delete from table where id in ({$_POST['user_loeschen']}; bastien From: Ruprecht Helms [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] handling of checkboxvalues Date: Sat, 11 Feb 2006 17:48:48 +0100 Hi, I want to have a function that delete some customers. The customers will be selected by cklicking on in checkboxes. This is the line I codes the checkboxes: input type='checkbox' name='user_loeschen[] value=id id=.[User-ID]. How can I use the checkboxvariable within another script and handle the id-value? I little codescripplet will help me. Regards, Ruprecht -- 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] Changing a column in a table
Use PhpMyAdmin to do this, very simple...otherwise look at the ALTER statement in the mysql manual bastien From: Roger Dickinson [EMAIL PROTECTED] Reply-To: Roger Dickinson [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] Changing a column in a table Date: Sat, 11 Feb 2006 09:21:51 -0800 Hi all, I defined a field in a table to be float(10.2) but I decided it should be float(10.3). Can I change it without creating a new table? I can't seem to find anything in the online documentation about this. __ - Martian Rover KF6KNC -- 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] handling of checkboxvalues
Well, you can do this... form.php ? if($_POST['submit'] == 'send form'){ for($i=0;count($_POST['user_loeschen'])$i;$i++){ --- put here your sql statement to delete user --- ej... delete from users where id = '{$_POST['user_loeschen'][$i]}' --- } } ? form name='my_form' method='post' action='form.php' ENCTYPE='multipart/form-data' input type='checkbox' name='user_loeschen[] value=?= $id ? id=?= $id? input type=submit name=submit value=send form /form On Sat, 2006-02-11 at 17:48 +0100, Ruprecht Helms wrote: Hi, I want to have a function that delete some customers. The customers will be selected by cklicking on in checkboxes. This is the line I codes the checkboxes: input type='checkbox' name='user_loeschen[] value=id id=.[User-ID]. How can I use the checkboxvariable within another script and handle the id-value? I little codescripplet will help me. Regards, Ruprecht -- - Luis Morales Consultor de Tecnologia Cel: +(58)416-4242091 - Empieza por hacer lo necesario, luego lo que es posible... y de pronto estarás haciendo lo imposible - -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: [PHP-DB] Help getting php up and running
Is the file you are trying to save parsed php? If it is parsed, I have no Idea what your problem is, but its probably not apache-php. otherwise, Its possible, you need to add handlers in your apache conf to instruct apache to run .php files as php something like AddType application/x-httpd-php .php Anyone have any input? I am googling till my fingers hurt and everything I find says it should be running. Whenever I try to open a test.php file all I get is the web browswer trying to save the file instead of serving up the php content. On Friday 10 February 2006 21:28, CasperLinux wrote: I run a Debian unstable system with apache 1.3 installed. I had PHP installed and running then tried to install Acid/Base for Snort. That installation did not work properly so I attempted to remove the components but then I lost php support. I removed all the PHP files and reattemtped to install. No joy. Anyone have any ideas of what may be an issue. I have the following installed ii libapache-mod-php44.4.2-1 server-side, HTML-embedded scripting languag rc libapache2-mod-php5 5.0.5-3 server-side, HTML-embedded scripting languag ii php4 4.4.2-1 server-side, HTML-embedded scripting languag ii php4-common 4.4.2-1 Common files for packages built from the php ii php4-mysql4.4.2-1 MySQL module for php4 And this is my modules.conf ClearModuleList AddModule mod_so.c AddModule mod_macro.c LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so LoadModule status_module /usr/lib/apache/1.3/mod_status.so LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so LoadModule access_module /usr/lib/apache/1.3/mod_access.so LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so LoadModule includes_module /usr/lib/apache/1.3/mod_include.so LoadModule includes_module /usr/lib/apache2/modules/libphp4.so For the life of me I can't figure out why following the instructions won't get this up and running this time. I think I'm missing a file somewhere. Don -- - Powered by Debian Linux - --- -- - Powered by Debian Linux - -- - Powered by Debian Linux - -- 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