[PHP-WIN] Problems compiling 5.3.0alpha3 with extensions

2008-12-24 Thread Niel
It seems the libxml is being found by configure, but not when needed by the extensions. I would really appreciate any help in solving this, as it is driving me nuts now. -- 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

[PHP-WIN] XML problem

2001-03-22 Thread Niel Zeeman
Hi there Can anyone please give me some advice Whenever I try call the xml_parse function it returns a server error has occured ( 500 ) Is there anything I can do to get around this Runnig IIS5 with the ISAPI version of php thnx -- Niel Zeeman Tel(W): (043)7014247 Cell: 082 651 4083

[PHP-WIN] unlink permission problems

2006-09-25 Thread Niel Archer
ied a user account, creating the files in that account before running the script. I can see no reason why permission is denied. Anyone have an idea? Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problems with fscanf

2006-09-26 Thread Niel Archer
anf This is a little loose on the tag matching but should do the job: $pattern = '/<\w+>(.+)<\/\w+>/'; preg_match($pattern, $line, $matches); returning the untagged data into $matches[1] and the tagged data into $matches[0] This assumes that you have only a s

Re: [PHP-WIN] insert md5 password

2006-09-29 Thread Niel Archer
34', '0') > but still fails. What is the error returned? Does the password hash still need the "0x" to start it? Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] header()

2006-10-03 Thread Niel Archer
cheme, hostname and absolute path, but some clients accept relative URIs. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Fwd: ImageCreate() function Problem

2006-10-04 Thread Niel Archer
Hi that looks like you have a newer version of module compared to PHP. Your original post said you had PHP v5.2, as the current stable release is only 5.1.6, I'd suggest you check again. If necessary download, and install again Niel -- PHP Windows Mailing List (http://www.php.net

[PHP-WIN] max_execution_time

2006-10-10 Thread Niel Archer
g. The manual tells me it should default to 0 (no limt) in CLI mode. Anyone have a clue what's happening and how to stop the script timing out? Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Checking for result of call to mssql_query()

2006-10-12 Thread Niel Archer
it simply returns no data? I'd suggest you test for TRUE first to determine if the query suceeded, but returned no data. If that fails, test for FALSE. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP_PRINTER.DLL prints from shell but not from web

2006-10-23 Thread Niel Archer
Hi, does the user php runs as in apache, have appropriate permissions for the shared printer? Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP_PRINTER.DLL prints from shell but not from web

2006-10-24 Thread Niel Archer
dea. Instead create an account for Apache to run with and tell the service to use it. Then grant access to the printer for that account. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP DLL's

2006-11-16 Thread Niel Archer
HI Have you read the upgrading guide? Which covers upgrading from 5.x to 5.2.0 specifically. http://www.php.net/UPDATE_5_2.txt Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Problem getting PEAR going

2006-11-16 Thread Niel Archer
varies (268, 427, 429, 2334, 2338). That is usually followed by: 'Could not get contents of package "". Invalid tgz file.' It looks to me, as if the configuration file has filenames missing, but this is out of the 'box'. Anyone have any ideas? Niel --

Re: [PHP-WIN] Re: Problem getting PEAR going

2006-11-28 Thread Niel Archer
ration file has filenames missing, but > > this is out of the 'box'. Anyone have any ideas? > > > > Niel > > This is a known problem - the 5.2 windows zip official release does NOT > contain the proper go-pear.phar file (the installer and source releases, &g

Re: [PHP-WIN] Apache won't start?

2006-12-01 Thread Niel Archer
ule you're pointing at! Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Class method unavailable on server

2006-12-12 Thread Niel Archer
nd can't be accessed however I try. This has me totally stumped. Anybody have any ideas on how to resolve this? Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Class method unavailable on server

2006-12-13 Thread Niel Archer
Hi Stut thanks, but I got it sorted. It was an inclusion problem, an out of date file existed in the main folder and prevented the up to date version from being used from the include path. I don't remember putting the file there, but that's my fault for coding so late. Niel -- P

Re: [PHP-WIN] setcookie() not working - help!

2006-12-28 Thread Niel Archer
x27;])){ or if(!empty($cookie)){ Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Ereg problems

2007-01-16 Thread Niel Archer
art to solving my issue. I don't use ereg (prefer preg_match) but unless the regex syntax is greatly different try: "$[\w'-]+$" Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Ereg problems

2007-01-16 Thread Niel Archer
Oops that should be "^[\w'-]+$" Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Ereg problems

2007-01-16 Thread Niel Archer
ace). All of which in any position. If this is not the case please describe exactly what it is you're trying to achieve. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Ereg problems

2007-01-16 Thread Niel Archer
akes sure you're testing the whole string not just a part of it, otherwise it would match up to the first invalid character but still make a match. I use this kind of test frequently myself, so I know it is possible and fairly simple to do. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] File not found error

2007-01-17 Thread Niel Archer
Hi, Relative paths only work from the php file's directory. NOT for the include directory. In my experience phpBB2 works just fine as it is, if installed in its default layout (do not put it in the includes directory, that won't work). Niel -- PHP Windows Mailing List (http://w

Re: [PHP-WIN] File not found error

2007-01-17 Thread Niel Archer
er than that one anyway. Unless you're an experienced user willing to do testing, NEVER use a development/beta version of software as it's asking for problems that you're volunteering to help fix. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] IIS, and how it reads the Path/Environment variables

2007-01-29 Thread Niel Archer
Hi From what you're saying I assume MSSQL is not listed in the phpinfo page. Have you enabled the extension in the php.ini file? Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] IIS, and how it reads the Path/Environment variables

2007-01-29 Thread Niel Archer
Hi > Looks like IIS will not read changes to the environment variables > withhout a restart. that's pretty typical of most software. Check them on startup and have no way to know of changes after Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP-WIN] New user having problems :(

2007-02-03 Thread Niel Archer
Hi That build is out of date. Get the latest (2nd Nov 2006) from the web site. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] New user having problems :(

2007-02-03 Thread Niel Archer
Hi Can you get a phpinfo page? Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Question re. PHP/HTML-generated French characters.

2007-02-09 Thread Niel Archer
cute accent, etc.) You can combine both methods also. Further information on this is in the PHP documentation. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] UTF-8 standard

2007-02-16 Thread Niel Archer
set to use UTF-8 for its output, obviously the headers of your page need to be set appropriately. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] UTF-8 standard

2007-02-18 Thread Niel Archer
ple. I have no familiarity with MSDE, so cannot comment on what would be required with it. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] php_http

2007-03-01 Thread Niel Archer
Hi Did you enable it in the php config file? Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] php_http

2007-03-01 Thread Niel Archer
Hi have you also made sure the required extensions (hash, iconv, SPL) are also installed Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] php include problem

2007-03-28 Thread Niel Archer
ot; would work in this example. bob's advice to use absolute paths would be safest though... "www.your-domain.com/images/" Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Niel Archer
one. I also wouldn't spread a string over several lines like that without using "here document" syntax, as I'm not sure echo supports it. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] *****SPAM***** Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Niel Archer
PROTECTED] for details. Content preview: and tags might help Niel [...] Content analysis details: (6.0 points, 5.0 required) pts rule name description -- -- 0.1 HTML_TEXT_AFTER_BODY BODY: HTML contains

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Niel Archer
r PHP/HTML versions. Takes me to the linked (non-existant) page. As I already pointed out, your example has parts missing, I can only assume there is more missing than I can guess at from the pieces that are present. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Niel Archer
fore the " #menu1 {display:none; margin-left:20px} Update The Record Update the record END; ?> Tested and works on Opera Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] [EMAIL PROTECTED]

2007-05-12 Thread Niel Archer
> Yes I do have dynamic content in my page. > I’m attaching the whole code for this page. You missed the point. The fragment you supplied had no dynamic content so does not need to be echoed at all. It can simply exist outside the tag structure. Niel -- PHP Windows Mailing List

Re: [PHP-WIN] [EMAIL PROTECTED]

2007-05-13 Thread Niel Archer
"; echo ""; echo "{$row['Ref_No']}\nUpdate The Record\n"; echo "\nUpdate the record"; echo "\n"; echo "{$row['Job_Title']}"; echo ""; echo ""; echo ""

Re: [PHP-WIN] IE ignoring background image

2007-05-25 Thread Niel Archer
Alf, this is NOT a PHP question. Please stop asking questions that are so obviously off-topic on this list. There are plenty of resources on the web for this kind of problem. http://www.blooberry.com/indexdot/css/syntax/unit/url.htm Niel -- PHP Windows Mailing List (http://www.php.net/) To

Re: [PHP-WIN] Printing via webapp

2007-05-29 Thread Niel Archer
> In that case I really can't help you since I've never heard of Uniform > Server. Uniform Server is a WAMP package. It was mentioned on this or the Db list recently. Presumably then, Apache's permissions would be the determining factor? http://www.uniformserver.com/

Re: [PHP-WIN] Printing via webapp

2007-05-31 Thread Niel Archer
> Oh and one more question. Can php create a text file with the exenstion of > zpl instead of txt? Easily Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Re: PHP and batch-files

2007-06-01 Thread Niel Archer
Hi > Where/how do I install that? It's part of the windows distribution. Read the documentation here http://www.php.net/manual/en/install.general.php for a start Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Get files from network driver

2007-06-06 Thread Niel Archer
Hi this appears to be a permission error. The user PHP is running as likely does not have permission to access to the file. Check permissions on the directory/file and correct accordingly. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP-WIN] Get files from network driver

2007-06-06 Thread Niel Archer
ounts and is only a problem if Apache/PHP are using one of them to run, which is likely if they run as a service. You can find out which User Apache is running under in the Task Manager or the Log On tab of the properties of the Service. Try these things for now to identify the problem. Niel

Re: [PHP-WIN] Fatle Error: FILTER_VALIDATE_EMAIL

2007-06-08 Thread Niel Archer
Hi, filter is not part of PHP core, it is a PECL extension. For more info read the documentation at http://uk.php.net/manual/en/ref.filter.php Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Drag and Drop

2007-06-08 Thread Niel Archer
o save files in the file-system and store a reference in the database. I find it faster that way. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PECL extension Install Questions . - Re: [PHP-WIN] Fatle Error: FILTER_VALIDATE_EMAIL

2007-06-11 Thread Niel Archer
method to download, which is part of the standard PHP installation. Look at the respective web-sites for documentation on PEAR/PECL and their packages. http://pear.php.net http://pecl.php.net Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
m, but the requirement is listed in the Windows install instructions Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
Hi > I have the Sybase Open Client installed (with Sybase Central etc). Are the libraries in a location that PHP has access to. For example, the MySQL client libraries pretty much have to be in the php directory or it doesn't work. Niel -- PHP Windows Mailing List (http://www.php.

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
look. Years ago I tried "tidying" up the MySQL libraries so that I only had one set to keep up to date. PHP wouldn't run without a copy in its directory, even though they were in the PATH and the user had permission to use them. Niel -- PHP Windows Mailing List (http://www.php.net/) To

Re: [PHP-WIN] Sybase

2007-06-18 Thread Niel Archer
lient Embedded SQL/C Embedded SQL/COBOL jConnect for JDBC ODBC Driver for Adaptive Server Enterprise OLE DB Provider for Adaptive Server Enterprise ADO.NET for Adaptive Server Enterprise three of which you've already identified. Niel -- PHP Windows Mailing List (http://www.php.net/) To

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

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

2007-06-19 Thread Niel Archer
,...)] SELECT ... Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.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

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

2007-06-22 Thread Niel Archer
f.errorfunc.php#ini.display-errors). Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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

2007-06-27 Thread Niel Archer
input values so only the second is used, which is the button, not your login name. Hence every query to the DB is looking for 'Do it!' as the user name and always fails. Niel -- 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 $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
Hi > hi Niel, > > I believe Jacob wanted to know how he could calculate the tax for _all_ > states passed in as an array in one go. Yours simply gives it for 1 > State ("locale"). Other than thatm $taxRate($state) translates to > Array($state) which gives an E_FAT

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] 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] 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 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] 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] 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] 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] 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-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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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`),

  1   2   >