You could store a table or a text file associating to each script its MD5
hash string.
check the PHP md5() function
_
- Original Message -
From: "Ragnar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 09, 2004 8:09 AM
Subject: [PHP-WIN] file self c
You can pass them in the following form:
then your REQUEST var will be a 2-dimensional array
there is a splendid PEAR HTML_Javascript class that converts PHP variables
into JS variables.
HTH
Ignatius
_
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PR
Have a look at the PHP IMAP functions.
_
- Original Message -
From: "Brent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 20, 2004 7:47 AM
Subject: [PHP-WIN] Can you receive email with php?
> Hi, just wondering if anyone knows of some plugin or
Not so. No stripslashes required.
If you add slashes when writing your PHP query, slashes will NOT be sent to
the DB.
In other words:
$name = addslashes( "O'Reilly" ) ;
$query = "
INSERT ...
SET name = '{$name}'
" ;
// etc.
will simply store "O'Reilly" in the DB. The desired result.
Neve
Check the PEAR library, especially:
- Quickform
- Quickform Controller
- Datagrid
and many other nice things
_
- Original Message -
From: "Bill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 30, 2004 7:04 PM
Subject: [PHP-WIN]
Beats me.
Ignatius
_
- Original Message -
From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 13:17
Subject: [PHP-WIN] Problems with CONSTANTS that does not get defined
> Running this code:
>
>
> [...]
> // META
Were you using MySQL, you could do it nicely with phpMyAdmin.
Ignatius
_
- Original Message -
From: "Gerardo Rojas" <[EMAIL PROTECTED]>
To: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, March 02, 2004 18:17
Subject: RE: [PHP-WIN] s
Although this conversation has by now undoubtedly accrued to human
knowledge, there may be other more suitable forums where to pursue it.
Ignatius
_
- Original Message -
From: "Justin Patrin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 18,
o Marciano" <[EMAIL PROTECTED]>
To: "Ignatius Reilly" <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 17:33
Subject: Re: [PHP-WIN] printing a php page
> i mean a page with a summary of information inserted in a form. the user
> would like to print
I suppose you mean the client's printer?
onclick="javascript:window.print()"
reminder: PHP is mostly used server-side
HTH
Ignatius
_
- Original Message -
From: "Ciro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 17:20
Subject: [PH
Syntax error. Try instead
$amendmentNumber = $_POST['amendmentID_'.$i];
HTH
Ignatius
_
- Original Message -
From: "Herhuth, Ron" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 03, 2004 16:58
Subject: [PHP-WIN] building a string question
I am
I haven't.
Ignatius
_
- Original Message -
From: "Cyrus Misthalin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 20:03
Subject: [PHP-WIN] How have you learned PHP?
How have you learned PHP?
--
PHP Windows Mailing List (http://www.p
Show the Progress of a file being uploaded
> I guess you don't get what this discussion is all about. It's about file
> upload progress bar not about progress bars in general.
>
> /Donny
>
>
> Ignatius Reilly wrote:
>
> >There is a great PEAR class to do j
There is a great PEAR class to do just that: HTML_Progress.
Easy to use and powerful. I use it with much satisfaction.
HTH
Ignatius
_
- Original Message -
From: "Derrick Hermanson" <[EMAIL PROTECTED]>
To: "Php-Windows List" <[EMAIL PROTECTED]>; "Arijit Chaudhuri"
<[
What do you want to replace a match with?
_
- Original Message -
From: "Gerardo Rojas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 15, 2004 18:16
Subject: [PHP-WIN] Regular expressions
I have 2 regular expressions that work correctly. How
There is a chap who maintains DLL for PHP extensions:
http://kromann.info/php4.php
Ignatius
_
- Original Message -
From: "Kimberly Tully" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 14:33
Subject: [PHP-WIN] Windows Dll
> Hi,
>
>
PHP has a very nice FTP library.
Check the manual.
_
- Original Message -
From: "Brent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 02, 2003 09:53
Subject: [PHP-WIN] Upload and Download from local to server tools!( like
w3Upload in asp)
> G
You may profitably investigate the PEAR HTML_Pager class.
http://pear.php.net/manual/en/package.html.pager.intro.php
Ignatius
_
- Original Message -
From: "Lawrence" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 27, 2003 14:43
Subject: [PHP-W
I would start here:
"How To Ask Questions The Smart Way", an excellent (as always) article by
Eric Raymond
http://www.catb.org/~esr/faqs/smart-questions.html
HTH
_
- Original Message -
From: "Rinku Shivnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesd
Investigate the PEAR Quickform package.
http://pear.php.net/manual/en/package.html.html-quickform.php
_
- Original Message -
From: "Roderick Martin" <[EMAIL PROTECTED]>
To: "'PHP Help Desk'" <[EMAIL PROTECTED]>
Sent: Wednesday, November 19, 2003 20:37
Subject: [PHP
http://www.aditus.nu/jpgraph/
_
- Original Message -
From: "Rinku Shivnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 10:45 AM
Subject: [PHP-WIN] JPgraph
> Dear all,
>
> Pls guide me on how to install jpGraph library in the serv
Wild guess:
'c:\phpdev\php\php-4.3.2\php.exe -q -f ' looks risky
better
'c:\\phpdev\\php\\...
or 'c:/phpdev/php/...
_
- Original Message -
From: "Simon Wheeler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 12:59 PM
Subject: [PHP-W
This seems to work:
$pattern = "/(\w+) (?:(?:\w\.|\(\w+\))) (\w+)/" ;
$replacement = "\$1 \$2" ;
//$string = "John D. Smith" ;
$string = "Joanne (Taylor) Smith" ;
echo preg_replace( $pattern, $replacement, $string ) ;
HTH
Ignatius
_
- Original Message -
From: "
$months = array( "Jan" => "01", ... ) ;
$str = "Jun 15 1956" ;
$str = explode( " ", $str ) ;
$str = $months[$str[0]] ."/".$str[1] ."/". $str[2] ;
HTH
Ignatius
_
- Original Message -
From: "Herhuth, Ron" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, N
Try $_REQUEST['msg'] instead of $msg
This is the proper way to access form data.
_
- Original Message -
From: "Aidal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 3:17 PM
Subject: [PHP-WIN] vars from page to page
> Hi NG.
>
> I ha
For PEAR-related questions, you probably will find better support on the
PEAR mailing lists (php.pear.general), which already has a large, helpful
archive.
_
- Original Message -
From: "Muhammad Imran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, Nov
Fast to type, maybe ;-)
Reminds me that this list once hosted an epic brawl about Notepad...
_
- Original Message -
From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 11:49 AM
Subject: Re: [PHP-WIN] R: [PHP
This is a useful trick when generating conditions dynamically in SQL
$sql = "SELECT
...
WHERE 1 = 1
" ;
foreach ( $conditions as $condition ) {
$sql .= "AND {$condition}" ;
}
Ignatius
_
- Original Message -
From: "Luis Moreira" <[EMAIL P
Spelling error:
BTW:
1. this question is not very much PHP nor Win-related
2. is deprecated in favour of CSS attributes.
HTH
Ignatius
_
- Original Message -
From: "Rinku Shivnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 9:22 A
You can use the following regex:
/[EMAIL PROTECTED]/
Ignatius
_
- Original Message -
From: "MeAndI" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 17, 2003 2:51 PM
Subject: [PHP-WIN] Check mail format
> Hi,
>
> I just want to know how I can rec
Investigate Jpgraph. Fantastic package.
http://www.aditus.nu/jpgraph/
Ignatius
_
- Original Message -
From: "Rinku Shivnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 08, 2003 7:47 AM
Subject: [PHP-WIN] PHP Graph
> Can any of you help m
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 8:57 PM
Subject: [PHP-WIN] Form question
A bit off-topic. How do we submit a form on an onChange event of a
drop-down list box.
--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscr
its usd to trsfrm a html str into xhtml
so tht u can traverse it w xpath
ig
_
- Original Message -
From: "toby z" <[EMAIL PROTECTED]>
To: "Ignatius Reilly" <[EMAIL PROTECTED]>; "Win32 list PHP"
<[EMAIL PROTECTED]>
Se
Hello,
I am trying to use the Tidy extension found on Frank Kromann's site
http://kromann.info/pecl.php (php_tidy.dll, libtidy.dll), but it does not
work ("Can not load the specified module")
Has anyone got it to work under PHP 4.3.3?
Thanks
Ignatius
_
--
PHP Windows
What version of MySQL are you using?
>From 4.0.13 there is a severe bug that corrupts table after a DELETE
operation. Solution: revert to 4.0.12
See http://bugs.mysql.com/bug.php?id=1321
HTH
Ignatius
_
- Original Message -
From: "Charlie Brewer" <[EMAIL PROTECTED]
One possible reason why it does not work is that the DAY() function does not
exist.
Use DATE_FORMAT() instead.
Ignatius
_
- Original Message -
From: "Disko_kex" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2003 10:47 AM
Subject: [PHP-WIN]
echo() can interpolate a variable, but not an expression such as
"$this->Unitprice*2"
replace:
echo " price * two is $this->Unitprice*2";
by:
$bytwo = $this->Unitprice*2 ;
echo " price * two is $bytwo";
HTH
Ignatius
_
- Original Message -
From: "Mark Harrington"
I found the solution to my problem.
Sorry
Ignatius
_
- Original Message -
From: "Ignatius Reilly" <[EMAIL PROTECTED]>
To: "Win32 list PHP" <[EMAIL PROTECTED]>
Sent: Saturday, August 30, 2003 1:19 PM
Subject: [PHP-WIN] download fu
Hello,
I have the following problem:
I want users to download content that is stored in a private directory, as a
downloadable file.
So I do:
header( "Content-type: octet/stream" ) ;
header( "Content-Length: ".filesize( $file_path ) ) ;
header( "Content-Disposition: attachment; filename={$filen
Not so. Actually you can enforce FOREIGN KEYs if you choose the InnoDB table
type.
Ignatius
_
- Original Message -
From: "Rob Adams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 21, 2003 5:41 PM
Subject: [PHP-WIN] Re: how to establish relations
SELECT
...
ORDER BY RAND()
BTW there is a nice MySQL Windows mailing list.
hth
Ignatius
_
- Original Message -
From: "H Marc Bower" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 10, 2003 11:46 PM
Subject: [PHP-WIN] Randomize mySQL result array
Did you restart Apache?
Ignatius
_
- Original Message -
From: "Kit DeKat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 21, 2003 9:14 PM
Subject: [PHP-WIN] php.ini values ignored?
> Nothing i change in the php.ini is being read/loaded.
> my ''
de temps pour
s'habituer à l'obscurité".
____
- Original Message -
From: "Ignatius Reilly" <[EMAIL PROTECTED]>
To: "Win32 list PHP" <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 2:53 PM
Subject: PHP a
Hello,
I am looking for a function or a class to convert a multidimensional
associative PHP array into an equivalent Javascript array (that is the
declaration string in : var my_array = )
Googled to no avail.
If somebody can save me a few hours of coding this thing, I would greatly
appreciate.
T
Yes, it does work very nicely.
Check this tutorial for installing SSL support:
http://www.serverwatch.com/tutorials/article.php/1437211
HTH
Ignatius
- Original Message -
From: "John M." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 11:26 PM
Subject: [PHP-WIN]
You may look up into www.devshed.com
I remember seeing a good tutorial for PHP/ MySQL polling ("Democracy - the
PHP way" or something approaching)
Ignatius
- Original Message -
From: "Arthur Radulescu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]
You could have read even better:
This will avoid the "." and ".." elements in the directory, that one usually
does not need.
HTH
INAS, from Brussels
(Ignatius is Not Ander Svensson)
- Original Message -
From: "J.Veenhuijsen" <[EMAIL PROTECTED
ng about firing himself)
- Original Message -
From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
To: "Ignatius Reilly" <[EMAIL PROTECTED]>
Cc: "Php Win32 list" <[EMAIL PROTECTED]>
Sent: Tuesday, Februa
Hi Mr Svensson ,
I trust that I am not the only one to be curious to learn more concerning
your remark.
I routinely parse files similar to those of Mr Pitcher, using PHP from the
Windows command line.
So far I have never had any problem generating CSV files containing about a
million rows (Celero
This is a known problem.
Solution: downgrade to Windows 3.1
Just joking. Now really for development purposes you should use Windows 98SE
at least. A second-hand licence costs 15 EUR. Windows 2000 is the minimum
required for any serious work.
Ignatius
-
I would add to this list a visual editor of HTML tables. To me a most
important feature, and the reason I continue to use Dreamweaver 4 to code
PHP, despite the absence of colour highlighting.
Ignatius.
- Original Message -
From: "Uttam" <[EMAIL PROTECTED]>
To: "'skyweb'" <[EMAIL PROTECTE
You can create an auxiliary table, that holds the number of teams for each
points amount:
CREATE TEMPORARY TABLE T
SELECT Points, MIN( Rank ) AS SmallerRank
FROM myTable
GROUP BY Points
You get:
Points SmallerRank
101
92
74
Now you join this table to the original
AIL PROTECTED]>
To: "Ignatius Reilly" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 7:24 PM
Subject: Re: [PHP-WIN] Windows Service interactions with PHP
> Yes this does work but how do I simply destermine the
> status of the service
You can access the command line with the backtick operator:
"file_to_parse.txt"` ;
?>
En espérant que cela aide
Ignatius
- Original Message -
From: "Paul Menard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 5:1
you don't use functions, but operators (unary, binary, ternary) like in all
usual languages.
see the PHP manual under "operators" section.
always better to look up the manual first. your question does not belong to
this mailing list.
Ignatius
- Ori
It is advisable to write the cookie in full details:
// at the top of each page:
session_start() ;
setcookie( session_name(), session_id(), time()+3600, "/" ) ;
ob_start() ;
// etc
Ignatius
- Original Message -
From: "Olav Bringedal" <[EMAIL PR
Don't use a regex:
Try:
$input = "http://www.test.com/path1/thisdoc.html"; ;
// find last occurence of "/"
$pos = strrpos( $input, "/" ) ;
// extract until this position
$output = substr( $input, 0, $pos - strlen( $input ) + 1 ) ;
echo $output ;
HTH
Ignatius
__
// transform string into an array
$arr = explode( ',', $mylist ) ;
// loop the array
foreach( $arr as $element )
Ignatius
- Original Message -
From: "Gregory Lewis" <[EMAIL PROTECTED]>
To: "php-windows" <[EMAIL PROTECTED]>
Sent: Sunday, January
Check the header( "Location: ... ) function in the PHP manual.
Ignatius
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 22, 2002 11:50 AM
Subject: [PHP-WIN] Similiar to server.transfer() ...
> Hey
Your question is a bit too "high-level" to simply ask for a script.
There are many ways to define "certain server areas". What content architecture do you
use? A subdirectory? A parameter passed?
Ignatius
- Original Message -
From: Wolfga
Hello,
I am desperately seeking for a php_mcrypt.dll compatible with PHP 4.2.3.
I tried a copy downloaded from some obscure place, but it did not work.
Can anybody help me?
Thanks
Ignatius
"L'avantage d'être borgne, c'est qu'il faut deux fois moins de temps pour
s'habituer à l'obscurité"
__
You should use Win2K's excellent task scheduling.
Create an AT with the command "c:/php/php.exe c:/.../my_script.php" (adapt)
HTH
Ignatius
- Original Message -
From: "Paolo Bonavoglia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday,
You can not do it straightforwardly. The required data type does not exist
in MySQL. An auto_increment field is of type INTEGER.
Ignatius
- Original Message -
From: "Pat Johnston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, Decem
When looping your SELECT result (or whatever), feed two arrays:
$arr[] = array(
"name" => "marmite",
"tally" => 10 ) ;
+ an "index" array that will serve to rank items:
$rank[] = 10 ;
Now you sort $rank on the value.
The whole idea is that you will not need to sort $arr (you ca
Oops!
This is better:
`net start > c:/netlist.txt` // back ticks
^^
Ignatius
- Original Message -
From: "Ignatius Reilly" <[EMAIL PROTECTED]>
To: "Alexander Kuznetsov" <[EMAIL PROTECTED]>;
you can do:
`net start c:/netlist.txt` // back ticks
the resulting file is trivial to parse.
HTH
Ignatius
- Original Message -
From: "Alexander Kuznetsov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 3:39 PM
S
I concur with Stephen. However, there is an EXTREMELY simple and convenient
way to control output - that has not been mentioned in this thread:
start all your PHP scripts with :
ob_start() ;
then you can pepper your script with one < header:Location... > statement
EVERYWHERE you want (in my case I
I once wrote a script to do just that:
// get W2K ipconfig info:
$text = `ipconfig` ; // back ticks, not single quotes
// first extract text block after "PPP"
$needle = "PPP" ;
$a = strstr( $text, $needle ) ;
$a = substr( $a , 0, 180 ) ;
// then extract IP address
$needle = "IP Address. . . . .
Hello,
I tried to install the mcrypt extension successfully on Windows, but when
restarting Apache (PHP 4.2.3 as module) I get the error message:
"The procedure entry point _ecalloc could not be located in the dll
php4ts.dll"
Probably I do not have the correct version for php_mcrypt.dll
Anybody
This element will not submit.
You have to write:
Ignatius
- Original Message -
From: "Jarrad Kabral" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 01, 2002 7:19 AM
Subject: RE: [PHP-WIN] Submit
>
>
>
> -Original Mes
s" <[EMAIL PROTECTED]>
To: "Ignatius Reilly" <[EMAIL PROTECTED]>; "PHP Helplist Windows"
<[EMAIL PROTECTED]>
Sent: Friday, October 25, 2002 2:30 PM
Subject: RE: [PHP-WIN] MySQL Query
> Ok, solved that problem, can anyone help me on my last query, i need to
arrays are not a datatype for MySQL.
You have to serialize your array into a string. You must choose a suitable
delimitor that will not conflict with your data. Taking as an example ",":
$to_feed = implode( "," , my_array ) ;
$query = " update user_table set categories in '({$to_feed})' where
us
Try:
preg_replace( "/((.|[[:space:]])*)<\/script>/", "\\1",
$myHTMLstring )
seems to work here - applies to both cases
HTH
Ignatius
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 11:44
I experienced problems with PHP non-persistent cookies, so I feel safer
writing them explicitly on the client's disk:
all the protected pages in one of my applications start by:
// session check
session_start() ;
setcookie( session_name(), session_id(), time()+3600, "/" ) ;
ob_start() ;
require
I remember having met interpolation trouble with such code bits as
...passtest.php?i=".$i."\"/...
in echo "Press to continue";
What I do now is write it this way:
echo "Press to continue";
And everything works fine.
This has the additional advantage of clarity.
BTW, you have an erroneous slash
You can append a variable that is sure to change, such as time():
function redirect() {
location.href = "http://mydomain.fr?nocache=" ;
}
HTH
Ignatius
- Original Messag
Try:
$patterns = array(
"//" ,
etc
) ;
$replace = array(
"replacement_string" ,
etc
) ;
$text = preg_replace( $patterns, $replace, $text ) ;
Deserves to be tested extensively, though, depending on what you may have in
your data
HTH
Ignatius
_
Hullo,
After upgrading from 4.2.2 to 4.2.3, I met an annoying problem:
I POST a form with fields budget_w1, budget_w2, ...
$_POST['budget_w{$i}'] used to work, but does not anymore with 4.2.3:
Notice: Use of undefined constant budget_w - assumed 'budget_w' in
c:\apache\...
Anybody can give me
Finally I solved the problem by using
fopen( "http:remote_url", "wb" ) ;
This actually behaves like a GET call, so appended variables can be passed to the
remote script.
Cheers
Ignatius
__
- Original Message -----
From: Ignatius Reilly
s:[EMAIL PROTECTED]...
> Could you give more details? The "location" header is a response header
> only. Why would you be generating this from a cron job?
>
> ---
> Seairth Jacobs
> [EMAIL PROTECTED]
>
>
> "Ignatius Reilly" <[EMAIL PROTECTED]&g
Hello,
I need to use header("location:some_url") from a cron job (to do some maintenance work
on remote files)
my problem is that there is a proxy between me and some_url, so the GET request fails
Anybody knows how to do this?
Thanks
Ignatius
Are you sure about this checked() function? Is it a custom function of your own?
Methinks the standard way to check/ uncheck a checkbox would be:
document.myform.mycheckboxfield.checked = true ; (or false)
HTH
Ignatius
Hi,
I want to be able to use error_log() ( or mail() ) in a W2K Pro installation
(PHP 4.2). I suppose some kind of message queuing service or SMTP server has
to be installed.
I would appreciate if somebody who has done this successfully could give me
some indications.
Ignatius
_
Your naming conflicts with javascript. Remember what dots are used for in
js.
Avoid using other characters than alphanum and underscore. There is no
reason you should need to use any other character.
I am not quite even sure that it is valid HTML to use dots in attributes
values.
HTH
Ignatius
One form will always post the same set of POST variables (sometimes a partial set, as
when a checkbox is not checked, the variable is not passed)
So the best way is to add hidden fields to your form, and manipulate then in
javascript, like in this example (several submit buttons, corresponding
( $xh, 'xml_content.xml', 'xsl_sheet.xsl', NULL, $xslt_args,
$xslt_params ) ==> bad
(the transformation works correctly, but parameters are not passed)
Fortunately it did not prove necessary to turn register_globals ON.
Ignatius Reilly
Hi,
Since upgrading from PHP 4.0 to 4.2, I do not manage any longer to pass parameters
from the PHP script. The XSLT transformations is performed allright, though, but use
empty string values for the parameters defined in the script.
I tried to kludge by passing parameters in the form of strin
87 matches
Mail list logo