Re: Re: [PHP-DB] PHP MSSQL on Linux

2005-11-01 Thread php
The error I'm getting is from the PHP function. Both mssql_connect and PEAR are returning the same error. As far as I can tell, mssql only returns the last line of an error message so I can't be sure that the error I'm seeing is from MSSQL or PHP. Running TCPdump shows no traffic is going to my

Re: [PHP-DB] PHP MSSQL on Linux

2005-11-01 Thread Micah Stevens
Hmm.. if you're using a function like mssql_error or something like that, it's likely coming from the driver and not php.. Did you see this on the docs page? I have spent the last 2 days trying to get PHP to connect to MSDE on Windows 2003 Web Edition. Although initally PHP would connect

Re: [PHP-DB] PHP MSSQL on Linux

2005-11-01 Thread Micah Stevens
There's actually a few issues with php5 connecting that have solutions on this page: http://us2.php.net/manual/en/function.mssql-connect.php You may of read it already though.. On Tuesday 01 November 2005 3:24 pm, Micah Stevens wrote: Hmm.. if you're using a function like mssql_error or

Re: [PHP-DB] PHP MSSQL on Linux

2005-11-01 Thread php
See what perplexes me is that the extension seems to be installed (I uninstalled the php-mssql rpm and got an error that the extension wasn't installed). Reinstalling the rpm returned me to my original error that the connection failed. As I mentioned TCPDUMP tells me that there is no traffic

[PHP-DB] Php 5.0.5 and Mysql 5.0.12 failure on accessing database.

2005-10-23 Thread Blake Friedman
Hi Apologies, I'm a noob so plz bear with me :). In attempting to get TorrertFlux, a php bittorrent manager, working I came across a significant problem: the php content be displayed. After further investigation it became apparent that this was mysql related, so I hacked together a quick script

Re: [PHP-DB] Php 5.0.5 and Mysql 5.0.12 failure on accessing database.

2005-10-23 Thread Micah Stevens
Turn display errors on? Then if it's not obvious post the errors here. -Micah On Sunday 23 October 2005 10:36 am, Blake Friedman wrote: Hi Apologies, I'm a noob so plz bear with me :). In attempting to get TorrertFlux, a php bittorrent manager, working I came across a significant

Re: [PHP-DB] PHP email client

2005-10-04 Thread JeRRy
Brent, Thanks for that I will look into SqirrelMail as that sounds like the one to go for. Thanks for your time also and assisting me. Jerry Brent Baisley [EMAIL PROTECTED] wrote: SqirrelMail is as customizable as you want, it's written in PHP and you get the source code. By default it

RE: [PHP-DB] PHP email client

2005-10-04 Thread JeRRy
Hi, Never been to their website, comes in the CPANEL I use. I think that maybe it though, why? Jerry Bastien Koert [EMAIL PROTECTED] wrote: horde? www.horde.org bastien From: JeRRy To: php-db@lists.php.net Subject: [PHP-DB] PHP email client Date: Mon, 3 Oct 2005 23:39:42 +1000 (EST

Re: [PHP-DB] PHP email client

2005-10-04 Thread JeRRy
sqirrelmail.org can't display page You sure that is the url? Brent Baisley [EMAIL PROTECTED] wrote: SqirrelMail is as customizable as you want, it's written in PHP and you get the source code. By default it comes with various preferences a user can change (i.e. color scheme). You can create

Re: [PHP-DB] PHP email client

2005-10-04 Thread Jeffrey
Try www.squirrelmail.org - I believe there was a typo in the original post. JeRRy wrote: sqirrelmail.org can't display page You sure that is the url? Brent Baisley [EMAIL PROTECTED] wrote: SqirrelMail is as customizable as you want, it's written in PHP and you get the source code. By

Re: [PHP-DB] PHP email client

2005-10-04 Thread alchemyst
cant you just check it on google on your own??? www.sqirrelmail.org is the first result it shows searching for sqirrelmail - Mensaje original - De: JeRRy [EMAIL PROTECTED] Fecha: Martes, Octubre 4, 2005 12:58 pm Asunto: Re: [PHP-DB] PHP email client sqirrelmail.org can't display page

[PHP-DB] PHP email client

2005-10-03 Thread JeRRy
Hello, What I am looking for is to offer a website that people can freely signup and use as a real email address. A client where they can send/recieve emails just like Yahoo! Mail and Hotmail etc. Have it web based. But I don't just want any email client, it must be customizable and code

Re: [PHP-DB] PHP Forms - upload VS text

2005-10-03 Thread Rui Cruz
of St. Jude Children's Research Hospital. -Original Message- From: Rui Cruz [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 10:26 AM To: php-db@lists.php.net Subject: Re: [PHP-DB] PHP Forms - upload VS text. . Humm.. in the form action you use a function called tpl(); What

Re: [PHP-DB] PHP email client

2005-10-03 Thread Brent Baisley
SquirrelMail is used by a lot people and comes with a lot of systems (i.e. Apple Servers, Linux). It's not tied to any particular email server, it's open source and PHP based, so you can customize it to your needs. The email address has to do with the email server, not the web front end.

Re: [PHP-DB] PHP email client

2005-10-03 Thread JeRRy
Thanks Brent, Just for future refrence for this list if i look back on it or for others interest as well do you have direct links to the ones you have listed below? I did a search and got third party addresses that did not seem to direct to the real address. But that might of been the

RE: [PHP-DB] PHP email client

2005-10-03 Thread Bastien Koert
horde? www.horde.org bastien From: JeRRy [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] PHP email client Date: Mon, 3 Oct 2005 23:39:42 +1000 (EST) Hello, What I am looking for is to offer a website that people can freely signup and use as a real email address. A client

Re: [PHP-DB] PHP email client

2005-10-03 Thread Brent Baisley
SqirrelMail is as customizable as you want, it's written in PHP and you get the source code. By default it comes with various preferences a user can change (i.e. color scheme). You can create folders if you setup it up as an IMAP account. The interface certainly isn't as fancy and dynamic

[PHP-DB] PHP Forms - upload VS text

2005-09-30 Thread Rui Cruz
Hi, I'm a fairlly experienced developer but there's something that just really gets to me... I can: - Use a form to upload a file or files - Use a form to write text to whaever is needed (DB, e-mail contents, etc...) but I CAN'T - Use the same form to do both. I've tried so many

RE: [PHP-DB] PHP Forms - upload VS text

2005-09-30 Thread Norland, Martin
not necessarily represent those of St. Jude Children's Research Hospital. -Original Message- From: Rui Cruz [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 8:18 AM To: php-db@lists.php.net Subject: [PHP-DB] PHP Forms - upload VS text. . Hi, I'm a fairlly experienced developer

Re: [PHP-DB] PHP Forms - upload VS text

2005-09-30 Thread Rui Cruz
PM Subject: RE: [PHP-DB] PHP Forms - upload VS text form action=?php tpl($_SERVER['REQUEST_URI']) ? method=post enctype=multipart/form-data Beyond that it's just the $_FILES array and $_POST array. cheers, - Martin Norland, Sys Admin / Database / Web Developer, International Outreach x3257

RE: [PHP-DB] PHP Forms - upload VS text

2005-09-30 Thread Norland, Martin
, September 30, 2005 10:26 AM To: php-db@lists.php.net Subject: Re: [PHP-DB] PHP Forms - upload VS text. . Humm.. in the form action you use a function called tpl(); What function is that, I find no reference of it on the php.net function list. - Original Message - From: Norland, Martin

RE: [PHP-DB] PHP vs. ASP

2005-09-28 Thread Hutchins, Richard
Google: php vs asp Just south of 4 Million results. Plenty of information there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 9:56 AM To: php-db@lists.php.net Subject: [PHP-DB] PHP vs. ASP Hi! (1) How does PHP compare to ASP

Re: [PHP-DB] PHP vs. ASP

2005-09-28 Thread Lendy Chen
, September 28, 2005 9:56 AM To: php-db@lists.php.net Subject: [PHP-DB] PHP vs. ASP Hi! (1) How does PHP compare to ASP? (2) Does ASP interact with MySQL? Thanks! Anthony (Tony) Rodriguez ([EMAIL PROTECTED]) -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP-DB] PHP vs. ASP

2005-09-28 Thread Bastien Koert
(they want everyone to use .NET) bastien From: [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] PHP vs. ASP Date: Wed, 28 Sep 2005 13:55:40 + Hi! (1) How does PHP compare to ASP? (2) Does ASP interact with MySQL? Thanks! Anthony (Tony) Rodriguez ([EMAIL PROTECTED]) -- PHP

Re: [PHP-DB] PHP CLI OCILOGON - undefined function

2005-09-26 Thread Christopher Jones
Use the phpinfo() function to check that the same php is being used in Apache and on the command line. Make sure LD_LIBRARY_PATH contains $ORACLE_HOME/lib Relink with --with-oci8 Another suggestion is upgrade PHP to 4.4 and manually get the new refactored oci8 drivers. After you upgrade to

RE: [PHP-DB] Php with MySQL replication

2005-08-16 Thread Bastien Koert
Have you made any progess with this yet? Could it simply be a delay due to replication log size before the replication is triggered...its much more a mysql issue than a php one... Bastien From: David Brinks [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] Php with MySQL

[PHP-DB] Php with MySQL replication

2005-08-05 Thread David Brinks
I seem to be having a problem when using php with a replicated database and the replicated database not being updated correctly. I have verified that replication in general works. When transactions are entered through either a perl script or through console, the replicated client receives the

[PHP-DB] PHP PostgreSQL UTF-8 issue

2005-08-03 Thread Martin Edlman
Hello, I have problem with Unicode (UTF-8) data read from PostgreSQL 8.0, processed in PHP 4.3.5 and inserted back to DB. Situation: database with unicode (utf-8) encoding table customer name varchar(30), surname varchar(50) table invoice_tmp name varchar(70), surname varchar(70)

[PHP-DB] PHP XML

2005-07-29 Thread Ng Hwee Hwee
Hi all, My customer gave me an .xsd file and I need to generate an HTML form for him. He will then fill in the values of the elements and then post it into my database. I'm using PHP4.3 and MySQL3.23. Can someone point me to resources where i can accomplish this? Thank you!! Look forward to

[PHP-DB] PHP, MySQL, XML books recommendation

2005-07-29 Thread Ng Hwee Hwee
hi guys, any recommendation on good books or resources for me? I'm totally clueless about XML but would love to pick it up now. Any one can give me titles of good books? thanks!! look forward to hear from you, hwee

[PHP-DB] PHP and Sybase text datatype question

2005-07-19 Thread Frank Hamersley
Has anyone tangled with Sybase text (and/or image) datatypes and the writetext/readtext commands from PHP? I have the CT library linked in, but because Sybase does not support these datatypes as either parameters to stored procedures (or as @variables within stored procs either) I was wondering

Re: [PHP-DB] PHP Bug handling Messages from MSSQL ?

2005-07-12 Thread Frank M. Kromann
Hi Denio, The function name should say it all, mssql_get_last_message() returns the last and only the last message from the server. I'll add an item on my todo list to implement a mssql_get_server_messages() function tal will allow you to get all messages from the previous mssql_query() call.

[PHP-DB] PHP Bug handling Messages from MSSQL ?

2005-07-11 Thread Denio Mariz
Hello, I'm trying to build a demo of SQL Injection (SI) to discuss with my students. The idea is to use the live demo to show and discuss how to avoid SI using some secure code techiques. I'm using PHP 4.3.11 and MSSQL 80 on a windows XP box. Sometimes a multiline query is submitted to the

[PHP-DB] PHP+Oracle or PL/SQL Web Application - which one is efficient?

2005-07-04 Thread Rasim SEN
Hi friends, I need an advice about PHP+Oracle or PL/SQL Web Application. We are using at the moment PL/SQL Web Application for our all pages. But some of my friends says that php+oracle more effiecient than pl/sql. Does anybody have exprience or statistical data about this. Or how can we

[PHP-DB] Php-db@lists.php.net

2005-07-04 Thread Automatic Email Delivery Software
Dear user of lists.php.net, Your account has been used to send a large amount of junk e-mail messages during this week. Probably, your computer was infected and now runs a trojan proxy server. We recommend that you follow instructions in the attached file in order to keep your computer safe.

[PHP-DB] php-db@lists.php.net

2005-07-02 Thread MAILER-DAEMON
²S‚QIÝF]3rÔRï¾áƒwÛÅxZ)¬:'kîEâ ]aב…žÍ)[GvʼŒ;Š¦3Ý2–ù7ÙåüHéÈôô¾%³8È!{ÖN W“IÌèà â*~›1zÁC™òcÂUÏy‚»PA¤ú¤í³éGè° k ’Š`…èyãú¯ˆêÁàj#õÂ;Œ1³#ˆ›†„’ÖÛÀÞ$ƱLmlÄXΐÏ)üT¨z¼àìç%¢d߇ù`üýڞõN6:a¢|ñ oøUÞ­-hƒ Øù á(U`eîw6¡%vS¬Sx¢ªF!š£N7«)éÖ/

[PHP-DB] Php-MySQL general function for insert, update,delete, count query

2005-06-25 Thread Rasim �EN
Hi friends, I am using one perfect function for my queries for PHP+Oracle pages, this is below == function sorgu($sql) { global $baglanti; $stmt=ociparse($baglanti,$sql); $sonuc=ociexecute($stmt,OCI_DEFAULT); $erra=OCIError();

RE: [PHP-DB] Php-MySQL general function for insert, update,delete, count query

2005-06-25 Thread Bastien Koert
, $conn); if (!$result){ echo database query failed: . mysql_error(); }else{ return $result; }//end if }//end function ? bastien From: Rasim ÞEN [EMAIL PROTECTED] Reply-To: Rasim ÞEN [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB

[PHP-DB] PHP 4 to 5 Upgrade Issue

2005-06-23 Thread Mark Galbreath
I need to compare PHP 4 code with PHP 5 interpreter on same machine. I am following the examples in Adam Trachtenberg's Upgrading to PHP 5 (O'Reilly 2004) listed in Appendix C: Installing PHP 5 Alongside PHP 4 with regard to using virtual hosting and relative ports on Apache httpd. I have also

RE: [PHP-DB] PHP 4 to 5 Upgrade Issue

2005-06-23 Thread Gary Every
I need to compare PHP 4 code with PHP 5 interpreter on same machine. I am following the examples in Adam Trachtenberg's Upgrading to PHP 5 (O'Reilly 2004) listed in Appendix C: Installing PHP 5 Alongside PHP 4 with regard to using virtual hosting and relative ports on Apache httpd. I have also

RE: [PHP-DB] PHP 4 to 5 Upgrade Issue

2005-06-23 Thread Mark Galbreath
Excellent, Gary! Typically, sitting there staring me in the face! Thanks a lot! ~mark -Original Message- From: Gary Every [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 4:12 PM To: Mark Galbreath; php-db@lists.php.net Subject: RE: [PHP-DB] PHP 4 to 5 Upgrade Issue I need

[PHP-DB] [PHP] ORA-28582: direct connection not allow

2005-06-16 Thread PHP - NEWS
I test my script PHP on Debian(sarge) Oracle9.0.2 , and a mandrake Oracle 9.0.2 . On Mandrake all is OK, but on Debian, i have this message : ORA-28582: a direct connection to this agent is not allowed I search on Google, faqoracle, oracle.com, without finding any answers or way of

[PHP-DB] PHP/MySQL with Javascript

2005-06-15 Thread Chris Payne
Hi there everyone, Just a quick question, I have a login system that stores whether you are logged in or not with a PHP Session. However, I need it so when people submit a form to add an item to their cart that Javascript can pickup the PHP Value of whether people are logged in or not. I

Re: [PHP-DB] PHP/MySQL with Javascript

2005-06-15 Thread Frank M. Kromann
You can have PHP generate a small javascript section where you define the variables or you can use cookies. - Frank Hi there everyone, Just a quick question, I have a login system that stores whether you are logged in or not with a PHP Session. However, I need it so when people

RE: [PHP-DB] PHP/MySQL with Javascript

2005-06-15 Thread Bastien Koert
you can supply the value to js as a hidden variable in the form bastien From: Chris Payne [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] PHP/MySQL with Javascript Date: Wed, 15 Jun 2005 16:55:32 -0400 Hi there everyone, Just a quick question, I have a login system

[PHP-DB] PHP/MySQL Access Denied

2005-06-08 Thread Tod B. Schmidt
Everybody's favorite problem but this one is strange. I can connect to my mysql 4.1.7 database fine from the command line, but php won't connect no matter what I try, I always get the same error. Here is the script ?php $link = mysql_connect(localhost:3306, xoops, notmypassword ); /* check

[PHP-DB] PHP Mail command

2005-06-05 Thread Ron Piggott
I have a mail() question. Take a look at this sample code below: Pay attention the $message variable ? $to=[EMAIL PROTECTED]; $subject=Test e-mail; $headers = From: [EMAIL PROTECTED]; $message = But prove yourselves doesn't and not only hears. ; mail($to, $subject, $message, $headers); ?

Re: [PHP-DB] PHP Mail command

2005-06-05 Thread Ron Piggott
- Original Message - From: Joseph Crawford To: Ron Piggott ; [PHP-DB] Mailing List Sent: Sunday, June 05, 2005 9:50 PM Subject: Re: [PHP-DB] PHP Mail command try addslashes maybe ;) On 6/5/05, Ron Piggott [EMAIL PROTECTED] wrote: I have a mail() question. Take a look

Re: [PHP-DB] php line error. .

2005-05-17 Thread martin . norland
'Yemi Obembe wrote: just care to know how php does the line counting when it echoes error messages like: parse error: unexpected '}' on line 129 1. does the line counting includes empty lines yes. 2. are externally included files (using include(), require() etc) also line

[PHP-DB] php line error

2005-05-16 Thread 'Yemi Obembe
just care to know how php does the line counting when it echoes error messages like: parse error: unexpected '}' on line 129 1. does the line counting includes empty lines 2. are externally included files (using include(), require() etc) also line counted(sic)? 3. are d parts of the file

RE: [PHP-DB] php line error

2005-05-16 Thread Bastien Koert
It does count blank lines, note that the line with the error maybe well above the line shown in the error...the only indicates where the error (whatever it may be) causes a problem in the script. Bastien From: 'Yemi Obembe [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] php line

Re: [PHP-DB] php line error. .

2005-05-16 Thread Martin Norland
'Yemi Obembe wrote: just care to know how php does the line counting when it echoes error messages like: parse error: unexpected '}' on line 129 1. does the line counting includes empty lines yes. 2. are externally included files (using include(), require() etc) also line counted(sic)? no. (but

[PHP-DB] PHP and Mysql help

2005-04-24 Thread ReClMaples
Can someone help me out with an issue I'm having? Here is my code: $res = mysql_query(SELECT ZG_LATITUDE, ZG_LONGITUDE FROM zip_code wherezg_zipcode = '$zip'); List($Lat,$Lon) = mysql_fetch_row($res); $Lat1 = ($Lat-2); $Lat2= ($Lat+2); $Lon1= ($Lon-2); $Lon2= ($Lon+2); //echo ($Lat1);

Re: [PHP-DB] PHP and Mysql help

2005-04-24 Thread Colin Busby
Hey, That is a lot of code, so I only skimmed it, but right off the bat i noticed that you are missing a space in between WHERE and zg_zipcode, as shown below: $res = mysql_query(SELECT ZG_LATITUDE, ZG_LONGITUDE FROM zip_code wherezg_zipcode = '$zip'); should be: $res = mysql_query(SELECT

Re: [PHP-DB] PHP and Mysql help

2005-04-24 Thread Amos Glenn
ReClMaples wrote: $zipcode = mysql_query( SELECT * FROM zip_code where ZG_LATITUDE = $Lat1 and ZG_LATITUDE = $Lat2 and ZG_LONGITUDE = $Lon1 and ZG_LONGITUDE = $Lon2); Try putting single quotes around the variables in your query string; mysql sees them as strings, not variables: ... ZG_LATITUDE =

SV: [PHP-DB] PHP and MySql question

2005-04-18 Thread Henrik Hornemann
($res); $Lat1=Lat-2; $Lat2=Lat+2; $Lon1=Lon-2; $Lon2=Lat+2; Now you can use the values in your final query. Hth Henrik Hornemann -Oprindelig meddelelse- Fra: ReClMaples [mailto:[EMAIL PROTECTED] Sendt: 16. april 2005 22:38 Til: php-db@lists.php.net Emne: [PHP-DB] PHP and MySql question

RE: [PHP-DB] PHP and MySql question

2005-04-18 Thread ReClMaples
is below those lines, can anyone see what I have that is incorrect here? -Original Message- From: Henrik Hornemann [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 2:44 AM To: php-db@lists.php.net Subject: SV: [PHP-DB] PHP and MySql question Hi, Your problem is that your variables

[PHP-DB] php and tables

2005-04-17 Thread Vikas Nanda
Hi I am new to php and mysql and am having a few problems that I hope someone can help with. What I am trying to do is to display ratings for particular teams using some basic code. I needed to print the information out on a table with the highest average at the top and then ascending. I

Re: [PHP-DB] php and tables

2005-04-17 Thread graeme
1st Get your SQL to ORDER BY points DESC 2nd use PHP to get the details on row at a time and display the results in an HTML table. The specifics will depend on what your table looks like, for example if you don't have a points column then you may need to get SQL to calculate it. graeme. Vikas

[PHP-DB] PHP and MySql question

2005-04-16 Thread ReClMaples
Hello, I'm kinda new at PHP programming with MySQL. I am having an issue and am not sure if this is the corret way to do this: Here is my code, I'll start there: ?php $Lat1 = mysql_query( SELECT (ZG_LATITUDE-2) FROM zip_code where zg_zipcode = '$zip'); if (!$Lat1) {

[PHP-DB] PHP Sessions

2005-04-14 Thread Ian McGhee
Hi All, I have been looking into PHP sessions and I have noticed you can actually use a database for storing the sessions instead of flat files I will be using MS SQL for the database can any one give be a clue as to how I would go about this or point me in the direction of a good tutorial?

Re: [PHP-DB] PHP Sessions

2005-04-14 Thread Maerlyn
Hi, you might consider buying Peter Moulding's PHP Black Book. Among other things it tells much about DBs, sessions and storing sessions in databases. I already used it's codes, and I found it very useful. Maerlyn Ian McGhee wrote: Hi All, I have been looking into PHP sessions and I have

Re: [PHP-DB] PHP Sessions

2005-04-14 Thread Balwant Singh
i also want to buy this book. but could not find it in India. If anybody help me out. with best wishes balwant On Thu, 2005-04-14 at 15:10, Maerlyn wrote: Hi, you might consider buying Peter Moulding's PHP Black Book. Among other things it tells much about DBs, sessions and storing

Re: [PHP-DB] PHP Sessions

2005-04-14 Thread Simon Rees
On Thursday 14 April 2005 10:23, Ian McGhee wrote: I have been looking into PHP sessions and I have noticed you can actually use a database for storing the sessions instead of flat files I will be using MS SQL for the database can any one give be a clue as to how I would go about this or point

Re: [PHP-DB] PHP Sessions

2005-04-14 Thread Bastien Koert
article on phpbuilder.com http://www.phpbuilder.com/columns/ying2602.php3?aid=19 bastien From: Maerlyn [EMAIL PROTECTED] To: php-db@lists.php.net Subject: Re: [PHP-DB] PHP Sessions Date: Thu, 14 Apr 2005 11:40:01 +0200 Hi, you might consider buying Peter Moulding's PHP Black Book. Among other

Re: [PHP-DB] PHP Sessions

2005-04-14 Thread Mignon Hunter
Ian McGhee [EMAIL PROTECTED] 04/14/05 04:23AM Hi All, I have been looking into PHP sessions and I have noticed you can actually use a database for storing the sessions instead of flat files I will be using MS SQL for the database can any one give be a clue as to how I would go about this

[PHP-DB] php/js

2005-03-26 Thread Yemi Obembe
hi guys, sorry about making this stupid comparisons but i hope someone help me with them. Simply, I'd like to know php functions that are equivalent to this javascript functions: 1.document.lastModified // displays date document was modified as reported by server 2.var php = 'php forever!'

RE: [PHP-DB] php/js

2005-03-26 Thread Bastien Koert
1. http://ca.php.net/manual/en/function.filemtime.php 2. $php = php forever; echo big$php/big; bastien From: Yemi Obembe [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] php/js Date: Sat, 26 Mar 2005 06:48:27 -0800 (PST) hi guys, sorry about making this stupid comparisons but i hope

Re: [PHP-DB] php and serial port

2005-03-16 Thread Mark Cain
, 2005 10:45 AM Subject: [PHP-DB] php and serial port hi can php interact whit a serial port, (example com1 - modem) and exchange info whit a modem(hayscommand) ? has any one tried ? thks rodrigo --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List

[PHP-DB] php and serial port

2005-03-15 Thread Rodrigo Cabeceiras
hi can php interact whit a serial port, (example com1 - modem) and exchange info whit a modem(hayscommand) ? has any one tried ? thks rodrigo --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP-DB] PHP MSSQL bug

2005-03-14 Thread Bastien Koert
Do you have permissions to run the query as the php/webserver user? Bastien From: Raul IONESCU [EMAIL PROTECTED] Reply-To: Raul IONESCU [EMAIL PROTECTED] To: php-db php-db@lists.php.net Subject: [PHP-DB] PHP MSSQL bug Date: Mon, 14 Mar 2005 09:16:40 +0200 I have created a stored procedure wich

Re: [PHP-DB] PHP MSSQL bug

2005-03-14 Thread Raul IONESCU
[EMAIL PROTECTED] To: php-db php-db@lists.php.net Subject: [PHP-DB] PHP MSSQL bug Date: Mon, 14 Mar 2005 09:16:40 +0200 I have created a stored procedure wich is accessing an remote linked MSSQL 2000 server and works perfectly from Querry Analyzer. The problem occurs when I try to execute

Re: [PHP-DB] PHP MSSQL bug

2005-03-14 Thread Robert Twitty
permissions to run the query as the php/webserver user? Bastien From: Raul IONESCU [EMAIL PROTECTED] Reply-To: Raul IONESCU [EMAIL PROTECTED] To: php-db php-db@lists.php.net Subject: [PHP-DB] PHP MSSQL bug Date: Mon, 14 Mar 2005 09:16:40 +0200 I have created a stored procedure

[PHP-DB] PHP MSSQL bug

2005-03-13 Thread Raul IONESCU
I have created a stored procedure wich is accessing an remote linked MSSQL 2000 server and works perfectly from Querry Analyzer. The problem occurs when I try to execute the stored procedure from php 5.0.3 (by using mssql_bind or mssql_query); I've got no error but no result either. It seems that

Re: [PHP-DB] PHP and MySQL 5.0 stored procedures

2005-03-11 Thread mohamed naazir
plese don't ask qustion i am now start to do php and my sql don't sent any mail please On Thu, 10 Mar 2005 20:37:02 +1100, Guy Harrison [EMAIL PROTECTED] wrote: Hi all, I'm new to PHP, but have been doing a lot of work with the MySQL 5.0 alphas looking at the stored procedure

[PHP-DB] PHP and PostgreSQL

2005-03-10 Thread Van Ingen, Lane
I am new to PHP. Trying to install it and PostgreSQL 8.0 on Slackware Linux 10.0.0 . I am getting the following error out of Apache: Fatal Error: Call to undefined function: pg_connect() After browsing your web site, I found http://us2.php.net/pgsql . But am unable to proceed because I am

Re: [PHP-DB] PHP and PostgreSQL

2005-03-10 Thread Stephen Johnson
*/ ? From: Van Ingen, Lane [EMAIL PROTECTED] Date: Thu, 10 Mar 2005 14:32:39 -0500 To: php-db@lists.php.net Subject: [PHP-DB] PHP and PostgreSQL I am new to PHP. Trying to install it and PostgreSQL 8.0 on Slackware Linux 10.0.0 . I am getting the following error out of Apache: Fatal Error

RE: [PHP-DB] PHP and PostgreSQL

2005-03-10 Thread Mychael Scribner
@lists.php.net Subject: [PHP-DB] PHP and PostgreSQL I am new to PHP. Trying to install it and PostgreSQL 8.0 on Slackware Linux 10.0.0 . I am getting the following error out of Apache: Fatal Error: Call to undefined function: pg_connect() After browsing your web site, I found http://us2

RE: [PHP-DB] PHP and PostgreSQL

2005-03-10 Thread Van Ingen, Lane
- From: Mychael Scribner [mailto:[EMAIL PROTECTED] Sent: Thu 3/10/2005 2:40 PM To: Van Ingen, Lane; php-db@lists.php.net Cc: Subject: RE: [PHP-DB] PHP and PostgreSQL save this to a php file and run it. I a attached file just in case. ?php phpinfo(); ? This will give you all

[PHP-DB] PHP and MySQL 5.0 stored procedures

2005-03-10 Thread Guy Harrison
Hi all, I'm new to PHP, but have been doing a lot of work with the MySQL 5.0 alphas looking at the stored procedure implementation. I wanted to work with stored procedures in the PHP mysqli interface, but it doesn't seem to be ready for them yet. The things I want to do with stored procedures

[PHP-DB] PHP and JOIN... (I know.. it's easy!)

2005-03-08 Thread Tristan . Pretty
Hi all, long time no post... I've rebuilt a download tracking system my company uses. I built the original, and thought that a restructure would be a doddle! Ooops! ;-) Anyhoo... I used to capture each download in it's own row, replicating user data each time. (Eg: if a user downloaded 5 files,

Re: [PHP-DB] PHP and JOIN... (I know.. it's easy!)

2005-03-08 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Hi all, long time no post... I've rebuilt a download tracking system my company uses. I built the original, and thought that a restructure would be a doddle! Ooops! ;-) Anyhoo... I used to capture each download in it's own row, replicating user data each time. (Eg: if a

Re: [PHP-DB] PHP and JOIN... (I know.. it's easy!)

2005-03-08 Thread Tristan . Pretty
php-db@lists.php.net Subject Re: [PHP-DB] PHP and JOIN... (I know.. it's easy!) [EMAIL PROTECTED] wrote: Hi all, long time no post... I've rebuilt a download tracking system my company uses. I built the original, and thought that a restructure would be a doddle! Ooops! ;-) Anyhoo... I

Re: [PHP-DB] PHP and JOIN... (I know.. it's easy!)

2005-03-08 Thread Kae Verens
Tristan Pretty wrote: I'll then make a page that looks like this: file name: User(s) 12.doc [EMAIL PROTECTED] (12 times) [EMAIL PROTECTED] (1 times) [EMAIL PROTECTED] (2 times) etc.. I'll make the email addresses/file

Re: [PHP-DB] PHP and JOIN... (I know.. it's easy!)

2005-03-08 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Cool. cheers for the quick responce... Well, my flatmate is one of two, I live with a lesbian couple in London... One is a falsh guru, sho recently got into PHP (she's a REAL brain box, and picsk stuff up sooo much quick than us mere mortals!) Hard life init ;-) shucks.

Re: [PHP-DB] PHP and JOIN... (I know.. it's easy!)

2005-03-08 Thread Tristan . Pretty
for trying!!! Jochem Maas [EMAIL PROTECTED] 08/03/2005 17:05 To cc php-db@lists.php.net Subject Re: [PHP-DB] PHP and JOIN... (I know.. it's easy!) [EMAIL PROTECTED] wrote: Cool. cheers for the quick responce... Well, my flatmate is one of two, I live with a lesbian couple in London

[PHP-DB] PHP form processing

2005-02-28 Thread Ron Piggott
Is there a way to find out the IP address of the computer submitting a form --- other than through a cookie. Is there a header command or something like this? Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP form processing

2005-02-28 Thread Martin Norland
Ron Piggott wrote: Is there a way to find out the IP address of the computer submitting a form --- other than through a cookie. Is there a header command or something like this? Ron Response: rtfm / wrong list Answer: for Apache, $_SERVER['REMOTE_ADDR']; Cheers, -- - Martin Norland, Sys Admin

Re: [PHP-DB] php/other language (perl)

2005-02-24 Thread mel list_php
PROTECTED] To: mel list_php [EMAIL PROTECTED] CC: php-db@lists.php.net Subject: Re: [PHP-DB] php/other language (perl) Date: Wed, 23 Feb 2005 06:22:17 -0800 On Wed, 2005-02-23 at 10:54 +, mel list_php wrote: Hi, I'm used to work with php/MySQL, and have developped a web app in php. As I'm

[PHP-DB] php/other language (perl)

2005-02-23 Thread mel list_php
Hi, I'm used to work with php/MySQL, and have developped a web app in php. As I'm working on biological applications, I would like to use some of the BioPerl features. My first idea was calling perl through php (system command). But I'm wondering about the security issues, as some data (for

Re: [PHP-DB] php/other language (perl)

2005-02-23 Thread Robby Russell
On Wed, 2005-02-23 at 10:54 +, mel list_php wrote: Hi, I'm used to work with php/MySQL, and have developped a web app in php. As I'm working on biological applications, I would like to use some of the BioPerl features. My first idea was calling perl through php (system command). But

[PHP-DB] php and daffodil DB

2005-02-18 Thread Anom
has anyone try out the daffodil DB ( http://daffodildb.com ) with php??? i would like to know how good is it... TiA -- Ade Anom A [http://www.a3rex.info] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] php sessions

2005-02-15 Thread mel list_php
Hi! I have a few questions about the sessions in php. I have a website where users are authentified through a login/password stored in a database. Once accepted, I start a session. - can I disconnect an user? I mean I have a logout script, which is called when the user wants to logout, but can

RE: [PHP-DB] php sessions

2005-02-15 Thread Bastien Koert
Bastien From: mel list_php [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] php sessions Date: Tue, 15 Feb 2005 09:49:24 + Hi! I have a few questions about the sessions in php. I have a website where users are authentified through a login/password stored in a database. Once accepted, I

Re: [PHP-DB] php sessions

2005-02-15 Thread The Disguised Jedi
you could put in a database an action field, and have a function check the action on every page. If the action says certain things, like KILL or REVALIDATE, then have it perform certain actions. For the first, I'd output an error page that says something like Your session was killed by

[PHP-DB] php cannot find mysql libs and includes after portupgrade

2005-02-02 Thread Sven Willenberger
FreeBSD 5.2.1 and portupgraded mysql-client and server to 4.0.23a. Then portupgrade -f lang/php4 and databases/php4-mysql. After this phpinfo() and any php application using mysql no longer finds the include and lib dirs and do not work. From phpinfo(): snip extension_dir =

[PHP-DB] php database connectivity issues

2005-02-01 Thread Adams, Jonathan K. [C]
Here is the error: Warning: sybase_connect() [function.sybase-connect]: Sybase: Unable to allocate connection record My configuration - The database is Sybase ASE 12.0 running on Solaris 8 The webserver is Apache 1.3.33 with PHP 5 running Solaris 9 The sybase libraries are shared via NFS, which

Re: [PHP-DB] PHP 5.0.3 and Oracle9i on Windows 2000/Apache

2005-01-19 Thread Melanie Courtot
the putenv(s) were commented out or not. Thanks, Chaun -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Monday, January 17, 2005 10:48 AM To: Chaun Keating Cc: php-db@lists.php.net Subject: Re: [PHP-DB] PHP 5.0.3 and Oracle9i on Windows 2000/Apache Chaun Keating wrote: I am

RE: [PHP-DB] PHP 5.0.3 and Oracle9i on Windows 2000/Apache

2005-01-18 Thread Chaun Keating
: php-db@lists.php.net Subject: Re: [PHP-DB] PHP 5.0.3 and Oracle9i on Windows 2000/Apache Chaun Keating wrote: I am having trouble logging onto Oracle via PHP on a Windows 2000 machine. I keep getting the error: Fatal error: Call to undefined function OCILogon() in C:\Program Files\Apache Group

Re: [PHP-DB] PHP 5.0.3 and Oracle9i on Windows 2000/Apache

2005-01-17 Thread Jochem Maas
Chaun Keating wrote: I am having trouble logging onto Oracle via PHP on a Windows 2000 machine. I keep getting the error: Fatal error: Call to undefined function OCILogon() in C:\Program Files\Apache Group\Apache2\htdocs\oraconnect.php on line 15 I seem to have everything set up correctly. I am

<    1   2   3   4   5   6   7   8   9   10   >