From: Patrick Shirkey <pshirkey@boosthardware.com>
To: ALSA Development <alsa-devel@lists.sourceforge.net>
Subject: Re: new alsa docs.
Date: Fri, 09 Aug 2002 00:56:12 +0900 [thread overview]
Message-ID: <3D52949C.6030706@boosthardware.com> (raw)
In-Reply-To: Pine.LNX.4.44.0208061855490.23759-100000@yme.mo.himolde.no
Does anybody know how to get all the text from a text area to post when
it includes " and ' marks?
I am using stripslashes($var) to pass the variable between pages with
success but when I do the final post if I use "" around the VALUE in the
input line the text gets cut off at the first " or if I use '' the text
gets cut off at the first '.
eg.
<INPUT NAME='note' TYPE='hidden' VALUE="<?echo
stripslashes($note); ?>">
or
<INPUT NAME='note' TYPE='hidden' VALUE='<?echo
stripslashes($note); ?>'>
This is the script I am using to mail the form. I suspect that the mail
command at the very bottom is fscking it but I'm not sure how I can fix it.
----
<?
if ($extradoc) {
$notename = $extradoc;
} else {
$notename = $module;
}
$MailToAddress = "pshirkey@boosthardware.com";
$MailSubject = "ALSA: doc notes additions";
if (!$YourAddress) {
$YourAddress = "Null";
}
$Header = "The following has been submitted as a note for the
documentation of $notename. Save this as
/alsa-doc/additions/$notename.php3. If there is not a file already you
may need to use the template. Don't forget to add any new pages to
cvs.\n cvs add www/alsa-doc/additions/$notename.php3";
$Footer = "";
$Name = (stripslashes($Name));
$YourAddress = (stripslashes($YourAddress));
$time = (stripslashes($time));
$note = (stripslashes($note));
$Message .= " <table border=\"0\" cellpadding=\"4\" cellspacing=\"0\"
width=\"620\">\n";
$Message .= " <tr valign=\"top\">\n";
$Message .= " <td bgcolor=\"#bed1be\" colspan=\"2\">\n";
$Message .= " <table border=\"0\" cellpadding=\"2\"
cellspacing=\"0\" width=\"620\">\n";
$Message .= " <tr valign=\"top\"><td>\n";
$Message .= " $Name     <a href=\"mailto:
$YourAddress\">$YourAddress</a><br>\n";
$Message .= " $time</td>\n";
$Message .= " <td align=\"right\">\n";
$Message .= " <br></td>\n";
$Message .= " </tr>\n";
$Message .= " <tr bgcolor=\"#f0f0f0\"><td colspan=\"2\">\n";
$Message .= " <pre>\n";
$Message .= $note;
$Message .= "\n </pre>\n";
$Message .= " </td></tr>\n";
$Message .= " </table>\n";
$Message .= " </td>\n";
$Message .= " </tr>\n";
$Message .= " </table>\n";
if ($Header) {
$Message = $Header."\n\n".$Message;
}
if ($Footer) {
$Message .= "\n\n".$Footer;
}
mail("$MailToAddress", "$MailSubject", "$Message", "From:
$YourAddress");
?>
----
--
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.boosthardware.com/LAU/guide/
========================================
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next parent reply other threads:[~2002-08-08 15:56 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.44.0208061855490.23759-100000@yme.mo.himolde.no>
2002-08-08 15:56 ` Patrick Shirkey [this message]
2002-08-09 6:25 ` new alsa docs Antti Boman
2002-08-09 6:52 ` Patrick Shirkey
2002-08-09 7:31 ` Patrick Shirkey
2002-08-10 18:51 ` Frans Ketelaars
2002-08-09 15:27 ` Patrick Shirkey
2002-08-13 14:40 ` Clemens Ladisch
2002-08-13 15:01 ` Patrick Shirkey
2002-08-14 16:01 ` Pedro Lopez-Cabanillas
2002-08-15 8:56 ` Patrick Shirkey
2002-08-15 14:22 ` Pedro Lopez-Cabanillas
2002-08-15 10:19 ` Patrick Shirkey
2002-08-14 16:40 ` Clemens Ladisch
2002-08-15 9:03 ` Patrick Shirkey
2002-08-15 12:25 ` Clemens Ladisch
2002-08-15 12:42 ` Patrick Shirkey
[not found] ` <3D536705.9040705@mindcom.fi>
[not found] ` <3D536C72.10302@boosthardware.com>
[not found] ` <3D536DE5.20601@mindcom.fi>
[not found] ` <3D537354.2030900@boosthardware.com>
[not found] ` <3D537337.4080802@mindcom.fi>
[not found] ` <3D537C3C.9000105@boosthardware.com>
[not found] ` <3D5B6FE2.1040603@mindcom.fi>
[not found] ` <3D5B7BA7.7040502@boosthardware.com>
[not found] ` <3D5B7FC5.2030404@mindcom.fi>
[not found] ` <3D60EDB4.7080600@boosthardware.com>
[not found] ` <3D60EE47.7050704@mindcom.fi>
[not found] ` <3D60FA94.4010001@boosthardware.com>
[not found] ` <3D610A82.6080709@mindcom.fi>
[not found] ` <3D629F9B.8070301@mindcom.fi>
2002-08-21 4:43 ` alsa docs - PHP help Patrick Shirkey
2002-08-05 15:51 new alsa docs Patrick Shirkey
2002-08-05 20:01 ` Dan Hollis
2002-08-06 9:13 ` Patrick Shirkey
2002-08-06 12:48 ` Joerg Mayer
2002-08-06 3:25 ` Andy Wingo
2002-08-06 9:25 ` Patrick Shirkey
2002-08-06 9:47 ` James Tappin
2002-08-06 11:12 ` Patrick Shirkey
2002-08-07 12:32 ` Takashi Iwai
2002-08-09 19:50 ` Karsten Wiese
2002-08-06 16:24 ` Andy Wingo
2002-08-07 12:27 ` Takashi Iwai
2002-08-07 17:11 ` Niklas Werner
2002-08-08 23:49 ` Scott MacKenzie
2002-08-09 7:19 ` Patrick Shirkey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D52949C.6030706@boosthardware.com \
--to=pshirkey@boosthardware.com \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.