[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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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: CGI installation problem

2003-02-20 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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: It just doesn't make sense!

2003-01-17 Thread Brian &#x27;Bex&#x27; 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] Re: Dealing with Mac files

2002-12-13 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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: C++ dll files

2002-11-26 Thread Brian &#x27;Bex&#x27; 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: telnetting

2002-11-25 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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: looping the query_string into a $var=$value

2002-11-18 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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: Permission denied with copy function..

2002-11-13 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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] Re: google API via nuSoap

2002-10-28 Thread Brian &#x27;Bex&#x27; 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: Question about emalloc

2002-10-18 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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] Re: Access Violations, CGI errors

2002-10-02 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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: redirection help

2002-09-18 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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] Re: Calling DLL from PHP

2002-09-10 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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: Javascript/PHP

2002-08-22 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 (

[PHP-WIN] Re: Virtual Domain Security

2002-08-19 Thread Brian &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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 &#x27;Bex&#x27; 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