Re: [PHP-WIN] Pear problem with graphiz library

2012-10-16 Thread Niel Archer
21:16:03) > >Copyright (c) 1997-2012 The PHP Group > >Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Pear problem with graphiz library

2012-10-16 Thread Niel Archer
ot strict compliant on PHP 5.3 and later. According to http://pear.php.net/manual/en/rfc.estrict-compatibility.solution.php only NEW packages (after 2007) need to run on PHP 5.1.4 without producing strict warnings. Personally, I "fix" the PEAR files that I have to use to make them as E_STRICT compliant as possible. Most of them only need 'static' added to certain class method definitions. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Weird/strange issue with PHP file

2012-10-13 Thread Niel Archer
ctions server. I suggest checking the error logs for details. You do write errors to a log, don't you? ;-) -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Php doesn't calculate value

2012-09-15 Thread Niel Archer
> >else >{ >echo "not setted"; > } > $query = $_POST['idschema']; > print $query; > > ?> > --- > > > I cannot retrieve the value being selected by the user with the dropdown > list, do you have any idea or workarounds?Thankyou! > > regards > > Matt You are using method=get in the form tag and trying to retrieve from the $_POST variable. Either change the method to post or the variable to $_GET -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Characters in an uploaded text file being corrupted

2012-05-27 Thread Niel Archer
fortunately. There are ways to handle encoding conversions, but I don't think anyone would call them 'simple'. ;-) See the Multibyte String extension for one way. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Class help

2012-04-04 Thread Niel Archer
tArray[i] . ''; } return $testArray } If you want to work directly on the original array (not a copy passed into the function), then use a reference in the function signature and drop the return statement. public function validateArray(&$testArray) http://www.php.net/ma

Re: [PHP-WIN] No errors reported -- but no positive data either.

2011-11-18 Thread Niel Archer
> On Thu, Nov 17, 2011 at 8:45 AM, Niel Archer wrote: > > Nice e-mail address!! Very original :D Oops, that's not meant for this list :-( Another list I'm on gets trolled for addresses to spam, so i set that to avoid it. When I upgraded my computer it seems I messed up wit

Re: [PHP-WIN] No errors reported -- but no positive data either.

2011-11-17 Thread Niel Archer
> Greetings again, Neil. Nice to hear from you. > > > > ____ > From: Niel Archer > To: php-windows@lists.php.net > Sent: Tuesday, November 15, 2011 8:13:51 PM > Subject: Re: [PHP-WIN] No errors reported -- but no positive data either.

Re: [PHP-WIN] No errors reported -- but no positive data either.

2011-11-15 Thread Niel Archer
in the uvphotos table. That should never be necessary with a relational Db. Other ideas may also be obvious on seeing the current structure. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Contact Form Problem

2011-06-06 Thread Niel Archer
a at all why this is happening? > All my other websites use the same code and have their own domain name > in the email address and work perfectly. Why is this one single site not > playing ball? > > Thanks in advance > > Darren First thing I would suggest, is test the r

Re: [PHP-WIN] Same code but some photos won't show.

2011-02-28 Thread Niel Archer
> On 28 February 2011 02:22, Niel Archer wrote: > >> > >>          $uvquery = " > >>          SELECT u.uv_filename > >>          FROM uvphotos u > >>          JOIN species s > >>          ON u.species_name=s.species_name > >

Re: [PHP-WIN] Same code but some photos won't show.

2011-02-27 Thread Niel Archer
s escaped. > > $uvquery = " > SELECT u.uv_filename > FROM uvphotos u > JOIN species s > ON u.species_name=s.species_name > WHERE u.species_name = '$speciesname'"; You can't split a normal string over mu

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-02 Thread Niel Archer
include > uid of the script followed by the filename > mail.add_x_header = Off > > ; Log all mail() calls including the full path of the script, line > #, to address and headers > ;mail.log = "F:\test\xampp\apache\logs\php_mail.log" -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Error: Not a proper resource --- with code this time!

2011-01-17 Thread Niel Archer
f the species_name. If, for whatever reason, the additional table is preferable; you can still have the filename available by using a JOIN query in the previous page. Either way this would save you doing a separate lookup for the filename. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net

Re: [PHP-WIN] Error: Not a proper resource --- with code this time!

2011-01-17 Thread Niel Archer
$resultuv); // This and the next > line only to debug a warning > //ECHO "Number of rows is - $number"; > > if(mysql_num_rows($uvresults) >0){ > $row = mysql_fetch_array($resultuv); > extract($row); > } > >

Re: [PHP-WIN] Need help getting syntax correct on 2 related problems.

2010-12-17 Thread Niel Archer
is year > only to be faced with errors I could not handle. > > You may wish to separate these two tasks into separate responses for ease of > discussion and handling. > > These are two problems left of a short list of tasks in the project > before I can lay coding aside for a few months to concentrate on a > massive, huge amount of data input. It would > be nice if I got them all done as soon as possible to start the year > with data input instead. > > Your help(s) always much appreciated, > Season's greetings and Merry Christmas, > > Bill Mudry > Mississauga, Ontario Canada > > > > > > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Compiling error

2010-11-26 Thread Niel Archer
r function-style cast > C:\Program Files\Microsoft Visual Studio 9.0\VC\include\time.inl(81) : > error C2664: '_time32' : cannot convert parameter 1 from 'time_t *' to > '__time32_t *' > Types pointed to are unrelated; conversion requires > rei

[PHP-WIN] Re: [PHP-DB] Is this syntax is correct?

2010-09-05 Thread Niel Archer
on the appropriate list, i.e. php...@lists.php.net for database related PHP matters, or an SQL list/forum for SQL problems. http://dev.mysql.com/doc/refman/5.1/en/select.html You seem to be trying to do a JOIN > Best, > Guru. -- Niel Archer -- PHP Windows Mailing List (http://www.ph

Re: [PHP-WIN] How long before V5.3.3 hits the shelves?

2010-07-21 Thread Niel Archer
The goal was for "next week" as mentioned in the RC3 notice on the 15th. I guess that means this week now ;-) -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Getting rid of bugs I never thought I would have

2010-06-28 Thread Niel Archer
esn't work. > The URL at the top shows as > http://www.prowebcanada.com/taxa/displayspecies.php?show_woodworking=OFF&show_numeric=OFF > and that is even after I have chosen both user check boxes on and > clicked on the submit button. Both should read on but both show OFF. When I visited the site, there was an error in the generated HTML, so I suspect your actual script in use is not identical to the one you included in your mail. The error was in the img tag generated for a specific wood. NULL as filename, no quotes around url, and an extra '>' on the end. > >Thanks, > >James > > Here's hoping that you or someone can catch what I have not quite > coded correctly. > > Bill > > > > > >-- > >PHP Windows Mailing List (http://www.php.net/) > >To unsubscribe, visit: http://www.php.net/unsub.php > > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: [PHP-DB] Need Help in setting up a server

2010-06-27 Thread Niel Archer
t. I have a laptop and 2 desktop. I want to set up a desktop > like a wamp server locally so that I can able to use or able to work from my > other systems as well locally. I hope I made my point clear. If not please > do let me know. > > Best, > Guru. -- Niel Archer

Re: [PHP-WIN] Still having a hard time transferring records table to table

2010-06-13 Thread Niel Archer
t; figure out what actually will work. > The solution is harder than may first seem. My email address if you > need it is billmudry at rogers.com > > With thanks in advance, > > Fingers crossed, toes crossed, eyeballs crossed ... > > Bill Mudry > Mississauga, Ontario Canada. This would be much better taken to the DB list, where the entire audience is knowledgable about databases, so answers are more likely ;-) First, what database engine are you using? All engines have specific idiosyncrasies that need to be accounted for, and knowing the engine will allow more specific answers to your problems. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problems combining two criteria in a select statement

2010-06-10 Thread Niel Archer
/ > > $camera_icon = "images/cameraicon01.jpg"; > $showcamera = "..."; > > if($result5) > { > while($row5 = mysql_fetch_array($result5)) > { > extract ($row5); >

Re: [PHP-WIN] @EXEC command not work :(

2010-05-24 Thread Niel Archer
but I would guess similar problem would happen with IIS. > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: [PHP-DB] Need Simple PHP mysql search engine script

2010-05-24 Thread Niel Archer
s per my requirements. > > Best, > Guru. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Appending one MySQL file to another without duplicates.

2010-05-09 Thread Niel Archer
s from which I may > also be able extract valued new data --- far faster than I have been > able to before. > > I got kind of close but not quite there. I look forward to your help. > This should be relatively basic to most intermediate and > advanced programmers :-) . I am still a junior programmer in PHP and > MySQL but more things are starting to work for me ;-) . > > > With thanks any and all help in advance, > > Bill Mudry > Mississauga, Ontario > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] MySQL database query passwort and username

2010-04-29 Thread Niel Archer
er than in a list for Windows related matters. > thank you > Alexander > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Send Mail from PHP Using SMTP Authentication

2010-04-12 Thread Niel Archer
> Alice > > > _ > Hotmail is redefining busy with tools for the New Busy. Get more from your > inbox. > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Changing a column to proper case

2010-04-06 Thread Niel Archer
er if I add in a SET statement to finally > replace the old entries or should I use an UPDATE command instead of > SELECT? Does it matter? > > I look forward to your suggestions. > > Bill Mudry > > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Windows binaries

2010-04-05 Thread Niel Archer
> hi, > > On Mon, Apr 5, 2010 at 11:45 PM, Niel Archer wrote: > > > I have seen this assertion twice now (Previously only from Zend). Please > > let  me know where I can find the announcement to this effect, as I can > > find no mention of this at http://php.net/m

Re: [PHP-WIN] Windows binaries

2010-04-05 Thread Niel Archer
at > experience. > 3. We have developed WINCACHE which is a PHP accelerator (a major boost to > PHP performance) and that doesn't work on ISAPI. Details at > http://pecl.php.net/package/WinCache. > > Thanks, > Don. > -- Niel Archer -- PHP Windows Mailing List (htt

Re: [PHP-WIN] req: help with mail on IIS 6

2009-11-03 Thread Niel Archer
> On Tue, 03 Nov 2009 22:19:53 GMT Niel Archer wrote > > > > Hi All: Just joined the list. > > > > > > I'm having problems configuring mail in PHP. I have PHP 5.2.9 installed on > > > server 2003 std with sp2 installed. The default SMTP service is r

Re: [PHP-WIN] req: help with mail on IIS 6

2009-11-03 Thread Niel Archer
Hi if you just want to have mail working, and are not insistent upon using mail(), I would suggest looking at the PEAR::Mail package. It is worth the effort. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] req: help with mail on IIS 6

2009-11-03 Thread Niel Archer
> On Tue, 03 Nov 2009 22:19:53 GMT Niel Archer wrote > > > > Hi All: Just joined the list. > > > > > > I'm having problems configuring mail in PHP. I have PHP 5.2.9 installed on > > > server 2003 std with sp2 installed. The default SMTP service is r

Re: [PHP-WIN] req: help with mail on IIS 6

2009-11-03 Thread Niel Archer
, and nothing gets dropped in the "pickup" or "queue" folders > for the SMTP service. > > I tried explicitly adding "allow" entries in the SMTP configuration for the > above names/IPs, and also in the "relaying" section, but still nothing. What

Re: [PHP-WIN] Zend Server Community Edition

2009-10-24 Thread Niel Archer
ão de Documentação e Automação > Biblioteca Universitária > FURB - Blumenau > (047) 3321-0660 > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problem with php on vista home preminum

2009-09-16 Thread Niel Archer
file. i.e. > > > phpinfo(); > > ?> > > Short tags are off by default and this is why they shouldn't be used in > production. Slight correction to myself. Recommended value is off. > -- > Niel Archer > > > > -- > PHP Windows Mailing

Re: [PHP-WIN] Problem with php on vista home preminum

2009-09-16 Thread Niel Archer
d nothing. Any idea? > > thanks, > Rossend. > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Try using long tags in the file. i.e. Short tags are off by default and this is why they shouldn't be used in produ

Re: [PHP-WIN] Re: php_enchant not loadable

2009-08-26 Thread Niel Archer
> Niel Archer wrote: > >> Now that VC9 is the official MS compiler version, you still have TS vs > >> NTS. You also need HEAD/PHP53/PHP52. So for the current 227 extensions > >> in pecl, that results in a 1,362 builds. Now, if other compilers ARE > >> needed

Re: [PHP-WIN] Re: php_enchant not loadable

2009-08-25 Thread Niel Archer
4.html > Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 > ZOPA : http://uk.zopa.com/member/RQuadling > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Niel Archer -- PHP W

Re: [PHP-WIN] php_enchant not loadable

2009-08-21 Thread Niel Archer
> Niel Archer wrote: > >> Hi there, > >> > >> i switch to PHP5.3 and now PSPELL is no more working. I read the docu > >> and found that i must use PHP_Enchant from now. > >> > >> But everytime i try to use is PHP gets an error: > >>

Re: [PHP-WIN] php_enchant not loadable

2009-08-21 Thread Niel Archer
P Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Relatively simple PHP function to block sql injection

2009-08-04 Thread Niel Archer
block any form of attempted sql > injection? > > TIA If you search the PHP Db list archives you'll find this question comes up regularly, with the answers. > > Jacob Kruger > Blind Biker > Skype: BlindZA > '...fate had broken his body, but not his

Re: [PHP-WIN] Problem: direct download of php pages

2009-07-27 Thread Niel Archer
uration. Otherwise Apache will do what it's supposed to do with files it does not know about, pass them over to the browser for it to decide. Usually they get displayed, but some browsers may be set up to download/save them instead. You may also find some helpful info in Apache's logs. -- Ni

Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6

2009-06-21 Thread Niel Archer
it fixed quickly and completely. Go to: http://pear.php.net/manual/en/installation.getting.php and follow the instructions if you decide to simply update the PEAR to the latest version. All installed packages should be available afterwards, provided the locations are the same. > thanks in advanced. > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6

2009-06-21 Thread Niel Archer
in advanced Look for this file: D:\Inetpub\vhosts\domain.com\httpdocs\phppear\PEAR\PEAR\Validate.php If it doesn't exist, that's the problem. If it does exist, that file contains the class PEAR_Validate which has nothing to do with the Validate package you have installed > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] MYSQL Configuration on WIn XP

2009-06-17 Thread Niel Archer
Hi Also make sure that the php.ini file listed as being used in phpinfo() is the one that you are making the changes in. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Install PEAR under only specific hosting account - Plesk - windows - php is CGI/CLI

2009-06-05 Thread Niel Archer
it. > As I understand the "Webbased PEAR Package Manager" is also intended to > install the packages automatically after downloading the paclage. > BUT in fact it's only downloading the package without installing it after > the download process has finished. > > 3) > > because section 2 , I tried to use the pear.bat file. > > any suggestion ? > > thanks anyone in advanced for any assistance. > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problem with DOM

2009-05-12 Thread Niel Archer
ustomer($dom) { $customer = $dom->createElement('customer'); $customer->setAttribute('name', $this->name); $customer->setAttribute('phone', $this->phone); $dom->documentElement->appendChild

Re: [PHP-WIN] Problem with DOM

2009-05-12 Thread Niel Archer
od DOMNodeList::appendChild() in D:\Scripts\PHP\TESTS\DOM-test.php > > For what concerns the two type of DOMDocument istantiation I forgot to > > chance them both :) > > > > Thks > > Maurizio Bellemo > > Sytel Reply Deutschland > > _

Re: [PHP-WIN] Problem with DOM

2009-05-12 Thread Niel Archer
> For what concerns the two type of DOMDocument istantiation I forgot to > chance them both :) > > Thks > Maurizio Bellemo > Sytel Reply Deutschland > __ > > m.bell...@reply.it > Prinzenalle 7 > 40549 Düsseldorf > GERMANY > _

Re: [PHP-WIN] Problem with DOM

2009-05-12 Thread Niel Archer
Consequently you are creating a new file with single entry each time. Also, I wonder why your new DOMDocument()s have different parameters? Wouldn't it be wise to make them the same to avoid possible problems? > Thks > Maurizio > > -- > The information transmitted is intended for the person or entity to which it > is addressed and may contain confidential and/or privileged material. Any > review, retransmission, dissemination or other use of, or taking of any > action in reliance upon, this information by persons or entities other than > the intended recipient is prohibited. If you received this in error, please > contact the sender and delete the material from any computer. > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Niel Archer niel.archer (at) blueyonder.co.uk -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-15 Thread Niel Archer
> > > (got work to do during business hours) on the differences between > > > UPDATE and INSERT. > > > >INSERT creates a new entry, update changes an existing ones. So you > >cannot use INSERT to corect your data. > > Then it must work on a created field that has not been populated yet? > It doe

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-14 Thread Niel Archer
Would that not be overkill? I meant the SQL statement used to create the database/tables. Something like CREATE TABLE `sci_genera` ( `generalID` int(11) NOT NULL auto_increment, `genus_name` varchar(255) NOT NULL, PRIMARY KEY (`id`),

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-14 Thread Niel Archer
at is not the case, knowing the layout of the tables will make it simpler to suggest PHP to alter the contents of those table. Can you supply the CREATE statements so we can see the layout. A couple of example rows may also be useful > To those of you who celebrate Easter, a slightly belated Happy Easter to you. > > Thank you for your help in advance, > > Bill Mudry, > Mississauga, Ontario, Canada > (Next to Toronto). > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Re: QDBM on Windows

2009-04-06 Thread Niel Archer
the data from an OLD database, but haven't had time to complete it. Also not sure, but IIRC the Berkeley handler will open dbm files too. I don't have any dbm files to test this with though. > -- > Harold Fuchs > London, England > Please do *not* reply to my personal e-mail address. > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Niel Archer niel.archer (at) blueyonder.co.uk -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Does a spreadsheet-like front end exist for MySQL?

2009-04-06 Thread Niel Archer
;s is free and Webyog has a free Community version. If you want a web frontend, I have no ideas for you, sorry. [1] http://dev.mysql.com/downloads/gui-tools/5.0.html [2] http://www.webyog.com/en/downloads.php > Bill Mudry > Mississauga, Ontario > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Mail Function Error

2009-02-08 Thread Niel Archer
for your help. > > Alice > > > > > Could anyone please give me some pointers on what to put in my php.ini > > > file to make this work? > > > Thanks in advance. > > > > > > Alice > > > >

Re: [PHP-WIN] Mail Function Error

2009-02-07 Thread Niel Archer
___ > Search from any Web page with powerful protection. Get the FREE Windows Live > Toolbar Today! > http://get.live.com/toolbar/overview -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problems compiling 5.3.0alpha3 with extensions

2008-12-24 Thread Niel Archer
Apologies to list, I meant to send this to Win Internals -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] ntwdblib.dll not found in any of the 5.2.8 zip files

2008-12-20 Thread Niel Archer
tools." ... "The Client Tools can be installed from the MS SQL Server CD" -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread Niel Archer
mething like this as the FIRST line of your script: $StockPrice = $ExercisePrice = 0; Include all of the numeric variables into this line. You can replace the '0' with an empty string if you prefer. Your conditional check for the 'Reset' and 'Submit' will set those

Re: [PHP-WIN] IE Explorer Problems.

2008-11-26 Thread Niel Archer
> ## alt="Home"> > ## > ## > ## > ## > ## > ## > ## > ## > ## > ## > ## > ## > ### submit - class="center"> > ### "> I've heard of many weird IE bugs, but never that it eats the values of img

Re: [PHP-WIN] LoadModule statement can not be included

2008-09-10 Thread Niel Archer
be grateful > > Thanks Varuna > > > -- > Varuna Seneviratna > No 514 Udumulla Road > Battaramulla > Sri Lanka > Tel : 011-2888620 > Mobile:0715617141 -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP Mail 501 error

2008-06-24 Thread Niel Archer
eter should not be an address in the form of "Something <[EMAIL PROTECTED]>". The mail command may not parse this properly while talking with the MTA. From the example you show, it seems your problem is the last two sentences. i.e. "DanMashal <[EMAIL PROTECTED]>&q

Re: [PHP-WIN] Float value Division gives irrational results php 5.2.5

2008-02-10 Thread Niel Archer
it should of been, I had to repair the installation before Apache could run with the dlls). Having got it running, the calculation once again produced the expected result.. Incidentally, your use of var_dump is incorrect. It doesn't return a value, but sends output directly -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] string function

2008-02-09 Thread Niel Archer
Hi > Can I just ask what the difference is between ereg and preg_replace? Thanks. preg* are PCRE compatible functions. ereg*are POSIX Extended. AFAIR, the PCRE ones support several additional features and are binary safe, while the POSIX ones are not. -- Niel Archer -- PHP Windows Mail

Re: [PHP-WIN] Re: mail() Incorrect Address Format when using IIS7/FastCGI

2008-01-29 Thread Niel Archer
on. Granted it's annoying behaviour, for this reason I use the PEAR Mail package -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Warning: eregi() [function.eregi]: REG_ERANGE in ...

2008-01-20 Thread Niel Archer
nd doesn't need to be) escaped at all. I'll stick with PCRE, they're binary safe. I would try removing the backslash and moving the hyphen to be the last character in the range (after the full stop). > On Jan 19, 2008 9:44 AM, Niel Archer <[EMAIL PROTECTED]> wrote:

Re: [PHP-WIN] Warning: eregi() [function.eregi]: REG_ERANGE in ...

2008-01-19 Thread Niel Archer
> '/[EMAIL PROTECTED]/' > > No warnings this time and it appears to work. I still welcome any > feedback on ereg if anyone wants to give any. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Ok, next step/question

2008-01-15 Thread Niel Archer
Hi, the second tag has a space between "http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] fopen on windows shared, error: failed to open stream

2007-10-28 Thread Niel Archer
fopen("192.168.10.2/businesscard/XML/" . $xml_uniq_session . ".xml", "w"); escape the backslashes themselves fopen("192.168.10.2\\businesscard\\XML\\".$xml_uniq_session.".xml", "w"); or single quotes fopen('192.168.

Re: [PHP-WIN] fopen on windows shared, error: failed to open stream

2007-10-25 Thread Niel Archer
d you read the final entry in it which describes why it is a permission problem and not a bug? It also gives advice on how to work around the problem. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] fopen on windows shared, error: failed to open stream

2007-10-24 Thread Niel Archer
fopen("192.168.10.2/businesscard/XML/" . $xml_uniq_session . ".xml", "w"); escape the backslashes themselves fopen("192.168.10.2\\businesscard\\XML\\".$xml_uniq_session.".xml", "w"); or single quotes fopen('192.168.

Re: [PHP-WIN] VBScript - TO - PHP... Open-Method-COM+

2007-10-09 Thread Niel Archer
ot;; > //It's better to keep Word invisible > $word->Visible = 1; > //Creating new document > $word->Documents->Add(); > > > > //Setting 2 inches margin on the both sides > $word->Selection->PageSetup->LeftMargin = '2"'; > $word->Selection->PageSetup->RightMargin = '2"'; > //Setup the font > $word->Selection->Font->Name = 'Verdana'; > $word->Selection->Font->Size = 16; > > $doc = $word->Selection->Document; > $docName = "c:\\www\\test.doc"; > $doc->Open($docName); > -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Outlook 2007

2007-09-12 Thread Niel Archer
work in Outlook 2007? > > Best regards > /Gustav Wiberg Where's the PHP question? This is a PHP list, please don't use it for general support on everything you don't have the answer too. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP Windows Installer maintainer finally joins the list

2007-08-17 Thread Niel Archer
might want to ask the PEAR folks about that one. It should, but it doesn't. It's fine for installing PEAR itself (using ($default as the directory), but it puts downloaded files in the default location of "C:\php5" It might only be support files (docs, etc), it's been a w

Re: [PHP-WIN] PHP Windows Installer maintainer finally joins the list

2007-08-17 Thread Niel Archer
trol. I would like PEAR to respect my directory choices, instead of using C:\php5 for downloads, no matter what I set. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP 4/5 Differences.

2007-07-29 Thread Niel Archer
> I have a script that requires PHP 4. I am using the latest version of PHP 5. > I am having problems with that script. Would there be any major changes that > could stop me from running the script. http://www.php.net/manual/en/migration5.incompatible.php -- Niel Archer -- PH

Re: [PHP-WIN] Arrays past to functions

2007-07-27 Thread Niel Archer
al, and it's only in a > single note that this is mentioned) Indeed, it's a modern thing and one habit I'm trying to get out of. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Arrays past to functions

2007-07-27 Thread Niel Archer
. $payment / 100 * $StatesRates[$state] . "\n"; endforeach; } Obviously, it's only an example and needs refining. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Arrays past to functions

2007-07-27 Thread Niel Archer
n $amount in $locale is " . compute_salestax ($payment , $locale); -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Arrays past to functions

2007-07-27 Thread Niel Archer
("CA" => 5 , "WA" => 7, "OR" => 8); return $Amount * $taxRate($State); } $payment = 1500; $locale = 'CA'; print "Tax on $amount in $locale is " . compute_salestax ($payment , $locale); -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Arrays past to functions

2007-07-27 Thread Niel Archer
n $locale is " . compute_salestax ($payment , $locale); -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Error: illegal character I need help

2007-07-26 Thread Niel Archer
ly. However, at a guess I would say *neither* of the backslashes should be there, so it is a string literal, otherwise I'd say it would be an invalid variable name. Hence the error. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] How do configure PHP support for MySQL on Windows?

2007-07-23 Thread Niel Archer
d the other. Did you test each component along the way to ensure it was working? If so, what errors does PHP give when attempting to use a MySQl db? You might try looking at this step by step guide also to see if you missed anything http://wamp.corephp.co.uk/ -- Niel Archer -- PHP Windows M

Re: [PHP-WIN] problem usign COM object

2007-07-19 Thread Niel Archer
Hi why not use: new COM("ConceptCOM"); with PHP 4.3.11 as well? the documentation for com_load says as much! -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Move of mailserver

2007-07-19 Thread Niel Archer
gt; smtp_port = 25 > sendmail_from = HMN Webserver <[EMAIL PROTECTED]> Windows doesn't like that format for the from field. Use [EMAIL PROTECTED] only without the name in front. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Unable to load dynamic library "C:\PHP\ext\php_mysql.dll" and Unable to load dynamic library "C:\PHP\ext\php_mysqli.dll"

2007-07-11 Thread Niel Archer
tory too. Check the extension_dir listed by phpinfo() to be sure it's using the one you think it is. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] php default users

2007-07-11 Thread Niel Archer
Hi In case you forgot, this is a PHP list. I suggest you direct that question to what ever support Xampp/PHPMyAdmin offers. Deleting one of the default users to your MySQL database, definitely isn't a PHP question. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net

Re: [PHP-WIN] Version php for windows compiled with --enable-memory-limit

2007-07-10 Thread Niel Archer
Hi According to the documentation for PHP 5.2.1 (http://uk.php.net/ini.core) you no longer need to have this enabled at compile time to use the memory_limit directive -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Windows 2k3 sp2 and mssql error

2007-07-10 Thread Niel Archer
ng the same settings, not through IIS" If, as it seems you mean, that was via the command line then the settings were likely subtly different (user would probably be different). At a guess, I'd say your problem is either configuration/installation of the module, or user based. -- Niel Archer

Re: [PHP-WIN] system() call in PHP5 on win2003

2007-07-09 Thread Niel Archer
thenticated users + anonymous users + guests. And services like Apache/IIS don't run as any kind of person (user), unless specifically told to do so. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Testing MySQL PHP connection

2007-07-09 Thread Niel Archer
Hi make sure the required dll ("php_mysqli.dll") is enabled in the php.ini and not still commented out as is the default -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP MySQL login page won't work

2007-06-27 Thread Niel Archer
Hi Duplicating your post isn't going to get you any more or faster replies. This list is for PHP matters. IF there was anything wrong with the PHP it would be a Dreamweaver support issue. However the PHP is fine, messy but fine. The problem is in your form. You have two 'Login' input values so

Re: [PHP-WIN] PHP can't find the php.ini file

2007-06-25 Thread Niel Archer
Hi What makes you think it's not finding the configuration file? phpinfo output tells you where the php.ini IS located. BTW, it's no longer recommended to keep it in the windows directory. See the manual setup documentation for preferred methods. Niel -- PHP Windows Mailing List (http://www

Re: [PHP-WIN] RE: Still with problems

2007-06-22 Thread Niel Archer
Hi As Stut has already pointed out, make sure that displaying errors is enabled. It does no good to use: error_reporting(E_ALL); if the reports aren't displayed. This needs to be done with the php.ini directive 'display_errors' (details here http://uk2.php.net/manual/en/ref.errorfunc.php#

Re: [PHP-WIN] Re: Can't execute external program -> error "Access is denied"

2007-06-19 Thread Niel Archer
Hi > I don't know why "notepad.exe" works. may be there is some other issue. Probably because Notepad has execute permission for the LOCAL_SYSTEM account, and Apache/PHP is probably running using that account. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP-WIN] PHP MySQL - ON DUPLICATE KEY UPDATE

2007-06-19 Thread Niel Archer
Hi REPLACE [LOW_PRIORITY | DELAYED] [INTO] tbl_name [(col_name,...)] VALUES ({expr | DEFAULT},...),(...),... Or: REPLACE [LOW_PRIORITY | DELAYED] [INTO] tbl_name SET col_name={expr | DEFAULT}, ... Or: REPLACE [LOW_PRIORITY | DELAYED] [INTO] tbl_name [(col_name,...)] S

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
Hi I did some googling. The file is probably called "libct.dll" Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >