Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic $memsettings[10] ..why + instead of space? (Read 1059 times)
Søren Møller Jensen
Guest


$memsettings[10] ..why + instead of space?
Jun 24th, 2003 at 10:12pm
Print Post  
hi...

i'm using $memsettings[10] (AIM link in profile.pl) for home adress...

but when i make a space it allways make a + sign instead

why does this happens?

it's kinda annoying..can i make it stop?

thanks in advance

-Søren MJ, Denmark
  
Back to top
 
IP Logged
 
Ikari-Kun
God Member
*****
Offline



Posts: 501
Joined: Apr 25th, 2002
Gender: Male
Re: $memsettings[10] ..why + instead of space?
Reply #1 - Jun 25th, 2003 at 4:42am
Print Post  
That's because of HTML where an + ist the symbol of a space.
You could something like

Code
Select All
$memsettings[10] =~ s~\+~\ ~g; 



In your profile.pl
  

perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
Back to top
ICQ  
IP Logged
 
Søren
Guest


Re: $memsettings[10] ..why + instead of space?
Reply #2 - Jun 25th, 2003 at 4:50pm
Print Post  
is there a special place in profile.pl to place it?
  
Back to top
 
IP Logged
 
Ikari-Kun
God Member
*****
Offline



Posts: 501
Joined: Apr 25th, 2002
Gender: Male
Re: $memsettings[10] ..why + instead of space?
Reply #3 - Jun 26th, 2003 at 5:32am
Print Post  
Code
Select All
<search for>
		fopen(MEMBERFILEREAD,"$memberdir/$member{'username'}.dat");
		my @memset = <MEMBERFILEREAD>;
		fclose(MEMBERFILEREAD);
		chomp @memset;
		require "$sourcedir/Notify.pl";
		replace_notifications($memset[2],$member{'email'});

</search for>

<add after>
$member{'aim'} =~ s~\+~\ ~g;
</add after> 



I really hope it works ^^
  

perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
Back to top
ICQ  
IP Logged
 
Søren MJ
Guest


Re: $memsettings[10] ..why + instead of space?
Reply #4 - Jul 2nd, 2003 at 10:13pm
Print Post  
it's still the same  Sad


darn..
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint