[PHP-WIN] RE: =at wit's end with GD Libraries=

2003-02-28 Thread Uttam
default is /extensions but location can be specified/ in php.ini. In my system it is in c:\php directory and in php.ini file : extension_dir=c:/php /*** by the way, extension_dir=c:\php also works for me regds, -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED] Sent: Sat

[PHP-WIN] Re: =at wit's end with GD Libraries=

2003-02-28 Thread Anthony Ritter
Say I wanted to use: php_gd.dll after uncommenting the line in the php.ini file - where exactly would that file - php_gd.dll - reside? Many thanks. TR --- [This E-mail scanned for viruses by gonefishingguideservice.com] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP-WIN] RE: =at wit's end with GD Libraries=

2003-02-28 Thread Uttam
*additional extensions are usually included in complete package i.e. php-4.3.1-Win32.zip, though i have not personally verified this for this version of php *i have earlier downloaded php-4.1.1 and the gd library was included in the zip package (not in .exe installer, which does not contains addi

php-windows Digest 1 Mar 2003 03:09:16 -0000 Issue 1611

2003-02-28 Thread php-windows-digest-help
php-windows Digest 1 Mar 2003 03:09:16 - Issue 1611 Topics (messages 18764 through 18787): PHP extensions 18764 by: Afonso Marques dos Santos 18771 by: Joshua Groboski Re: =at wit's end with GD Libraries= 18765 by: Uttam 18766 by: Uttam 18769 by: Anth

[PHP-WIN] php.ini

2003-02-28 Thread Anthony Ritter
I run the following script: // the page loads o.k. when the semi-colon remains as in: ;extension=php_gd2.dll but if I remove the semicolon as in: extension=php_gd2.dll the page won't load and the server hangs up. .. \\ this is my php.ini file on MS Win

[PHP-WIN] Compiling PHP, Running PHP4/5 Simultaneously & Tracking Down IIS

2003-02-28 Thread Jason Lange
Greetings! My first question is what other possibilities there are for compiling PHP under Windoze besides MSVS. I am a high-schooler (think no $$$ :-) and besides not being able to afford MSVS I don't have much love lost on Microsoft. So, I was hoping there might be a cheaper way to go... (Wha

RE: [PHP-WIN] Re: destroying COM objects

2003-02-28 Thread Chris Kranz
It really depends on what COM object your using. If the COM is an application with a specific close function, then you should use this aswell as unsetting the assigned variable. I had great problems getting Excel to shutdown once it was initiated from within PHP, simply unsetting a variable in PHP

RE: [PHP-WIN] Re: Include virtual?

2003-02-28 Thread Charles P. Killmer
Files from many different directories include the same template.php Also I am using IIS. Charles -Original Message- From: Wayne [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 3:22 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Re: Include virtual? if the file which you are

RE: [PHP-WIN] Re: Include virtual?

2003-02-28 Thread Dash McElroy
I assume you don't want site A to include site B's PHP files, correct? The best solution I can think of (I hope you are using Apache...) would be to have php configuration items set on a per virtual host directory. For site a you would have: php_flag openbasedir e:\sites\sitea and site b would h

[PHP-WIN] include_path

2003-02-28 Thread [EMAIL PROTECTED]
I'm new with php. I've installed apache 1.27, php 4.2.2 with windows 2000 and I'm trying to realize a web site. The include_path setting is: ".;C:/xxx/yyy/includes/others;C:/xxx/yyy/includes/myfiles" I get authentication.php in my include path and, unfortunatly, an other authentication.php does

Re: [PHP-WIN] Re: Include virtual?

2003-02-28 Thread Wayne
if the file which you are including it from is located at: e:\sites\website1\somefile.php using either: include("E:\Sites\Website1\template.php"); OR: include("template.php"); will both work :) "Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I think my original

RE: [PHP-WIN] Re: Include virtual?

2003-02-28 Thread Charles P. Killmer
Good idea but, we host many sites and cannot have them all using each others include directories. Also don't want to use ini_set at the top of every file, if that can be set per_dir. Charles -Original Message- From: Christoph Grottolo [mailto:[EMAIL PROTECTED] Sent: Friday, February 28,

Re: [PHP-WIN] Re: Include virtual?

2003-02-28 Thread Christoph Grottolo
[EMAIL PROTECTED] (Charles P. Killmer) wrote: >I think my original question has been lost. > > >Include("/template.php"); > >I want this to include the file located at >e:\sites\website1\template.php >Not >e:\template.php edit include_path in your php.ini file: add e:\sites\website1 to the exis

[PHP-WIN] Re: Problem with extensions w2k/IIS PHP4.3.0

2003-02-28 Thread Joshua Groboski
Thanks for the suggestions. Mr. Killmer hit the nail squarely on the head with his answer. I did not have ntwdblib.dll in the windows directory. I simply copied it there and magically everything works. Thanks again. Josh "Joshua Groboski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTEC

[PHP-WIN] Re: Problem with extensions w2k/IIS PHP4.3.0

2003-02-28 Thread Christoph Grottolo
[EMAIL PROTECTED] (Joshua Groboski) wrote: >I seem to be unable to track down my problem. In my php.ini I have set >extension_dir = c:\php\extensions > >I confirmed that the dll files are there and adequately permissioned >(everyone >has full control). > >When I enable extension=php_mssql.dll my

RE: [PHP-WIN] Re: Include virtual?

2003-02-28 Thread Charles P. Killmer
I think my original question has been lost. Include("/template.php"); I want this to include the file located at e:\sites\website1\template.php Not e:\template.php Charles -Original Message- From: Wayne Pearsall [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 12:09 PM To:

[PHP-WIN] Re: Problem with links....

2003-02-28 Thread Wayne
try: switch ($_REQUEST["sw"]){ case "SQL": // SQL Stuff break; case "Toad": // Toad break; default: // Default Option break; } "A. Mikkelsen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > >

RE: [PHP-WIN] Re: Include virtual?

2003-02-28 Thread Wayne Pearsall
yeh, it will work that way :) [EMAIL PROTECTED] wrote:Not sure I understand this. We all know you can do include("path-relative-to-current-directory/filename"); We all also know you can do include("/path-relative-to-root-of-server/filename"); The original question was, basically, can you do inc

[PHP-WIN] Re: Problem with extensions w2k/IIS PHP4.3.0

2003-02-28 Thread pingywon MCSE
try pointing directly to the .dll not just the Dir.just a thought -- ~pingywon MCSE _ MCP, MCSA, MCSE Certification Forums. The Information Exchange. http://pingywon.mine.nu http://www.pingywon.ibforums.com "Joshua Groboski" <[EMAIL PROTECTED]> wrote i

[PHP-WIN] PHP into the TclHTTPD server

2003-02-28 Thread Franco Pozzer
Thanks for all. Can anyone have use or try PHP into TclHttpd server? Can help to me how to configure PHP into this web server as CGI module? Thanks for alla and sorry for my english. Ciao Franco. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

[PHP-WIN] Re: PHP extensions

2003-02-28 Thread Joshua Groboski
You only should enable the extensions that you know you'll use. Turning on miscellaneous extensions may have adverse effects on your scripts. In my case, I have only one extension turned on (mssql.dll) because I know all I need to do right now is connect to SQL Server. My advice is turn them on

[PHP-WIN] Re: Stil having problems (WAS : Problem with links....)

2003-02-28 Thread Neil Smith
Hi - check your SQL : I think what you have here is a select asking for MAX(ID) which will return one result (this is what MAX does). So, no need to ask for WHERE id IN (SELECT(MAX(ID)) but instead ask for SELECT id=MAX(ID). If you wanted top n instead, ask for SELECT id FROM data ORDER BY id D

[PHP-WIN] Re: =at wit's end with GD Libraries=

2003-02-28 Thread Anthony Ritter
Would that be: php-4.3.1-Win32.zip and php-4.2.3-installer.exe Please advise. Thank you. TR --- [This E-mail scanned for viruses by gonefishingguideservice.com] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Still having problems....

2003-02-28 Thread Henrik Hornemann
Hi, It might be the unopened html tags that you close. ie the tag in ECHO "".$sw_list[$i]['Computer_ID'].""; is never opened hth Henrik Hornemann -Original Message- From: A. Mikkelsen To: [EMAIL PROTECTED] Sent: 28-02-03 14:08 Subject: [PHP-WIN] Still having problems I'm still h

[PHP-WIN] RE: Still having problems....

2003-02-28 Thread Uttam
is it the missing braces for while in get_list() function definition? function get_list($q) { $result = mssql_query($q) or die("ERROR in - get_sw_ids function"); while ($rr[] = mssql_fetch_array($result)) $i++; return $rr; } -Original Message- From: A. Mikkelsen [mailto

[PHP-WIN] RE: =at wit's end with GD Libraries=

2003-02-28 Thread Uttam
or you can download the latest version of php with bundled gd... regds, -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:21 To: [EMAIL PROTECTED] Subject: =at wit's end with GD Libraries= I want to thank those who tried to help with my

[PHP-WIN] RE: =at wit's end with GD Libraries=

2003-02-28 Thread Uttam
the API version of GD library and PHP must be same. not every GD library works with every version of PHP. i am able to produce conflict message on my Win98 system by running wrong version of PHP from command line, screen shot (very small png file 1.8kb) of the error message is attached . hope th

[PHP-WIN] PHP extensions

2003-02-28 Thread Afonso Marques dos Santos
Hi, Can anyone tell me a good site do understand the PHP extensions? I want to know wich ones I have to have in order to run my websites. Thanks in advance.

php-windows Digest 28 Feb 2003 13:26:13 -0000 Issue 1610

2003-02-28 Thread php-windows-digest-help
php-windows Digest 28 Feb 2003 13:26:13 - Issue 1610 Topics (messages 18748 through 18763): =at wit's end with GD Libraries= 18748 by: Anthony Ritter does any one now about curl 18749 by: freeman Re: Include virtual? 18750 by: Wayne 18760 by: Jill.Ramonsky.A

[PHP-WIN] PHP 4.3.1 instalation and fine tunning

2003-02-28 Thread Afonso Marques dos Santos
Hi, I heve PHP 4.2 running oon a Windows 2000 Advanced Server environment, using MSSQL2000 and IIS. I want to make a new instalation of PHP 4.3.1 and fine tune it. Can anyone help me out how to do this? Thanks in advance. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP-WIN] Still having problems....

2003-02-28 Thread A. Mikkelsen
I'm still having problems : My query : $q = "SELECT id, computer_id, date, domain, ip, license_key, software, wm_id FROM data WHERE id IN (SELECT MAX(ID) FROM data GROUP BY Computer_ID) " . $Where_Text . " ORDER BY Domain, Date DESC"; The show part: ".$sw_list[$i]['Computer_ID'].""; ECHO "".$

RE: [PHP-WIN] Re: Include virtual?

2003-02-28 Thread Charles P. Killmer
Exactly. I made a function to do this just wondering if this will be built into PHP. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 6:01 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Re: Include virtual? Not sure

RE: [PHP-WIN] Re: Include virtual?

2003-02-28 Thread Jill . Ramonsky
Not sure I understand this. We all know you can do include("path-relative-to-current-directory/filename"); We all also know you can do include("/path-relative-to-root-of-server/filename"); The original question was, basically, can you do include("path-relative-to-root-of-website/filename"). And i

Re: [PHP-WIN] Re: destroying COM objects

2003-02-28 Thread Michael Power
> "Rich Gray" > > I may be talking out of my proverbial but I believe unset() will just remove > the reference to the object it won't destroy the object itself which is why > I suggested $obj = null in my earlier message... however I'm probably being > pedantic as the next gc cycle will clean up ob

RE: [PHP-WIN] Re: destroying COM objects

2003-02-28 Thread Rich Gray
>> I've been using the COM functionality in PHP but I cannot set a way to >> destroy the objects. If I were using ASP I'd just set OBJECT = nothing. >> Is there some sort of equivalent in PHP?> unset($com_object); >> > -- > Michael Power > Software Developer > Concentrix Limited I may be talking o

RE: [PHP-WIN] Problem with links....

2003-02-28 Thread Henrik Hornemann
Hi, It is probably a register globals problem. If register globals is set to off in your php.ini you have to access $sw as $_GET['sw'] hth Henrik Hornemann -Original Message- From: A. Mikkelsen To: [EMAIL PROTECTED] Sent: 28-02-03 10:52 Subject: [PHP-WIN] Problem with links Hi I'

[PHP-WIN] Problem with links....

2003-02-28 Thread A. Mikkelsen
Hi I'm using SQL Navigator to link to main.php. The link to the page works but not the ?sw=SQL path. In main.php i use the following to check the ?sw= SWITCH ($sw) { CASE ("toad"): $Where_Text = "AND Software = 'Toad'"; $Choosen_SW = "Toad"; BREAK;

[PHP-WIN] Re: destroying COM objects

2003-02-28 Thread Michael Power
unset($com_object); -- Michael Power Software Developer Concentrix Limited ___ Helping you strengthen your customer relationships To find out more about how we can help you visit our website http://www.concentrix.co.uk The Technology Centre, Epinal Way, Lough

[PHP-WIN] Re: newbie: dynamic forms

2003-02-28 Thread Michael Power
You appear to have a twitch... ;) Mike > "Edward David" > > Hi, > > I am trying to create a form that has checkboxes displayed. > If the box is checked then show below the checkbox input items related to > the parent checkbox. > If the user has not entered his name then do not display the submit

[PHP-WIN] Re: newbie: Dynamic forms

2003-02-28 Thread Michael Power
As already mentioned this is client side stuff (i.e. Javascript, or dare I say it... VBScript ;). But as a pointer... JAVASCRIPT: function ShowHide(checkBox, txtBox) { if (checkBox.checked) { txtBox.disabled = true; } else { txtBox.disabled = false; } } HTML: Cheers Mike -- M

[PHP-WIN] Re: Having problems connection PHP to MSSQL2000

2003-02-28 Thread A. Mikkelsen
Thanks I got it to work after I copied the DLL file to c:\PHP4 And added the extensions til the php.ini file. //Anders "Michael Power" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Did you enable the appropriate extension? > > If so have to given the IUSR_XXX (PHP) user permis