RE: [PHP] PHP help Quotations, Quotations, Quotations

From: Date: Fri, 11 Mar 2005 08:59:01 +0000
Subject: RE: [PHP] PHP help Quotations, Quotations, Quotations
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-210507@lists.php.net to get a copy of this message
Thanks a lot for that, I am really grateful, now it sends along the link properly, which is great, however it is now having trouble converting spaces to %20 and it does it for some and not others, eg It does this: http://localhost/knewsl/NewsletterName.pdf When it should be: http://localhost/knewsl/Newsletter%20Name.pdf Cheers, Simon -----Original Message----- From: Stephen Johnson [mailto:php@thelonecoder.com] Sent: Friday, 11 March 2005 1:32 PM To: stg Cc: php-general@lists.php.net Subject: Re: [PHP] PHP help Quotations, Quotations, Quotations http://www.php.net/stripslashes On Mar 10, 2005, at 9:17 PM, stg wrote: > Hello, > > > > I am having a small issue with posting from forms; > > > > It goes like such: > > > > I have a form in which a user can type in a message and in a hidden > text > field a link is sent, then in the page the form goes to it sends and > email > to a mailing list with the message and a link underneath bottom. > > > > However when I submit a hyperlink in a form like > > <input type="hidden" name="link" value=<a > href="http://localhost/knewsl/<?php echo > $row_Recordset1['path']; ?>" > > > > > It is received in the next page with a "\" before every " " " for > example: > > <a href=\"…ÐÚ™è > WÐ'T/ÓÆÝShttp://localhost/knewsl/file.pdf\">Click here to view > newsletter</a> - Which obviously doesn't work. > > > > I would be most grateful if anyone could help. > > > > Cheers, > > Simon > > ********* Stephen Johnson stephen@thelonecoder.com http://www.thelonecoder.com --continuing the struggle against bad code-- ********* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#210507) next »