Re: [PHP] mysql_connect noob question

2013-04-24 Thread Richard Quadling
Completely different function call(). mysql_connect() - the port is part of the host. *server* The MySQL server. It can also include a port number. e.g. "hostname:port" or a path to a local socket e.g. ":/path/to/socket" for the localhost. If the PHP directive mysql.default_hostis undefined (de

Re: [PHP] mysql_connect noob question

2013-04-23 Thread Jim Giner
On 4/23/2013 10:39 AM, Glob Design Info wrote: Well all, it turns out the *correct* answer to my question, which no one answered, and which only degenerated into a kindergarten-like argument is: "You need to add the port # to the *end* of the mysql_connect() call". i.e.: $link = mysqli_connect

Re: [PHP] mysql_connect noob question

2013-04-23 Thread Glob Design Info
Well all, it turns out the *correct* answer to my question, which no one answered, and which only degenerated into a kindergarten-like argument is: "You need to add the port # to the *end* of the mysql_connect() call". i.e.: $link = mysqli_connect( $host, &user, pass, $database, $port ); Glad

Re: [PHP] mysql_connect noob question

2013-04-23 Thread Tedd Sperling
On Apr 21, 2013, at 3:33 PM, Glob Design Info wrote: > What question did I not answer? That proves that you're not listening -- you are total waste of time for anyone trying to help. Welcome to my ignore file. tedd _ tedd.sperl...@gmail.com http://sperling.com -- PHP G

Re: [PHP] mysql_connect noob question

2013-04-22 Thread Jim Giner
On 4/21/2013 7:35 PM, Glob Design Info wrote: A very complex solution that takes time to learn, configure, and install, vs. a single file I can toss on the server. Over-engineering is what is daft. As has been pointed out to you - your simplistic approach to this task is going to cost you big

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
After all this, the OP remains unenlightened. This is just a waste of time. "You are doing this wrong." "There are existing tools that do what your client wants." "A command line tool is not the same as the php library." are all met with "I don't want to learn, just tell me what isn't working." To

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
On 22 Apr 2013, at 00:36, Glob Design Info wrote: > Ever heard of the MySQL C Connector? > > http://www.karlkraft.com/index.php/2010/06/02/mysql-and-objective-c/ That would be Objective-C, not C. I have used libmysqlclient extensively, but there's a lot more to a MySQL management tool than co

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
On 22 Apr 2013, at 00:35, Glob Design Info wrote: > A very complex solution that takes time to learn, configure, and install, vs. > a single file I can toss on the server. > > Over-engineering is what is daft. Building your house by making your own bricks is daft. Using bricks somebody else h

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
Ever heard of the MySQL C Connector? http://www.karlkraft.com/index.php/2010/06/02/mysql-and-objective-c/ :-) On 4/21/13 4:33 PM, Stuart Dallas wrote: On 22 Apr 2013, at 00:16, Glob Design Info wrote: Except that I want to use my script and form - precisely because I have already sunk time

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
A very complex solution that takes time to learn, configure, and install, vs. a single file I can toss on the server. Over-engineering is what is daft. On 4/21/13 4:33 PM, Stuart Dallas wrote: On 22 Apr 2013, at 00:16, Glob Design Info wrote: Except that I want to use my script and form - p

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
On 22 Apr 2013, at 00:16, Glob Design Info wrote: > Except that I want to use my script and form - precisely because I have > already sunk time into it. I'm not going to sink *more* time into something > that could potentially create *another* problem. The idea of sunk time is that it's alread

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
Even more strange: It doesn't work from the form with or without the domain (but on the command line it does), but.. IF I add the $_REQUEST access *and* use the user that the *MySQL* install has, and *not* the xeround user name (my email), then it *does* work! WEIRD. On 4/21/13 3:59 P

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
SUCCESS! However. if ( $_REQUEST['Submit'] ) { makes it work (using my own form button ID). Why it doesn't work without this on my machine is beyond me. But it doesn't. Could it be somehow there is something about accessing the $_REQUEST that changes something? I am baffled as to the ca

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
Tried that. Still didn't work. I appears to be the port. On 4/21/13 3:40 PM, Stuart Dallas wrote: On 21 Apr 2013, at 23:01, Glob Design Info wrote: I should note my user name in this case *is* an email address, however the dots in that address are *not* being converted to underscores as men

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
Except that I want to use my script and form - precisely because I have already sunk time into it. I'm not going to sink *more* time into something that could potentially create *another* problem. I want the script to work - as it should if PHP is 1/2 what it's cracked up to be. If not, I'll h

Re: [PHP] mysql_connect noob question

2013-04-21 Thread David OBrien
In fact using the @gmail.com part added on gives me the same error as the OP I think their welcome email needs tweaking.. try it without the domain added on On Sun, Apr 21, 2013 at 6:56 PM, David OBrien wrote: > > I should note my user name in this case *is* an email address, however > the dots

Re: [PHP] mysql_connect noob question

2013-04-21 Thread David OBrien
> I should note my user name in this case *is* an email address, however the dots in that address are *not* being converted to underscores as mentioned (at least not visibly). I just created a free account there and the email says my username is dgobr...@gmail.com but I connected to it from sqlyo

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
On 21 Apr 2013, at 23:01, Glob Design Info wrote: > I should note my user name in this case *is* an email address, however the > dots in that address are *not* being converted to underscores as mentioned > (at least not visibly). This could be the culprit. Try using a username without an @ in

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
On 21 Apr 2013, at 22:43, Glob Design Info wrote: > Except that a) I already have my form and script done, b) don't have time to > learn phpMyAdmin, c) want to know why the script doesn't work as-is. You have multiple database users who will need to do this, or just one database user? If just

Re: [PHP] mysql_connect noob question

2013-04-21 Thread David OBrien
On Sun, Apr 21, 2013 at 6:01 PM, Glob Design Info wrote: > One other thing I noted in the FAQ was this: > > "Dots in incoming variable names > Typically, PHP does not alter the names of variables when they are passed > into a script. However, it should be noted that the dot (period, full stop) > i

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
One other thing I noted in the FAQ was this: "Dots in incoming variable names Typically, PHP does not alter the names of variables when they are passed into a script. However, it should be noted that the dot (period, full stop) is not a valid character in a PHP variable name. For the reason, loo

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
Except that a) I already have my form and script done, b) don't have time to learn phpMyAdmin, c) want to know why the script doesn't work as-is. On Apr 21, 2013, at 12:46 PM, David OBrien wrote: > Not meaning to beat the proverbial dead horse > > I am developing a web portal that has to displ

Re: [PHP] mysql_connect noob question

2013-04-21 Thread David OBrien
Not meaning to beat the proverbial dead horse I am developing a web portal that has to display the tables in the DB via a > form/script. The web page has a login with user and password. Right now I > am just trying to connect. > This for a commercial app - the client wants both an API connect via

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
What question did I not answer? I am developing a web portal that has to display the tables in the DB via a form/script. The web page has a login with user and password. Right now I am just trying to connect. On Apr 21, 2013, at 7:12 AM, Tedd Sperling wrote: > On Apr 21, 2013, at 9:32 AM, Stu

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
On Fri, Apr 19, 2013 at 3:43 PM, Glob Design Info wrote: > I know this has probably been answered already. > > When I pass a user name and password from a form to my PHP script and then > pass those to mysql_connect it doesn't connect. When I paste those exact > same values into mysql_connect as s

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
On Sun, Apr 21, 2013 at 9:49 AM, Stuart Dallas wrote: > On 21 Apr 2013, at 15:46, tamouse mailing lists > wrote: > >> On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling >> wrote: >>> On Apr 21, 2013, at 9:32 AM, Stuart Dallas wrote: However, a more important question for me is why you are do

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
On 21 Apr 2013, at 15:46, tamouse mailing lists wrote: > On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling > wrote: >> On Apr 21, 2013, at 9:32 AM, Stuart Dallas wrote: >>> However, a more important question for me is why you are doing this. You >>> say you are aware of the security implications

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling wrote: > On Apr 21, 2013, at 9:32 AM, Stuart Dallas wrote: >> However, a more important question for me is why you are doing this. You say >> you are aware of the security implications, and that you'll "deal with that >> later," but I question how

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Tedd Sperling
On Apr 21, 2013, at 9:32 AM, Stuart Dallas wrote: > However, a more important question for me is why you are doing this. You say > you are aware of the security implications, and that you'll "deal with that > later," but I question how you're going to deal with it. What exactly are you > develo

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
On Sat, Apr 20, 2013 at 9:37 PM, Glob Design Info wrote: > Night now this is just a test server. On the real thing I'll do it right. > > > On 4/20/13 10:58 AM, Tedd Sperling wrote: >> >> On Apr 20, 2013, at 11:44 AM, Stuart Dallas wrote: >> >>> On 20 Apr 2013, at 16:25, Jim Giner wrote: >>>

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Glob Design Info
Night now this is just a test server. On the real thing I'll do it right. On 4/20/13 10:58 AM, Tedd Sperling wrote: On Apr 20, 2013, at 11:44 AM, Stuart Dallas wrote: On 20 Apr 2013, at 16:25, Jim Giner wrote: Why are you allowing anyone to connect to your database from a form? A little

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Tedd Sperling
On Apr 20, 2013, at 11:44 AM, Stuart Dallas wrote: > On 20 Apr 2013, at 16:25, Jim Giner wrote: > >>> Why are you allowing anyone to connect to your database from a form? >>> >> A little OT, but... >> What do you mean by this question? How do you check someone's credentials >> if not by conn

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Glob Design Info
Same error. That just turns those into string literals. On 4/20/13 5:48 AM, David OBrien wrote: $form_user = $_POST[ 'user' ]; $form_pass = $_POST[ 'password' ]; # Connect to remote DB $LINK = mysql_connect( $host, $form_user, $form_pass ); And yes, my $host param is correct. Have you tried

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Jim Giner
On 4/20/2013 11:44 AM, Stuart Dallas wrote: On 20 Apr 2013, at 16:25, Jim Giner wrote: Why are you allowing anyone to connect to your database from a form? A little OT, but... What do you mean by this question? How do you check someone's credentials if not by connecting to a db to verify t

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Stuart Dallas
On 20 Apr 2013, at 16:25, Jim Giner wrote: >> Why are you allowing anyone to connect to your database from a form? >> > A little OT, but... > What do you mean by this question? How do you check someone's credentials if > not by connecting to a db to verify the login? Cause I'm doing the same

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Jim Giner
Why are you allowing anyone to connect to your database from a form? Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com A little OT, but... What do you mean by this question? How do you check someone's credentials if not by connecting to a db to verify the login

Re: [PHP] mysql_connect noob question

2013-04-20 Thread David OBrien
> > > $form_user = $_POST[ 'user' ]; > > $form_pass = $_POST[ 'password' ]; > > > > # Connect to remote DB > > > > $LINK = mysql_connect( $host, $form_user, $form_pass ); > > > > And yes, my $host param is correct. > Have you tried $LINK = mysql_connect( $host, "$form_user", "$form_pass" ); just

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Tedd Sperling
On Apr 19, 2013, at 4:43 PM, Glob Design Info wrote: > I know this has probably been answered already. > > When I pass a user name and password from a form to my PHP script and then > pass those to mysql_connect it doesn't connect. When I paste those exact same > values into mysql_connect as s

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Glob Design Info
Goog suggestion. The user name is an email address so it does contain @. Password is all pure lowercase ASCII. Wonder if the shift-2 is causing the problem? On 4/20/13 4:44 AM, Matijn Woudt wrote: On Sat, Apr 20, 2013 at 10:36 AM, tamouse mailing lists < tamouse.li...@gmail.com> wrote: No, t

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Glob Design Info
Thanks for that good suggestion. I tried that and as expected, the passed variables are coming through exactly as expected: array(3) { ["user"]=> string(3) "joe" ["password"]=> string(11) "complacency" ["login"]=> string(5) "Login" } The bottom one seems to be the submit button's

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Matijn Woudt
On Sat, Apr 20, 2013 at 10:36 AM, tamouse mailing lists < tamouse.li...@gmail.com> wrote: > No, that's for writing safe html output. > > If the user or password contains special chars, sending them through > htmlspecialchars would turn them into html entities. i doubt you want that. > > I'm at a l

Re: [PHP] mysql_connect noob question

2013-04-20 Thread tamouse mailing lists
No, that's for writing safe html output. If the user or password contains special chars, sending them through htmlspecialchars would turn them into html entities. i doubt you want that. I'm at a loss here. The only thing Ican think of is to try something like this at the top of the script: and

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
Dunno. The code definitely has the underscore. On Apr 19, 2013, at 9:11 PM, Jim Giner wrote: > On 4/20/2013 12:23 AM, Glob Design Info wrote: >> No, no spaces. >> >> I am wondering if I need to use htmlspecialchars() >> >> On Apr 19, 2013, at 7:17 PM, Jim Giner wrote: >> >>> On 4/19/2013 9:3

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Jim Giner
On 4/20/2013 12:23 AM, Glob Design Info wrote: No, no spaces. I am wondering if I need to use htmlspecialchars() On Apr 19, 2013, at 7:17 PM, Jim Giner wrote: On 4/19/2013 9:33 PM, Glob Design Info wrote: They aren't on the same server. The DB is on xeround.com, the web server is localhost.

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
No, no spaces. I am wondering if I need to use htmlspecialchars() On Apr 19, 2013, at 7:17 PM, Jim Giner wrote: > On 4/19/2013 9:33 PM, Glob Design Info wrote: >> They aren't on the same server. The DB is on xeround.com, the web server >> is localhost. >> >> The host value is set and working.

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Jim Giner
On 4/19/2013 9:33 PM, Glob Design Info wrote: They aren't on the same server. The DB is on xeround.com, the web server is localhost. The host value is set and working. If I hard-code the user and password values in the mysql_connect() call and leave the host value as is, it connects fine. Only p

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
They aren't on the same server. The DB is on xeround.com, the web server is localhost. The host value is set and working. If I hard-code the user and password values in the mysql_connect() call and leave the host value as is, it connects fine. Only passing the user and password from the form c

Re: [PHP] mysql_connect noob question

2013-04-19 Thread David Robley
Glob Design Info wrote: > Sorry. The error displayed is: > > *Warning*: mysql_connect() [function.mysql-connect > ]: Access denied for > user ''@'ip70-162-142-180.ph.ph.cox.net' (using password: YES) in > */Library/WebServer/Documents/wservices/c

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
Sorry. The error displayed is: *Warning*: mysql_connect() [function.mysql-connect ]: Access denied for user ''@'ip70-162-142-180.ph.ph.cox.net' (using password: YES) in */Library/WebServer/Documents/wservices/connect.php* on line *29* (But w

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
Nope, quotes are not visible in the output. Both the HTML and the script it calls are shown below. They are in 2 separate files. The variable names in both are "user" and "password". The data comes through to the PHP script fine - if I print them I see exactly what I typed in the form, but whe

Re: [PHP] mysql_connect noob question

2013-04-19 Thread tamouse mailing lists
On Fri, Apr 19, 2013 at 3:43 PM, Glob Design Info wrote: > I know this has probably been answered already. > > When I pass a user name and password from a form to my PHP script and then > pass those to mysql_connect it doesn't connect. When I paste those exact > same values into mysql_connect as s

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Matijn Woudt
On Fri, Apr 19, 2013 at 10:59 PM, Glob Design Info wrote: > Already did that. I printed the form values in the PHP script after they > are received and they print exactly as entered in the form. Even checked > for extra spaces. > > Any functions I can pass the values to to remove the magic quotes?

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
Already did that. I printed the form values in the PHP script after they are received and they print exactly as entered in the form. Even checked for extra spaces. Any functions I can pass the values to to remove the magic quotes? Thanks, On 4/19/13 1:47 PM, Matijn Woudt wrote: On Fri, Apr 1

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Matijn Woudt
On Fri, Apr 19, 2013 at 10:43 PM, Glob Design Info wrote: > I know this has probably been answered already. > > When I pass a user name and password from a form to my PHP script and then > pass those to mysql_connect it doesn't connect. When I paste those exact > same values into mysql_connect as

Re: [PHP] mysql_connect slowness

2008-04-29 Thread Joe Harman
Hi Waynn! have you ever tried using 1. sql_cache SELECT SQL_CACHE * FROM table .. I use this alot... although you have to have mysql cache enable in the sql config file... your webhost can tell you if it is on or not 2. make indexes for your tables here is a good article http://www.databas

Re: [PHP] mysql_connect slowness

2008-04-28 Thread Aschwin Wesselius
Waynn Lue wrote: Our site has been slowing down dramatically in the last few days, so I've been trying to figure out why. I ran some profiling scripts on our site and saw that we're spending between 3-9 seconds on mysql_connect. Then I connected to our db and saw that there were over 100 connec

Re: [PHP] mysql_connect slowness

2008-04-27 Thread Chris
Waynn Lue wrote: Our site has been slowing down dramatically in the last few days, so I've been trying to figure out why. I ran some profiling scripts on our site and saw that we're spending between 3-9 seconds on mysql_connect. Then I connected to our db and saw that there were over 100 connec

Re: [PHP] MYSQL_CONNECT vs MYSQL_PCONNECT

2006-06-20 Thread Joe Wollard
If you're not sure you should probably stick with mysql_connect() - otherwise you could end up bogging down mysql with way more connections than you need if you're not careful. On Jun 20, 2006, at 12:34 PM, Juanjo Pascual wrote: How can i know which of both is better to use each time? --

Re: [PHP] MYSQL_CONNECT vs MYSQL_PCONNECT

2006-06-20 Thread Robert Cummings
On Tue, 2006-06-20 at 12:34, Juanjo Pascual wrote: > How can i know which of both is better to use each time? Use mysql_pconnect() if the connection overhead is large. This is usually the case if the database is off on a remote server somewhere in lala land. Remote servers within your LAN don't us

Re: [PHP] mysql_connect() error

2005-09-03 Thread Cristea Adrian
Are you sure that is the 5-th line of your script? please give us first 1-10 lines (remove confidential data) for debuging... On 9/3/05, php general help wrote: > Hi > > guys hope you can all help me here. im in the middle of making a script ( im > still quite new), anyway im getting this error

Re: [PHP] mysql_connect vs mysql_pconnect

2004-11-27 Thread fabien champel
ok, i'm sorry, i was probably too tired. i've search the doc, but didn't found this page : http://www.php.net/manual/en/features.persistent-connections.php will me excuse me ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect vs mysql_pconnect

2004-11-27 Thread Jad Madi
http://www.google.com/search?lr=&ie=UTF-8&oe=UTF-8&q=mysql_connect%20vs%20mysql_pconnect On Fri, 26 Nov 2004 19:55:29 +0100, fabien champel <[EMAIL PROTECTED]> wrote: > hello, > I do not know when I must use mysql_pconnect instead of the mysql_connect :( > > what are the real advantages of persi

Re: [PHP] mysql_connect vs mysql_pconnect

2004-11-26 Thread Robby Russell
On Fri, 2004-11-26 at 19:55 +0100, fabien champel wrote: > hello, > I do not know when I must use mysql_pconnect instead of the mysql_connect :( > > what are the real advantages of persistent connections, please ? > http://www.google.com/search?q=advantages+of+persistent+connection -- /**

Re: [PHP] mysql_connect

2004-11-04 Thread Manoj Kr. Sheoran
Hi Ben , $connection = mysql_connect$host,$user,$password); if(!$connection) echo echo mysql_error(); After checking error msg . I can help you --Mannoj Kr. Sheoran - Original Message - From: "Ben Miller" <[EMAIL PROTECTED]> To: "php

Re: [PHP] mysql_connect

2004-11-03 Thread Jason Wong
On Thursday 04 November 2004 06:47, Ben Miller wrote: Please do not top post. > Guess that would have been helpful. > > Warning: mysql_connect(): Access denied for user: > '[EMAIL PROTECTED]' (Using password: YES) in > /home/virtual/site2/fst/var/www/html/test/global.php on line 74 > Couldn't con

Re: [PHP] mysql_connect

2004-11-03 Thread raditha dissanayake
Ben Miller wrote: Guess that would have been helpful. Warning: mysql_connect(): Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in /home/virtual/site2/fst/var/www/html/test/global.php on line 74 Couldn't connect to server. That does not mean that the $host is being replaced by

RE: [PHP] mysql_connect

2004-11-03 Thread Ben Miller
EMAIL PROTECTED] Sent: Thursday, November 04, 2004 7:47 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] mysql_connect On Thursday 04 November 2004 06:22, Ben Miller wrote: > I am having trouble connecting to a database on another server. I have the > following for the connection, but it seems to be

Re: [PHP] mysql_connect

2004-11-03 Thread Jason Wong
On Thursday 04 November 2004 06:22, Ben Miller wrote: > I am having trouble connecting to a database on another server. I have the > following for the connection, but it seems to be overriding the value for > the $host variable, and replacing it with localhost. Anyone got any ideas? > > $host="d

Re: [PHP] mysql_connect does not connect

2004-09-22 Thread Jason Wong
On Wednesday 22 September 2004 03:43, Chris Dowell wrote: > Sam Hobbs wrote: > >I am not assuming; that is why I am asking this question. You really can > > say the same thing except without the emotions. You can simply state the > > fact that as far as you know it is not a PHP problem. It really,

Re: [PHP] mysql_connect does not connect

2004-09-21 Thread Chris Dowell
[snippy] Sam Hobbs wrote: Um.. you do realize you have more problems than php not being able to connect to the database. This is the type of unproductive comment that causes problems. The only reason you are saying this is because you are desperate to make me wrong. You have exhausted reason

Re: [PHP] mysql_connect does not connect

2004-09-20 Thread Carlos Souza
Sam Hobbs wrote: "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Would you mind spilling the beans? I'm sure everyone is dying to know what the resolution of this thread is. I definitely mind. I don't believe in rewarding bad behavior. It is reasonable to contribute to

Re: [PHP] mysql_connect does not connect

2004-09-20 Thread Steve Brown
> I definitely mind. I don't believe in rewarding bad behavior. It is > reasonable to contribute to the productive development of solutions, but the > attitude in this group is not productive. I have the impression that the > real reason you want answers is so that you can continue in unproductive

RE: [PHP] mysql_connect does not connect

2004-09-20 Thread Jay Blanchard
[snip] I definitely mind. I don't believe in rewarding bad behavior. It is reasonable to contribute to the productive development of solutions, but the attitude in this group is not productive. I have the impression that the real reason you want answers is so that you can continue in unproductive

Re: [PHP] mysql_connect does not connect

2004-09-19 Thread Jason Davidson
uh huh.. was it your firewall :) :) it was wasnt it.. im so bad, im so bad it hurts, but i solved your problem, so come on, a cookie or something..pat on the head, or how about, thanks for helping. Jason "Sam Hobbs" <[EMAIL PROTECTED]> wrote: > > "Jason Wong" <[EMAIL PROTECTED]> wrote in messa

Re: [PHP] mysql_connect does not connect

2004-09-19 Thread John Nichel
Sam Hobbs wrote: "Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Sam Hobbs wrote: I have posted over 12,000 messages in the CodeGuru.com Visual C++ forum, Do you have a life ? I hope the moderators protest posts such as this. Moderators? You're in the land o

Re: [PHP] mysql_connect does not connect

2004-09-19 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Would you mind spilling the beans? I'm sure everyone is dying to know what > the > resolution of this thread is. I definitely mind. I don't believe in rewarding bad behavior. It is reasonable to contribute to the produ

Re: [PHP] mysql_connect does not connect

2004-09-19 Thread Jason Davidson
"Sam Hobbs" <[EMAIL PROTECTED]> wrote: > > "Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Sam Hobbs wrote: > > > >> > >>I have posted over 12,000 messages in the CodeGuru.com Visual C++ forum, > > Do you have a life ? > > I hope the moderators protest po

Re: [PHP] mysql_connect does not connect

2004-09-19 Thread Sam Hobbs
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sam Hobbs wrote: > >> >>I have posted over 12,000 messages in the CodeGuru.com Visual C++ forum, > Do you have a life ? I hope the moderators protest posts such as this. -- PHP General Mailing List (http://www.

RE: [PHP] mysql_connect does not connect

2004-09-18 Thread Ed Lazor
Sent: Saturday, September 18, 2004 10:35 AM > To: Sam Hobbs; [EMAIL PROTECTED] > Subject: Re: [PHP] mysql_connect does not connect > > oh booh, i replied to that, explicitly detailing you can simply > allow an open port for mysql rather than drop the whole firewall. > > Yes this

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread Jason Davidson
oh booh, i replied to that, explicitly detailing you can simply allow an open port for mysql rather than drop the whole firewall. Yes this type of comment cuases problems, or in your case, fixes your problem... at least your mysql connection one. so are you saying im unreasonable, and unkno

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread Daniel Schierbeck
Sam Hobbs wrote: "Steve Brown" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Sam, if you wouldn't mind answering a question: are you still unable to connect to your mysql server? I am able to connect now. I'm sorry that you feel its a time-consuming process. I'm sorry that you ar

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread Sam Hobbs
That is the type of comment that causes problems. Reasonable and knowledgable people know it is not true and saying it just causes problems. Of course, many people would advise to just ignore comments such as that and I will in the future. I just want to make it clear for the benefit of others

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread Jason Wong
On Saturday 18 September 2004 21:04, Sam Hobbs wrote: > "Steve Brown" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > Sam, if you wouldn't mind answering a question: are you still unable > > to connect to your mysql server? > > I am able to connect now. Would you mind spilling

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread Sam Hobbs
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > You should check as XP SP2 firewall is turned on by default. > > http://support.microsoft.com/default.aspx?kbid=842242 Saying "You should check" assumes I did not check. I did check. I said as far as I know it is off.

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread raditha dissanayake
Sam Hobbs wrote: I have posted over 12,000 messages in the CodeGuru.com Visual C++ forum, Do you have a life ? -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mea

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread Sam Hobbs
"Steve Brown" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Sam, if you wouldn't mind answering a question: are you still unable > to connect to your mysql server? I am able to connect now. > I'm sorry that you feel its a time-consuming process. I'm sorry that > you are confus

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Being obstinate and contrarian does nothing to help resolve your problem. This is more unnecessary and unproductive comments. Since you did not have something relevant and productive to say the best thing to do is say

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread Sam Hobbs
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Um.. you do realize you have more problems than php not being able > to connect to the database. This is the type of unproductive comment that causes problems. The only reason you are saying this is because you are des

Re: [PHP] mysql_connect does not connect

2004-09-18 Thread Sam Hobbs
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >* Thus wrote Sam Hobbs: >> And the relevant portion of that says "external access", which is not >> applicable here. I do not see anything else on that page that is >> relevant. > > what is relevant? only the last one? :s

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread raditha dissanayake
Jay Blanchard wrote: [snip] Thanks for the input, Jay! I prefer top posting since you get the answer first, then the question (iff you're interested enough to scroll down -- sigh -- I'm too lazy :>) [/snip] .siht ekil rewsna dluohs I nehT did you do that with strrev() or type it out by hand? -

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
a php question. Don't you > dare flame me. > > Jay Blanchard wrote: > > Did you just top post? Top posting === evil; > > > > -Original Message- > > From: Jason Davidson [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 17, 2004 3:14 PM >

RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
TED]; [EMAIL PROTECTED] > Subject: Re: [PHP] mysql_connect does not connect > > > HAHAHA, this thread is awsome though, you all must admit the humor > involved here. I hope this thread continues for a couple more days. > or here is an idea for a thread > {PHP} glo

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Wong
On Saturday 18 September 2004 05:17, Greg Donald wrote: > Well.. could you at least not top post while you're not helping.. > Trying to keep this dignified and stuff. :) I think everybody who is anybody who had a point to make has already done so. Can we bury this thread now? -- Jason Wong ->

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread John Nichel
t top post? Top posting === evil; -Original Message- From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 3:14 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] mysql_connect does not connect HAHAHA, this thread is awsome though, you all must admit the

RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Jay Blanchard
[snip] Thanks for the input, Jay! I prefer top posting since you get the answer first, then the question (iff you're interested enough to scroll down -- sigh -- I'm too lazy :>) [/snip] .siht ekil rewsna dluohs I nehT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Andre Dubuc
) Andre On Friday 17 September 2004 05:08 pm, you wrote: > Did you just top post? Top posting === evil; > > -Original Message- > From: Jason Davidson [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 3:14 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] &

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Greg Donald
On Fri, 17 Sep 2004 14:41:28 -0600, Chris Gregors <[EMAIL PROTECTED]> wrote: > This whole thread has degraded to the point of: > > YHBT. YHL. HAND. > > and I'm not helping it. Well.. could you at least not top post while you're not helping.. Trying to keep this dignified and stuff. :)

RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Jay Blanchard
Did you just top post? Top posting === evil; -Original Message- From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 3:14 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] mysql_connect does not connect HAHAHA, this thread is awsome though, you

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Greg Donald
On Fri, 17 Sep 2004 13:34:18 -0700 (PDT), Matthew Sims <[EMAIL PROTECTED]> wrote: > > Check your firewall. I would but I don't have 30 minutes to spare. Too busy walking my lizard.. or something. -- Greg Donald http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
that takes the cake. :D :D J "Matthew Sims" <[EMAIL PROTECTED]> wrote: > > > > > "[PHP} Can't get NULL to output anything!" > > > > hehe > > Andre > > > > > > Check your firewall. > > -- > --Matthew Sims > -- > > -- > PHP General Mailing List (http://www.php.ne

  1   2   3   >