Re: [PHP-WIN] Re: Executing External Application

2006-06-16 Thread Brian Stakes
I checked the button which should allow apache to interact with the desktop, but to no avail. Was there anything else that you had to do in order to get apache to interact with an Application? Chuck Anderson wrote: Brian Stakes wrote: I am trying use PHP to run an application on Windows XP

[PHP-WIN] Executing External Application

2006-06-14 Thread Brian Stakes
c and system commands. How can I get my Application to execute when it is called through Apache? example code: system("notepad.exe"); -- Brian Stakes http://www.voipsupply.com [EMAIL PROTECTED] 800.398.VOIP - Toll Free 716.630.1555 - x3874 716.250.3874 - Direct 291176096 - ICQ VoIPSup

[PHP-WIN] Extension

2005-06-13 Thread Brian D. McGrew
nyone know how to do this on IIS??? -brian Brian D. McGrew { [EMAIL PROTECTED] || [EMAIL PROTECTED] } --- > YOU! Off my planet!

[PHP-WIN] MySQL Support

2005-06-13 Thread Brian D. McGrew
t but when I do a phpinfo() I get no references to MySQL and I can't connect to the database. MySQL is installed locally on the box. Any ideas? -brian Brian D. McGrew { [EMAIL PROTECTED] || [EMAIL PROTECTED] } --- > YOU! Off my planet!

[PHP-WIN] Post method not working

2004-10-21 Thread Brian
OK, I'm new to php, so be gentle :) I have just installed PHP 5.0.2 on Windows XP Pro\IIS 5 I am learning PHP with one of those step by step books, and I have run into an issue with forms. They don't seem to be getting the variable I am passing. This code works: But this does not: Even wh

[PHP-WIN] Installing PHP 5.0 on IIS6/win2003

2004-07-28 Thread Brian Rottman
Is there any howto's out there about installing PHP 5.0 on win2003/IIS6? All of the docs @ php.net are still for 4.x and the user comments have been wiped out. Thanks. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: PHP and RedBack COM objects

2004-07-23 Thread Brian E
works great in PHP. Chalk up another thing for what PHP CAN do. (I prefer it over ASP any day.) Brian Jason Barnett wrote: I checked it out a bit last night, since I don't own a license for RedBack (no offense :)) I tried checking the online manuals. Didn't see too much that looked use

[PHP-WIN] Re: PHP and RedBack COM objects

2004-07-16 Thread Brian E
l Price:  Vat tax Retail Inclusion Flags:  Countries:  Shipping Weights:  Methods of Weight Measure:  Units per Case:  Single Unit Internal IDs:  Single Unit External IDs:  Single Unit DescriptionsD:  Component Internal IDs:  Component External IDs:  Component Descriptions:  Component Quan

[PHP-WIN] PHP and RedBack COM objects

2004-07-16 Thread Brian E
types returning. I am attaching an example code. Thanks. Brian -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: PHP 5.0.0 Released!

2004-07-14 Thread Brian
y luck with this, let me know how you resolved it. > > "Brian" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Anyone get this to work on Windows 2003 Server yet? I've tried and can't >> get it to function. 4.3.7 works fine >>

[PHP-WIN] Re: PHP 5.0.0 Released!

2004-07-13 Thread Brian
Anyone get this to work on Windows 2003 Server yet? I've tried and can't get it to function. 4.3.7 works fine files placed in c:\php5\ php.ini.recommended renamed to php.ini and left in c:\php5 folder (to not conflict with existing 4.3.7 that is operating fine edited for c:\php5\ext for extens

[PHP-WIN] Assigning an XML object to a variable?

2004-07-01 Thread Brian Wilson
#x27;m assuming is simply the boolean 'true'. To see the XML response I have to right-click/view source on the browser page. Can anyone point me in the right direction to find out how to put this 'embedded' XML into a string or something else that I can transform? Thanks for readin

[PHP-WIN] Re: php4isapi.dll causes instability in memory

2004-01-19 Thread Brian
t;[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I can feel your pain. I had this problem too. > > The only high performance stable solution for IIS that i know is FastCGI. > > See http://php.weblogs.com/fastcgi_with_php_and_iis > > John Lim > &g

[PHP-WIN] php4isapi.dll causes instability in memory

2004-01-17 Thread Brian
PHP 4.3.4 Windows Binary - No extensions enabled I have been fighting this battle on a number of servers and finally found the culprit. PHP4isapi.dll is constantly causing exceptions that eventually after awhile cause the HIGH ISOLATED memory websites in IIS 5 to become unstable where it eventu

[PHP-WIN] Re: Does Jpgraph support IIS5

2003-10-08 Thread Brian M McGarvie
"S F Alim" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does it support or run on IIS 5.0 and PHP 4.3.3 version > > SFA > yes. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] PHP PDF Support...

2003-09-25 Thread Brian M McGarvie
I have successfuly been creating PDF files... however it is required that the files are printed Automatically - i.e. no need to hit print icon etc etc... Anyone know how to achieve this or atleast point me in the right direction? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe,

[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] querying an online excel file from htm

2003-06-03 Thread Brian 'Bex' Huff
processes the spreadsheets into HTML using Cocoon... If you're more comfortable with C, you can try the Chicago project: http://sourceforge.net/projects/chicago/ but its only in beta for now... - -- Brian 'Bex' Huff <[EMAIL PROTECTED]> PGP Key: http://pgp.mit.edu:11371/pks

[PHP-WIN] Re: dl() doesn't work . PHP 4.3.1 + Apache 1.3 + Win2k.

2003-03-14 Thread Brian 'Bex' Huff
message. - -- Brian 'Bex' Huff <[EMAIL PROTECTED]> PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5A06A150 | Hope to find someone to help me with this: | | I am trying to load a dynamic extension using the dl() function. The dll file | resides in my web root d

[PHP-WIN] Develope a Windows PHP Extension.

2003-03-07 Thread Brian 'Bex' Huff
7;flex', 'bison', 'automake', and 'autoconf'. Otherwise, after you set up Visual C++, it will complain about them not being available. I always meant to write up a step-by-step doc on this... but I never found the time ;) - -- Brian 'Bex' Huff <[EMAIL

[PHP-WIN] Re: custom extensions..

2003-03-05 Thread Brian 'Bex' Huff
.iis4 - -- Brian 'Bex' Huff <[EMAIL PROTECTED]> PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5A06A150 | Hi, | I'm using PHP 4.3.1 and Windows IIS-5 (on WinXP), and I'm wanting to set up a custom file extension to be processed by PHP... | | instead of using &

[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: CGI installation problem

2003-02-20 Thread Brian 'Bex' Huff
version of PHP, and seeing which one works best for you. 4.2.3 is nice, unless you're taking advantage of a lot of new 4.3 stuff: http://www.php.net/downloads.php -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 I've read all the manual ..., and ha

[PHP-WIN] Re: CGI installation problem

2003-02-19 Thread Brian 'Bex' Huff
to set this in your php.ini file: cgi.force_redirect=1 This must be '0' for a secure Apache server, but it must be '1' for a functional IIS CGI server. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 I've installed yesterday

[PHP-WIN] RE: Warnings

2003-02-17 Thread Brian 'Bex' Huff
st likely your dev box has this set, but your ISP does not. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 I had the same message the other day. My line 5 is where I call a function. I had a tag as the very last line of a function but had it outside the c

[PHP-WIN] Re: sessions and global register

2003-02-03 Thread Brian 'Bex' Huff
see wierd problems. You should just be sure to NEVER put a global object in a session... which means not putting ANYTHING in there from the $_SERVER superglobal, or even from things like the $_POST superglobal, unless you first alter its scope. The above URL has a trick to do this. happy cod

[PHP-WIN] Re: How do i load my new activex dll?

2003-01-27 Thread Brian 'Bex' Huff
al/en/ref.w32api.php Lots of handy tips are at the bottom of these pages in the comments sections... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 hey ya, I have made a new dll "prjMD5.dll" in visual basic's, so i can use the same MD 5 hash for

[PHP-WIN] Re: Redirecting to index.php

2003-01-27 Thread Brian 'Bex' Huff
this isn't a function of PHP, its a function of your web server. You need to tell your web server (or ISP) to use index.php just like it would use index.htm or index.html. Check the Apache docs or IIS docs for more info... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-90

[PHP-WIN] re: Configuring a web server I haven't written yet...

2003-01-24 Thread Brian 'Bex' Huff
environment variables for the process. Then you execute the file with php.exe. You do not need to intialize the superglobals yourself... PHP will do that for you, according to the environment values you set. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-542

[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] Re: It just doesn't make sense!

2003-01-17 Thread Brian 'Bex' Huff
value of $AppendStringToURL at several places in your script to make sure its not getting wiped somewhere. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 I am currently re-writing part of my website to allow people who don't use cookies to sti

[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

Re: [PHP-WIN] PHP 4.3.0 no gif support?

2003-01-05 Thread Brian Weil
So... WIll gif support ever be available on win32? Can a patched gd.dll be found somewhere with readonly gif support or will we have to re-install php when the binary is updated? I've been (patiently) waiting for this since GD1.6. Thanks, Brian "Rasmus Lerdorf" <[EMAIL PR

Re: [PHP-WIN] Bundled GD - Gif support?

2003-01-05 Thread Brian Weil
Not true! If you read the changelog, you will see that GD is now bundled with PHP and includes readonly gif support. I'm just wondering which functions are considered readonly? "Christoph Petersen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news

Re: [PHP-WIN] is_dir() question regarding windows authentication

2002-12-31 Thread Brian Weil
Try using : file_exists($pathName) http://www.php.net/manual/en/function.file-exists.php it works for me with almost the exact same configuration. Happy New Year! Brian Weil "Paul Menard" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP-WIN] Bundled GD - Gif support?

2002-12-31 Thread Brian Weil
tions that will make them available? thanks Brian Weil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Dealing with Mac files

2002-12-13 Thread Brian 'Bex' Huff
7; on Unix... it looks like you already found this out... so a lot of the useful PHP utility functions may not work well. You may be stuck using 'fopen' and 'fgets' to parse the file: http://www.php.net/manual/en/function.fgets.php -- Brian 'Bex' Huff [EMAIL PROTE

[PHP-WIN] Re:Re: IIS/ISAPI require suddenly stops working

2002-12-13 Thread Brian 'Bex' Huff
ting this in your php.ini file: include_path=".;C:\Inetpub\public_html\smarty" Be sure to use backslashes, and put the value in quotes, otherwise is might not work on all platforms / web servers. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 Hel

[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: C++ dll files

2002-11-26 Thread Brian 'Bex' Huff
(definately not the fastest) is to write a C++ command line application as a wrapper for your DLL, and then make calls to it with 'system' or 'exec'. Rock solid. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 Hello Everybody, Can PHP call

[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: telnetting

2002-11-25 Thread Brian 'Bex' Huff
ul than 'exec' or 'system', because you can interact with your process: http://www.php.net/manual/en/function.proc-open.php As you can see... its a bit harder to manage than 'exec' or 'system', but that's the price you pay for power ;) -- Brian 'Bex

[PHP-WIN] Re: Sending Attachment through Email

2002-11-25 Thread Brian 'Bex' Huff
o use the 'mail' function to send multipart MIME messages... in other words, emails with attachments. Its kind of a pain to assemble it all by hand like the Zend article shows, so I'd use the PEAR code. Still... its an interesting read. -- Brian 'Bex' Huff [EMAIL PROTECTE

[PHP-WIN] Re: how to access file stats on network dirves..

2002-11-20 Thread Brian 'Bex' Huff
trol panel for more info. 2) You may want to map your network drive as a local drive And fyi, its always easier to diagnose your problem if you supply us with the exact error messages you are getting... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 I

[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: looping the query_string into a $var=$value

2002-11-18 Thread Brian 'Bex' Huff
contain any quotes by using addslashes()... otherwise you just opened up a hacker hole. Read the comments to the documentation at the bottom of the URL above. There's lots of people giving useful tips and tricks... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 9

[PHP-WIN] Re: COM issue, problems with return type.

2002-11-15 Thread Brian 'Bex' Huff
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/adsi/active_directory_service_interfaces_adsi.asp good luck! -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 Hello all, I am having a little problem with return types from a COM object. Basically (code

[PHP-WIN] Re: php - login and password

2002-11-15 Thread Brian 'Bex' Huff
e are a lot of subtle issues which are always missed by newbies... much to the delight and amusement of us hackers ;) -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 I must say that I'm new at this php world. There are some web sites that when you

[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: Permission denied with copy function..

2002-11-13 Thread Brian 'Bex' Huff
a new user with minimal permissions, and run the IIS service as that user. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: sessions and unicode!

2002-11-11 Thread Brian 'Bex' Huff
, its pure luck that this login page ever worked at all ;) -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > Hi > I'm designing a site with php that it has a login page. > the login page uses sessions; when I save my document normally it work

[PHP-WIN] PHP Editor

2002-11-04 Thread Mgr. Brian Kabela
Is there a Editor for PHP? I don't know that much about PHP, I just installed it today, and looked at some code, but i can't finda editor for it. I am runnign PHP 4 on Windows 2000 Server Thanks. Brian Kabela -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, v

[PHP-WIN] Re: google API via nuSoap

2002-10-28 Thread Brian 'Bex' Huff
e doing it right. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 Hello all, Running PHP on IIS WIN2k. Have a strange situation which is confusing the heck out of me. I read a very interesting article about accessing the Google API via NuSoap http://www.devshed

[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] Re: Question about emalloc

2002-10-18 Thread Brian 'Bex' Huff
So either the documentation is wrong, and you have to efree everything... or else the error messages about memory leaks that I keep getting can be ignored... I'd be curious to know the answer as well... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424

Re: [PHP-WIN] Re: Question about emalloc

2002-10-18 Thread Brian 'Bex' Huff
ks... plus Rasmus wrote it ;) The reason why in your code there is no 'efree' is because of the '0' flag passed to 'RETURN_STRINGL'. If that was a '1', they would have to efree it. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 95

[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: Access Violations, CGI errors

2002-10-02 Thread Brian 'Bex' Huff
are getting. If the diagnostic errors still make no sense, post them to the list and somebody will probably have seen them before, and be able to point you in the right direction. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 -- PHP Windows Mailing

[PHP-WIN] Re: porting to 4.2.3 - variable interpolation

2002-09-30 Thread Brian 'Bex' Huff
; be sure to echo the value for $key to make sure $i is what you think it should be. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > Hullo, > > After upgrading from 4.2.2 to 4.2.3, I met an annoying problem: > > I POST a form with fields b

[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: redirection help

2002-09-18 Thread Brian 'Bex' Huff
1 line HTML page, instead of possibly doing 1 socket write calls, you only do a handful. And RAM is way cheap these days ;) -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > Your problem is that you can not send anything to the browser befo

Re: [PHP-WIN] Re: Calling DLL from PHP

2002-09-18 Thread Brian 'Bex' Huff
ther exec(), system(), or passthru() http://www.php.net/manual/it/ref.exec.php http://www.php.net/manual/it/function.system.php http://www.php.net/manual/it/function.passthru.php -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > Brian hanks for all and sorr

[PHP-WIN] Re: error from PHP...any ideas?

2002-09-18 Thread Brian 'Bex' Huff
for a few weeks now, but once I installed a debugger on that system, the problem went away. g! Running PHP as a CGI module seems to fix all the problems, as far as I can tell. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > IIS 5, Win2K, Runni

[PHP-WIN] Re: REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread Brian 'Bex' Huff
work: http://www.php.net/manual/en/function.register-shutdown-function.php Wierd that it works when you do "exit"... To test whether or not its actually broken, you may need to open a file for writing, and print some data to the file... or the error logs, or something else. -- Brian 'Bex&#x

[PHP-WIN] php_oracle.dll causes server to hang for non-privledged user

2002-09-11 Thread Brian Jones
The developers in our establishment are administrators on the development Windows 2000 server, which runs IIS 5 and PHP 4.2.3 (as of today). This problem was also reproduced on PHP 4.2.2. When a PHP page was served to a non-privledged domain user (something as simple as echo 'blah'; for examp

[PHP-WIN] Re: Calling DLL from PHP

2002-09-10 Thread Brian 'Bex' Huff
oo much to talk about here... but this link could get you started (English): http://www.4guysfromrolla.com/webtech/040300-1.shtml -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 Pozzer Franco wrote: > Brian, > sorry if I trouble you and thanks for re

Re: [PHP-WIN] . becomes _ when submitting page

2002-09-09 Thread Brian 'Bex' Huff
s suggest using '::' to scope variables and functions, like in C++. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > Your naming conflicts with javascript. Remember what dots are used for in > js. > > Avoid using other characters than al

[PHP-WIN] Re: Best environment for PHP on Windows

2002-09-03 Thread Brian 'Bex' Huff
from some faster network hardware. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > Apache/CGI. > > > Benjamin Walling wrote: > > >> We have a website currently running ASP/IIS/Win2k. It has some problems >> that get it locke

[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

[PHP-WIN] Re: Javascript/PHP

2002-08-22 Thread Brian 'Bex' Huff
document.myform.elements["somename[]"] unless you're having a different problem than Im thinking of... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > I have a javascript function that I am passing a group of checkboxes > t

RE: [PHP-WIN] First Timer

2002-08-22 Thread Brian 'Bex' Huff
lay_errors' then its fine to develop on as well... as long as 'error_reporting' includes notices as well... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > 1) Have a configured web server (e.g. IIS, Apache) > 2) Get the PHP engine (

Re: [PHP-WIN] Apache...

2002-08-21 Thread Brian McGarvie
tick with 1.3.x until it > has been released and shown to be stable. :) > > --- > Seairth Jacobs > [EMAIL PROTECTED] > > > "Rich Gray" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Brian > > >

[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

[PHP-WIN] Re: Virtual Domain Security

2002-08-19 Thread Brian 'Bex' Huff
Fear not... you can easily do this with virtual domains in Apache: ServerName blabla DocumentRoot /web/site1 php_admin_value open_basedir /web/site1 You might also wish to disable the functions 'ini_alter' and 'ini_set' so admins cant be too naughty... -- Bri

[PHP-WIN] Re:Re: max_execute_time does not work on infinitely loop

2002-08-19 Thread Brian 'Bex' Huff
tests... also check out the set_time_limit() function -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] CSS Question

2002-08-16 Thread Brian 'Bex' Huff
/g in Vim ;) -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > I know this is not the specific list for this, but I figured there'd be a couple > CSS gurus here. > > Is there a way to create CONTSTANTS or variables in css? > > I hav

[PHP-WIN] Re: AllowPathInfoForScriptMappings in IIS5 (was Re: [PHP] URL pathquestion)

2002-08-16 Thread Brian 'Bex' Huff
this that the migration to Apache 2 will be so painful... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > As I understand it, it would allow me to do the following: > > /path/file.php/more_path/ > > Where PATH_INFO would be equal to &qu

Re: [PHP-WIN] errors while uploading my php site ...... ! ! ! !

2002-08-14 Thread Brian 'Bex' Huff
r/session/cookie crap out of 'lgn3.php', and into a seperate page, and then including it at the ABSOLUTE top of 'styl.php'. Check out the documentation on the 'header' function for more info... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2

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] Re: SOCKETS

2002-08-09 Thread Brian Huff
per any program as a windows service. You may need to wrapper your php calls in a C program, tho. Its a pain to use, but it'll get ya there. Of course, I have no idea whatsoever of the robustness of actually running a PHP based server... is anybody else doing this? -- Brian 'Bex&

Re: [PHP-WIN] Apache+ PHP + Netscape 7.0

2002-08-09 Thread Brian Huff
This may still be a netscape-ism... try using your DNS name instead of localhost... also, try this with JSP or Perl pages to see if its an Apache2-Netscape thing, or an Apache2-Netscape-PHP thing -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 &

  1   2   >