[PHP-WIN] Re: help with building 2 dll's needed

2003-08-29 Thread Brian McGarvie
you dont need MS VC++ any C++ compiler will do the job. try: http://www.delorie.com/djgpp/ "Grzegorz Godlewski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello! > > I need two compiled extensions for php 4.3.3: > - bcompiler (I think somebody has it already compiled) > - php

[PHP-WIN] Re: How to get script name and line number

2003-08-29 Thread Brian McGarvie
"William Cheung" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >>I need to error log the script name and the line number that an error occurs. Are there built-in variables I could make use of? There are 2 ways to get file name: 1) Using the 'magic constatns': $thefile = __FILE__; 2

[PHP-WIN] Sessions...

2003-07-17 Thread Brian McGarvie
I use a session for a syste to varify login... However sometimes the session seems to timeout (as I'd expect) however it seems random, sometimes it's within a few mins of 'inactivity' and other times i have seen it not timing out if left 'logged in' overnight and continue work in the morning. How

[PHP-WIN] Re: Windows vs. linux

2003-02-25 Thread Brian McGarvie
Generally there will be little to do except change credentials for DB etc, only thing that will possibly be affected is paths to included files, your depolyment server is running php in safe_mode then you will need to use full-path's to the files. Other than that it 'should' simply be a case of up

[PHP-WIN] Re: expensive mysql hosting

2003-01-22 Thread Brian McGarvie
PHP can be used with use virtually any i.e.: MySQL, PostgreSQL, Microsoft Access, Oracle, Microsoft SQL Server, Sybase, Informix, FoxPro, FrontBase, Interbase, DB2, ADO and ODBC. This is not an exhaustive list it can support many others via ODBC, ADO etc etc... "Krizz" <[EMAIL PROTECTED]> wrote

[PHP-WIN] PDF

2003-01-17 Thread Brian McGarvie
I'm looking to find out if PHP has the ability to do this... OK I'm looking for a solution that could do the following. We require to generate PDF files that can then be emailed or printed & posted to clients. I can create PDF Files from scratch using PDFLib. What we will require to do though i

[PHP-WIN] Re: php_ming

2003-01-07 Thread Brian McGarvie
download cygwin, it'll come with cpp compiler you can then compile it following unix compile instructions "Warren Vail" <[EMAIL PROTECTED]> wrote in message 004201c2b669$5f2867a0$498a7ed8@WarrenVail">news:004201c2b669$5f2867a0$498a7ed8@WarrenVail... > Any ideas where I can get an up-to-date php_mi

[PHP-WIN] Re: SMTP Authentication - Windows 2000

2003-01-07 Thread Brian McGarvie
> However, when I upgraded the e-mail server to Win2K, SMTP authentication > quite nicely broke. No other configuration changes have been made. Any > ideas? What messages do you get if any? Could be an issue with Exchange's anti-relay stuff? --- Outgoing mail is certified Virus Free. Checked

Re: [PHP-WIN] php.ini cached?

2003-01-07 Thread Brian McGarvie
it'll get read from c:\winnt\ or c:\php\ are the 2 places... "David Barrett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Php.ini should not be in system32, it is in the correct place when in the > Windows directory (i.e. c:\WIN_NT). > > Moving it to System32

[PHP-WIN] Re: Running php on windows98 with apache server !

2003-01-07 Thread Brian McGarvie
none at all... execpt the power of the machine... if it's jist for development it'll be fine - I use it myself. "Raheel Hussain" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > I want to configure PHP on windows 98 with Apache, > my question is that is the

[PHP-WIN] Re: Crystal Report -> PHP4 / Report Generator

2002-12-12 Thread Brian McGarvie
it is achievable.. it very much depends on if you are trying to make a 'generic' report writer? this might prove a bit harder... http://repgen.sourceforge.net/ is about the only one i have seen of sorts... I generally develope custom solutions where I don't need to worry about generic reports,

[PHP-WIN] Re: Install PHP4.2.3 with Apache 2.0.40 on Window 2000

2002-11-26 Thread Brian McGarvie
goto www.php.net and download the zip file also ;) "Jack R." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Can someone please help with my PHP installation? > > The install.txt said I just need to add these in my Apache config file, but > there is no "

Re: [PHP-WIN] Re: File Upload - extension filtering

2002-11-26 Thread Brian McGarvie
using the mime-type is safer ;) "George Pitcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Brian, > > Thanks. However, I have just solved it by using stristr() instead. > > Works a treat. > > George >

[PHP-WIN] Re: File Upload - extension filtering

2002-11-26 Thread Brian McGarvie
use 'image/tiff' instead... "George Pitcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I have file upload working on my NT/Lasso/PHP site and want to restrict the > type of file being uploaded to either PDF, TIF or ZIP. > > > My code sofar is:

[PHP-WIN] Re: IIS and PHP with $HTTP_SERVER_VARS

2002-11-26 Thread Brian McGarvie
it's to do with probably folder permissions, the folder all your web files are should have IUSR_machinename added to the folder with full rights, the login box should then not appear... "Shaun Garriock" <[EMAIL PROTECTED]> wrote in message 018301c2954d$265b4010$c101a8c0@rgcweb01">news:018301c2954d

[PHP-WIN] Re: ODBC Connection

2002-11-19 Thread Brian McGarvie
I assume on the server you have added a System DNS to the ODBC Manager? "Mark A. Nichols" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm not having much luck here. I've created a MS Access database that has a linked table to an Exchange 2000 public folder.

[PHP-WIN] Re: set up mysql without winmysqladmin?

2002-11-15 Thread Brian McGarvie
I think it's only possible under nt/2k http://www.mysql.com/doc/en/NT_start.html "A. J. McLean" <[EMAIL PROTECTED]> wrote in message news:20021114141034.48692.qmail@;pb1.pair.com... > Is it possible to configure mysql to load up automatically whenever apache > is run (without having to load up

[PHP-WIN] Sorry...

2002-11-14 Thread Brian McGarvie
I know this is completely off-topic but I have searched and not found answer... I have PDF file which has printing disabled - a file given to me which i need to print. Is it possible to re-enable? ( I have full Adobe PDF authoring package) -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] Re: writing pdf files...

2002-10-25 Thread Brian McGarvie
yes it does... /me answered myself again ;) "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message news:20021025145601.71683.qmail@;pb1.pair.com... > I presently generate pdf files as required... > > I use FPDF for writing PDF... > > I require to save these to

[PHP-WIN] writing pdf files...

2002-10-25 Thread Brian McGarvie
I presently generate pdf files as required... I use FPDF for writing PDF... I require to save these to file... is it a simple case of: where the script: generate_stats_view_table_pdf.php generates the PDF... http://www.domain.com/autoreport/generate_stats_view_table_pdf.php'); while (list (

Re: [PHP-WIN] Mixing include path styles. How do I do this???

2002-10-24 Thread Brian McGarvie
if your including plain HTML with no php in it then it's quicker to use readfile()... "Roderick Martin" <[EMAIL PROTECTED]> wrote in message news:45763EEA-E6A8-11D6-A0B1-0030653D8C1C@;network23.com... > My bad! Windows is definitely not a strong suit with me. I did not know > I could do the drive

[PHP-WIN] Re: Print data

2002-10-24 Thread Brian McGarvie
an alternative I'm looking into is simply writing/formatting the data into a text file, then using the good old 'net print' dos command to print the file... "José Moreira" <[EMAIL PROTECTED]> wrote in message news:1035381924.1052.8.camel@;inf4.pt... > hello, at my company we have several network p

Re: [PHP-WIN] RE: printer_ functions...

2002-10-18 Thread Brian McGarvie
mmands are of dot matrix printers, for other inkjet / > > laser printers the commands vary from manufacturer to manufacturer. > > > > Alternatively, i think MS-Access is very good for this application, all u > > need is to design a report, where u can specify the paper

[PHP-WIN] printer_ functions...

2002-10-16 Thread Brian McGarvie
I have a specific problem ;) I have been asked if it is possible to write a 'simple' application that will print onto Bank Cheques - they will be supplied on a continuous roll aparently, so it'll be one cheque followed by another etc perferated inbetween... So my question is has anyone ever trie

[PHP-WIN] Re: Setting Up Advanced SEcurity

2002-10-15 Thread Brian McGarvie
simply rin it in safe-mode "David P Lenk" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What commands should I shut down to secure my PHP webserver? > > I have already turned off unlink and exec any other huge ones that should be > turned off to make sure ha

[PHP-WIN] Re: Where can I get php_odbc.dll

2002-10-09 Thread Brian McGarvie
you dont/should'nt need it, ODBC is built into php as a standard module... "Douglas F. Keim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I can't find it anywhere. > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP-WIN] Re: Windows Include

2002-09-27 Thread Brian McGarvie
you need to define the variable in the globals super array... to define a 'global' that you can use later you must; $var = 'value'; global $var; "Jason" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can anyone help me? > > When i use the following include f

[PHP-WIN] Re: skipping quotes...

2002-08-28 Thread Brian McGarvie
try using this b4 database... http://www.php.net/manual/en/function.addslashes.php "Afan Pasalic" <[EMAIL PROTECTED]> wrote in message 00bc01c24e0f$78bcf2c0$311f49d1@VAIO">news:00bc01c24e0f$78bcf2c0$311f49d1@VAIO... Hi, My information from database: We've got "the beat" I'm trying to edit using

Re: [PHP-WIN] PHP MSSQL versions

2002-08-28 Thread Brian McGarvie
I was having trouble using the mssql functions... I believe it was because i was running it as CGI (s - i know) i am now running it as ISAPI (yes I am unfortinatley an IIS user untill Apache2/PHP combination is deemed ready for use on a production server). As I am now ISAPI, the functions sh

Re: [PHP-WIN] Apache...

2002-08-21 Thread Brian McGarvie
> FWIW I had major problems getting PHP to run with Apache 2.x on NT4.0 - I > > had to revert back to v1.3.x ... > > > > Rich > > -Original Message- > > From: Brian McGarvie [mailto:[EMAIL PROTECTED]] > > Sent: 21 August 2002 13:25 > > To: [EMA

[PHP-WIN] Apache...

2002-08-21 Thread Brian McGarvie
What version of Apache is reccomened at present with PHP (cgi or isapi) to run on a production webserver on windows? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PDF Files...

2002-08-12 Thread Brian McGarvie
>> The last portion of your request is not possible under >> the current libraries that are out there. I was unable to >> find one anyway. So, for now, you're out of luck. In NO language? Not even ASP? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP-WIN] Loading Extension...

2002-08-12 Thread Brian McGarvie
OK Help I always seem to have trouble installing extensions... what am I doing wrong? (trying to get PDFLib working). I copied the DLL to c:\php\extensions\php_pdf.dll However when I try to run a simple example I get: Fatal error: Call to undefined function: pdf_new() in C:\Inetpub\wwweloa

[PHP-WIN] PDF Files...

2002-08-12 Thread Brian McGarvie
Looking for some insight into which is the best PDF library to use, commercial/non-commercial. If possible I would like to be able to; * edit a PDF file, * use an existing PDF file to insert text into form fields, * create and fill PDF documents with form fields. Any advice as to which of the a

[PHP-WIN] PHP Q...

2002-08-02 Thread Brian McGarvie
I know this post may be sacraligeous... but... I'm presently developing an intranet application using PHP (I have been using PHP for 3 years or so now). However, for this particular project I may be forced to use ASP - ARGH... Now... I know their is a tool to do ASP -> PHP, but... is their o

[PHP-WIN] DOMXML...

2002-07-31 Thread Brian McGarvie
I have a problem with DOMXML... I installed it and it is showing up in a phpinfo() script... However when I try a simple example it gives me an error such as: Warning: failed to load external entity "employees.xml" in C:\Inetpub\wwweloanshop\test\xml.php on line 36 Any hints? [ Brian M McGarv

[PHP-WIN] Re: Help NT Authentication

2002-07-29 Thread Brian McGarvie
Try adding the user that looks like... IUSER_ to the security of the folder that your site is in... "Kk Lee" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear ALL, > > I'm working on a win2k, IIS 5.0, PHP and MYSQL system. > I activated Integrated windows

RE: [PHP-WIN] Available PHP Whitepapers

2002-07-12 Thread Brian McGarvie
I hate replying with this answer... but use google for 'php vs asp' and you'll get too much info to present ;) http://www.google.co.uk/search?q=php+vs+asp&ie=ISO-8859-1&hl=en&meta= > -Original Message- > From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] > Sent: 11 July 2002 6:36 PM > To: [E

[PHP-WIN] IIS Bugs???

2002-07-10 Thread Brian McGarvie
OK This is a followon from my Browser thread... on [EMAIL PROTECTED]; [EMAIL PROTECTED] I have switched the application to run from Apache, and the Browsers that were having trouble now seem (I think - will be doing more testing later) to have dissapeared. So, is there a problem with IIS or PH

[PHP-WIN] Apache/PHP...

2002-07-09 Thread Brian McGarvie
C:\APACHE2\BIN>apache -t APACHE: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not comp atible with this version of Apache. Please contact the vendor for the correct version. anyone seen this when trying to run apache? -- PHP Windows Mailing List (http://www.php.net/) To unsubs

[PHP-WIN] RE: [PHP] Dual Server...

2002-07-09 Thread Brian McGarvie
s http://intranet:8080) this appears to work > fine. Hope this > helps > > Robert W. Collins II > Webmaster > New Orleans Regional Transit Authority > Phone : (504) 248-3826 > Fax: (504) 248-3866 > Email : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > &

[PHP-WIN] Dual Server...

2002-07-09 Thread Brian McGarvie
OK following from my thread 'Browser Issues' I have found that when serving the site from apache, that the aforementioned errors go away... mostly... OK so... What is the best way to setup so that IIS/Apache co-exist... I'd like to keep the 'entry' to the site on IIS as we have other sites too.

RE: [PHP-WIN] Browser Troubles...

2002-07-09 Thread Brian McGarvie
oblem once - with old IE4 and it was > an IE bug with dynamicly generated pages, I don't > remember exactly the error name... hmm.. transfer > chunk encoding or similiar. But I'm afraid it's not > your case. > > HTH > Piotr > > --- Brian McGarvie <

[PHP-WIN] RE: [PHP] Browser Troubles...

2002-07-09 Thread Brian McGarvie
There is rather a lot to check... i have checked *most* of it... the only JS is to open a pop-up window, but that functions correctly... In one particular version of IE it fails even to submit the login form ;\ Works perfectly in Mozzilla/NN(4->6)... also fine in IE 6, and as I mentiond most I

[PHP-WIN] Browser Troubles...

2002-07-09 Thread Brian McGarvie
OK... I have developed a web-application... on Windows 2k Server, IIS5, PHP, MsSQL/MySQL. Now... on certain browser platforms the browser spuriously dies for no reason. (Primarily Oldish IE 5.0(but not all releases) and 5.5). I have tried MS's mailing lists/support but not had any usefull feed

RE: [PHP-WIN] Re: PHP on IIS 5.0

2002-07-08 Thread Brian McGarvie
I'm having a problem with PHP/IIS5.0 with the browser seems to just hang, at no particular stage it seems fine and then it dies Is this related to below... I've tried running php as .exe/isapi but still happens... > -Original Message- > From: colin mcdonald [mailto:[EMAIL PROTECTED]

RE: [PHP-WIN] HELP!!!

2002-07-01 Thread Brian McGarvie
Entering data in the form and then pressing submit... it just stays at the form, doesn't even try to progress... > -Original Message- > From: Julie Meloni [mailto:[EMAIL PROTECTED]] > Sent: 01 July 2002 9:20 AM > To: Brian McGarvie > Cc: [EMAIL PROTECTED] > Subj

RE: [PHP-WIN] HELP!!!

2002-07-01 Thread Brian McGarvie
It is using sessions from the outset... As soon as I goto the URL it IE5.0 warns about cookies and i obviously allow it to make it... > -Original Message- > From: Brian McGarvie > Sent: 01 July 2002 9:20 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] HELP!!! > >

[PHP-WIN] HELP!!!

2002-07-01 Thread Brian McGarvie
I have a failrly complex web-application... Its running on Windows 2000 Server, IIS, PHP 4.1.2 (running php as cgi), Integrates with MySQL and MS Access... My Problem is... It works fine using IE 5.5+ (PC/Mac), NN4/NN6 (PC/Mac), however when I try to use IE 5.0 (PC) it does'nt! Anyone care t

[PHP-WIN] GD...

2002-06-18 Thread Brian McGarvie
OK... why would imaged be shown as if they do not exist? [ http://www.the-local-guide.com :: http://www.mcgarvie.net ] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] freetype.dll

2002-06-18 Thread Brian McGarvie
can anyone send me the above file? can't find it anywhere! [ http://www.the-local-guide.com :: http://www.mcgarvie.net ] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] LDAP...

2002-06-18 Thread Brian McGarvie
I'm just experimenting with LDAP... [ Windows 2000 Server/IIS/php 4.2.1] I've uncommented the php_ldap.dll in my .ini... when I execute the following simple piece of code it gives me: Fatal error: Call to undefined function: ldap_connect() in E:\wwwshell\test\index.php on line 5 What have I

RE: [PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Brian McGarvie
ED] > Subject: Re: [PHP-WIN] SSL Support for PHP > > > On Friday, June 14, 2002, 9:13:59 AM, Brian McGarvie wrote: > > How does IIS fair against Apache with servring multiple > sites? each site will be like... http://customername.ourdomain.co.uk > > Both are capabl

[PHP-WIN] RE: [PHP] SSL Support for PHP....

2002-06-14 Thread Brian McGarvie
Also... IF Apache... what version? > -Original Message- > From: Brian McGarvie > Sent: 14 June 2002 9:14 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] SSL Support for PHP > > > Right... > > Back to the old bombshell of which webser

[PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Brian McGarvie
Right... Back to the old bombshell of which webserver... I have'nt seen any reports which say what is better... Here is my issue: The webserver I am setting up will potentially host 4 or 5 sites... How does IIS fair against Apache with servring multiple sites? each site will be like... http:

RE: [PHP-WIN] Re: Apache 2.0.36 + PHP + Win2000 Server

2002-06-11 Thread Brian McGarvie
Having been a PHP developer for around 4 years now, I have'nt had the luxury of a Linux machine at home, however I have always had on my now quite slow machine - but still very reliable and runs fast enuff for development puposes - ran Apache/PHP/MySQL on it with no problems (win98), I do keep

RE: [PHP-WIN] GD...

2002-05-29 Thread Brian McGarvie
2002 10:03 AM > To: Brian McGarvie; [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] GD... > > > Brian McGarvie <[EMAIL PROTECTED]> wrote: > > Any Ideas? > > Show us your code and we'll see if we can identify the problem. > Unfortunately we're not mind

[PHP-WIN] GD...

2002-05-29 Thread Brian McGarvie
Right, Can somone talk me through GD... I've tried and tried it, using various .dll's and no matter which I use, the images are never generated, they always show the 'image' for a missing image in IE etc. Any Ideas? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP-WIN] GD

2002-05-23 Thread Brian McGarvie
When I try to use the GD lib, it seems to create blank/errorsome images? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Re: windows 2000 server --- crashing

2002-05-22 Thread Brian McGarvie
hmm, I've been successfully using IIS 5/PHP 4.2.1 (also making use of mysql 3.23.49) and MSSQL Server, combination on win2k server for a few months now, recently using php 4.2.1 and still no 'nasties' have happened... It is worring tho that there seems to be such a leap from systems running fine

RE: [PHP-WIN] Access databse

2002-04-30 Thread Brian McGarvie
I assume from the request you're using win(98+) and IIS 4+ and have installed PHP and it works... Now, IF your Access database will be accesed using any kind of Access front-end while the website will be being used, you will need to replicate your access database because of the locking that occur

[PHP-WIN] Image creationm (again)

2002-04-25 Thread Brian McGarvie
I've also been having trouble with using GD, the extension is loaded correctly, however when I execute my code the image in IE (not tried it in anything else yet) is blank... -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Creating a "nice" link

2002-04-18 Thread Brian McGarvie
have you configured your session_data path in the PHP.ini file? this may cause php to hang if you do not have this set -Original Message- From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 2:00 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Creating a "nice" link I am creat

[PHP-WIN] Using Access with PHP via ODBC

2002-04-18 Thread Brian McGarvie
Hi, I'm developing an application which is built on top of an existing MS Access Database, when the DB is not opened/windows client to the DB is opened it creates a lock, which in turn prevents PHP from accessing the Database, is there any solutions to this? Thanks in advance -- PHP Window