I am currently just testing with spaces. Its strange that the above wasn't
converted to:

http://test.com/test%20dfsdaf%20dsfsadf


on my machine. I am using D6.15 with PHP 5.3.

--
Regards,
Nitin Kumar Gupta
http://publicmind.in/blog/


On Thu, Mar 11, 2010 at 8:50 PM, Adam Gregory <[email protected]> wrote:

> I just tested the following and it spit it out correctly.
>
> url("http://test.com/test dfsdaf
> dsfsadf",array('external'=>TRUE,'absolute=>TRUE));
>
> What are the actual characters that are being used because in your initial
> example you had some random character like ;<>+,.()!* which may be the
> reason it's not working
> -----
> ***NEW CELL PHONE # Please Update(See Below)***
>
> Adam A. Gregory
> Drupal Developer & Consultant
> Web: AdamAGregory.com
> Twitter: twitter.com/adamgregory
> Phone: 910.808.1717
> Cell: 919.306.6138
>
>
> On Thu, Mar 11, 2010 at 10:08 AM, nitin gupta 
> <[email protected]>wrote:
>
>> I am sorry, my mistake. But this also doesn't seem to work:
>>
>> url('http://example.com/with spaces', array( 'external' => TRUE));
>>
>>
>> --
>> Regards,
>> Nitin Kumar Gupta
>> http://publicmind.in/blog/
>>
>>
>> On Thu, Mar 11, 2010 at 8:33 PM, Adam Gregory <[email protected]>wrote:
>>
>>> For one url('example.com/with spaces', array('absolute' => TRUE,
>>> 'external' => TRUE)); isn't an absolute url. You should pass it http:///
>>> also. The absolute TRUE will only make internal urls output with the full
>>> http://
>>> -----
>>> Adam A. Gregory
>>> Drupal Developer & Consultant
>>> Web: AdamAGregory.com
>>> Twitter: twitter.com/adamgregory
>>> Phone: 910.808.1717
>>> Cell: 919.306.6138
>>>
>>>
>>>
>>> On Thu, Mar 11, 2010 at 9:59 AM, nitin gupta 
>>> <[email protected]>wrote:
>>>
>>>> url('example.com/with spaces', array('absolute' => TRUE, 'external' =>
>>>> TRUE));
>>>>
>>>
>>>
>>
>

Reply via email to