php-windows Digest 23 Aug 2005 05:57:51 -0000 Issue 2756

Topics (messages 26280 through 26282):

Form problem variables are being sent in the query string
        26280 by: Jim MacDiarmid
        26281 by: Chris

Getting php_zip extension to work
        26282 by: Ross Honniball

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 ---
I have 2 form fields one is a checkbox and the other is a hidden field. The
checkbox is called "Display_" and gets incremented as the table rows are
built like so. 

'Display_'.$rec_count + 1 

The hidden field is an array like this:  Field[] 

The form method is $_SERVER['PHP_SELF']

For some reason, these form variables are being passed on the query line.
Is there any way this can be prevented?

Thanks in advance,

Jim

--- End Message ---
--- Begin Message ---
Your form should be defined like this:

<form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>" method="post">

The post method is what keeps the variables off the URL string, the action is the page to submit the data to.

Chris

Jim MacDiarmid wrote:

I have 2 form fields one is a checkbox and the other is a hidden field. The
checkbox is called "Display_" and gets incremented as the table rows are
built like so. 'Display_'.$rec_count + 1 The hidden field is an array like this: Field[]
The form method is $_SERVER['PHP_SELF']

For some reason, these form variables are being passed on the query line.
Is there any way this can be prevented?

Thanks in advance,

Jim


--- End Message ---
--- Begin Message ---
I have un-commented extension=php_zip.dll in my php.ini but get this message 
when Apache starts:

Unable to load dynamic library 'c:\php\ext\php_zip.dll' = The specified module 
could not be found.

Has anyone got the php_zip extension up and running successfully on Windows?

Thanks in advance ... Ross

--- End Message ---

Reply via email to