[PHP] problems with func_get_arg()

2002-07-26 Thread James Nord
Hi, Using the following code snippet function doHead() { header("Last-Modified: " . gmdate("D, d M Y H:i:s", getlastmod()) . " GMT"); if (func_num_args() == 2) { doTitle(func_get_arg(0), func_get_arg(1)); } else { doTitle(func_get_arg(0));

[PHP] XML compliance with forms and trans_sid when using sessions

2002-02-21 Thread James Nord
Hi, How do I get PHP to output an HTML tag instead of and XML tag when using trans_sid and a form in PHP. (eg) php outputs but I don't want the trailing / /James -- Technology is a word that describes something that doesn't work yet. Douglas Adams -- PHP General Mailing List

Re: [PHP] XML compliance with forms and trans_sid when using sessions

2002-02-21 Thread James Nord
Lars Torben Wilson wrote: >On Thu, 2002-02-21 at 09:45, James Nord wrote: > >>Hi, >> >>How do I get PHP to output an HTML tag instead of and XML tag when using >>trans_sid and a form in PHP. >> >>(eg) >> php outputs >> >> >> >

Re: [PHP] XML compliance with forms and trans_sid when using sessions

2002-02-22 Thread James Nord
Lars Torben Wilson wrote: >On Thu, 2002-02-21 at 14:11, James Nord wrote: > >>Unfortunatly I know some that need to leave it. >> >>>If you would state exactly what the problem with the slash being >>>there is, perhaps we could help you. >>> >>Th