[PHP] Oracle 8i - PEAR - Problem
Hello, I have been trouble about to connect Oracle 8i through PEAR db class, I think it is the connection argument, any suggestion could help me, thanks in advanced, here you are the code: Test DB Class - PEAR IdName getMessage()); } //issue the query $sql ="SELECT * FROM test ORDER BY id ASC"; $q =$db->query($sql); if (DB::iserror($q)) { die($q->getMessage()); } //generate table while ($q->fetchInto($row)) { ?>
[PHP] SQL Server through PEAR - problem
Hello mailing list, I try to connect SQL server from ODBC through PEAR, but it doesn't work, this is the code: Test DB Class - PEAR Estado getMessage()); } //issue the query $sql ="SELECT * from tablaEstado"; $q =$db->query($sql); if (DB::iserror($q)) { die($q->getMessage()); } //generate table while ($q->fetchInto($row)) { ?> this is the output DB Error: connect failed If any could give me hand, I will aprecciate, thanks, bye.
[PHP] SQL Server through PEAR - problem
Hello mailing list, I try to connect SQL server through PEAR directly, but it doesn't work too, this is the code: Test DB Class - PEAR Estado getMessage()); } //issue the query $sql ="SELECT * from tablaEstado"; $q =$db->query($sql); if (DB::iserror($q)) { die($q->getMessage()); } //generate table while ($q->fetchInto($row)) { ?> this is the output DB Error: extension not found If any could give me hand, I will aprecciate, thanks, bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] OPTIONS field header handle problem
How could I send response message with the header OPTIONS in PHP instead of send it with Apache configuration? Thanks in advanced.
[PHP] XML / XLS application
Hello mailing list, I have a question about the use of XML / XLS application, I am introducing myself in this technology, What is useful XML / XLS for? , I need a basic example, basic application of it, because I don't find the use of it. I know that XML is used to interchange data between every system in standard way (Why XML is standard?, because I understand that depend of the client browser they have a particular XML parser to retrieve information of the XML document, if would have only one standard XML parser, could be), and with XLS you transform the XML document to HTML format, postscript format, and so on, but in order to transform the XML document you need to know the syntax of the XSL and I think that its another language that you need to know. Another doubt is if XML document replace DB, because I read a book that has a methodology to transform DB table into a XML document, and use a XML parser to retrieve the data, I read another example that the script use a SQL statement like XML SQL Select, you execute it, then the DBMS server give you the XML document, then XSL or XLST convert the XML document, and finally you obtain the HTML in the client browser, well, Thanks for any help, bye :). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Oracle - Win32
Hello mailing list, I want to use Oracle function in PHP parser in Win32 OS, but I don't know how to install it, in the official documentation tell this: Installation You have to compile PHP with the option --with-oracle[=DIR], where DIR defaults to your environmment variable ORACLE_HOME. I think that this steps is by Linux user, any help, I will appreciate, thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Oracle - Win32
> Hello mailing list, I want to use Oracle function in PHP parser in Win32 OS, > but I don't know how to install it, in the official documentation tell this: > > Installation > You have to compile PHP with the option --with-oracle[=DIR], where DIR > defaults to your environmment variable ORACLE_HOME. > > > > I think that this steps is by Linux user, any help, I will appreciate, > thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] XML / XLS application
> Hello mailing list, I have a question about the use of XML / XLS > application, I am introducing myself in this technology, What is useful XML > / XLS for? , I need a basic example, basic application of it, because I > don't find the use of it. I know that XML is used to interchange data > between every system in standard way (Why XML is standard?, because I > understand that depend of the client browser they have a particular XML > parser to retrieve information of the XML document, if would have only one > standard XML parser, could be), and with XLS you transform the XML document > to HTML format, postscript format, and so on, but in order to transform the > XML document you need to know the syntax of the XSL and I think that its > another language that you need to know. Another doubt is if XML document > replace DB, because I read a book that has a methodology to transform DB > table into a XML document, and use a XML parser to retrieve the data, I read > another example that the script use a SQL statement like XML SQL Select, you > execute it, then the DBMS server give you the XML document, then XSL or XLST > convert the XML document, and finally you obtain the HTML in the client > browser, well, Thanks for any help, bye :). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Oracle - Win32
> > Hello mailing list, I want to use Oracle function in PHP parser in Win32 > OS, > > but I don't know how to install it, in the official documentation tell > this: > > > > Installation > > You have to compile PHP with the option --with-oracle[=DIR], where DIR > > defaults to your environmment variable ORACLE_HOME. > > > > > > > > I think that this steps is by Linux user, any help, I will appreciate, > > thanks. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] recursive acronym - PHP
Why PHP is a recursive acronym?, I know that before was called Personal Home Page, I now is Hypertext PreProcessor, but why is recursive?, I person told me that it could be wroten as Pre Hypertxt Processor, thanks.
[PHP] recursive acronym - PHP
> Why PHP is a recursive acronym?, I know that before was called Personal Home > Page, I now is Hypertext PreProcessor, but why is recursive?, I person told > me that it could be wroten as Pre Hypertxt Processor, thanks. > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mail function error - win32
I try to send from my pc a mail with the function mail(), but if doesn't work, I have tried several time, but nothing, I don't know what could be, because the same script work well in a remote host. in my php.ini, I put: [mail function] ; For Win32 only. SMTP = mail.serbis.com I also put [mail function] ; For Win32 only. SMTP = mail.webdevfm.com I also put (the local mail server that I have): [mail function] ; For Win32 only. SMTP = ojpp.myftp.org the errors are the follow: ** First error - When the mailserver (ojpp.myftp.org - localhost) is deactivated Warning: mail(): Failed to connect to mailserver at "ojpp.myftp.org" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in d:\htdocs\ojpp\ojppresume\contact.php on line 118 Warning: mail(): Failed to connect to mailserver at "ojpp.myftp.org" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in d:\htdocs\ojpp\ojppresume\contact.php on line 138 ** Code in line 118 $validar = mail('', $materia, $cuerpo, "To: $para\n" . "From: test <$email>\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"); ** Code in line 138 $validar = mail('', $materia, $cuerpo, "To: $para\n" . "From: Webdevfm <$email>\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"); ** Second error - When the mailserver (mail.webdevfm.com) is actived Warning: mail(): SMTP server response: 503 valid RCPT command must precede DATA in d:\htdocs\ojpp\ojppresume\contact.php on line 118 ** Third error - When the mailserver (mail.serbis.com) is actived Warning: mail(): SMTP server response: 503 must have sender and recipient first in d:\htdocs\ojpp\ojppresume\contact.php on line 118 Error enviando correo electrónico a [EMAIL PROTECTED] ** fourth error - When the mailserver (ojpp.myftp.org - localhost) is actived Warning: mail(): SMTP server response: 503 Bad sequence of commands in d:\htdocs\ojpp\ojppresume\contact.php on line 118 --- thanks, for the help.
[PHP] mail function error - win32
I try to send from my pc a mail with the function mail(), but if doesn't work, I have tried several time, but nothing, I don't know what could be, because the same script work well in a remote host. in my php.ini, I put: [mail function] ; For Win32 only. SMTP = mail.serbis.com I also put [mail function] ; For Win32 only. SMTP = mail.webdevfm.com I also put (the local mail server that I have): [mail function] ; For Win32 only. SMTP = ojpp.myftp.org the errors are the follow: ** First error - When the mailserver (ojpp.myftp.org - localhost) is deactivated Warning: mail(): Failed to connect to mailserver at "ojpp.myftp.org" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in d:\htdocs\ojpp\ojppresume\contact.php on line 118 Warning: mail(): Failed to connect to mailserver at "ojpp.myftp.org" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in d:\htdocs\ojpp\ojppresume\contact.php on line 138 ** Code in line 118 $validar = mail('', $materia, $cuerpo, "To: $para\n" . "From: test <$email>\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"); ** Code in line 138 $validar = mail('', $materia, $cuerpo, "To: $para\n" . "From: Webdevfm <$email>\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"); ** Second error - When the mailserver (mail.webdevfm.com) is actived Warning: mail(): SMTP server response: 503 valid RCPT command must precede DATA in d:\htdocs\ojpp\ojppresume\contact.php on line 118 ** Third error - When the mailserver (mail.serbis.com) is actived Warning: mail(): SMTP server response: 503 must have sender and recipient first in d:\htdocs\ojpp\ojppresume\contact.php on line 118 Error enviando correo electrónico a [EMAIL PROTECTED] ** fourth error - When the mailserver (ojpp.myftp.org - localhost) is actived Warning: mail(): SMTP server response: 503 Bad sequence of commands in d:\htdocs\ojpp\ojppresume\contact.php on line 118 --- thanks, for the help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mail() another example - error
I use this script: I got this error: Warning: mail(): SMTP server response: 550 not local host ojpp.myftp.org, not a gateway in D:\htdocs\ojpp\functions\mail\2.php on line 19 thanks, for any help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mail() another example - error
I use this script: I got this error: Warning: mail(): SMTP server response: 550 not local host ojpp.myftp.org, not a gateway in D:\htdocs\ojpp\functions\mail\2.php on line 19
[PHP] mail() another example - error
I use this script: I got this error: Warning: mail(): SMTP server response: 550 not local host ojpp.myftp.org, not a gateway in D:\htdocs\ojpp\functions\mail\2.php on line 19 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Apache1.3.28 vs PHP4.3.3
hello, I tried to configure php as module SAPI of the apache web server, I put this line: LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php When I tested the configuration, I got this error: Cannot remove module mod_php4.c: not found module list Thanks for any help, I will really aprecciate your support, bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Apache1.3.28 vs PHP4.3.3
hello, I tried to configure php as module SAPI of the apache web server, I put this line: LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php When I tested the configuration, I got this error: Cannot remove module mod_php4.c: not found module list I removed the "AddModule mod_php4.c" directive, restart the server, but remain the same problem Thanks for any help, I will really aprecciate your support, bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Apache1.3.28 vs PHP4.3.3
Apache 1.3.28 / PHP 4.3.3 hello, I tried to configure php as module SAPI of the apache web server, I put this line: LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php When I tested the configuration, I got this error: Cannot remove module mod_php4.c: not found module list I removed the "AddModule mod_php4.c" directive, restart the server, but remain the same problem Thanks for any help, I will really aprecciate your support, bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] session timeout
> How do I set the session timeout - eg someone leaves a broweser for say > half an hour then have to log in again.. > > As I'm on an intranet I want to increase ro 3 hours > > Pete > Pete, Change the default configuration of the option session.cookie_lifetime in the php.ini by default: ; Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 0 your change: ; Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 10800 // 10800 seconds = 3 hours I hope this help you, bye :).
[PHP] Problem with Apache 1.3.28 / PHP 4.3.3
I had problem in the configuration of Apache 1.3.28 and PHP 4.3.3 as SAPI module, they are run well as CGI module, I put this lines for it: ScriptAlias /php/ "D:/PHP4.3.3/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" as SAPI module, I put this lines: LoadModule php4_module D:\PHP4.3.3\sapi\php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php A friend told me that remove the line "AddModule mod_php4.c", I got this error: d:/program files/apache1.3.28/apache/conf/httpd.conf: Syntax OK Cannot remove module mod_php4.c: not found in module list If I leave the line "AddModule mod_php4.c", I get this error: Module mod_php4.c is already added, skipping d:/program files/apache1.3.28/apache/conf/httpd.conf: Syntax OK Cannot remove module mod_php4.c: not found in module list thanks for any help. bye.
[PHP] Problem with Apache 1.3.28 / PHP 4.3.3
I had problem in the configuration of Apache 1.3.28 and PHP 4.3.3 as SAPI module, they are run well as CGI module, I put this lines for it: ScriptAlias /php/ "D:/PHP4.3.3/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" as SAPI module, I put this lines: LoadModule php4_module D:\PHP4.3.3\sapi\php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php A friend told me that remove the line "AddModule mod_php4.c", I got this error: d:/program files/apache1.3.28/apache/conf/httpd.conf: Syntax OK Cannot remove module mod_php4.c: not found in module list If I leave the line "AddModule mod_php4.c", I get this error: Module mod_php4.c is already added, skipping d:/program files/apache1.3.28/apache/conf/httpd.conf: Syntax OK Cannot remove module mod_php4.c: not found in module list thanks for any help. bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Is there a php built-in function to determine the number of dimensions of the array?
Hello all mailing list, I am wondering if it exists a PHP built-in function to determine the numbers of dimensions of any type of array (indexed, and associative), thanks for any help, bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Array dimension
I understand that in PHP there is only one dimension array, and in order to create several dimensions, yo need to nested the same function array(), but in conclusion you obtain n dimensions of the array whatever the implementation, I have already figured it out the problem , thanks anyway for all your help, bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Problem in the output of an array
I have this code, I would like, if this could be done The output is : Array[dim1][dim2][dim3][3] I need that the output was: value Thanks in advanced for any help.
[PHP] Problem in the output of an array
I have this code, I would like, if this could be done The output is : Array[dim1][dim2][dim3][3] I need that the output was: value Thanks in advanced for any help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Script help about array dimension
I have this array definition: $array['ojpp'][1][][] = 'ferrer'; $array['test'][0] = 'ojpp'; $array['test'][1] = 'ferrer'; How could I do a script that give me this output: Array ( [0] => Array ( [0] => ojpp [1] => 1 [2] => 0 [3] => 0 ) [1] => Array ( [0] => test [1] => 0 ) [2] => Array ( [0] => test [1] => 1 ) ) Thanks in advanced for any help :).
[PHP] Script help about array dimension
I have this array definition: $array['ojpp'][1][][] = 'ferrer'; $array['test'][0] = 'ojpp'; $array['test'][1] = 'ferrer'; How could I do a script that give me this output: Array ( [0] => Array ( [0] => ojpp [1] => 1 [2] => 0 [3] => 0 ) [1] => Array ( [0] => test [1] => 0 ) [2] => Array ( [0] => test [1] => 1 ) ) Thanks in advanced for any help :). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SMTP vs POP3
I have this code to send email via STMP server $msg = "this is a test - ojpp - mail function"; $senderFrom = "[EMAIL PROTECTED]"; $receiverTo = "[EMAIL PROTECTED]"; $subject = "test of the mail function"; $mailHeaders = "From: $senderFrom\n"; $mailHeaders .= "Reply-to: $senderFrom\n"; $mailHeaders .= "Message-Id: 16295644\n"; mail($receiverTo, $subject, $msg, $mailHeaders); What is the function to receive email via POP server?, anyone could give me a simple example, thanks for any help, bye. Is it possible to retrieve via POP server, only part of the email information?, thanks for any help, bye.
[PHP] SMTP vs POP3
I have this code to send email via STMP server $msg = "this is a test - ojpp - mail function"; $senderFrom = "[EMAIL PROTECTED]"; $receiverTo = "[EMAIL PROTECTED]"; $subject = "test of the mail function"; $mailHeaders = "From: $senderFrom\n"; $mailHeaders .= "Reply-to: $senderFrom\n"; $mailHeaders .= "Message-Id: 16295644\n"; mail($receiverTo, $subject, $msg, $mailHeaders); What is the function to receive email via POP server?, anyone could give me a simple example, thanks for any help, bye. Is it possible to retrieve via POP server, only part of the email information?, thanks for any help, bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] What is a XSS attacks?
What is a XSS attacks? thanks in advanced, bye.
[PHP] count the elements of each dimension of the array
I have this script: I want to count the elements of each dimension, but the script give me an error, thanks in advanced for any help.
[PHP] How could I count the elements of each dimension of an array?
How could I count the elements of each dimension of an array? I have this script, but it failed, thanks for any help "; print_r($ojpp); echo ""; ?>