Re: Guru Needed - the parser is corrupting my html!!

From: Date: Sat, 13 Jan 2001 15:18:24 +0000
Subject: Re: Guru Needed - the parser is corrupting my html!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34365@lists.php.net to get a copy of this message
php_flag session.use_trans_sid 0 At 16:08 13.1. 2001, Jamie Burns wrote the following: -------------------------------------------------------------- >thanks! > >what do i need to put in my apache config? > >j > >----- Original Message ----- >From: "Cynic" <cynic@mail.cz> >To: "Jamie Burns" <jamie.burns@dynamicexpression.co.uk>; ><php-general@lists.php.net> >Sent: Saturday, January 13, 2001 3:06 PM >Subject: Re: [PHP] Guru Needed - the parser is corrupting my html!! > > >> this is a bug in PHP (several reports in bug db). either ask >> your ISP to disable trans-sid in your virtual host, or do it >> yourself in .htaccess >> >> >> At 15:52 13.1. 2001, Jamie Burns wrote the following: >> -------------------------------------------------------------- >> >hey guys... >> > >> >my dumb isp has turned on ' --enable-trans-sid ' for all of the users on >their webserver without telling them. >> > >> >while i am sure this feature has some benefits, it is breaking my code, >big time. besides sticking the session value onto the end of every suspected >server request, it is corrupting my javascript code in strange ways! Look at >these examples... >> > >> >================================ >> > >> >SPOT THE DIFFERENCE! >> > >> >ORIGINAL CODE: >> > >> > function MM_swapImgRestore() { file://v3.0 >> > var i,x,a=document.MM_sr; >> > for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) >x.src=x.oSrc; >> > } >> > >> > var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); >> > >> >CORRUPTED CODE: >> > >> > function MM_swapImgRestore() { file://v3.0 >> > var i,x,a=document.MM_sr; >for(i=0;a&&i<a.length&&(x="a[i])&&x.oSrc;i++)" >x.src="x.oSrc;" >> > } >> > >> > var d="document;" if(d.images){ if(!d.MM_p) d.MM_p="new" >> > Array(); >> > >> >================================ >> > >> >see those speech marks around: >> > >> > )" x.src="x.oSrc;" and d="document;" >> > >> >they (and many more elsewhere in my code) are corrupting my >javascript?!?!?!?! >> > >> >please help, this is a live system and my isp has forced my into an >emergency situation. >> > >> >can i turn off transparent sid's through a run time or configuration file >(i cannot recompile) ? >> > >> >anyone know how to stop this corruption? >> > >> >if it helps, i use the include() function to get and output the html >template from my code. >> > >> >jamie burns. >> ------end of quote------ >> >> >> >> ____________________________________________________________ >> Cynic: >> >> A member of a group of ancient Greek philosophers who taught >> that virtue constitutes happiness and that self control is >> the essential part of virtue. >> >> cynic@mail.cz >> ------end of quote------ ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. cynic@mail.cz

« previous php.general (#34365) next »