Number of characters in form entry in Issabel pbx - php

In our Issabel PBX server, in a form used for feedback entry, its not possible to add more than 253 characters.
We scoured the entire php codes but failed miserably.
Any help shall be greatly appreciated. Thanks in advance.

Related

PHP: Unwanted text stripping

I've been encountering this problem for a while now and I have no idea how to solve it. There is this "guestbook" that I made where people write a message and it prints out under the form. So a normal guestbook. But it sometimes strips messages from a certain point onward. Let me explain - they write something like "It was amazing, incredible, awesome performance, that should be repeated more and more." and the guestbook shows only "It was amazing, incredible, awesome performance". I have no idea what is wrong with the code nor what characters make this happen, but every now and then I see incomplete messages with a following message that says something like "The message was not send completely." and then summarizing of their previous stripped one.
nl2br(addslashes(htmlspecialchars(stripslashes($_POST['message']))))
This is the code that I use for editing messages before inputting them into the database. I took a look into the database and the messages are already stripped, so there is probably a problem with sending or editing the message rather than with printing it out of the database.
People are able to write full paragraphs that end up unstripped, so it's not a problem that occurs to everyone and everytime. There are currently about 50 messages and only 2 of them are stripped, so the stripped ones make like 4% of them all. Are there any characters that the people might eventually be using that cause the unwanted stripping? May there be a problem on the users' side? Or is there a problem with my code?
Thanks for help and any ideas in advance.
Thanks #FlashThunder for your idea with a log, I found out that the characters that strip the messages are emojis such as 😍. When an emoji occurs in a message, it gets deleted and stripped from that point onward. Thanks for you help!

php - need advice for dynamic processing sentiment analysis

this is screenshoot for my sentiment analysis task.i wanted some advice from you guys.
This program is built with PHP and running static. The result tweets displayed when all input is processed.
my hope is tweet continued to be produced (continuous), and then result of sentiment mapped to the live line graphic.
1. in your opinion, what the most effective way?
(I think maybe jquery is the tools.but i havent found a continuous processing jquery/javascript) .
2. do you know the sample/project of dynamic/continuous processing with jquery/javascript ?
Any help would be greatly appreciated. Thanks
You can expose the data with JSON and then fetch them periodically with jQuery getJSON().

Pull facebook data xml

http://developers.facebook.com/docs/reference/rest/links.getStats/
Okay I have looked at the site above. but im still having some trouble.
I have formated what I need like this
http://api.facebook.com/restserver.php?method=links.getStats&urls=dogtags.com.com,http://www.petsmart.com
My only issue is I need this data to be picked by the zip code another words I only want to see how many likes are on the url http://www.petsmart.com in the zip code 66614. How can I add that variable to the xml data displaying
Thank you all help is greatly appreciated
You are using an outdated facebook API. I would recommend implementing:
http://developers.facebook.com/docs/reference/api/insights/
However, I do not believe there is any way to to look at data from a specific zip-code using the facebook insight API

Adding dashes to .number_format php function

I am a novice in working with the php language but have been learning over some time through testing and lots of time searching on the internet for examples and tutorials. Once in a while I get stumped with a task I just can't seem to figure out on my own. So I am asking that someone point me at least in the right direction in my current question.
I need to have the ability to add basically any character I want in a form field that will display the results I type in. Currently, the template uses the code below for the field and displays back only numbers. I need to upgrade or change it to allow any character I want.
Here it is
.number_format($price, 0, '.', ',')
Do I need to provide any additional info or does this get anyone's gears turning?
Much appreciated.

Flash-php data transfer. How exactly it works?

guys!
I searched a lot, but at least I come here to ask you for an explanation of that.
It's not exactly that, but it works the same way. It's about a login form with Flash and PHP. It must send data (username and password) to PHP, PHP has to check for a record in MySQL and then to return data to Flash. How does it works and how to return the data to Flash?
Thanks in advance!
IIRC this was possible with loadVars() in Flash 2 and 3. http://www.peterelst.com/blog/2007/11/28/actionscript-30-wheres-my-loadvars/

Categories