Re: [PHP] WHERE field = a range of values (value

2011-05-25 Thread Paul S
On Tue, 24 May 2011 23:47:47 +0700, "Paul S" wrote: On Tue, 24 May 2011 21:09:34 +0700, "Richard S. Crawford" wrote: On Tue, May 24, 2011 at 6:51 AM, Paul S wrote: I'd like to check a table to retrieve rows for which one field equals one of a set of values

Re: [PHP] WHERE field = a range of values (value

2011-05-24 Thread Paul S
On Tue, 24 May 2011 21:09:34 +0700, "Richard S. Crawford" wrote: On Tue, May 24, 2011 at 6:51 AM, Paul S wrote: I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category list while ($ro

[PHP] WHERE field = a range of values (value

2011-05-24 Thread Paul S
I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category list while ($row = $db_connect->fetch_array($productsincategory_list)) { $product = $row ['selection']; $fields = "$fields" . " $product,"; }

Re: [PHP] How is this possible???? (addslashes)

2011-02-17 Thread Paul S
On Thu, 17 Feb 2011 07:50:45 +0700, Daniel Brown wrote: No offense, but are you kidding me? The host disables phpinfo() for security reasons, but keeps 4.4.4 running? Talk about running, Paul run away from them. Fast. AND they have a condition (this reported) that could cause (

[PHP] How is this possible???? (addslashes)

2011-02-16 Thread Paul S
Can anyone please tell me how the addslashes output ("note = Everyone''s a card on the \earth") in the following example is possible. It is "addslashes" output but this result is consistent with the output from "post" when runtime is set: 1): a single quote is inserted before a single quote and no

Re: [PHP] No SMTP server? Can't get mail()

2011-01-24 Thread Paul S
On Sun, 23 Jan 2011 12:40:25 +0700, David Robley wrote: Paul S wrote: I'm a little new to PHP. David starts: Nobody seems to have mentioned it, but the SMTP info is only needed on a Win system. The following is an extract from a default php.ini file: Well, I have just RTF

Re: [PHP] No SMTP server? Can't get mail()

2011-01-22 Thread Paul S
On Fri, 21 Jan 2011 13:41:21 +0700, Peter Lind wrote: Probably not the solution you were looking for, but I've always found mail() very unstable and I tend to use a mail library instead. Like phpmailer or swiftmailer. Easier to configure and figure out problems with. Regards Peter Peter, t

Re: [PHP] No SMTP server? Can't get mail()

2011-01-20 Thread Paul S
On Fri, 21 Jan 2011 13:07:02 +0700, "Paul S" wrote: On Fri, 21 Jan 2011 12:28:16 +0700, Paul M Foster wrote: On Fri, Jan 21, 2011 at 10:45:46AM +0700, Paul S wrote: I am having problems with mail(). The problem is that the email just never gets there. Mail appears to be w

Re: [PHP] No SMTP server? Can't get mail()

2011-01-20 Thread Paul S
On Fri, 21 Jan 2011 12:28:16 +0700, Paul M Foster wrote: On Fri, Jan 21, 2011 at 10:45:46AM +0700, Paul S wrote: I am having problems with mail(). The problem is that the email just never gets there. Mail appears to be working. To start, I am investigating the SMTP server. I can&#

[PHP] 400 Cannot connect to NNTP server

2011-01-20 Thread Paul S
400 Cannot connect to NNTP server 76.75.200.58 (76.75.200.58:119), connect error 10060 I do not seem to be having any problems getting to this newsgroup :-) but this message keeps popping up. Just to let u know, no need for replies. Thanks for a great resource! -- Using Opera's revolution

[PHP] No SMTP server? Can't get mail()

2011-01-20 Thread Paul S
I am having problems with mail(). The problem is that the email just never gets there. Mail appears to be working. To start, I am investigating the SMTP server. I can't understand some things. 1) I am sure that the smtp server is and is set to "localhost", but I want to verify this ... --

Re: [PHP] PHPInfo disabled due to security

2010-12-16 Thread Paul S
On Thu, 16 Dec 2010 00:13:31 +0700, "Daniel P. Brown" wrote: Well, phpinfo() does, by default, divulge some things that could be considered security concerns --- particularly in poorly-managed environments. Primarily, this is by giving a synopsis of versions and paths of software, but so

[PHP] PHPInfo disabled due to security

2010-12-15 Thread Paul S
Warning: phpinfo() has been disabled for security reasons in /home/.../php/phpinfo.php on line 2 My ISP has disabled phpinfo and has not answered my tech requests on this for over a month. They seem to never have a thing to do but play games with silly security "issues". In a day some phone ca

[PHP] php to open mail compose window

2002-03-02 Thread Paul S.
I thought that a simple php file "email.php" as follows: mailto:[EMAIL PROTECTED]";); ?> might open a compose window and circumvent those spam robots (the robots that search web pages for email addresses for spam lists). 1) If this worked (a href="./email.php) then WOULD spam robots be circumve

[PHP] dot files in php directories

2001-12-28 Thread Paul S.
When reloading php software to new directories deleting the old dir is often difficult because there is a dot file (often with a majic quotes directrive) so directories aren't empty. I have to telnet to my main account and use command line ftp to delete the (still invisible) offending dot files. T

Re: [PHP] phpmyadmin blob blues

2001-12-28 Thread Paul S.
TRUE? > > Op vrijdag 28 december 2001 16:52, schreef Paul S.: > > I had been using "blob" for a lot of mysql text fields, even email > > address as well as other data. all of a sudden, it seems, instead of > > seeing and editting these blob values in phpmyadmin (i cu

[PHP] phpmyadmin blob blues

2001-12-28 Thread Paul S.
I had been using "blob" for a lot of mysql text fields, even email address as well as other data. all of a sudden, it seems, instead of seeing and editting these blob values in phpmyadmin (i currently have 2.2.2) tables all i see in the fields is "[BLOB]" and I am ubnable to edit the fields. Does

[PHP] COM

2001-08-21 Thread Paul S.
I heard refs on using the COM interface to access MS Word files. Is this a procedure an interface that only works on Windows systems (as that is where Word runs)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] PHP within .html files

2001-08-16 Thread Paul S.
My UNIX apache server that I host from seems to be preset to execute PHP code within html docs. That is, a php require statement within a ".html" file is included, executed, and sent to the browser. Is this unusual? or standard? I ask because I would hope not to become dependent on including php

[PHP] Unix vs PC test for server

2001-08-16 Thread Paul S.
I design a website on a PC, and upload it to UNIX. Of course, there are always one or two variables that I have to keep track of as to whetherteh server is UNIX or PC. There MUST be a simple way to test if (the OS is Windows) { $siteurl = "http:// www.website.com/ "; $mysqlpasswordfilelocation