Re: [PHP] Re: isset

2005-02-16 Thread M. Sokolewicz
Marek Kilimajer wrote: M. Sokolewicz wrote: Also note that empty($non_existent_var) will always throw an E_NOTICE error when the variable in question is not set. No, it does not. hmm... seems to have changed since I last checked (PHP5 change?) I appoligize :) -- PHP General Mailing List

[PHP] The length of midi

2005-02-16 Thread Bauglir
Hi, Does anybody know how to determine the length (in seconds) of midi melody? -- s pozdravem Bronislav Klucka --=[ pro2-soft.com ]=-- http://pro2-soft.com [EMAIL PROTECTED] +420 605 58 29 22 * webove aplikace * software na zakazku

[PHP] Re: Image Creation

2005-02-16 Thread James Taylor
Ahh now it becomes clear, you where trying to place the image inline. There is a way with base64 encoding, but it isnt supported by many browsers - you can actually say IMG SRC=data:image/png,base64;[...]; where the [...] is the base64 encoded image, so you would need to wrap an ob start and

[PHP] SoapServer::handlle

2005-02-16 Thread Charles FENDT
Hello, here is an example: ?php $server = new SoapServer(null, array('uri' = http://test-uri/;)); $server-handle(); echo \nAlive\n; ? here is the result ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; SOAP-ENV:Body

[PHP] SoapServer::handlle

2005-02-16 Thread FENDT Charles
Hello, I (try) to use a SoapServer in a CLI program. I want to redirect the SoapServer::handle() output from STDOUT to a socket stream. (my second question is how can i prevent SoapServer::handle() to kill my daemon process... cf php.soap) How can I o this ? regards FENDT Charles -- PHP General

[PHP] retrieve single field from database without while loop

2005-02-16 Thread ross
Is there a way to retrieve and display a single value (customer number) from a database and display it without using while ($row = mysql_fetch_array) ($result)){ I have a value I know the query will only ever return a single value. I want to get it from the database and convert it to a

[PHP] Problem with Include function using Apache 2.0 and PHP 5 on W2K3 Server

2005-02-16 Thread Dave Adler
I am new to PHP and Apache. I am trying to use the include function to include a file that has my web page header and menu, similar to what I used to do with SSI. The content of the include file doesn't display. Instead, I get a link that says function.main and below that I get a link that

Re: [PHP] Re: isset

2005-02-16 Thread Matthew Weier O'Phinney
* Bret Hughes [EMAIL PROTECTED]: I just wish there was a use strict; sort of deal so I would not have to hunt down logic errors due to mistyping a variable name. There is, in PHP5: E_STRICT. From the manual (http://php.net/manual/en/ref.errorfunc.php#errorfunc.constants): Run-time notices.

Re: [PHP] other mhash hashes

2005-02-16 Thread Jason Barnett
Burhan Khalid wrote: ... David: You should really post this at the mhash manual entry in php.net. I'm sure others would find it useful. Good find :) Cheers, Burhan [ snippity snip snip ] Agreed! I found it very, very useful. -- Teach a man to fish... NEW? |

Re: [PHP] The length of midi

2005-02-16 Thread kermodebear
You may find this to be useful: http://www.google.com/search?hl=enq=PHP+MIDI -KBear Original Message Follows: Hi, Does anybody know how to determine the length (in seconds) of midi melody? -- s pozdravem Bronislav Klucka --=[ pro2-soft.com ]=-- http://pro2-soft.com

[PHP] paring large files - PHP or Perl

2005-02-16 Thread John Cage
Hi there I'm a great believer in using the right program for the right job. I need some advice from people who use both PHP and Perl. I've long been a fan of PHP and we use it for all our development work. However, I seem to keep coming up with a bit of a problem when using PHP and I just

Re: [PHP] Re: isset

2005-02-16 Thread Bret Hughes
On Wed, 2005-02-16 at 07:54, Matthew Weier O'Phinney wrote: * Bret Hughes [EMAIL PROTECTED]: I just wish there was a use strict; sort of deal so I would not have to hunt down logic errors due to mistyping a variable name. There is, in PHP5: E_STRICT. From the manual

RE: [PHP] retrieve single field from database without while loop

2005-02-16 Thread Jay Blanchard
[snip] Is there a way to retrieve and display a single value (customer number) from a database and display it without using while ($row = mysql_fetch_array) ($result)){ I have a value I know the query will only ever return a single value. I want to get it from the database and convert it to a

Re: [PHP] retrieve single field from database without while loop

2005-02-16 Thread Tom Rogers
Hi, Wednesday, February 16, 2005, 9:48:41 PM, you wrote: rac Is there a way to retrieve and display a single value (customer number) from rac a database and display it without using rac while ($row = mysql_fetch_array) ($result)){ rac I have a value I know the query will only ever return a

[PHP] Re: Minimalist permissions

2005-02-16 Thread Ugo Bellavance
Jason Wong wrote: On Saturday 12 February 2005 11:28, Ugo Bellavance wrote: Please forgive me if this specific question has already been addressed, but I'm doing tests to figure out what are the minimal permissions I can give on my files and folders for a PHP application and I just can't find

[PHP] php login

2005-02-16 Thread William Stokes
Hello, I need to create solution for user authentication/recognition in my web page. I think it would be a good idea to use mysql database for storing the user info because the user info is later used to determine what parts of site the recognized user is allowed to update. The site is for a

Re: [PHP] Re: Minimalist permissions

2005-02-16 Thread Richard Lynch
Ugo Bellavance wrote: If the needed permissions for standard PHP files and directories are 'r' on files and 'r-x' on directories, how can I set my umask so that files and directories are always created as such? I looked up 'man umask' and it seems to treat files and directories the same

[PHP] Re: Minimalist permissions

2005-02-16 Thread Ugo Bellavance
Richard Lynch wrote: Ugo Bellavance wrote: If the needed permissions for standard PHP files and directories are 'r' on files and 'r-x' on directories, how can I set my umask so that files and directories are always created as such? I looked up 'man umask' and it seems to treat files and

[PHP] Re: php login

2005-02-16 Thread Jason Barnett
William Stokes wrote: Hello, I need to create solution for user authentication/recognition in my web page. I think it would be a good idea to use mysql database for storing the user info because the user info is later used to determine what parts of site the recognized user is allowed to update.

Re: [PHP] Re: Minimalist permissions

2005-02-16 Thread Jason Wong
On Wednesday 16 February 2005 23:30, Ugo Bellavance wrote: If the needed permissions for standard PHP files and directories are 'r' on files and 'r-x' on directories, how can I set my umask so that files and directories are always created as such? I looked up 'man umask' and it seems to

[PHP] PHP Post method HTTP 404

2005-02-16 Thread Stefan
Hi I've a strange problem When I try to send a form with method=POST to a php-file I always get an HTTP 404 error. I really don't know why, because the file exists on the server. I use IIS 5.1 Tnx. Stefan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] pcntl_fork() hangs with FUTEX_WAIT

2005-02-16 Thread Steve
I have a program which creates a lot of children over the time, which terminate themselves after they are finished. After some time however, the parent process hangs; apparently in pcntl_fork(). The child from this fork, however, seems to run normally. An strace on the parent shows

Re: [PHP] Re: isset

2005-02-16 Thread Richard Lynch
Bret Hughes wrote: On Wed, 2005-02-16 at 07:54, Matthew Weier O'Phinney wrote: * Bret Hughes [EMAIL PROTECTED]: I just wish there was a use strict; sort of deal so I would not have to hunt down logic errors due to mistyping a variable name. There is, in PHP5: E_STRICT. From the manual

Re: [PHP] paring large files - PHP or Perl

2005-02-16 Thread Richard Lynch
John Cage wrote: I'm a great believer in using the right program for the right job. I need some advice from people who use both PHP and Perl. I've long been a fan of PHP and we use it for all our development work. However, I seem to keep coming up with a bit of a problem when using PHP and I

Re: [PHP] Problem with Include function using Apache 2.0 and PHP 5 on W2K3 Server

2005-02-16 Thread Richard Lynch
Dave Adler wrote: I am new to PHP and Apache. I am trying to use the include function to include a file that has my web page header and menu, similar to what I used to do with SSI. The content of the include file doesn't display. Instead, I get a link that says function.main and below that

[PHP] php error

2005-02-16 Thread Stefan
Hi I've a strange problem When I try to send a form with method=POST to a php-file I always get an HTTP 404 error. I really don't know why, because the file exists on the server. I use IIS 5.1 Tnx. Stefan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: retrieve single field from database without while loop

2005-02-16 Thread Matthew Weier O'Phinney
* [EMAIL PROTECTED] [EMAIL PROTECTED]: Is there a way to retrieve and display a single value (customer number) from a database and display it without using while ($row = mysql_fetch_array) ($result)){ I have a value I know the query will only ever return a single value. I want to get it

Re: [PHP] SoapServer::handlle

2005-02-16 Thread Richard Lynch
Charles FENDT wrote: ?php $server = new SoapServer(null, array('uri' = http://test-uri/;)); $server-handle(); echo \nAlive\n; ? here is the result ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; SOAP-ENV:Body

Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Leif Gregory
Hello Stefan, Wednesday, February 16, 2005, 12:32:55 AM, you wrote: S I've a strange problem When I try to send a form with method=POST S to a php-file I always get an HTTP 404 error. I really don't know S why, because the file exists on the server. Can you show us the code for the form? --

Re: [PHP] Problem with Include function using Apache 2.0 and PHP 5 on W2K3 Server

2005-02-16 Thread Dave Adler
Richard, Thanks for the feedback. The reference to the file location was the problem. My include statement was include(/includes/menu.inc); I changed it to include ($_SERVER[DOCUMENT_ROOT]./includes/menu.inc); This solved the problem. David Richard Lynch [EMAIL PROTECTED] wrote in

Re: [PHP] paring large files - PHP or Perl

2005-02-16 Thread John Cage
Richard, thanks for the reply. I've not been on the list for a while, so good to see you're still helping us less-knowledgeable people out :) If you already *KNOW* Perl and want to use it, its string manipulation package is probably better from a sheer performance stand-point. No, I don't

Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Chris Shiflett
--- Stefan [EMAIL PROTECTED] wrote: When I try to send a form with method=POST to a php-file I always get an HTTP 404 error. The action attribute of the form tag is what determines the URL that the browser requests. When no resource exists at this URL, you get a 404 response after submitting

Re: [PHP] other mhash hashes

2005-02-16 Thread Richard Lynch
Burhan Khalid wrote: David Norman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I thought some other people would be interested in the other hashes that you can do with mhash that aren't on the php.net docs after the recent news that SHA-1 might be weaker than previously thought:

Re: [PHP] Re: isset

2005-02-16 Thread Bret Hughes
On Wed, 2005-02-16 at 10:34, Richard Lynch wrote: Bret Hughes wrote: On Wed, 2005-02-16 at 07:54, Matthew Weier O'Phinney wrote: * Bret Hughes [EMAIL PROTECTED]: I just wish there was a use strict; sort of deal so I would not have to hunt down logic errors due to mistyping a variable

Re: [PHP] SoapServer::handlle

2005-02-16 Thread cfendt
Selon Richard Lynch [EMAIL PROTECTED]: Charles FENDT wrote: ?php $server = new SoapServer(null, array('uri' = http://test-uri/;)); $server-handle(); echo \nAlive\n; ? here is the result ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope

Re: [PHP] Session Vars and Performance

2005-02-16 Thread Richard Lynch
[EMAIL PROTECTED] wrote: On 15 Feb 2005 Richard Lynch wrote: Throw an ab (Apache Benchmark) test at it and find out. Don't just guess or sit there wondering. You could run test in about the time it took to compose this email -- Perhaps if you are already familiar with ab, which I'm not

Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Richard Lynch
Stefan wrote: I've a strange problem When I try to send a form with method=POST to a php-file I always get an HTTP 404 error. I really don't know why, because the file exists on the server. I use IIS 5.1 If IIS is mis-configured, we can't help you here... If it's in the PHP code, you'd

Re: [PHP] Re: Minimalist permissions

2005-02-16 Thread Bret Hughes
On Wed, 2005-02-16 at 10:17, Jason Wong wrote: On Wednesday 16 February 2005 23:30, Ugo Bellavance wrote: If the needed permissions for standard PHP files and directories are 'r' on files and 'r-x' on directories, how can I set my umask so that files and directories are always created

Re: [PHP] pcntl_fork() hangs with FUTEX_WAIT

2005-02-16 Thread Richard Lynch
Steve wrote: I have a program which creates a lot of children over the time, which terminate themselves after they are finished. After some time however, the parent process hangs; apparently in pcntl_fork(). The child from this fork, however, seems to run normally. An strace on the parent

Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Marek Kilimajer
Stefan wrote: Hi I've a strange problem When I try to send a form with method=POST to a php-file I always get an HTTP 404 error. I really don't know why, because the file exists on the server. What are the logs saying? I remember some problems with IIS + php and post method, it was due to some

Re: [PHP] paring large files - PHP or Perl

2005-02-16 Thread Richard Lynch
John Cage wrote: ok, well its actually the attachment we're after. basically we have a client that sends an automated update email via some software and we're piggy-backing on it to grab the data out. The email contains a password protected zip file. We're pulling the email down (from another

[PHP] Re: Handling email bouncebacks

2005-02-16 Thread Chris Bruce
Jamie, Thanks for your detailed response and suggestions. Here is where I am at currently: I have set up a [EMAIL PROTECTED] address and POP3 account on my server to handle all bounces. When my system sends out the email campaign and loops through the addresses, I encode the recipient address

[PHP] strange behaviour upgrade from 4.3.10 - 5.0.3 : cgi works but apache does not

2005-02-16 Thread mbneto
Hi, I am trying to upgrade my server from 4.3.10 to 5.0.3 without luck. The compile goes fine, I install the libphp5.so and switch the LoadModule. When I restart apache it loads fine (service httpd status) but even a simple phpInfo() call aborts. When I call the cli with the same php script,

Re: [PHP] other mhash hashes

2005-02-16 Thread Jason Barnett
Richard Lynch wrote: ... http://www.schneier.com/blog/archives/2005/02/sha1_broken.html Before we get a hundred posts about SHA-1 being broken would eveyrbody please read: http://nuglops.com/blog/index.php?p=1021 and maybe *ALL* the contributions way down at the bottom of the original post link?

[PHP] Re: How to make use of the billing token the right way???

2005-02-16 Thread Scott Fletcher
That doesn't look too difficult. Thanks... I'll think of something as to prevent the 2nd page from showing up in the 2nd browser window or 2nd browser tab window or with the back/forward browser button.. Scott Jason Barnett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -- PHP

Re: [PHP] Re: isset

2005-02-16 Thread Bauglir
It's common mistake what you are doing... the first thing should be to test if there is such key in array: if (array_key_exists('cmd',$_POST)) { } this means to test it the variable exists, then you can test if it was set Brona Chris W. Parker wrote: M. Sokolewicz mailto:[EMAIL PROTECTED] on

Re: [PHP] Session Vars and Performance

2005-02-16 Thread Greg Donald
On Wed, 16 Feb 2005 09:36:26 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: It's literally an hour's work to alter the code to use MySQL to store the sessions instead of the hard drive. Not really, maybe 5 minutes.. here's the code: Make the table in your database: CREATE TABLE

[PHP] Re: php error

2005-02-16 Thread Matthew Weier O'Phinney
* Stefan [EMAIL PROTECTED]: I've a strange problem When I try to send a form with method=POST to a php-file I always get an HTTP 404 error. I really don't know why, because the file exists on the server. What are you setting the action attribute to? Should be the path to your script. If the

[PHP] Re: retrieve single field from database without while loop

2005-02-16 Thread pete M
Check out abstraction layers I use adodb http://adodb.sourceforge.net/ makes coding much much easier ;-)) eg - mysql example $sql = insert into table (col, col2)values('$this','$that'); $db-execute $sql; // get last id $new_id = $db-getOne('select last_insert_id()'); have fun Pete [EMAIL

[PHP] Re: paring large files - PHP or Perl

2005-02-16 Thread Jamie Alessio
I'm a great believer in using the right program for the right job. I need some advice from people who use both PHP and Perl. I've long been a fan of PHP and we use it for all our development work. However, I seem to keep coming up with a bit of a problem when using PHP and I just wanted to see if

[PHP] Re: php login

2005-02-16 Thread Jamie Alessio
I need to create solution for user authentication/recognition in my web page. I think it would be a good idea to use mysql database for storing the user info because the user info is later used to determine what parts of site the recognized user is allowed to update. William, Take a look at

[PHP] Re: Handling email bouncebacks

2005-02-16 Thread Jamie Alessio
I am looking for a way to manage email bouncebacks on my Linux server for one of my client's email marketing system. What I would like to do is have a way of capturing the email address from the header of each bounce and insert it into a MySQL table. At that point I can do the requisite

[PHP] Dynamic/runtime object creation

2005-02-16 Thread joe Lovick
Hi, forgive me if this is a complete noob question What i want to do is create an object at runtime with members and methods based on the result of queries from my db back end. is this (a) possible? or (b) something i should get out of my head and go and find a better solution?

[PHP] Help with a query please - unable to error check!

2005-02-16 Thread Shaun
Hi, I have a problem with a query, I get the following error message: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 23 If I echo the query to the screen and run the query to the database via SSH

[PHP] Re: Dynamic/runtime object creation

2005-02-16 Thread Jason Barnett
joe Lovick wrote: Hi, forgive me if this is a complete noob question What i want to do is create an object at runtime with members and methods based on the result of queries from my db back end. is this (a) Creating an object based on the result of a query shouldn't be a problem.

Re: [PHP] Help with a query please - unable to error check!

2005-02-16 Thread John Holmes
Shaun wrote: I have a problem with a query, I get the following error message: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 23 If I echo the query to the screen and run the query to the database

RE: [PHP] Help with a query please - unable to error check!

2005-02-16 Thread Chris W. Parker
Shaun mailto:[EMAIL PROTECTED] on Wednesday, February 16, 2005 1:15 PM said: I have a problem with a query, I get the following error message: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line

Re: [PHP] Help with a query please - unable to error check!

2005-02-16 Thread Mattias Thorslund
Could it be a quote-escaping problem? It would be easier to tell if you could show us the query and the code you're using. /Mattias Shaun wrote: Hi, I have a problem with a query, I get the following error message: You have an error in your SQL syntax. Check the manual that corresponds to your

[PHP] Re: paring large files - PHP or Perl

2005-02-16 Thread Daniel Bowett
Jamie Alessio wrote: I'm a great believer in using the right program for the right job. I need some advice from people who use both PHP and Perl. I've long been a fan of PHP and we use it for all our development work. However, I seem to keep coming up with a bit of a problem when using PHP and I

RE: [PHP] Re: paring large files - PHP or Perl

2005-02-16 Thread Chris W. Parker
Daniel Bowett mailto:[EMAIL PROTECTED] on Wednesday, February 16, 2005 2:06 PM said: [snip 56 lines...] PHP or Perl??? I'd say Python :) Please trim your posts. KTHXBYE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Getting floats from 8 byte IEEE binary representations

2005-02-16 Thread Ian Johnson
I am trying to write a function which will read a string of bytes from a binary file and convert 8 byte sequences to Float type data. I've been through the manual and can find nothing but think I must be missing something. It can't be that hard. Can someone help me out. Thanks Ian -- PHP

[PHP] Why is my class throwing this error?

2005-02-16 Thread NathanielGuy#21
Hello again list, Im writing a class to display a bunch of pictures form my DB and when I call a function through the class I get an error and I dont quite understand why. Now Im fairly new to classes so this might be something that is totally obvious, but I cant seem to figure it out. The code

[PHP] XHTML 1.1 + php sessions = :(

2005-02-16 Thread b1nary Developement Team
Hi there guys... First time caller here ;). I'm currently developing a content management system. One of it's features is that it's going to be completely standards compliant (XHTML 1.1). I'm having some troubles however, and they come in the form of sessions. When I use session_start(), it

[PHP] Password Protection

2005-02-16 Thread Kevin Javia
I am experimenting on my site and I want to make it password protected like www.realsolution.com. If any one enters correct user name and password, only then they will be able to enter into my site. How can I do that in PHP? Any ideas? Thanks a ton in advance. -- PHP General Mailing List

Re: [PHP] Session Vars and Performance

2005-02-16 Thread trlists
On 16 Feb 2005 Richard Lynch wrote: Use the exact same session stuff you have now and just dump the serialized data into SQL using the 5 functions for session handling. Oh, OK, that's what you meant about the 5 functions. I am not sure of the advantage to that, actually something I've

[PHP] login error to mySQL from PHP

2005-02-16 Thread David Freedman
I am attempting to install both phpMyAdmin and phpLens. When attempting to connect to the mySql server I get the following error message: Unable to connect. Please click on Previous and correct. [Client does not support authentication protocol requested by server; consider upgrading MySQL

Re: [PHP] Password Protection

2005-02-16 Thread Bret Hughes
On Wed, 2005-02-16 at 21:31, Kevin Javia wrote: I am experimenting on my site and I want to make it password protected like www.realsolution.com. If any one enters correct user name and password, only then they will be able to enter into my site. How can I do that in PHP? Any ideas?

Re: [PHP] Getting floats from 8 byte IEEE binary representations

2005-02-16 Thread Bret Hughes
On Wed, 2005-02-16 at 18:36, Ian Johnson wrote: I am trying to write a function which will read a string of bytes from a binary file and convert 8 byte sequences to Float type data. I've been through the manual and can find nothing but think I must be missing something. It can't be that

[PHP] Re: XHTML 1.1 + php sessions = :(

2005-02-16 Thread Dan Phiffer
b1nary Developement Team wrote: I'm having some troubles however, and they come in the form of sessions. When I use session_start(), it throws the PHPSESSID into the URL of all of my links and form actions and what not. This is a problem because in my forms it throws in a hidden input, which

[PHP] Re: Getting floats from 8 byte IEEE binary representations

2005-02-16 Thread Dan Phiffer
Ian Johnson wrote: I am trying to write a function which will read a string of bytes from a binary file and convert 8 byte sequences to Float type data. I've been through the manual and can find nothing but think I must be missing something. It can't be that hard. Can someone help me out. Have

[PHP] Re: strange behaviour upgrade from 4.3.10 - 5.0.3 : cgi works but apache does not

2005-02-16 Thread Dan Phiffer
Mbneto wrote: When I call the cli with the same php script, even a more complex one it works flawlessly. You may want to double check that the CLI parser isn't the old one: $ php -v As for the aborting Apache problem, you may want to look through the error logs. HTH, -Dan -- PHP General Mailing

[PHP] Re: Why is my class throwing this error?

2005-02-16 Thread Dan Phiffer
NathanielGuy#21 wrote: Error thrown -- Parse error: parse error, unexpected T_STRING in /home/blacknut/public_html/picserv/includes/gallery.class on line 52 -- For what it's worth, I'm able to execute the code without parse errors (v5.0.3). A long shot, but could there be another file called

Re: [PHP] XHTML 1.1 + php sessions = :(

2005-02-16 Thread Bret Hughes
On Wed, 2005-02-16 at 19:07, b1nary Developement Team wrote: Hi there guys... First time caller here ;). I'm currently developing a content management system. One of it's features is that it's going to be completely standards compliant (XHTML 1.1). I'm having some troubles however, and

[PHP] Re: login error to mySQL from PHP

2005-02-16 Thread Dan Phiffer
David Freedman wrote: I am attempting to install both phpMyAdmin and phpLens. When attempting to connect to the mySql server I get the following error message: Unable to connect. Please click on Previous and correct. [Client does not support authentication protocol requested by server; consider

[PHP] Undefined function - mysql_connect() - php5?

2005-02-16 Thread Jacques
I have installed PHP5 on IIS. When I try to make a connection the the MySQL database with the following code: $conn = mysql_connect(localhost, root, ) or die(Unable to connect); I get the following error in the browser: Undefined function my_sqlconnect(). What can be the problem? I

Re: [PHP] Re: Why is my class throwing this error?

2005-02-16 Thread Bret Hughes
On Wed, 2005-02-16 at 23:11, Dan Phiffer wrote: NathanielGuy#21 wrote: Error thrown -- Parse error: parse error, unexpected T_STRING in /home/blacknut/public_html/picserv/includes/gallery.class on line 52 -- For what it's worth, I'm able to execute the code without parse errors

[PHP] Re: Undefined function - mysql_connect() - php5?

2005-02-16 Thread Lester Caine
Jacques wrote: I have installed PHP5 on IIS. When I try to make a connection the the MySQL database with the following code: $conn = mysql_connect(localhost, root, ) or die(Unable to connect); I get the following error in the browser: Undefined function my_sqlconnect(). What can be the problem?

[PHP] Re: php login

2005-02-16 Thread William Stokes
OK. Thanks a lot. So I need to studu the $_Session more closely. Jamie Alessio [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED] I need to create solution for user authentication/recognition in my web page. I think it would be a good idea to use mysql database for storing the user

Re: [PHP] Password Protection

2005-02-16 Thread Burhan Khalid
Kevin Javia wrote: I am experimenting on my site and I want to make it password protected like www.realsolution.com. http://www.zend.com/zend/tut/authentication.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] login error to mySQL from PHP

2005-02-16 Thread Burhan Khalid
David Freedman wrote: I am attempting to install both phpMyAdmin and phpLens. When attempting to connect to the mySql server I get the following error message: Unable to connect. Please click on Previous and correct. [Client does not support authentication protocol requested by server; consider

Re: [PHP] Password Protection

2005-02-16 Thread Joe Wollard
Kevin, I'm having some issues with my email client right now so I'm sorry if you've already found the answer. There is a way for PHP to do this without the need to modify your web server's configuration or bothering with .htaccess/ .htpasswd files by simply modifying the http headers that your

Re: [PHP] Appending DOM doc as child in another DOM doc

2005-02-16 Thread Christian Stocker
Hi On Mon, 14 Feb 2005 11:34:15 -0600, Chris Boget [EMAIL PROTECTED] wrote: Is there a way to take an already existing DomDocument object and appending it as a child node within a seperate DomDocument object? Or would I have to pull it apart first and generate new DomNode/DomElement objects