RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Sam Masiello
It sounds like PHP was not compiled with the -with-oracle directive when the configure script was run. This will compile in support for the PHP Oracle functions. HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Brooks, Ken

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Sam Masiello
After reading my last post, I realized that I am a dope :) You DO need to compile in Oracle support, but you don't do it with -with-oracle. That is in Linux :) Sorry about that! Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message-

[PHP] Session handling and SSL

2001-03-26 Thread Sam Leibowitz
onfiguration problem that I'm too dumb to figure out, or should I actually be worried? Thanks, Sam Leibowitz ([EMAIL PROTECTED]) Project Manager Business Technology Center (http://www.btcwcu.org) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP] How do I disable show_source and highlight file?

2001-03-28 Thread Sam Goin
How to I disable the functions show_source and highlight_file? I can't find any documentation anywhere on how to disable it or secure against it. What is there to prevent a user on my server from seeing my password file or database connection scripts? Thanks, Sam

RE: [PHP] Delete Problem

2001-03-30 Thread Sam Masiello
27;)" ; if you want to use a comma separated list, you can use the find_in_set function: $query="DELETE FROM EmailAddress WHERE !find_in_set(Email, 'value1,value2,value3, ,value_n') " ; HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED]

RE: [PHP] scramble the code

2001-04-05 Thread Sam Masiello
Perhaps we could all better assist you if you posted the code for your form ("X"-ing out any sensitive material that you wouldn't want us to see)...or maybe the URL that the form is at so we can see it for ourselves? HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1

RE: [PHP] Close Window script

2001-04-06 Thread Sam Masiello
You need to do this using Javascript since it is a client side function. window.close() is the function you are looking for. HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Wee Chua [mailto:[EMAIL PROTECTED]] Sent: Friday

[PHP] experienced PHP/MYSQL/Perl/JAVA programmer

2001-04-06 Thread SAM G
Hi, I am experienced PHP/MYSQL/Perl/JAVA programmer, with many applications developed. If you have any projects need help, we can work together. If you are interested, pls send me e-mail for more details. Besides, I am in Toronto, would like to make some friends to exchange programming skill. Th

RE: [PHP] Easy question...grabbing variables...

2001-07-11 Thread Sam Masiello
hin your send_email.php script, you can access $from which will have the value 25 upon entry to your script. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11,

RE: [PHP] PHP irc chatrooms

2001-07-12 Thread Sam Masiello
Try #php :) Lots of people hanging out in there all the time. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Bernie Kruger [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 8:46 AM To

RE: [PHP] php- something that i don't understand

2001-07-17 Thread Sam Masiello
Pardon my ignorance if you can really do it this way (because I have never seen it done like this): In line 4, I wasn't aware that you could call mysql_connect() without any parameters. Can you? HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROT

Re: [PHP] Hack on Server.

2001-07-19 Thread Sam Masiello
I think the following link might shed some more light on the situation: http://news.cnet.com/news/0-1003-200-6604515.html HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] On Fri, 20 Jul 2001 10:12:25 +1000 Brian White <[EM

RE: [PHP] Please Please Pleeeeaaaaaaaaaasssssssseeeeeee

2001-07-27 Thread Sam Masiello
ripts "hands on" for you? :) --Sam -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 8:48 PM To: [EMAIL PROTECTED] Subject:[PHP] Please Please Plaaeee Can everybody please send me a simple script th

RE: [PHP] HELP!! What wrong with this code...

2001-07-31 Thread Sam Masiello
You need to put backslashes before your quotes in your echo statement. Like this: echo "Your feedback has been sent to mailto:$address\";>$name"; HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message-

RE: [PHP] SQL syntax error in PHP script. dunno what's wrong

2001-08-01 Thread Sam Masiello
E id='$id'"; Without the quotes, SQL doesn't know that Something Amazing is supposed to go together in the same string. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Chris Worth [mailto:[E

RE: [PHP] Installing PHP probs

2001-08-01 Thread Sam Masiello
Exactly what error are you getting? The install is pretty straight forward. Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 9:26 PM To

RE: [PHP] New lists (was [PHP] Attitude of B van Ouwerkerk)

2001-08-04 Thread Sam Masiello
al Forum, so I am not convinced that creating more specialized mailing lists would accomplish much more than creating MORE mail traffic (from the spammed questions) and alienating people who used the more specialized lists because most everyone else is still mainly reading the "General Forum.&quo

RE: [PHP] mysql_numrows

2001-08-06 Thread Sam Masiello
I believe the function you want is mysql_num_rows, not mysql_numrows HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 9:35 AM To

RE: [PHP] get value

2001-08-06 Thread Sam Masiello
ycount should now be the value held from your count in the SQL statement. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Jeremy Morano [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 4:07 P

RE: [PHP] Sort a an array?

2001-08-16 Thread Sam Masiello
Instead of trying to sort the result AFTER it returns from the query, you could use an ORDER BY clause in your query to sort the results prior to trying to output it? You could change your query to something like: "SELECT * FROM tablename ORDER BY fieldname" HTH Sam Masiello Softwa

RE: [PHP] order of update??

2001-08-23 Thread Sam Masiello
The order doesn't matter, but perhaps you might want to put single quotes around your $a at the end of your SQL statement. You didn't mention the error that you were getting, but this might help nonetheless :) update tablename set x='$x', y='$y', z='$

RE: [PHP] Re: order of update??

2001-08-23 Thread Sam Masiello
Why "can't you update" ? What error message are you getting? Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 3:28

RE: [PHP] fix my query please

2001-08-28 Thread Sam Masiello
It has outer joins: http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#JOI N HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Martín Marqués [mailto:[EMAIL PROTECTED]] Sent: Tuesday

RE: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Sam Masiello
I would say that you have a permission problem with where PHP is trying to write the file to. Try outputting the file to /tmp/db.dump and see if you have the same problem. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] -Original

RE: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Sam Masiello
Have you tried putting in the fully qualified pathname to the mysqldump executable? /usr/somepath/mysqldump HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] -Original Message- From: Tony Frasketi [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Sam Masiello
You could do: "which mysqldump" (without the quotes, of course :) ). This is provided that mysqldump is in your path (if you can enter just "mysqldump" from the command line, then it is). HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X

RE: [PHP] test for empty $result??

2001-09-10 Thread Sam Masiello
Then you can use: if (mysql_num_rows($result) == 0) { stuff here } This will check the number of rows returned from your query. If zero, then do somethingmodify as you need. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED

Re: [PHP] can you pls tell me where is php ./configure file in linux 7.1

2001-09-25 Thread Sam Masiello
like as part of the PHP install. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] - Original Message - From: "Caleb Carvalho" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 1:33 PM

[PHP] LDAP Group query examples?

2004-08-09 Thread Sam Evans
Hello.. I am wondering if someone could point me in the general direction of some examples which show how to query an LDAP group for user membership? Thanks, Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fwd: LDAP Group query examples?

2004-08-10 Thread Sam Evans
group. Thanks, Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] LDAP Group query examples?

2004-08-10 Thread Sam Evans
Hello.. I am wondering if someone could point me in the general direction of some examples which show how to query an LDAP group for user membership? Thanks, Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Netegrity's siteminder + PHP + Apache

2004-08-12 Thread Sam Evans
Saqib, We have been able to get Siteminder v5.X to work on Apache 2.0.50 with PHP 5.0.0.. There really wasn't too much hassling with it, but we did have to get the Siteminder 5.X hotfix for Linux though. Let me know what kind of trouble you are running into, and I'll try to help you

[PHP] Dynamic HTML Creation

2004-08-27 Thread Sam Hobbs
Is it possible to use the DOM to add (HTML) elements to a page at the time the page is being shown? The HTML and VBScript shown below is a simplified version of what I need to do but of course I need to do it in PHP. Since PHP is server-side (right?) perhaps it is not possible. Dynamic Table De

Re: [PHP] Dynamic HTML Creation

2004-08-28 Thread Sam Hobbs
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 27 Aug 2004 23:17:29 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote: > > Is it possible to use the DOM to add (HTML) elements to a page at the time > > the page is being shown? T

Re: [PHP] Dynamic HTML Creation

2004-08-28 Thread Sam Hobbs
"Ramil Sagum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Yes, it is possible. And you are right, PHP is a server side > language. In addition to PHP, > use a client-side scripting language (like JavaScript). JavaScript > also has functions for accessing the DOM (createElement

Re: [PHP] Dynamic HTML Creation

2004-08-28 Thread Sam Hobbs
Read the original question again; it is quite clear about the relevance to PHP. "Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > its possible to add HTML elements with DOM, im not sure what it has to > do with php though? -- PHP General Mailing List (http://www.php

[PHP] Loading php_domxml.dll

2004-08-28 Thread Sam Hobbs
I am using PHP 4.3.4 with Windows XP and Apache 2. I can't get php_domxml.dll loaded. I have searched for answers and tried many things. The file: S:\Software\php-4.3.4-Win32\extensions\php_domxml.dll exists. In my php.ini, I have tried setting extension_dir to many values, including:

Re: [PHP] Dynamic HTML Creation

2004-08-28 Thread Sam Hobbs
"Ramil Sagum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Ah. You should have said this in your first mail (which was > confusing). It now becomes clear. I think what you are looking for is > a template engine, like smarty > > http://smarty.php.net/ If Smarty is a good solutio

[PHP] Re: Caching Database Information

2004-08-28 Thread Sam Hobbs
"Paul Higgins" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Can I cache too much and therefore negate the advantages of caching? Performance can be a very complicated subject. There is a good chance that the data is already cached. I don't know the details of how PHP, your hadrw

[PHP] Re: Loading php_domxml.dll

2004-08-29 Thread Sam Hobbs
After doing a lot of searching and trying many things, I finally got it working; at least to the extent that the extension is loaded. I am not sure what all I did that is necessary, but the one thing that seems to have been necessary is to copy iconv.dll to my Windows\Systme32 directory. I hesitat

[PHP] Loading a html file using DOM XML

2004-08-29 Thread Sam Hobbs
Is it possible to load a HTML file using DOM XML? I tried loading a HTML file using: $Document = domxml_open_file("DynamicTable.html"); if (!$Document) { echo "Error loading the document\n"; exit; } Yet that does not work; I get the error. -- PHP General Mailing

Re: [PHP] Loading a html file using DOM XML

2004-08-29 Thread Sam Hobbs
I don't want a XML document! I need a HTML document. Are you sure that that is the only possible explanation? I think not, and if not, then it is not accurate to say that that is the obvious answer. I did try changing the extension from "html" to "XML" and loading that directly into IE. I did get

Re: [PHP] Loading a html file using DOM XML

2004-08-29 Thread Sam Hobbs
nction.dom-domdocument-loadhtmlfile.php > > This function can load HTML into a DOM Document without having to be > well-formed > > chregu > > > > > On Sun, 29 Aug 2004 05:56:51 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote: > > I don't want a XML document!

Re: [PHP] Loading a html file using DOM XML

2004-08-29 Thread Sam Hobbs
Correction: the documentation is quite clear in saying that the "DOM extension is the replacement for the DOM XML extension". So that is further indication that I should use DOM not DOM XML. "Sam Hobbs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >

Re: [PHP] Loading a html file using DOM XML

2004-08-29 Thread Sam Hobbs
Under domxml phpinfo shows the libxml Version as 20510 and it says that HTML Support is enabled. Is that what you mean? When I say: $Document = DOMDocument::loadHTMLFile("DynamicTable.html"); print $Document->saveHTML(); It says: Fatal error: Call to undefined function: loadhtmlfile

Re: [PHP] Loading a html file using DOM XML

2004-08-29 Thread Sam Hobbs
Perhaps it will be easier if I just install PHP 5. If I do, then I will need to also get the hsoting company that hosts my site to install it. Hopefully that won't be a problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Loading a html file using DOM XML

2004-08-29 Thread Sam Hobbs
Look at: http://simplesamples.info/Tests/PHPinfo.php That is not my local system but it is the information for the server that I will need to implement on. If anyone can give a hint of what I need to ask for to get DOM enabled there, then that will help. Or should I ask them to install PHP 5? --

[PHP] importNode

2004-09-02 Thread Sam Hobbs
I am trying to copy the body portion of a HTML file for use in the current page. I am using PHP 5.0.1. I think the following is close but not close enough; nothing gets imported by importNode. I assume this would be easy if I knew the DOM well enough; if someone else is then I hope this would b

Re: [PHP] Exporting Dbase to CSV

2004-09-02 Thread Sam Hobbs
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > What, exactly, do you mean? A CSV file that resembles a spreadsheet? A > doc with CSV? The term "CSV" is very common; it means "Comma Separated Values". It is the format that originally was (and is) used by the Basic

[PHP] Re: importNode

2004-09-02 Thread Sam Hobbs
"Sam Hobbs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am trying to copy the body portion of a HTML file for use in the current >page. I am using PHP 5.0.1. > > I think the following is close but not close enough; nothing gets imported > by imp

Re: [PHP] Dynamic HTML Creation

2004-09-02 Thread Sam Hobbs
"Ramil Sagum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > given a template : > - > > User Information: > Name: {$name} > Address: {$address} > > - > and the php code: > > $smarty = new Smarty; > $smarty->assign('name', 'george smith'); > $smarty->assign('address'

[PHP] Copying HTML from a document to another document

2004-09-02 Thread Sam Hobbs
I need to copy HTML from a DOM document to another DOM document. The following is a simplified version of what I need to do. // Create HTML to be copied from $ContentsDocument = new DOMDocument(); $TextNode = $ContentsDocument->createTextNode("Text"); $Paragraph = $ContentsDocument->createElement

[PHP] Re: PHP to replace javascript

2004-09-02 Thread Sam Hobbs
"Jack Gates" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Javascript can open a separate and specifically sized window from a web > page > when a user clicks on a link that might reference a note or picture etc. > > Can this be done with PHP? If yes, will someone tell me where

Re: [PHP] Popup with recent IE updates

2004-09-03 Thread Sam Hobbs
"Lester Caine" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > So don't know what goes wrong, but were running Apache 2.0.50, PHP5.0.0 on > XP-SP1 and probably style sheets were going wrong. Switch back to W2k SP3 > and all is fine (SP4 screws up various other network apps) so we

[PHP] Is a PECL a black whole?

2004-09-03 Thread Sam Hobbs
It took me a while to find an explanation of what a PECL is. I kept reading comments about things being moved to a PECL but I saw nothing about what is in a PECL or how to get anything out of a (the?) PECL. As far as I knew, there is a danger of all of PHP being in a PECL. I could not (and cann

Re: [PHP] Is a PECL a black whole?

2004-09-03 Thread Sam Hobbs
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >* Thus wrote Sam Hobbs: >> It took me a while to find an explanation of what a PECL is. I kept >> reading >> comments about things being moved to a PECL but I saw nothing about w

[PHP] Re: Copying HTML from a document to another document

2004-09-03 Thread Sam Hobbs
"Sam Hobbs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > foreach($ContentsDocument->childNodes as $Node) >$Cell->appendChild($Node); If there is not a different solution that should be used instead, then can anyone confirm this should work? In o

Re: [PHP] Is a PECL a black whole? OT

2004-09-03 Thread Sam Hobbs
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [snip] > black whole? > [/snip] > > As in, "Is PECL the wholeness of black?" or "Is PECL all that is black?" > > *snicker* It just struck me funny, but everyone knew that you meant > "black hole". I already replied to

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-09-05 Thread Sam Hobbs
"John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > How about middle posting? I have noticed that usually when people say things like "don't top post", the reasons provided for not doing it apply equally as much to bottom-posting. What they really maen is that they wan

[PHP] get_class_vars

2004-09-11 Thread Sam Hobbs
Using the code shown below, I get nothing from get_class_vars but I do get very useful results from get_class_methods. I realize that this is how it is supposed to be, but it would be useful to be able to get the property members of the class. The reason I want to see the properties of DOMDocume

[PHP] mysql_connect does not connect

2004-09-13 Thread Sam Hobbs
I have: PHP Version 5.0.1 MySQL 5.0.1 Apache 2.0.48 Winows XP Pro SP2 MySQL is working fine as best as I can see; I have tried the various samples in the MySQL manual and I have executed the myTest sample provided with MySQL. They all work. However I can't get mysql_connect to w

[PHP] Re: mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
"Janbro" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi I connect to a MySQL 4.1 with the following String: > > > if > ($db_verbin=mysqli_connect("$mysql_host","$mysql_user","$mysql_passw","$DB_n > ame")) > > watch the i in mysqli_connect! > > I think I've read somewhere that you

[PHP] Re: mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
"Janbro" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi I connect to a MySQL 4.1 with the following String: > > > if > ($db_verbin=mysqli_connect("$mysql_host","$mysql_user","$mysql_passw","$DB_n > ame")) > > watch the i in mysqli_connect! > > I think I've read somewhere that you

Re: [PHP] mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Windows XP Firewall, or any other firewall for that matter must be off. > Jason Can someone else confirm that this is correct? For one thing, when I use MySQL directly outside of a web page, it works. The sample C pr

Re: [PHP] mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
"John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I don't know anything about WindowsXP or it's 'firewall', but you _may_ > have to open the port for which you have MySQL running on. I haven't > followed this thread, but if MySQL, and your php enabled webserver are o

Re: [PHP] mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Also, a google on the error returns hundreds of results.. > http://www.google.ca/search?hl=en&ie=UTF-8&q=Can%27t+connect+to+++MySQL+server+on+%27localhost%27+%2810061%29&btnG=Search&meta= Yes, I could have searche

Re: [PHP] Re: mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
"Andrew Kreps" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote: >> Also, are the warning messages documented? As I asked in my original >> question, is 10061 an error code?

Re: [PHP] mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Also, a google on the error returns hundreds of results.. > http://www.google.ca/search?hl=en&ie=UTF-8&q=Can%27t+connect+to+++MySQL+server+on+%27localhost%27+%2810061%29&btnG=Search&meta= One thing I did find in t

Re: [PHP] mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
to play when trying to connect. > You dont have disable it, i should have been specifc i suppose, you must > allow for the mysql port to be open. :) > Whats for others to confirm, try it yourself and see if it works. > > Jason > > "Sam Hobbs" <[EMAIL PROTECTED]>

Re: [PHP] mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
ll" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sam > > Your problem probably does stem from the extension not being installed. > > You say you're using (IIRC) mySQL 4.1 > > This requires you to use the mysqli extension, not the mysql exte

Re: [PHP] mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
"John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jason Davidson wrote: >> The webpage of coarse, is not local, regardless of where its hosted, so >> a firewall will come into play when trying to connect. You dont have >> disable it, i should have been specifc i suppose

Re: [PHP] mysql_connect does not connect

2004-09-14 Thread 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. "Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ok, well, i just posted a link for you to check out, it gives insight o

Re: [PHP] mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
I appreciate your attempts to help, but you must understand that when attempts to help just cause time to be wasted, then it might be appropriate to not appreciate the help. Then when I try to explain that you are not helping, you make comments such as this, trying to blame me. If I am the only

Re: [PHP] mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
"Greg Donald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I lost track of who the original poster was, but anyway... > > Why not disconnect from the internet, turn off all the firewalls, and > then see if it works. If it doesn't then post some error messages and > code for wha

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
"Andrew Kreps" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote: >> Also, are the warning messages documented? As I asked in my original >> question, is 10061 an error code?

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > So now are you fully convinced it's your firewall that's the root of your > problem? No, not really. At the moment I am assuming it is a bug in something somewhere. The versions of php and MySQL that I am using are not

Re: [PHP] mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
"Greg Donald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Yeah, seeing how we don't have physical access to your system that's > all you will get is guesses and suggestions. If you want definative > answers, hire a consultant, bring them to your pc, and pay them to fix > it.

Re: [PHP] mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> > Now that you have figured out, that it is possible its your firewall, > which, many, and i think you claimed before was impossible, what > exactly makes you sure i said anything invalid. It is my understanding that

[PHP] Re: php/MYSQL remove duplicate records

2004-09-15 Thread Sam Hobbs
I do that a lot using Microsoft Access. I just finished on a project where I had to eliminate duplicates from each of three or more queries, a couple of which have three keys. However I am not much more experienced han you are; Microsoft Access generates SQL for us so I am not sure what the SQL

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The firewall is relevant depending on your circumstances. In any case it > would > take you all of one minute to disable your firewall to test out this "wild > far out suggestion". At the most you would have lost one min

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Markus Mayer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > It is our experience at my employer that the firewall in XP-SP2, as well > as > other firewalls that are available, are very relevant. Thank you. I have not seen anything that states that explicitly. I doubt that SP2

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
It is innacuracies such as this that make it difficult for me to pursue the useful suggestions. "Chris Dowell" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > All this is irrelevant; while you're still trying to use MySQL 5 with > mysql_connect() instead of mysqli_connect(), it W

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > IIRC the OP did have a successful test case when connecting from the mysql > client. Yes, I did get it to work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The MySQL functions work fine in php5. It just doesn't support all the > features available in MySQL => 4.1.0. Unlike php4, support for MySQL > isn't bundled in php5, but when enabled, it works. Thank you. I will t

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > IIRC the OP did have a successful test case when connecting from the mysql > client. For whomever is interested, see my mess(ages) in the php internals. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > RTFM. > > mysql: > This MySQL extension doesn't support full functionality of MySQL > versions greater than 4.1.0. For that, use MySQLi. > > mysqli: > The mysqli extension is designed to work with the version 4.1.3 or

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I'm not familiar with MySQL under Windows, but I believe that there are > different installers available from various sources. So saying "Typical" > installation option doesn't really mean much. There is only one Windows

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 >> re

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
est thing to do is say nothing. I hope the moderators agree. > Would I be correct if I paraphrased the above as: > > The wrong way to get Sam Hobbs to try something that might help in solving > his > problem: > > [JD] The firewall might be blocking your attempts to connect to

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-consum

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 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] Re: mysql_connect does not connect

2004-09-18 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Unfortunately (fortunately?) there are packages out there which install > all > Apache/MySQL/PHP for you or whatever. So unless you state which package > you're using then "typical" is still meaningless. It's just helpfu

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.

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] textarea vs. type="text" data difference?

2004-10-10 Thread Sam Smith
you be a little more specific on what differences you get? > > I normally use textarea for multi-line data and input type="text" for one > line, short data... the only difference you might encounter that I can think > off the top of my head is maybe line break? > > >

Re: [PHP] textarea vs. type="text" data difference?

2004-10-10 Thread Sam Smith
27;s maybe a > scope error... especially if you define the function in formProcessor and it > works fine... > > -Minuk > > - Original Message - > From: "Sam Smith" <[EMAIL PROTECTED]> > To: "PHP" <[EMAIL PROTECTED]> > Sent: Sunday,

[PHP] mail() and Verizon

2004-09-30 Thread Sam Smith
Can anyone tell why the mail (see below) is not being relayed to [EMAIL PROTECTED]: #Note: There were 2 "To:" addresses. Below is the header from the successful mail to the second address. Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 70862 invoked by uid 399

Re: [PHP] Re: mail() and Verizon

2004-10-01 Thread Sam Smith
> Hello, > > On 10/01/2004 12:47 AM, Sam Smith wrote: >> Can anyone tell why the mail (see below) is not being relayed to >> [EMAIL PROTECTED]: >> >> #Note: There were 2 "To:" addresses. Below is the header from the successful >> mail to t

<    1   2   3   >