How to limit captcha characters ?
How can I manually limit the characters in the captcha extension to 4 characters for example?
thanks for helping me!
adrian
Hi Adrian,
well I think I succeeded changing the char limit to, say, 4 :: at the bottom of the mentioned "KT_CaptchaImage.class.php" file you´ll see a function named "getRandomText" -- and in here there´s a line saying:
$_SESSION[$this->name] = substr($str, 0,
rand(5,8));
When changing the "random, between 5 and 8" values
(to, say, (5,7)) and reloading the page containing the captcha, the number of displayed chars changed as well, means I got between 5 and 7 chars, but never 8 as before.
In order to change it to *exactly* 4 chars, just use (4,4) here. You might as well do away with the "rand" function then, but that´s another story -- however, it works for me !
Günter Schenk
Adobe Community Expert, Dreamweaver
Similar Messages
-
CAPTCHA characters are not accepted by any website.
When I enter CAPTCHA characters, web sites indicate that they are incorrect. This does not happen at the exact same locations using MSIE and Chrome. How may I address this issue?
Some added toolbar and anti-virus add-ons are known to cause
Firefox issues. '''Disable All of them.'''
Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there? -
How to print Arabic characters in Oracle BI Publisher report
Dear Experts,
Kindly suggest me how to print arabic characters in BI Publisher.
Regards,
Mohansee link
https://blogs.oracle.com/BIDeveloper/entry/non-english_characters_appears -
How to print Special Characters in Sap-Scripts
How to print Special Characters in Sap-Scripts
Thanks,
RaviHi
if u want print special characters we can use hot codes i.e ' ' (single inverted commas). in between these hot codes insert u r special characters.
write ' !@#$%^&*( ) '.
for the above write statement output is
output is !@#$%^&*( ) -
how to limit sharing apps to only two devices? because i have an iPod touch and an iPad. i just want to limit the sharing of apps to those two. because my brother is using my apple id too on his ipod. i want to limit it to mine only. tnx!
You can go into settings and turn sharing off in the programs on the device you don't want to share too.
-
How to limit the max dialog no that one user can use at the same time?
Hi,
I meet one performance problem that one user can open 6 sessions in the GUI and he/she can run 6 reports at the same time witch could occupy 6 dialogs in the sap R/3 instance. It makes poor performance for other users.
Would you pls tell me how to limit the no. of sessions one user can create at the same time or how to limit the no. of dialogs one user can occupy at the same time?
Thanks a lot!
I used this parameters in the default profile as blew:
rdisp/rfc_check 1
rdisp/rfc_use_quotas 1
rdisp/rfc_max_own_used_wp 20 (means: 20%)
It still didn't work.
SeanHello,
We can reserve DIA W.P by giving value to the parameter :- rdisp/rfc_min_wait_dia_wp=1(default)
that have to necessarily remain free for other users.
This parameter is used to reserve a number of dialog work processes for Dailog mode.
For eg. If 10 dialog w.p. are configured for the instance(rdsip/wp_no_dia=10) and the parameter rdisp/rfc_min_wait_dia_wp=3 is set,parallel RFC's can occupy a maximum of 7 DIA W.P.3 DAI W.P. always remain free for dialog mode.
But now the question is how we assign/restrict this free dialog w.p. to the specific user.
Reply...
Regards,
JUNAID -
Mountain Lion: on the Notification Center notification and Mail:
how to limit notifications to an email account?
At least, is it possible to choose what email account, the arrival of a message launch a notification.
When running more than a dozen e-mail accounts, it may be appropriate to display only the notifications of one or two major accounts.Which os are you using? Which Mail version are you using?
-
How to limit the number of items in a KPI Status list web part?
How to limit the number of items in a KPI Status list web part? There is no paging option for Business Category Status list or any limit can be made by changing the Item limit in default view unlike other SharePoint List web parts. So How to achieve it?
Kindly help.
Regards,
ZA
zzzSharePointHi,
According your post, I know you would like to set the item display limit in Status List web part.
In the web part, the number of items to display is based on the view which you selected when configuring the web part. The default view for status list is status list view.
However, I am not able to limit the items’ display number of the status list view. After changing the items limit, the list item displayed would not match the number specified by Item Limit. Thus, it is not possible to limit the number
of items in the Status list web part.
It could be a potential issue in SharePoint 2010.
We will log this issue to our suggestion box. As after the submission, we may not have any time guarantee when the fix may be released, but it may come out on next cumulative update.
Appreciate your time and efforts.
Thanks.
Tracy Cai
TechNet Community Support -
How to limit the number of items that a list control can hold?
Hi,
I am using a Flex3 List control for one of my projects.
I add drag & drop functionality to it, so that i can drag & drop elements from one control to another.
How to limit the number of items that a list control can hold / can be dropped in a list control ?
- Sen.1. Listen for the dragdrop event on the control you are dragging onto.
2. check the length of the items in the dataprovider - if it exceeds your maximum override the default drop action with e.preventDefault(); (assuming you used e for the event on the handler).
Regards,
Mark. -
How to show Greek characters in Italic style
How to show Greek characters in Italic style
Hi all, I'm tryng to resolve a problem with the Greek characters
I need to display labels in two languages, english or greek inside my report.
At the beginning of the report I have a placeholder with the xml code : *<?param@begin:p_language?>*, so I can understand inside my report if the user chose the Greek or English, and then I have many placeholders (labels) which have to be written in Greek or English.
If the language chosen is English, I don't have any problem to show my labels bold or italic in every fonts
Inside the placeholder I wrote the following code:
*<?xdofx:if $p_language = 'Ελληνικά' then 'Οργανισμός' else if $p_language = 'Αγγλικά' then 'Organization' end if?>*
I can chose font, style and bold/not bold directly from Word and when I run the report in pdf I see exactly what I chose.
If the language chosen is Greek....I see always the label in Arial, NOT BOLD and NOT ITALIC...
In order to see Greek characters BOLD:
a) I added (under the ADMIN tab/Runtime Configuration/Font Mappings/ ) a font named Arial and I addeda target Font named Arialbd.ttf under the directory: D:\Oracle\Oracle_Homes\BIP_101341\jdk\jre\lib\fonts
b) I changed the font (from word) to Arial
Now, ONLY with tha ARIAL font I can see my labels in greek bold, but I can't still see them in italic style.....
So, I tried to force these condition inside the placeholder with the following code:
*<?if:$p_language = 'Ελληνικά'?><xsl:attribute xdofo:ctx="inlines" name="font">Times New Roman</xsl:attribute><xsl:attribute xdofo:ctx="inlines" name="font-style">Italic</xsl:attribute><xsl:attribute xdofo:ctx="inlines" name="color">red</xsl:attribute><xsl:attribute xdofo:ctx="inlines" name="font-weight">bold</xsl:attribute>Οργανισμός<?end if?>*
...but I continue to see the labels in Greek only bold, red but not in Italic Style......
Also adding another font called Arialbi.ttf (Arial bold Italic)...I can't see my labels in Greek bold with Italic Style....
Anybody had the same problem with another alphabet different from the latin one ???
Any help will be appreciated
Thanks in advance
AlexHi Chris,
Thanks for your reply.However I still have some problems.
I couldnt get jpdk 3.0.9.0.4 version the latest version that I
got was jpdk 3.0.9.0.2.
I tried the 3.0.9.0.2 version and it gave me the below error.
Error-
sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java,
Compiled Code)
at java.io.InputStreamReader.convertInto
(InputStreamReader.java, Compiled Code)
at java.io.InputStreamReader.fill
(InputStreamReader.java, Compiled Code)
at java.io.InputStreamReader.read
(InputStreamReader.java, Compiled Code)..........
Can you guide me regarding this ???
Regards,
Mandar. -
How to display special characters in APEX Classic Report column
Ref: Thread: How to display newline characters as new lines
Version: APEX 3.2
Hi,
I have created an classic SQL Report with one of the columns being a decode that gives a value 'Post'(the value should be highlighted in Red) on one condition and 'Pre' on another. I have followed the advice given in the page (URL provided above) , i.e. I have changed Strip HTML to 'No', changed Display as to 'Display as text (escape special characters, does not save state)'. I have also passed this value back to the same page to be stored in a page item each time a link (another column in report) in report is clicked. I have tried passing it as #DEADLINE# and \#DEADLINE#\. The issue I face is, instead of the value being highlighted in Red, it gets passed back as a string holding the value 'Post'. Is there any way I can get this to display as it should without the Strip HTML being changed to 'Yes'.
Thanks very much.
Rohi
Edited by: Rohi on 18-Jul-2012 04:21876651 wrote:
Hi,
Thanks for your response.
I am trying to display a page item that is derived from a report column based on a click on the URL link (*view >*>)
This page item (here, it is Manager_ID) should ideally be highlighted when a particular condition is satisfied (achieved using a DECODE in the report).
But it is not displayed like it should be.
I do not want the value to be displayed along with the html tags as a string.
I want the html tags to take effect and highlight the value within it.
Initially, I had set Strip HTML to Yes and the value was returned without any highlighting .
So I changed it to 'No' and and it contained the html tags.
I am not sure what setting in APEX Report Attributes can help me achieve that effect I want.None of the report settings are relevant. They affect the rendering of the report and none of the columns you were changing the properties of were actually rendered.
You can't pass HTML and CSS around in URL parameters.
I suggest you pass *2* values in the column link: the MGR ID and a simple class or colour value computed by the DECODE in the report. I've suppressed the first version of the report and created a new one that does this:
decode(dept.deptno, '30', 'c00', '000') highlight The link column now passes the MGR ID and the HIGHLIGHT colour (red when the condition is satisfied and black when it is not).
I created another hidden and protected page item <tt>P0_HIGHLIGHT</tt> as the target for the highlight value, and used the Pre/Post Element Text properties of the <tt>P0_G_MGR</tt> to wrap it in a <tt>span</tt> whose colour is changed using the <tt>P0_HIGHLIGHT</tt> value as a subtitution string:
<span style="color: #&P0_HIGHLIGHT.;">Having done that, I still don't really get the requirement here. I'm sure that given the full picture I'd be using a completely different approach... -
How to escape special characters in Simple Transformation
Hi Experts,
I have got a problem to get a well formed xml document from the below simple transformation. The content of maktx contains
special characters like & <, which are not allowed in a well formed XML-Document. But the result of the Simple Transformation
contains this charcters even after the transformation as you can the in the result below. Has anyone a hint how to escape the
characters included in the maktx.
The transformation for maktx, should be something like
Before: Material & < TEST
After: Material & < TEST
Report wihich calls the simple transformation
types:
BEGIN OF t_mat,
matnr type matnr,
maktx type maktx,
end of t_mat.
Data:
mat type t_mat,
xml_stream type xstring.
START-OF-SELECTION.
mat-matnr = '4711'.
mat-maktx = 'Material & < Test'.
CALL TRANSFORMATION ztest_st2
SOURCE mat = mat
RESULT XML xml_stream.
CALL FUNCTION 'DISPLAY_XML_STRING'
EXPORTING xml_string = xml_stream.
Simple Transformation
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="MAT"/>
<tt:template>
<Leistungsschild>
<CHARACT> MATNR </CHARACT>
<CHARACT_DESCR> Materialnummer </CHARACT_DESCR>
<VALUE tt:value-ref="MAT.MATNR"/>
<CHARACT> MAKTX </CHARACT>
<CHARACT_DESCR> Materialkurztext </CHARACT_DESCR>
<VALUE tt:value-ref="MAT.MAKTX" />
</Leistungsschild>
</tt:template>
</tt:transform>
RESULT
<?xml version="1.0" encoding="utf-8" ?>
<Leistungsschild>
<CHARACT>MATNR</CHARACT>
<CHARACT_DESCR>Materialnummer</CHARACT_DESCR>
<VALUE>4711</VALUE>
<CHARACT>MAKTX</CHARACT>
<CHARACT_DESCR>Materialkurztext</CHARACT_DESCR>
<VALUE>Material & < Test</VALUE> </Leistungsschild>Hi Sandra,
First of all thaks for your quick answer to my problem.
I see what you mean and get the same result, if I am using data-type string instead of xstring. But the recommendation in the XML-Books of SAP is to use XSTRING to save memory and circumflex problems between Codepages, when writing the XML-Stream to a filesystem.
As you can see in the code abvoe I am using a SAP-FM to display the XML-Stream and this FM works only with XSTRING´s,
that is one reason why I don´t understand that it displays it in the wrong way.
Even the Debugger shows me for the XSTRING the wrong result. Does all that mean that the escaping will not be applyed if you are working with XSTING´s?? -
How to write special characters in PDF using iText
How to write special characters encoded with UTF-8 in PDF using iText.
Regards,
Pandharinath.I don't know what your problem is but that's almost certainly the wrong question to ask about it. Java (including iText) uses only Unicode characters. (You may consider some of them to be "special" if you like but Unicode doesn't.) And when it does that, they aren't encoded in UTF-8 or any other encoding.
So can you describe your problem? That question doesn't make sense. -
How to display special characters in Script...
hi all,
Can any one tell me how to display special characters in script...
how to write in text element
thanks in advance,
prashantHi Prashant ,
What special characters would you like to include .
There are a set of characters / icons /symbols that can be included in Script , for that open a window in edit mode and in the menu there will be an option called Insert , here you can find a lot of characters/symbols that can be included .
Regards,
Arun -
How to limit the number of rows in a smart form , sap script.
Can anyone tell me how to limit the number of rows in the output of a sap script/smart form. I have tried "protect/endprotect" in sap script but have no idea of how to do in smart form. In sap script the only way it has happened is by reducing the size of the main window.
Hi,
In Smartform also, why dont you try reducing the size of the window if you want to limit the rows in it. Also if you are printing Line Items in a LOOP, you can write
LOOP AT T_ITAB FROM 1 TO N in the LOOP Node if you know how many records exactly you want to display in 1 Page processing.
regards,
Mahesh
Maybe you are looking for
-
Access/download file from server.
have a problem. When I am trying to save/open a file from server(secure) which uses HTTPS, its displaying error message: Internet Explorer cannot download ...File_name.doc from Server_name. Internet Explorer was not able to open this Internet site. T
-
I have an IMAC (purchased in late 2007) that has been upgraded to the maximum memory of 4GB. Current operating system is 10.6.8. How much farther can I upgrade the operating system?
-
Downloaded an audio book to my macbook. How do I get it on my it on my Imac? Imac?
-
Wifi & bluetouth of iphone 3gs
Hi guys!! I need your help!i updated a week ago my iphone 3gs for the fist time & after that a message pops out all the time saying that it isnt available 2 use wifi cause i dont have internet on my phone!that is true but that message used 2 pop out
-
Problem with DatabaseMetaData.getCrossReference()
Hi, All, I got a problem with DatabaseMetaData.getCrossReference(...). Let me simplify it to the following senario: I have two tables in RDBMS: table A with colums A1, A2, A3, A4 and table B with columns B1, B2. Table B has a composite primary key (B