RE: PHP help Quotations, Quotations, Quotations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx] 
Sent: Friday, 11 March 2005 1:32 PM
To: stg
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  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=\"http://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@xxxxxxxxxxxxxxxx
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux