RE: [PHP-WIN] Re: [PHP-DEV] Re: [PHP-WIN] Re: [PHP-DEV] Windows builds

2011-06-07 Thread Jason
>-Original Message- >From: Rasmus [mailto:ras...@lerdorf.com] >Sent: 07 June 2011 13:53 >To: Lester Caine >Cc: php-windows; PHP internals >Subject: [PHP-WIN] Re: [PHP-DEV] Re: [PHP-WIN] Re: [PHP-DEV] Windows builds > >On 06/07/2011 09:36 AM, Lester Caine wrote: >> Pierre Joye wrote: >>> Le

[PHP-WIN] Re: [PHP-DOC] Coloured console output support for windows.

2009-09-23 Thread Jason Hood
on my site (http://adoxa.110mb.com/ansicon/ansi121.zip). Jason. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] there is no php5ts.dll under PHP 5.3

2009-09-07 Thread Jason
> -Original Message- > From: Fred Silsbee [mailto:fredsils...@yahoo.com] > Sent: 06 September 2009 18:45 > To: php-windows@lists.php.net > Subject: [PHP-WIN] there is no php5ts.dll under PHP 5.3 > > > there is no php5ts.dll under PHP 5.3 > downloaded file > > C:\PHPDownloads\SQLSERVER

RE: [PHP-WIN] 32bit PHP on 64bit Vista.

2009-09-01 Thread Jason
Hi, I use PHP 5.2 on Vista x64. Rather than use the registry we use the PHPRC environment variable to determine the ini file location. This works the same on all editions of Windows - x86 and x64. Would this be a good alternative to use? In direct answer to your question though, the Wow node i

Re: [PHP-WIN] PHP 4.4.9, Windows: php_openssl.dll is loaded, but https wrapper not found.

2009-02-13 Thread Jason Cipriani
working correctly with file_get_content() -- it will always be a mystery to me why PHP 4 gave so much trouble; it *is* documented to support https requests. Thanks again! Jason > > -Joe > > Quoting Jason Cipriani : > >> On Wed, Feb 11, 2009 at 7:55 AM, Marco Schuste

Re: [PHP-WIN] PHP 4.4.9, Windows: php_openssl.dll is loaded, but https wrapper not found.

2009-02-11 Thread Jason Cipriani
On Wed, Feb 11, 2009 at 7:55 AM, Marco Schuster wrote: > 2009/2/10 Jason Cipriani : >> I've added php_openssl.dll to php.ini. Once I did that, the error changed to: >> >> "Unable to find wrapper 'https' - did you forget to enable it when you >>

Re: [PHP-WIN] PHP4 source doesn't build on Windows...?

2009-02-11 Thread Jason Cipriani
On Wed, Feb 11, 2009 at 7:55 AM, Marco Schuster wrote: > 2009/2/11 Jason Cipriani : >> I'm trying to build PHP 4.4.9 from source and it seems that most of >> the network related files #include . >> >> This has never been a Windows header. >> >> Did I

[PHP-WIN] PHP4 source doesn't build on Windows...?

2009-02-10 Thread Jason Cipriani
anual at http://www.php.net/manual/en/install.windows.building.php doesn't mention anything about it. Thanks, Jason -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] PHP 4.4.9, Windows: php_openssl.dll is loaded, but https wrapper not found.

2009-02-10 Thread Jason Cipriani
the effects). I can verify that openssl support is enabled because the openssl modules shows up in phpinfo(). However, I'm not sure how to define the https wrapper. Thanks, Jason PHP Configuration Follows: phpinfo() PHP Version => 4.4.9 System => Windows NT AK 5.1 build 2600 Build Date

Re: [PHP-WIN] Re: need help building php on windows

2008-03-14 Thread Jason
At 16:00 14/03/2008, you wrote: Jason wrote: > To be honest, I can't actually get either of the mssql variants to > compile properly. Specifically I can compile the MS mssql dll, but can't > link it (unresolved external _in6addr_any in php5ts.dll). > > I have a sn

Re: [PHP-WIN] Re: need help building php on windows

2008-03-14 Thread Jason
At 14:09 14/03/2008, you wrote: Jason wrote: > Hi all, > > > Here's the compile error I'm getting: > > main\internal_functions.c(69) : error C2065: 'phpext_dblib_ptr' : > undeclared identifier > main\internal_functions.c(69) : error C2099: i

[PHP-WIN] need help building php on windows

2008-03-14 Thread Jason
tions.c(69) : error C2065: 'phpext_dblib_ptr' : undeclared identifier main\internal_functions.c(69) : error C2099: initializer is not a constant NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' Can anyone who has built this DLL on windows shed any light?

[PHP-WIN] php_dblib.dll (threadsafe) request

2008-01-16 Thread Jason
Hi all, Is there anyone out there who would be kind enough to send me a thread-safe build of php_dblib.dll which is compiled against FreeTDS 0.64 or 0.82? Going by the tds logfiles the current dll from http://kromann.info is built against FreeTDS 0.63. TIA Jason -- PHP Windows Mailing

[PHP-WIN] Issues trying to connect to DB2 via PHP

2008-01-08 Thread McCallister, Jason
I found the solution. This is from a DB2 UDB security document: "Beginning in DB2 UDB Version 8.2, additional security was added to DB2 UDB in the Windows environment. A new option exists as part of the DB2 UDB installation to create two additional groups in the operating system, DB2USERS and DB2

[PHP-WIN] Issues trying to connect to DB2 via PHP

2008-01-04 Thread McCallister, Jason
I'm using IIS on a windows server. I'm having issues trying to connect to DB2 via PHP. I can connect to DB2 on the command line on the server. > db2cmd db2 "connect to emr1u1 user etldbu using " Database Connection Information Database server= DB2/AIX64 9.1.3 SQL authorization I

RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread McCallister, Jason
nal Message- From: Lester Caine [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 3:46 PM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect() McCallister, Jason wrote: > *** I think PHP may be us

RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread McCallister, Jason
: John Mertic [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 3:48 PM To: McCallister, Jason Cc: [EMAIL PROTECTED]; php-windows@lists.php.net Subject: Re: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect() Hi Jason, I'm betting you used the PHP Wi

RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread McCallister, Jason
hp.ini *** How do I change the pointer to use the correct PHP.INI file? It must be something in IIS, since the command line can see it? From: Tom Hearn [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 3:25 PM To: McCallister, Jason Cc: php-w

RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread McCallister, Jason
ine [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 12:47 PM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect() McCallister, Jason wrote: > I have this line in my php.ini file. > > [PHP_IBM_DB2] > extension=ph

RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread McCallister, Jason
] Microsoft IIS - Fatal error: Call to undefined function db2_connect() McCallister, Jason wrote: >> *** When I run a PHP script that uses db2_connect, I get this error >> message: >> >> Fatal error: Call to undefined function db2_connect() in >> F:\Inetpub\wwwroot\jason2.p

[PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread McCallister, Jason
> *** When I run a PHP script that uses db2_connect, I get this error > message: > > Fatal error: Call to undefined function db2_connect() in > F:\Inetpub\wwwroot\jason2.php on line 5 > > > > *** I also get this windows error on the IIS server > > CLI encountered a problem and needed to close.

Re: [PHP-WIN] Directory browser

2007-08-30 Thread Jason
Hi, I'm not sure but I think this is his download page: http://bisqwit.iki.fi/src/ HTH J At 11:00 30/08/2007, you wrote: Hi there! Is there anyone who know of a free directory browser like this one? http://bisqwit.iki.fi/folderphp/ I would like to use it, but I can't found any download-link

Re: [PHP-WIN] problem usign COM object

2007-07-19 Thread Jason McKnight
For whatever reason when I use 'new COM' method and then try to load the typeinfo I get this: Warning: 23580072 is not a COM object handler in file.php on line 52 Thats probably a whole different problem all together; since I don't really care about loading the typeinfo once its working I'll s

[PHP-WIN] problem usign COM object

2007-07-19 Thread Jason McKnight
I am using a COM object from one of our system venders and I am having problems using an in/out variable for one function on php 4.3.11. I can load the COM interface, return the typeinfo and even call the function successfully but I can't get a return value set for the variable. Here is the c

[PHP-WIN] XAMPP (PHP 5.1.1) on Windows and Tidy - crashes

2006-01-19 Thread Jason Harrop
as? Also, is this the best mailing lists for XAMPP specific questions? thanks cheers Jason -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: AOL and myphpadmin

2005-06-29 Thread Jason Barnett
Patrick Roane wrote: I've been developing a php/mysql application on 2 different windows xp systems w/no trouble at all. As soon as I tried to use myphpadmin on a a system with AOL installed, its like someone put the freeze on it. I've never seen it load and execute simple quiries so slow. I've n

[PHP-WIN] Re: E_ALL and still not getting notices...

2005-06-28 Thread Jason Barnett
I don't know if ADOdb does this or not, but it's possible that you have a set_error_handler somewhere that is trying to handle your errors in a way other than printing them to standard output. Another possibility is that your included scripts have altered any of the following php.ini entries:

Re: [PHP-WIN] PHP & GD on Windows

2005-06-17 Thread Jason Barnett
In which case you might be out of luck... I've tried building from source with cygwin / gcc, but every binary that I've tried building that way segfaults like mad. Although I haven't invested a lot of time making it work since I'm not really familiar with gcc. If you manage to build it this w

Re: [PHP-WIN] PHP & GD on Windows

2005-06-17 Thread Jason Barnett
Yep. In Windows all you do is enable in your php.ini and have the extension DLL in the extension directory. Edin Kadribasic wrote: Hi, Why would you want to build PHP on windows. In the downloads section of the site you can find precompiled binaries for PHP including all the extensions. Edi

[PHP-WIN] Re: register_globals issue

2005-05-04 Thread Jason Barnett
Bill Kirk wrote: I am running php 4.3.10 on a Windows 2003 server with Apache 2. My problem is that I have set register_globals = on in the php.ini file (which is in the windows directory (everyone has read rights to it), but when I do a php info on it, it shows that register_globals is off, and th

[PHP-WIN] Re: Programming problem... Date day locater!

2005-05-04 Thread Jason Barnett
JC Botha wrote: Hi there to all. I need to get the day number of any given date. Like if the date 20 Jan 2005 is given I need to calculate that it is day 20 in the year. Any thoughts on solving this would be much appreciated. Chris http://php.net/manual/en/function.date.php echo date('d'); ?> -- P

[PHP-WIN] Re: compiling php on win 2003

2005-05-04 Thread Jason Barnett
Kc wrote: I have installed PHP4 successfully with mysql and am able to run my pages with queries from my database. Now I was wanting to install Horde. This is the error I get from the screen that is supposed to tell you if you have everything you need to keep going: Horde will not run without get

Re: [PHP-WIN] Newcomer

2005-05-02 Thread Jason Barnett
Barry Fawthrop wrote: Thanks all Yes I have been slowly working through the manual, which has helped alot. I'm not sure on the issue raised, which is better A or B This falls into the "religious" area of programming. There's a good discussion about templates going on over in php-general newsgroup

[PHP-WIN] Re: A question on password policies . . .

2005-05-02 Thread Jason Barnett
Lists wrote: Folk, I'm curious if anyone has any advice on setting up multi-level password access? The site is being developed on Win2K/IIS 5.x, but will be published on a Linux server, which phpinfo() reports as: Linux {domain name} 2.4.20-28.8HEsmp #1 SMP Thu Jun 17 16:21:50 BST 2004 i686. I wo

[PHP-WIN] Re: Phpize

2005-05-02 Thread Jason Barnett
Terry Watts wrote: I'm new to PHP and I have just installed PHP for windows on my server, I'm now trying to install PHP for Image Magick. The docs for this say I have to run "phpize" but I can't find it anywhere. Can someone please tell me where it lives. Thanks in advance. Terr

[PHP-WIN] Re: Combinig 2 Variables into 1

2005-04-29 Thread Jason Barnett
Maxwell Brodie wrote: Hello, Could someone help me out here, I am tryimg to make two variables into one for example: $to = 'server'; $subject = test; $message = $variable1, $variable2; $message = $variable1 . $variable2; $headers = 'From: webmaster@' . $_SERVER['SERVER_NAME'] . "\r\n" . '

[PHP-WIN] Re: Newcomer

2005-04-28 Thread Jason Barnett
Please do not CC me, just write to the list. I will usually see responses. Michael wrote: Jason, I think your last answer is misleading, PHP does not by default produce markup unless you choose to output or produce markup with PHP. You can use PHP to return raw data, manipulate data in a data

[PHP-WIN] Re: Newcomer

2005-04-27 Thread Jason Barnett
Barry Fawthrop wrote: Hi All As a newcomer to the list and PHP, I was wondering: I have been programming for 8 years now, in C and mostly in Delphi / Pascal. I am used to the C constraint and syntax, which it appears that PHP follows. Pretty much. There are very, very few cases where C function

[PHP-WIN] Web based Accounting / COM

2005-04-27 Thread Jason Barnett
The question: can anyone point me to a good howto for building COM components? It would be great if there were open source tools for building the actual COM object. It would be better if the howto was geared towards building COM objects for web apps. Obviously the web pages will be written i

Re: [PHP-WIN] Secure customer service web page browser

2005-04-26 Thread Jason Barnett
Michael Purdy wrote: Ross Your requirement is similar to what I have seen in a number of retail stores. It is common practice for stores to be provided with a customised Linux desktop environment and a non externally routable IP Address. Mike Great suggestion. I have actually thought about doing t

[PHP-WIN] Re: Get an RSS reader to E-Mail content

2005-04-26 Thread Jason Barnett
Maxwell Brodie wrote: Hello, I am using the following script to keep me up to date from any computer in the world that has web access, but I would like to get it to automatically E-mail the content to my E-mail adress, here is what I have so far. I know this isn't what you were asking for, but..

[PHP-WIN] Re: Parsing XML Code

2005-04-08 Thread Jason Barnett
Jeb Barger wrote: > > > I am have a hard time parsing a xml file from IIS box. What is the > easiest way to parse a xml gotten from a url and parse the information > into variables? Make Sense? > > Jeb \n"; $xml = urldecode($_GET['xml_param']); var_dump($xml); /** PHP5 */ $sxe = simplexml_load_

Re: [PHP-WIN] Optimize php code

2005-04-06 Thread Jason Barnett
The only way to really know is to test it yourself, with your machine and your setup. Because what might be fast for me might be slow for you. You should also have an overall goal in mind of how much time you can spend on page loads. If you need help testing scripts then you can go for apache be

[PHP-WIN] Re: php-binaries with --enable-memory-limit?

2005-03-30 Thread Jason Barnett
Sencer wrote: ... > Is there a trusted source where I can get current php-binaries that are > compiled with --enable-memory-limit? None that I know of... unless of course you trust me ;) Seriously, why not just do it yourself? cygwin/gcc is free and easily obtained. -- Teach a man to fish... N

[PHP-WIN] Re: howto do a backtrace on windows?

2005-03-22 Thread Jason Barnett
Use cygwin / gcc?!?! :P Is debug_backtrace() unable to give you what you want? -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/sear

[PHP-WIN] Re: is it harmful ?

2005-03-17 Thread Jason Barnett
Amir Jebelli wrote: > is it harmful if I connect to internet while my apache web server is running ? > *Any* time you connect to the internet you are exposing your computer to potential viruses, crackers, and the sort. Having an Apache server running on a machine offers different ways for an atta

[PHP-WIN] Re: Problem with redirect

2005-03-17 Thread Jason Barnett
Bunmi Akinmboni wrote: > I develop under windows. Why will my redirect be giving this error: > > Warning: Cannot modify header information - headers already sent by > (output started at ... Search the archives for your error message, you will find the answer. -- Teach a man to fish... NEW? | htt

Re: [PHP-WIN] Call to undefined function checkdnsrr()

2005-03-16 Thread Jason Barnett
Mikey wrote: >>I am running php5 on a win2kpro machine with apache2/mysql/phorum. >>In the phorum when trying to register a new user through the >>site, I get this error. >>From what I've looked up, checkdnsrr() doesn't run in Win, >>and yet the function email_functions.php is calling it. >> >>Know

[PHP-WIN] Re: Possibly OT - refreshing page

2005-03-15 Thread Jason Barnett
http://webdesign.about.com/cs/metatags/a/aa080300a.htm On the PHP side of things the function to use is header(). -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php S

[PHP-WIN] Re: recommending a PHP book?

2005-03-15 Thread Jason Barnett
Danny Lin wrote: > Can any one recommend a good book that discusses MVC design patterns with > PHP (and mySQL)? > > Thanks. I can recommend a *simple* website: phppatterns -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=p

[PHP-WIN] Re: windows memory limit

2005-03-15 Thread Jason Barnett
Giles Velarde wrote: ... > > If this is the case, does anyone know where to find a PHP5 apache 2 dll > that is compiled with a enabled memory limit? > > Thanks DIY... Apache 2 / PHP source is freely available... cygwin / gcc is also freely available if you need a build environment. -- Teach a man

[PHP-WIN] Re: Looking for new php hosting service

2005-03-09 Thread Jason Barnett
Jim MacDiarmid wrote: > Can anyone provide recommendations? I currently have a plan with ... pair is good. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW |

Re: [PHP-WIN] static

2005-03-02 Thread Jason Barnett
> > class foo { > > static public $a = 1; > > public function __construct() { > > echo $this->a; /* does not work */ > > echo foo::$a; /* work */ echo self::$a; /* work */ > > } > > } > > > > Can someone please explain to me why I have to call $a outside the class to > get the v

[PHP-WIN] Re: Error 500 in IIS weblog

2005-03-02 Thread Jason Barnett
Louis Solomon wrote: > not happening here. > 500 errors mean that you have an internal server error. Often times this is because you misconfigured IIS and/or PHP. Try checking the archives, you should find the answer to this one there. (Of course if none of those answers work, then you can com

[PHP-WIN] Re: [Request] ISAPI and Keep-Alives

2005-03-02 Thread Jason Barnett
Louis Solomon wrote: > Any chance of fixing the ISAPI to allow HTTP Keep-Alives? > > and no, it's not just me :-) I checked the source code. it returns > HSE_STATUS_SUCCESS for all success cases. It needs to return > HSE_STATUS_SUCCESS_AND_KEEP_CONN to allow Keep-Alives to work. (and of > cours

[PHP-WIN] Re: not so php related

2005-02-23 Thread Jason Barnett
Joakim Ling wrote: > Hi, > > > > Is there a way to add hosts in IIS6 and alias in DNS hosts from php or > cmd. It would help me alot when I register a new customer. > > In an Apache server you would use VirtualHosts... but then again I have never used IIS so who knows what they call it on t

[PHP-WIN] [Fwd: Re: php.ini - cookies]

2005-02-21 Thread Jason Barnett
tions but no succes. I asume it's a server issue. I have the same wesite on a webserver of my ISP and it's works fine there. Christian. "Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Christian Tischler wrote: ... >

[PHP-WIN] Re: php.ini - cookies

2005-02-21 Thread Jason Barnett
Christian Tischler wrote: > help again, please. > > I asume it is a problem with php.ini but cookies don't work for my website. > > can anyone tell me the right configuration or the php.ini to make cookies > work. > > Thanks > > Christian Cookies require two parts: the server and the browser

Re: [PHP-WIN] Re: Parsing a PHP file - Newbie alert

2005-02-16 Thread Jason Barnett
Andrew Hargreaves wrote: Andrew Hargreaves wrote: On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett <[EMAIL PROTECTED]> wrote: ... Absolutely! It's a common mistake. If you try to open a PHP file directly then your browser would have no idea to send the script through PHP. But when

Re: [PHP-WIN] Re: Parsing a PHP file - Newbie alert

2005-02-16 Thread Jason Barnett
Please keep email responses to the newsgroup / list. Helps me stay organized and I help out when I can. Andrew Hargreaves wrote: On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett <[EMAIL PROTECTED]> wrote: ... When I tried to run my first PHP file to show the PHP Info () the browser, Firef

[PHP-WIN] Re: Parsing a PHP file - Newbie alert

2005-02-15 Thread Jason Barnett
Andrew Hargreaves wrote: First post here so go easy on me please as I have looked in as many places as possible before resorting to this. I have installed MySQL, Apache 2.0.52 and PHP 4.3.10 on my XP Pro PC and have read through the installation docs etc to update httpd.conf as instructed. You're a

Re: [PHP-WIN] printing

2005-02-15 Thread Jason Beaver
I finally was able to get a list of printers out of it, I was forgetting the 'printer.default_printer = "PHP_INI_ALL"' setting "Warren Vail" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jason, > > It helps to remember how most P

[PHP-WIN] printing

2005-02-14 Thread Jason Beaver
Has anyone ever done any printing from PHP. I have recently been trying to get the printer functions to work with no success. anyone have any hints? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fwd: Re: [PHP-WIN] Re: SESSION

2005-02-11 Thread Jason Barnett
t; Reply-To: Vaibhav Sibal <[EMAIL PROTECTED]> To: php , Jason Barnett <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Thanks Jason ! It'll be great if you could also tell me whether I can launch applications like MS WORD using COM or any other te

[PHP-WIN] Re: SESSION

2005-02-10 Thread Jason Barnett
Vaibhav Sibal wrote: I wanted to ask, where is the Session information stored ? That is at the server or on the client. Because I need to give the session.save_path value in the php.ini. I would give it according to people's reply of this question. Thank you. Vaibhav session.save_path is located on

[PHP-WIN] system() on Windows 2003

2005-02-10 Thread Jason Beaver
I have a script that calls: system('copy /b prnfile lpt4:', $result); or: system('type prnfile > lpt4', $result); the result is '1' and it doesn't send it to lpt4. I have tried: system('type prnfile', $result); the result of that is '0' and it puts all the info in the file on the brows

[PHP-WIN] PHP in IIS 6

2005-02-09 Thread Jason Beaver
I'm running PHP 4.3.1 on a windows 2k3 server. I have a script that used to work on my 2k server using CGI. When I use the ISAPI method under my 2k3 server the scrip appears to work fine but when it gets to a system() command it doesn't do it for some reason. Under the CGI method it gives me the

Re: [PHP-WIN] outlook calendar

2005-02-08 Thread Jason Barnett
Zeb Bowden wrote: Does your organization use Outlook web access (OWA)? If so you may also be able to access calendars using WebDAV (that's what Entourage for Mac's do). Thanks for the tip, but unfortunately we don't have outlook web access. Now that you mention it though it might be easier / bette

Re: [PHP-WIN] outlook calendar

2005-02-08 Thread Jason Barnett
[EMAIL PROTECTED] wrote: You know, I forgot but I think that depending on the version of Outlook, you might have to replace the "outlook.application" with something else. Maybe not.. hmm.. I can't find any examples where something other than 'outlook.application' is used. Maybe I'm wrong there.

[PHP-WIN] Re: Hello ppl

2005-02-08 Thread Jason Barnett
Vaibhav Sibal wrote: I am trying to setup PHP in linux, Im still in server setup stage, can you guys tell me if there is a mailing list for linux users here? Most of the *nix users stick to php.general (or basically any php newsgroup that isn't php.windows!) Incase you are interested then heres my

Re: [PHP-WIN] outlook calendar

2005-02-07 Thread Jason Barnett
[EMAIL PROTECTED] wrote: = = = Original message = = = Good morning, Is it possible to reach the data of the outlook calendar (on a server exchange) with php? Thank you for advance I've never tried using PHP to connect to an Exchange server directly, but I've done some stuff with using PHP to con

[PHP-WIN] Re: DocGuru - PHP Documentation Tool 1.0 Released

2005-02-07 Thread Jason Barnett
[EMAIL PROTECTED] wrote: Cerauno proudly announces the release of DocGuru Professional 1.0. No offense intended to you sir... but if you're going to try to sell this product on the list you could at least make comparisons to some of the other (open source / free) projects out there and explain why

[PHP-WIN] Re: $_SESSION

2005-02-07 Thread Jason Barnett
Dale Attree wrote: Is there anyway to spoof the $_SESSION array? For what purpose? -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://www.php.net/manual/en/index.php STFW | http://www.google.com/se

Re: [PHP-WIN] Re: [PHP] php editor

2005-02-02 Thread Jason Barnett
Mikey wrote: -Original Message- It's true that googling would produce a list of PHP-happy editors, but the intended question seems to be more along the lines of "What does everyone like? Use? Prefer?" That's not something that's always found on lists you'd get off of google. No, b

[PHP-WIN] Re: Date Help Needed

2005-01-31 Thread Jason Barnett
Ron Herhuth wrote: I am trying to construct a function where I feed it a number such as "x" it returns the date "x" days ago. $format = 'l dS of F Y h:i:s A'; /** Check that "now" relative time is ok, instead of midnight */ echo date($format, strtotime("now")) . "\n"; /** If now resolves correctly

Re: [PHP-WIN] Re: PHP MS-DOS

2005-01-26 Thread Jason Barnett
DvDmanDT wrote: Yes, but it's still a windows app.. :p I think it uses windows funtionality, that doesn't exist in dos (with dos I don't mean console windows, I mean real dos, with no windows loaded at all).. It's not using windows specific stuff, or at least it doesn't really depend on it, but it

[PHP-WIN] Re: Random

2005-01-24 Thread Jason Barnett
SargeTron wrote: "How can I create a random string" rand() only returns an int (number), but I would like something like dd75$6*, you know, containing any character. I would like it only to do a certain string ONCE, so there are no duplicates (in a for loop). Hopefully I won't need to do a huge arr

Re: [PHP-WIN] Re: Design Assistance

2005-01-20 Thread Jason Barnett
Jim MacDiarmid wrote: Thanks for your thoughts Jason. In reference to the KISS method you mentioned.. ( taking a quick deep breath... I resemble that remark!! ;) ) No, actually, the way I normally structure my code is on each page I do the following: /* All includes and requires go here

[PHP-WIN] Re: Design Assistance

2005-01-20 Thread Jason Barnett
Jim MacDiarmid wrote: I'm hoping someone can help me with some design thinking.. I'm still fairly new to php and most of my scripts are written in a rather procedural format. I'd like to try start thinking in a more object-oriented way. The There's no reason why you *have* to use objects. Heck

[PHP-WIN] Re: Import functions from a DLL file

2005-01-19 Thread Jason Barnett
Rui Silva wrote: Hello! I have a DLL witch I want to use in PHP. This DLL file is Eztwain3.dll It is possible running it on PHP? I think I must create a special DLL (like php_Eztwain3.dll) to call Eztwain3.dll and also php5ts.dll Do you have the source for this DLL? I think you will find the pr

[PHP-WIN] Re: Installing Pear on Win XP

2005-01-18 Thread Jason Barnett
Raymond Still wrote: Please forgive the somewhat off topic post, but this just seemed like the best place to start. This is a fine place to ask, but for future PEAR questions you might also try the php-pear-general group. I'm trying to install PEAR on my Win XP box. I'm running Apache and PHP 5.

[PHP-WIN] Re: help w/hidden fields and storing an int.

2005-01-17 Thread Jason Barnett
Patrick Roane wrote: I am tring to store and display the number of requests that a user has submitted via a hidden field. I've created a form that does a some simple addtion. Everything works, but I need some direction as to how I can store each number the user puts in and to display them. Please s

[PHP-WIN] Re: [PHP] php editor

2005-01-13 Thread Jason Barnett
I use Wordpad. Seriously ;) -- Teach a person to fish... Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html PHP Manual: http://www.php.net/manual/en/index.php php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2 -- PHP Windows Mailing List (http://www.php.net/

Re: [PHP-WIN] Reg Ex help

2005-01-13 Thread Jason Barnett
[EMAIL PROTECTED] wrote: if (preg_match("/[a-z0-9]+/i"),$str) So what denotes the end of the reg ex here? (if the '/' at the begin identifies the start? Tryst Surely there is a manual page somewhere for "Perl Compatible Regular Expressions" :) Hint: actually, never mind, it's worth making you

[PHP-WIN] Re: Application variables

2005-01-13 Thread Jason Barnett
Louis Young wrote: Hi guys I know PHP doesn't support application variables. Anybody have a good workaround for this? Cheers Louis There is a PEAR package for this. Offhand I can't remember the name of it... but look and ye shall find. -- Teach a person to fish... Ask smart questions: http://w

[PHP-WIN] Re: Error when trying to get global variables

2005-01-13 Thread Jason Barnett
Louis Young wrote: Hi there I've used a tool called asp2php to convert all my asp files to php files, but now in ASP you have the global.asa file. I've converted this to global.php. So now part of it looks as follows: It actually worked? Cool! function Application_OnStart() { extract($GLOBALS);

Re: [PHP-WIN] HTML in PHP to a File

2005-01-13 Thread Jason Barnett
*Warning* I don't really suggest that you use eval() unless absolutely necessary. But in this case it does what I *think* you want it to do. http://www.php.net/manual/en/function.eval.php Luis Moreira wrote: What do you mean by "it doesn't work" ? It does (the minitest, I mean). Luis MikeA wrote

[PHP-WIN] Re: Undefined variable

2005-01-12 Thread Jason Barnett
Louis Young wrote: Hi there I'm getting the following error regardless of whether register_globals is on or off. *Notice*: Undefined variable: button1 in *C:\Program Files\Apache Group\Apache2\htdocs\spar\admin\login.php* on line *28 You don't need to post the entire page, oy vey that was long!

Re: [PHP-WIN] The Test.php program does not execute

2005-01-11 Thread Jason Barnett
GKE: are you using the CGI version of PHP for your server? Or more directly, which type of PHP executable are you trying to use? There are *basically* 3 types - CLI for the command line - modules which are specialized versions for different server (ISAPI for IIS and so on) - CGI which is the co

[PHP-WIN] Re: Blank screen problem

2005-01-07 Thread Jason Barnett
Roel Dillen wrote: I ran a basic php script (php_info) but appearantly it doesn't do anything. In viewsource the php code doesn't show up. I have Apache 2 and PHP 5 I have adapted my httpd.conf so it should be able parse the php through the CLI method. I have added these lines to achieve this LoadM

[PHP-WIN] Re: PHP & Win2k

2005-01-07 Thread Jason Barnett
Daniel Aguilar wrote: I'm a newbie to PHP and I can't find what "PHP_Self" ( )ers to? it seems to be why I can't get my supposedly simple php shop to work. Any suggestions or websites with examples? I believe you are referring to a server variable? At least, there is a variable that might match t

[PHP-WIN] Re: Is it possible to have IIS and apache runing in the same machine, with windows xp?

2005-01-05 Thread Jason Barnett
Andre wrote: Hello Anyone know if it’s possible to have a (IIS – sql-server) and (apache – mysql) running on the same machine? Thanks André Caridade If they are listening on different ports then I don't think this is a problem. Then again I've never actually done this. :) -- Teach a person to

[PHP-WIN] Re: PHP5, IIS6, and Windows2003 Web Edition

2005-01-05 Thread Jason Barnett
Steve Larabee wrote: Greetings all: I have tried a number of things that I have found in these newsgroups, and I am still receiving 404 errors when I try to open a php page. PHP is showing as "UP" in the ISAPI Extensions settings screen, I have PHP allowed as a web service extension. Nothing.

Re: [PHP-WIN] Re: Making includes easy.... Am I a 'tard?

2005-01-04 Thread Jason Barnett
Patrick Roane wrote: The inludes folder is thrown around as more of a generic term for a directory that includes important files. Is this a pretty good definition for the purpose of an 'includes' folder? Sure, that's a fine definition. And the setup that I proposed isn't the only way to do it, b

[PHP-WIN] Re: Making includes easy.... Am I a 'tard?

2005-01-04 Thread Jason Barnett
I haven't bothered to benchmark this, but here is my own solution to this problem. If you already have a common file that you are including in every script then the cost should be very low. Feel free to use it if you prefer. Apache htdocs site1 includes common.php

Re: [PHP-WIN] Re: Searching for UPS tool

2005-01-04 Thread Jason Barnett
Yes, I did reply without carefully reading the message. See my second response to the thread for a PHP script that does as you ask. -- Teach a person to fish... Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html PHP Manual: http://php.net/manual/ php-general archives: http:/

[PHP-WIN] Re: Searching for UPS tool

2005-01-04 Thread Jason Barnett
Ah, you were just asking for a scipt. In that case I send you my apologies my good sir. This works for PHP 4.3 http://www.phpscriptsearch.com/0/PHP-XML-and-PHP/UPS-XML-Shipping-Tool-PHP-Function-Library.html -- Teach a person to fish... Ask smart questions: http://www.catb.org/~esr/faqs/smart-q

[PHP-WIN] Re: Searching for UPS tool

2005-01-04 Thread Jason Barnett
Didn't you already search their site and find the answer? It is *very* infuriating when people refuse to help themselves! Because I can guarantee that if you search the UPS site you will find the answer. -- Teach a person to fish... Ask smart questions: http://www.catb.org/~esr/faqs/smart-ques

[PHP-WIN] Re: a function question

2004-12-30 Thread Jason Barnett
Here is my code (which I can't get to work): /** Note that my code / comments are untested, but should be helpful. */ $mail = "[EMAIL PROTECTED]"; $user = "patrick"; function usermail( $user, $mail ) { /** We don't need global $user or $mail since these are passed into

Re: [PHP-WIN] About "\n"

2004-12-29 Thread Jason Barnett
Graeme wrote: > Hi, > > What the "\n" does is to throw a newline in your source code. So when > the page is displayed look at the source that has been generated you > will see the blank line. This can be useful to make the HTML source > readable. However to get a new line displayed in the browser

  1   2   3   >