similar to: equivilent to PHP''s nl2br?

Displaying 20 results from an estimated 300 matches similar to: "equivilent to PHP''s nl2br?"

2007 Aug 21
2
in place editor with scriptaculous
I have an issue with line break handling. When I display contents of a textarea, I use nl2br to show linebreaks that the user has made. The problem comes the second time they make an edit, since the <br> code still appears in the inPlaceEdit box... which will no doubt confuse my users... Any way around this? --~--~---------~--~----~------------~-------~--~----~ You received this message
2005 Feb 18
1
wikki problem
I'm trying to post a script on the wikki but it keeps screwing up the text because it interprets the text as commands that cause graphical errors. Is there some trick to make the wiki think that the text is just text? Tia, Dean -------------- next part -------------- An HTML attachment was scrubbed... URL:
2001 Jan 29
2
vorbis plugin crashing xmms
I've got a song that causes the vorbis plugin for xmms to crash while reading the vorbis equivilent of id3 tags. What is the proceedure for reporting bugs like this. Do I mail the bug into this mailing list and then serve the song off of a FTP server? -ben --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this
2009 Feb 13
5
PRI Test Lab
Hey Everyone, I would like to start testing/playing with PRI channels but I don't have access to a PRI line. Is it possible to do the equivilent of a crossover between two PRI Cards (say Digium's TE120P)? What I was thinking is that I could set one asterisk box up with a PRI card set as the TE and provide clocking and another box exactly the same but with the card setup as NT. I think
2012 Jan 27
4
Problem with Postfix + Dovecot + MySQL + Squirrelmail
Dear friends, I try configure a webmail on my server using Postfix + Dovecot + MySQL + Squirrelmail. My system is a Debian6 and dovecot version is: #dovecot --version 1.2.15 But, when I try to access an account on squirrel I recieve this message: ?ERROR Error connecting to IMAP server: localhost. 111 : Connection refused? Looking for a problem I foud this: #service dovecot start
2006 Jan 05
6
InPlaceEditor and textarea
Hi to all. First of all exchuse for my bad english I try to use Ajax.InPlaceEditor with a textarea: ################## new Ajax.InPlaceEditor($(''ipblock''), ''tools/admin_save.php'', { ajaxOptions: {method: ''get''}, rows:10, cols:20, callback: function(form, value) { return ''op=ipblock&value='' + value},
2004 Sep 30
7
asterisk 407 Proxy Authentication Required
Hello, I cannot accept any inboud calls from any provders in my asterisk which tries to authenticate the provider and at the end rejects the call with tthese message 407 Proxy Authentication Required How do I turn off this message. Thanks. Ehsanul Karim
2005 Mar 10
1
Cisco 7940/60 and 802.3af PoE
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Are any versions of the Cisco 7940/7960 or 7940G/7960G phones compatible with the 802.4af Power over Ethernet Standard? Ok, I know the question has been asked before, but googling has turned up several contradictory results: 1/ No - not at all 2/ Maybe - 79XXG will work 3/ With a special cable/dongle (a la wikki) I am looking at getting
2004 Dec 15
1
Tricks to running as normal user?
Hi, I'm running on HPUX 11.11 and have installed dovecot 0.99.12 in my home directory. I've been running it at home on FC2 and had no problems. At work, on HPUX, when I modify the dovecot.conf file like is suggested in the wikki <http://wiki.dovecot.org/moin.cgi/Rootless>, it will detach and I can telnet to the port I've chosen, but I don't get any response back
2011 Dec 01
2
R, PostgresSQL and poor performance
Hi List Apologies if this isn''t the correct place for this query (I''ve tried a search of the mail archives but not had much joy). I''m running R (2.14.0) on a Mac (OSX v 10.5.8, 2.66GHz, 4GB memory) and am having a few performance issues with reading data in from a Postres database (using RPostgreSQL). My query / code are as below # -----------------------------
2007 May 22
3
Dial out issues.
Dear all. I have what appears to be a configuration error but I cannot for the life of me see what it is. (I am a newbie) I have searched the wikki and google etc but still none the wiser. Any help would be very gratefully received. Problem: Unable to make outgoing calls via E1 euroISDN Digium TE110p card, given congestion signal as per config, unable to open zap channel. All incoming calls work
2005 Feb 23
1
Best practices direction
Ok, With all that has been going on with the list today I may be sticking my head out of my gopher hole and find a 12 gauge at point blank. But I am going to take the chance.... I have just started using * about a month ago. I have a small unit setup at home running all my PSTN and VoIP lines. I am using external SIP and IAX soft phones from work and everything is running. I want to do more,
2006 Jan 02
3
Altering the accessor of an association collection
I want to be able to do something like this (for example): class Person < ActiveRecord::Base has_many :friends def friends(living_in = :uk) # filter based on parameters here end end Is there any way I can redefine the accessor for an association whilst still being able to get the values? Basically, I''m looking for an equivilent of read_attribute() for associations. --
2004 Mar 23
1
R equivilant to RAND_MAX in C
Hello, I have some C code that I'm interfacing to R using the .C calling interface. Currently the C code uses the rand() function from the GNU C library to generate random numbers. Since I need the random numbers in a range from 0 to a (where a is an integer) I use the RAND_MAX macro as (int)(rand() * (float)(*nobs-1) / (RAND_MAX+1.0)) (taken from the rand() manpage) However, since I have
2002 May 09
1
How do i set different permission for a shared directory?
Hello, Would really appreciate any advise on how the security setting should be setup. I have running Samba ver 2.0.7 on HPUX10.20. Clients run Windows 200 PCs, WinNT4 PDC. "docusers" is the UNIX home directory for document users. their individual home dir is created under their user id. so, Paul 's home directory structure is : /docusers/paul Below is an extract from the
2004 Apr 11
2
Help getting started?
Hello all, This is my first post to this list, but I was wondering if anyone had any suggestions on reference material for a first time user. I am planning on installing Asterisk on a RH9 box with an X100P and a TDM400P. Right now I just want to get the system up and running with all calls being routed through the FXO card. Once I get that configured and working properly, I would like to
1998 Sep 23
1
Project Cascade?
Hi all. I was wondering if anyone has heard of the new Sun product called Project Cascade? You can find more information about it at a link directly off the main sun.com page. I'm curious as to whether or not it will be as good as samba, and if people are going to think that an equivilent hasn't been around for quite some time... Dave
2004 Apr 26
2
Echo Training Question From a Newbie
I'm running CVS code from about a week or so ago. We've been having echo problems on outbound calls to the PSTN, so this weekend I enabled the echotraining flag in my zapata.conf. This works great - after the first 3 or 4 seconds of the call. Those first few seconds have terrible echo however. I was expecting the system to remember its "training" between calls - is there
2005 Jul 27
3
SIP ATA's as "house" phones
I've done a bit of searching and haven't found any good reference for this, so I figured I would ask the group next. Being new to Asterisk, we've been sucessful in figuring out most configuration items, however we're stuck on one thing... Using recent Asterisk stable, we have a situation where I have an analog door phone which, when the button is pushed, simply off hooks the line
2007 Jul 11
1
Access specific port of Mediatrix 1204 from Asterisk
I am attempting to use a Mediatrix 1204 to interface to multizone paging from Asterisk. I have 4 different paging interfaces and want to connect each of those 4 to an FXO port on the Mediatrix. The desired result is to be able to issue some SIP dial string from asterisk, seize the FXO port on the Mediatrix and then have a speech path. I am able to place calls over the Mediatrix when it's