ListMailPRO Email Marketing Software Forums
ListMailPRO Email Software
& Marketing Forums
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ListMailPRO Email Marketing Software Forums
»
ListMailPRO Email Marketing Software Forums
»
General Help & How-To
»
Error in the signup script due to double escapes
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Error in the signup script due to double escapes (Read 1364 times)
nico
Posts: 1
Error in the signup script due to double escapes
«
on:
March 24, 2005, 08:46:54 pm »
Double escape characters "\" caused the signup-list1.cgi script to fail.
I had to change this:
# sign up
$sys_cmd = $http_program . "\\?cgi=1\\&list=$list\\&email=$em";
if($fn ne '') { $sys_cmd = $sys_cmd . "\\&fname=$fn"; }
if($ln ne '') {
$ln = encode($ln);
$sys_cmd = $sys_cmd . "\\&lname=$ln";
}
To this before it worked:
# sign up
$sys_cmd = $http_program . "\?cgi=1\&list=$list\&email=$em";
if($fn ne '') { $sys_cmd = $sys_cmd . "\&fname=$fn"; }
if($ln ne '') {
$ln = encode($ln);
$sys_cmd = $sys_cmd . "\&lname=$ln";
}
Logged
DW
Administrator
Posts: 3787
Error in the signup script due to double escapes
«
Reply #1 on:
March 24, 2005, 09:31:56 pm »
I guess this depends on your operating system and Perl settings. The reason I use two slashes is so that Perl continues to pass an extra slash to the shell (wget) for certain characters, which is (only most often, apparently) required.
Logged
Dean Wiebe
ListMailPRO
Author & Developer -
Help
|
Support
|
Hosting
Print
Pages: [
1
]
Go Up
« previous
next »
ListMailPRO Email Marketing Software Forums
»
ListMailPRO Email Marketing Software Forums
»
General Help & How-To
»
Error in the signup script due to double escapes