php-windows Digest 29 Jan 2007 18:07:48 -0000 Issue 3123

Topics (messages 27414 through 27417):

JavaScript with parameters
        27414 by: Alf Stockton
        27415 by: Bill Bolte

IIS, and how it reads the Path/Environment variables
        27416 by: Austin Gruenweller
        27417 by: Niel Archer

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
How do I complete a command to be issued by JavaScript with parameters.

The above is the short version, the long sad story follows...:-)

I have a PHP created web page consisting of data in a table. One of the fields in this table is populated by the PHP variable, $EarnTypeID. If a user clicks on the appropriate field I want to issue a JavaScript request for confirmation before issuing the JavaScript command that then calls another PHP script that will carry out the required task based on the value in the $EarnTypeID. ie I want to "location = 'earntypeDelete.php?UID=$EarnTypeID' but have the $EarnTypeID contain the correct value.

--
Regards,
Alf Stockton            www.stockton.co.za

You'll be sorry...
My email disclaimer is available at www.stockton.co.za/disclaimer.html

--- End Message ---
--- Begin Message ---
Pass the id through to the JS function using a JS onClick event. Ie: <a
href="#" onClick="MyFunction('XXXXXXX')";>XXXXXX</a>

-----Original Message-----
From: Alf Stockton [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 29, 2007 6:25 AM
To: php windows
Subject: [PHP-WIN] JavaScript with parameters

How do I complete a command to be issued by JavaScript with parameters.

The above is the short version, the long sad story follows...:-)

I have a PHP created web page consisting of data in a table. One of the
fields in this table is populated by the PHP variable, $EarnTypeID. If a
user clicks on the appropriate field I want to issue a JavaScript
request for confirmation before issuing the JavaScript command that then
calls another PHP script that will carry out the required task based on
the value in the $EarnTypeID.
ie I want to "location = 'earntypeDelete.php?UID=$EarnTypeID' but have
the $EarnTypeID contain the correct value.

--
Regards,
Alf Stockton            www.stockton.co.za

You'll be sorry...
My email disclaimer is available at www.stockton.co.za/disclaimer.html

--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Greetings,

I realize this may not be the proper place to ask this question -- but
as it's in relation to a PHP install I thought someone here might know.

I'm trying to install PHP with the MSSQL extension on a Windows 2003
production environment.  I'm not a network admin, but have been given
special permission to do so for a project I'm trying to implement.  I
have successfully gotten PHP to function properly, however it will not
load the MSSQL or any SQL extension for some reason.

I've been told that I need to restart IIS in order to get it to work,
but I have special reason to believe that's not true.  IIS will shut
down idle worker processes after a declared amount of time and when it
gets called again will start it anew.  That being said, I've
successfully changed PHP configurations and seen a change in the output
of phpinfo(); or broken PHP all together.

It's just not picking up the extensions for some reason.  I've been told
that restarting IIS is not an option available to me.

I will provide a phpinfo page privately to someone if they're willing to
 help me with this..

Thanks in advance,
-Austin

--- End Message ---
--- Begin Message ---
Hi

From what you're saying I assume MSSQL is not listed in the phpinfo page.

Have you enabled the extension in the php.ini file?

Niel

--- End Message ---

Reply via email to