Form verification
Is there a way to install some sort of form verifictaion to prevent spam?
Hi Jamie,
If you are hosting with Business Catalyst all you have to do is in your form settings check the box that say BC Capcha. See image ...
Similar Messages
-
SSL and form verification scripts
We're building an ecommerce site with SSL protected checkout
and account administration. We've just installed the SSl
certificate and set-up the 2 sections as secure. However, in MS
Explorer we get the "This page contains both secure and non-secure
items" error message.
We've isolated this down the the includes for the 2
ColdFusion scripts used in form verification "/cfide/cfform.js" and
"/cfide/masks.js" short of writing or adapting form verification
scripts is there anyway I can force the pathnames to be
"https://xxx.xxx.xxx/cfide/cfform.js"
I cannot edit the setting in the CF admin pages as the server
runs multiple sites. I don't want the URl for the eCommerce site
being seen in some of the other sites.
RI don't know if it will be a consideration for you, but CF
only supports SSLv2 which is considered weak and vulnerable.
The desired protocols are the (SSL 3.0) protocol and
Transport Layer Security (TLS 1.0) protocol.
SSLv2 is a server only authentication and the others are
client & server.
You might want to check out this article on IE7 and SSLv2.
http://blogs.msdn.com/ie/archive/2005/10/22/483795.aspx
I started another thread asking when Adobe would upgrade CF
to work with SSLv3 and if anyone knows of a 3rd party solution
available now.
It seems hard to imagine but Adobe is already a few years
behind the curve on this. They did not include support for the new
technologies in the latest version and the old SSLv2 is being
deprecated leaving nowhere to turn for secure
communications. -
Hands on Course Form verification Perioud?
Hello,
Usually how many days OCP Team taking to verify Hands on course submitted form?
I have submitted successfully my OCP10g DBA Hands -on course form in 25th - May 2009 and today is 2nd June 2009, now already 8 days left without any feedback or email from OCP Team.
How long should I still wait?............
Best RegardsDear Niks,
I am totally agree with you, but my concern not when they will send or Deliver my OCP certificate,
My concern when OCP team send feedback email told me my Hands –on course form that I submitted is verified and approved?
(In other mean I am waiting OCP Team telling me we approved the hands on course that I have already attended).
Kindly check link: look to last subject (What happens after I submit the form?)
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=99#5
Thanks & Regards -
Report (uses LDB's) giving dump due to memory problem
Hi,
I have a report which is giving dump in production due to memory problem.
Memory is increased from basis part,but still getting same error.
the report uses Logical DataBases.
Can anyone suggest solution to solve this problem.
regards
MallikHi Amit,
thanks for ur quick reply and ur idea "make changes in development and write the logic to read records in chunks".
I have n't worked on LDB's till now.So i Don't know how I can read the data in chunks from LDB's.
Can u Plz give some idea how to read data in chunks.
Iam also sending the code,if possible ,plz go thru it and give me some idea.
Hope u will help me.
CODE.
REPORT ZAROP028
ABLES: PROJ, " Project definition
PRPS_R, " WBS element
PRPS, " WBS elements
TJ02T, " System Status Values
TCJ1, " Project Types
JEST, " Active System Status
COSP1, " cost totals - external postings
COSS1, " cost totals - internal postings
COVP11, " Line Items by Prd & Doc Header
COVP12, " Line Items by Prd & Doc Header
BHDGD, " Page heading table.
AUFK, " Order Master Data for WBS (LDB)
ANEP, " Asset line item
COBRB, "Distribution Rules Settlement Ru
SETHIER, "Hierarchy Structure
TKA02, "Controlling Area Assignment
CEPC, "Profit Center Master Data
PSDYPD, "Dummy struct for GET proj late
PSDYPR, "Dummy struct for GET PRPS_R late
PSDYNP. "Dummy struct for GET AUFK late
CONSTANTS:
C_E TYPE C VALUE 'E',
C_I TYPE C VALUE 'I',
C_N TYPE C VALUE 'N',
C_X TYPE C VALUE 'X',
C_Y TYPE C VALUE 'Y',
C_NE(2) TYPE C VALUE 'NE',
C_EQ(2) TYPE C VALUE 'EQ',
C_USD(3) TYPE C VALUE 'USD',
C_04(2) TYPE C VALUE '04',
C_I0046(5) TYPE C VALUE 'I0046'
various working storage
DATA:
W_TXT04(4) TYPE C. " make status uppercase
DATA: ACTIVE(1) TYPE C VALUE 'A', " type for status_flag
INACTIVE(1) TYPE C VALUE 'I', " type for status_flag
STATUS_FLAG(1) TYPE C VALUE 'I', " wbs active or inactive?
INACTIVEDT LIKE SY-DATUM, " inactive date for wbs
REC_FLAG TYPE C VALUE 'N', " records retrieved?
DAYS_INACTIVE TYPE I, " days wbs has been inac
W_LOWINACT TYPE I, " smallest inactive days
WBS_CNT TYPE I, " cnt for wbs in status
W_AUC_COST TYPE P DECIMALS 2, " unsettled auc cost
W_VNAME LIKE PRPS_R-VNAME. " venture number storage
DATA: BEGIN OF ITAB OCCURS 0, "MELI-5F2KMH
COMPCODE LIKE PROJ-VBUKR, " company code
PLANT LIKE PROJ-WERKS, " plant
PROJECT LIKE PROJ-PSPID, " project
NAME LIKE PROJ-POST1, " project description
DINACT TYPE I, " days proj inactive
PRCTR LIKE PROJ-PRCTR, " profit center
SETID LIKE SETHIER-SETID, " level 2 pc hier
DESCRIPT LIKE SETHEADERT-DESCRIPT,
VERNA LIKE PROJ-VERNA, " person responsible
AUC TYPE P DECIMALS 2, " AUC unsettled amount
END OF ITAB.
DATA: BEGIN OF I_INACT OCCURS 0,
STAT LIKE JEST-STAT,
INACT LIKE JEST-INACT,
END OF I_INACT.
DATA: EQ_FLAG TYPE C, " system status flag
NE_FLAG TYPE C. " system status flag
TYPES: BEGIN OF T_COSTS,
PSPID LIKE PROJ-PSPID,
BUDAT LIKE COVP11-BUDAT,
END OF T_COSTS.
DATA: I_PROJ LIKE PROJ OCCURS 0 WITH HEADER LINE,
I_PRPS_R LIKE PRPS_R OCCURS 0 WITH HEADER LINE,
I_COSTS TYPE T_COSTS OCCURS 0 WITH HEADER LINE.
DATA: W_RECORDS TYPE I.
DATA: FOUND_FLAG TYPE C. " CHAD-4PRPDE
DATA: BEGIN OF I_HIER OCCURS 0. "FEAT-5BNRRP
INCLUDE STRUCTURE SETHIER. "FEAT-5BNRRP
DATA: END OF I_HIER. "FEAT-5BNRRP
RANGES: R_TJ02T FOR TJ02T-ISTAT.
DATA: W_LVL2 LIKE SETHIER-SETID. "MELI-5F2KMH
SELECTION-SCREEN BEGIN OF BLOCK PROJECT WITH FRAME TITLE TEXT-B01.
PARAMETERS: P_BUDAT LIKE COVP11-BUDAT,
DAYINACT(3) TYPE N DEFAULT '090'.
SELECTION-SCREEN SKIP. "FEAT-5BNRRP
PARAMETERS: P_PC-SET LIKE CEPC-KHINR OBLIGATORY "FEAT-5BNRRP
DEFAULT 'SCH_STREAM'. "FEAT-5BNRRP
SELECTION-SCREEN END OF BLOCK PROJECT.
SELECTION-SCREEN BEGIN OF BLOCK SORT WITH FRAME TITLE TEXT-B02.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(13) TEXT-C01.
SELECTION-SCREEN POSITION 15.
PARAMETERS: P_PLANT RADIOBUTTON GROUP SORT DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(13) TEXT-C03. "FEAT-5BNRRP
SELECTION-SCREEN POSITION 15.
PARAMETERS: P_PRCTR RADIOBUTTON GROUP SORT. "FEAT-5BNRRP
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(13) TEXT-C04.
SELECTION-SCREEN POSITION 15.
PARAMETERS: P_DAYS RADIOBUTTON GROUP SORT.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK SORT.
AT SELECTION-SCREEN OUTPUT.
PERFORM USER_PARM_INIT.
AT SELECTION-SCREEN.
PERFORM CHECK_PROJ_CRITERIA.
START-OF-SELECTION.
PERFORM BUILD_PC_HIER USING P_PC-SET.
Project Definition *
GET PROJ.
MOVE-CORRESPONDING PROJ TO I_PROJ. "MELI-5F2KMH
APPEND I_PROJ. "MELI-5F2KMH
CLEAR I_PROJ.
WBS element table
GET PRPS_R.
MOVE-CORRESPONDING PRPS_R TO I_PRPS_R.
APPEND I_PRPS_R.
CLEAR I_PRPS_R.
GET all order and cost objects associated with order and elements
GET AUFK.
GET COSP1.
CHECK COSP1-WRTTP EQ C_04. " check if value type '04'
Get last date that the wbselement was updated and determine status
GET COVP11.
MOVE PROJ-PSPID TO I_COSTS-PSPID.
MOVE COVP11-BUDAT TO I_COSTS-BUDAT.
APPEND I_COSTS.
CLEAR I_COSTS.
Loop through Internal cost statements
GET COSS1.
CHECK COSS1-WRTTP EQ C_04. " if value type is 04
Get last date that the wbselement was updated and determine status
GET COVP12.
MOVE PROJ-PSPID TO I_COSTS-PSPID.
MOVE COVP12-BUDAT TO I_COSTS-BUDAT.
APPEND I_COSTS.
CLEAR I_COSTS.
END-OF-SELECTION.
PERFORM BUILD_TABLE.
DELETE ITAB WHERE DINACT < DAYINACT.
DESCRIBE TABLE ITAB LINES W_RECORDS.
IF W_RECORDS = 0.
MESSAGE I024.
ENDIF.
PERFORM WRITE_REPORT.
FORM CHECK_PROJ_CRITERIA *
This form verifies correct selection criteria has been entered from *
the selection screen inputs. If incorrect data has been entered the*
valid information messages are displayed. *
FORM CHECK_PROJ_CRITERIA.
check for either posting date or inactivity criteria but not both
IF NOT P_BUDAT IS INITIAL AND NOT DAYINACT IS INITIAL.
MESSAGE E119.
ENDIF.
IF NOT DAYINACT IS INITIAL. "check s/o day inactive
IF NOT DAYINACT <= 998.
MESSAGE E018.
ELSE.
INACTIVEDT = SY-DATUM - DAYINACT.
ENDIF.
if days inactive is initial set INACTIVEDT using the posting date
ELSE.
INACTIVEDT = P_BUDAT.
ENDIF.
ENDFORM. " CHECK_PROJ_CRITERIA
FORM GET_AUC_COSTS *
This form retrieves AUC costs for records based on AUFK2 where they *
meet project criteria. This pulls the unsettled amount on a AUC as *
a settlement receiver. *
FORM GET_AUC_COSTS USING F_OBJNR F_BUKRS.
CONSTANTS:
C_SETLEMENT_ANNUAL LIKE COBRB-PERBZ VALUE 'JHR', "Annual Settlement
C_DEP_AREA_STD LIKE ANEP-AFABE VALUE '01'. "Std depreciation
DATA: L_ANLC LIKE ANLC OCCURS 0 WITH HEADER LINE,
L_ANLCV LIKE ANLCV OCCURS 0 WITH HEADER LINE,
BEGIN OF L_COBRB OCCURS 0, "SRIN-6ZNEAR
ANLN1 LIKE COBRB-ANLN1,
ANLN2 LIKE COBRB-ANLN2,
END OF L_COBRB,
F_H_COST TYPE P DECIMALS 2.
SELECT ANLN1 ANLN2 FROM COBRB
INTO TABLE L_COBRB " SRIN-6ZNEAR
WHERE OBJNR = F_OBJNR
AND PERBZ = C_SETLEMENT_ANNUAL.
IF SY-SUBRC NE 0. " gary-463qbd
EXIT. " gary-463qbd
ENDIF. " gary-463qbd
LOOP AT L_COBRB. " gary-463qbd
CLEAR: F_H_COST.
SELECT SINGLE * FROM ANLC
INTO L_ANLC
WHERE BUKRS = F_BUKRS AND
ANLN1 = L_COBRB-ANLN1 AND
ANLN2 = L_COBRB-ANLN2 AND
GJAHR = SY-DATUM(4) AND
AFABE = C_DEP_AREA_STD AND
ZUJHR = '0000' AND
ZUCOD = '0000'.
IF SY-SUBRC = 0.
CALL FUNCTION 'FI_AA_VALUES_CALCULATE'
EXPORTING
I_ANLC = L_ANLC
IMPORTING
E_ANLCV = L_ANLCV.
F_H_COST = L_ANLCV-BCHWRT_LFD.
ENDIF.
ADD: F_H_COST TO W_AUC_COST.
ENDLOOP. " gary-463qbd
ENDFORM. " GET_AUC_COSTS
FORM CHECK_INACTIVE_DATE *
This form checks the computed inactive date based on the formal *
parameter DAYS_INACTIVE. If DAYS_INACTIVE is more current than the *
current lowest inactive date W_LOWINACT then W_LOWINACT is replaced *
with this value. *
FORM CHECK_INACTIVE_DATE USING DAYS_INACTIVE.
IF DAYS_INACTIVE < W_LOWINACT.
MOVE DAYS_INACTIVE TO W_LOWINACT.
ELSEIF W_LOWINACT EQ 0.
MOVE: DAYS_INACTIVE TO W_LOWINACT,
W_LOWINACT TO ITAB-DINACT.
ENDIF.
ENDFORM. " CHECK_INACTIVE_DATE
FORM build_table *
collect fields to the internal table ITAB *
FORM BUILD_TABLE.
SORT I_COSTS BY PSPID ASCENDING BUDAT DESCENDING.
LOOP AT I_PROJ.
CLEAR W_AUC_COST.
READ TABLE I_COSTS WITH KEY PSPID = I_PROJ-PSPID
BINARY SEARCH.
IF SY-SUBRC = 0.
ITAB-DINACT = SY-DATUM - I_COSTS-BUDAT.
ELSE.
ITAB-DINACT = SY-DATUM - I_PROJ-ERDAT.
ENDIF.
LOOP AT I_PRPS_R WHERE PSPHI = I_PROJ-PSPNR AND
BELKZ = 'X'.
IF NOT I_PRPS_R-IMPRF IS INITIAL.
PERFORM GET_AUC_COSTS USING I_PRPS_R-OBJNR
I_PRPS_R-PBUKR.
ELSE.
CONTINUE.
ENDIF.
ENDLOOP.
ITAB-COMPCODE = I_PROJ-VBUKR.
ITAB-PLANT = I_PROJ-WERKS.
ITAB-PROJECT = I_PROJ-PSPID.
ITAB-NAME = I_PROJ-POST1.
ITAB-PRCTR = I_PROJ-PRCTR.
ITAB-VERNA = I_PROJ-VERNA.
ITAB-AUC = W_AUC_COST.
IF ITAB-DINACT > DAYINACT.
PERFORM GET_HIER_INFO.
ENDIF.
APPEND ITAB.
CLEAR ITAB.
ENDLOOP.
ENDFORM. " BUILD_TABLE
FORM STATUS_CHECK *
Checks the active status of the project definition for the *
parameter values assigned. *
FORM STATUS_CHECK USING F_OBJNR.
begin of GARY-463QBD
CLEAR: I_INACT.
REFRESH: I_INACT.
MOVE: C_N TO EQ_FLAG,
C_Y TO NE_FLAG.
retrieve status for a given record
SELECT STAT INACT
INTO TABLE I_INACT
FROM JEST
WHERE OBJNR EQ F_OBJNR AND
INACT NE C_X.
sort internal status entered by user
SORT R_TJ02T BY OPTION DESCENDING.
check all current object statuses meet user entered criteria
LOOP AT R_TJ02T WHERE OPTION EQ C_NE.
check for user selected options
READ TABLE I_INACT WITH KEY STAT = R_TJ02T-LOW.
IF SY-SUBRC EQ 0.
MOVE C_N TO NE_FLAG.
EXIT.
ENDIF.
ENDLOOP.
LOOP AT R_TJ02T WHERE OPTION EQ C_EQ.
check for user selected options
READ TABLE I_INACT WITH KEY STAT = R_TJ02T-LOW.
IF SY-SUBRC EQ 0.
MOVE C_Y TO EQ_FLAG.
EXIT.
ENDIF.
ENDLOOP.
check for no statuses entered as EQ option
LOOP AT R_TJ02T WHERE OPTION EQ C_EQ.
EXIT.
ENDLOOP.
if so move c_y to eq_flag
IF SY-SUBRC NE 0.
MOVE C_Y TO EQ_FLAG.
ENDIF.
if both eq_flag or ne_flag are true(c_y) move true to valid_flag
IF ( EQ_FLAG EQ C_N OR
NE_FLAG EQ C_N ).
REJECT 'PRPS_R'.
ENDIF.
end of GARY-463QBD
ENDFORM. " STATUS_CHECK
Form WRITE_REPORT
FORM WRITE_REPORT.
IF P_PLANT EQ 'X'.
SORT ASCENDING BY ITAB-BUSAREA "FEAT-5BNRRP
SORT ITAB ASCENDING BY PLANT
PROJECT.
ELSEIF P_PRCTR EQ 'X'.
SORT ITAB ASCENDING BY PRCTR "FEAT-5BNRRP
PROJECT.
ELSE.
SORT ITAB ASCENDING BY DINACT
PROJECT.
ENDIF.
FORMAT COLOR COL_BACKGROUND INTENSIFIED ON.
"MELI-5F2KMH
LOOP AT ITAB. "MELI-5F2KMH
WRITE: / ITAB-COMPCODE,
9(4) ITAB-PLANT,
17(12) ITAB-SETID,
33(40) ITAB-DESCRIPT,
77(10) ITAB-PRCTR,
91(24) ITAB-PROJECT,
119(40) ITAB-NAME,
163(25) ITAB-VERNA,
192(15) ITAB-AUC CURRENCY C_USD,
211(8) ITAB-DINACT.
ENDLOOP.
ENDFORM. " WRITE_REPORT
Form USER_PARM_INIT
Initializes user parameter settings
FORM USER_PARM_INIT.
ENDFORM. " USER_PARM_INIT
At top of every page, generate Amoco-standard header.
TOP-OF-PAGE.
MOVE: '0' TO BHDGD-INIFL,
SY-LINSZ TO BHDGD-LINES,
SY-UNAME TO BHDGD-UNAME,
SY-REPID TO BHDGD-REPID,
SY-TITLE TO BHDGD-LINE1,
SPACE TO BHDGD-DOMAI,
SPACE TO BHDGD-SEPAR,
SPACE TO BHDGD-MIFFL.
IF P_PLANT EQ 'X'.
MOVE TEXT-H01 TO BHDGD-LINE2.
ELSE.
MOVE TEXT-H03 TO BHDGD-LINE2. "FEAT-5BNRRP
ENDIF.
temporarily clear sy-mandt to remove "europe" from header "FEAT-5BNRRP
DATA: W_MANDT LIKE SY-MANDT.
BHDGD-BUKRS = SPACE.
W_MANDT = SY-MANDT.
CLEAR SY-MANDT.
FORMAT COLOR COL_BACKGROUND INTENSIFIED OFF.
PERFORM BATCH-HEADING(RSBTCHH0).
FORMAT RESET.
reset sy-mandt "FEAT-5BNRRP
SY-MANDT = W_MANDT.
PERFORM PGH_WRITE_HEADING USING TEXT-003 INACTIVEDT. "MELI-5F2KMH
SKIP 1.
ULINE.
write heading info
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE: /1(5)'CCode',
9(5)'Plant',
17(12)'Level 2 Node',
33(40)'Level 2 Node Description',
77(10)'Profit Ctr',
91(18)'Project Definition',
119(19)'Project Description',
163(18)'Person Responsible',
192(15)' AUC Unsettled',
211(13)'Days Inactive'.
end FEAT-5BNRRP
BEGIN FEAT-5BNRRP NEW FORMS
FORM BUILD_PC_HIER
FORM BUILD_PC_HIER USING SETID.
DATA: W_SETID LIKE SETHIER-SETID,
W_NEWSETID LIKE SETHIER-SETID.
CONCATENATE '0H' SETID INTO W_SETID.
CALL FUNCTION 'G_SET_GET_ID_FROM_NAME'
EXPORTING
SHORTNAME = W_SETID
TABNAME = 'GLPCT'
SETCLASS = '0106'
SUPRESS_POPUP = 'X'
OLD_SETID = W_NEWSETID
IMPORTING
NEW_SETID = W_NEWSETID.
CALL FUNCTION 'G_SET_TREE_IMPORT'
EXPORTING
CLIENT = SY-MANDT
LANGU = SY-LANGU
SETID = W_NEWSETID
TABNAME = 'GLPCT'
TABLES
SET_HIERARCHY = I_HIER
EXCEPTIONS
SET_NOT_FOUND = 1
ILLEGAL_FIELD_REPLACEMENT = 2
ILLEGAL_TABLE_REPLACEMENT = 3
OTHERS = 4.
CLEAR I_HIER.
ENDFORM.
FORM GET_HIER_INFO
FORM GET_HIER_INFO.
DATA: W_SETID LIKE SETHIER-SETID,
W_KHINR LIKE CEPC-KHINR,
W_INDEX TYPE I.
CLEAR: W_SETID,
W_KHINR,
W_INDEX.
DETERMINE PROFIT CENTER NODE
SELECT SINGLE KHINR
FROM CEPC
INTO W_KHINR
WHERE PRCTR EQ ITAB-PRCTR.
CONCATENATE '0106' I_PROJ-VKOKR W_KHINR
INTO W_SETID.
READ TABLE I_HIER WITH KEY
SETID = W_SETID.
IF SY-SUBRC EQ 0.
W_INDEX = SY-TABIX.
DO.
READ TABLE I_HIER INDEX W_INDEX.
IF W_INDEX = 0.
ITAB-SETID = 'Not Found'.
EXIT.
ENDIF.
IF I_HIER-LEVEL = 1.
ITAB-SETID = I_HIER-SETID+8(12).
ITAB-DESCRIPT = I_HIER-DESCRIPT.
EXIT.
ENDIF.
IF I_HIER-LEVEL = 2.
ITAB-SETID = I_HIER-SETID+8(12).
ITAB-DESCRIPT = I_HIER-DESCRIPT.
EXIT.
ENDIF.
W_INDEX = W_INDEX - 1.
ENDDO.
ELSE.
ITAB-SETID = 'Not Found'.
ENDIF.
ENDFORM.
END FEAT-5BNRRP NEW FORMS
*& Form PGH_WRITE_HEADING WR MELI-5F2KMH
FORM PGH_WRITE_HEADING USING L_V1 L_V2.
DATA: L_LINSZ LIKE SY-LINSZ.
DATA: L_TITLEL LIKE SY-TABIX.
DATA: L_START LIKE SY-TABIX.
DATA: L_DATE LIKE SY-DATUM.
DATA: L_FORMATTED_DATE(10) TYPE C.
DATA: L_TITLE(27) TYPE C.
MOVE L_V2 TO L_DATE.
WRITE L_DATE TO L_FORMATTED_DATE.
CONCATENATE L_V1 L_FORMATTED_DATE INTO L_TITLE
SEPARATED BY SPACE.
L_LINSZ = SY-LINSZ.
L_TITLEL = STRLEN( L_TITLE ).
L_START = ( L_LINSZ / 2 ) - ( L_TITLEL / 2 ) - 2.
NEW-LINE.
POSITION L_START.
WRITE: L_TITLE.
regards
Mallik -
LiveConnect: Javascript toJava ? Urgent
Hello,
Does anyone know how to get LiveConnect to work? I an using IE.6, and I am hoping it is not an abandoned technolog resident to Nescape Navigator. It is suppose to enable bi-directional communication between Java and Javascript.
Please see:
http://devedge.netscape.com/library/manuals/2000/javascript/1.3/guide/lc.html
I can't get it to work. I am sure my browser is both Java and Javascript enabled. I want to use it to access my JavaBeans without having to waste time sending a request just to check if a username and password are valid.
Please, if anyone has any experience with this, please share what you know. It is quite urgent.
DarrenHello tolmank,
Did you read the article at the end of the link I posted.
I can't get their example to work - I downloaded their classes and added them to my classpath but no joy. I suspected LiveConnect only worked on NN.3 but I read several articles which suggested otherwise. Also at Microsoft.com (either the faqs or knowledgebase), they mentioned some similar functionalty for JScript with IE in response to LiveConnect - they made a reference to some sample code in the 'Microsoft SDK for Java'. I can't find it, or any documentation which makes me wonder if it is an adandoned technology. I have gone from Netscape to Microsoft to Sun, and back. With the added fact of Microsoft and Sun are playing handbags, I seem to have hit a dead-end.
I have completed my project using Session and HttpRequest to pass Javascript to Java in the traditional manner.
It would have been nice tho to have a little pop-up alert tell my users they entered their username or password incorrectly (powered by a small query to the database) - it seems ideal for form verification - saves time going round in html loops.
What do you think tolmank?
If anyone has any input, or some sample code it would be appreciated.
Regards, Darren -
Language Settings - Working with more than one language
Dreamweaver Developer Toolbox, in the Control Panel, have a tab to set the site Language, for bugs, errors, form verification, etc.
I´m working in a website with two languages, Spanish and English: How can I show messages in the corresponding language?I get this error:
Cannot redeclare kt_getresource() (previously declared in ....includes\common\lib\resources\KT_ResourcesFunctions_Eng.inc.php:24) in ...includes\common\lib\resources\KT_ResourcesFunctions.inc.php on line 24
Previously, i do this changes:
I edit this file tNG.inc_Eng.php, that now calls '../common/lib/resources/KT_Resources_Eng.php' ( duplicate KT_Resources.php)
In KT_Resources_Eng.php , edit this line: array('KT_ResourcesFunctions_Eng.inc.php', '../../KT_common.php');
In 'KT_ResourcesFunctions_Eng.inc.php edit this line: $dictionaryFileName = KT_realpath(dirname(realpath(__FILE__)). '/../../../resourcesEn/'). '%s.res.php';
But, i realized the other files are inter-connected, one example: in TNG.inc_Eng.php, calls '../common/lib/folder/KT_Folder.php', and this KT_Folder.php calls '../resources/KT_Resources.php');, an get conflict with my previous loaded KT_Resources_Eng.php , a great mess.
I guess y should follow each link and check every page loaded, duplicate, etc.
I think Í´ll use de session variable. jajaja. I´ve a page included in all english sections, loginEng.php, i´ll create there the session variable for the english version, and exacly the same in the loginEsp.php page, that is included on every page in the spanish version.
What do you think?
Thank you very much Gunter! -
Hi
Ok I googled for this and actually found the question somewhere but no-one had answered it.
I am running tomcat as localhost on XP windows profesional and util tuesday morning I was happily testing my software with session variables all working nicely. and then poof - all gone, every page is a new session. The software works fine when I bring it to school - sessions work fine.
I checked all my internet settings - others beside me use this computer. all my cookies work when I am on the net. Please help I need to be able to test & develop on this computer.
I am using the jakarta-tomcat-5.0.25 and Java 2 development kit standard edition version 5.0 (came with the Deitel book Java how to program 6thed)
LenaHi
I tried adding that and it didn't make any difference.
The thing is the sessions were working at 9pm monday and not working on tuesday morning. I joyfully closed the browser on monday night knowing I had the code with sessions working and made no other changes. There was some surfing (by someone else) in between and some restarts . I did a complete shutdown hoping it was some glitch.
This is now the opening page, (there are 12 other pages so far) it has a lot of crud in it as I tried to work around the problem.
I never went into any tomcat files I am still strictly at the "follow the steps in the book" level in Java(6 weeks). This is my first jsp code however I do have 25 years of programming in other languages.
Thanks for your help
Lena
<?xml version = "1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<title>Acme Games Welcome page</title>
<LINK href="Styles.css" type="text/css" rel="stylesheet"/>
<jsp:useBean id="vKount" scope="page"
class = "com.cdi.PP4.jsp.beans.VisCounter" />
<jsp:useBean id = "cust" scope = "page"
class = "com.cdi.PP4.jsp.beans.custRecord" />
<jsp:useBean id = "custData" scope = "request"
class = "com.cdi.PP4.jsp.beans.custData" />
<!-- somewhere we have to check if they are already logged in -->
</head>
<body>
<%
session =request.getSession();
boolean x=session.isNew();
// check the session values to see if user already logged on
String cdN=(String)session.getAttribute("userNm");
Cookie updck;
updck= new Cookie("updKnt","0");
updck.setMaxAge(-1);
response.addCookie(updck);
cust.setUserName(cdN);
String fd=custData.findCust(cust);
String fPath=application.getRealPath("Project/visitorsCount.txt");
vKount.countIt(fPath);
int theCount=vKount.getCounter();
vKount.writeIt(fPath);
%>
<table>
<tr>
<td style="width: 160px; text-align:center">
<img src="games/acelogoG.gif" alt="ACME GamesLB" width="140" height="140"/>
</td>
<td>
<%-- banner --%>
<jsp:include page= "banner.html"
flush="true"/>
</td>
</tr>
<tr>
<td style="width: 160px">
<%-- links --%>
<jsp:include page="links.html"
flush="true"/><br />
<h4>Visitors : <%= theCount %></h4>
</td>
<td style="vertical-align: top">
<%-- main window--%>
<jsp:include page="mainView.html"
flush="true"/>
<br />
<!-- this is the begining of the login logic first time thru -->
<!-- there is nothing in the class cust, when they push submit then -->
<!-- it is a post back then there is and it is verified -->
<jsp:setProperty name="cust" property="userName" param ="userName"/>
<jsp:setProperty name="cust" property="userPass" param="userPass"/>
<% // start scriplet
if(cust.getUserName()==null ||cust.getUserPass()==null)
%>
<form name="logIn" method="post" action="Home.jsp">
<table bgcolor="#ff00ff" >
<tr>
<td>UserID:  <input type="text" name="userName" />
</td>
<td>Password:  <input type="password" name="userPass" />
</td>
<td><input type="submit" value="Submit" /></td>
<td>
</td>
</tr>
</table>
</form>
<% // contine
else
String nm="XY";
String cd=cust.getUserName();
nm=custData.checkPswd(cust);
if(nm.equals("XX"))
// error
out.println("<h4>Incorrect Login</h4>");
else
session =request.getSession();
boolean x1=session.isNew();
session.setAttribute("userNm", cd);
String cdN2=(String)session.getAttribute("userNm");
boolean x2=session.isNew();
int ii=session.getMaxInactiveInterval();
String cdxx=session.getId();
%>
<h4> Welcome to Acme games <%= nm %> </h4>
<a href="Parent.jsp?userName=<%= cd %>">Parent's page</a>
visitor count: <%= theCount %>
<%
} // end of login form verification
%>
</td>
</tr>
</table>
</body>
</html> -
Forms Service verification program problem
I have a java verification program that is run from a HPUX server cron job to check
the status of my 9.0.2.12.2 Oracle 9iAS Forms Services running on a
Windows 2000 server. The program determines if the Forms Services
restarted after a cold, off-hours backup by retrieving and reading
base.htm.
I have 3 windows servers with "identical" configurations of 9iAS Forms
Services. The java verification program works when running against the dev and
test Forms servers but not against the production Forms server. It
did work against the production Forms server until I upgraded to
9.0.2.12.2 a few months ago. The only way to reproduce the problem
against the test Forms server is to rename base.htm so the program
can't find it. default.env,forms90.conf,formsweb.cfg all appear to be
identical. Paths and other environmental variables are identical on
the windows Forms servers. The java program fails or succeeds
consistently on 3 different HPUX servers both in cron and from the
command line.
The error message is: java.io.IOException: Server returned HTTP
response code: 500 for URL:
http://productionserver:7778/forms90/f90servlet
Java is 1.3.1 on all environments.
import java.io.*;
import java.net.*;
public class auRLTest
public auRLTest()
try {
System.out.println("Starting...");
URL url = new URL("http://productionserver:7778/forms90/f90servlet");
System.out.println("Opening URL connection ("+url+")");
URLConnection uc = url.openConnection ();
System.out.println("Connecting to URL");
uc.connect();
System.out.println("Opening input stream.");
BufferedReader in = new BufferedReader(
new InputStreamReader( uc.getInputStream() ) );
System.out.println("Reading file...");
System.out.println("==========================================================================");
String inputLine = in.readLine();
while (inputLine != null)
System.out.println(inputLine);
inputLine = in.readLine();
System.out.println("==========================================================================");
System.out.println("Closing file.");
in.close();
System.out.println("Production Form Server is UP");
catch( java.net.ConnectException connectException ) {
System.out.println("***PRODUCTION FORM SERVER IS DOWN***.");
catch( Exception exception ) {
System.out.println(exception);
public static void main(String[] args)
auRLTest uRLTest = new auRLTest();
Accessing "http://productionserver:7778/forms90/f90servlet" from IE works fine.
Any clues or ideas are appreciated.
ThanksI went through the same thing. Look at Appendix II "Case Study" at http://rootshell.be/~yong321/freeware/ckweb.html. Basically, the forms servlet needs some more HTTP headers you didn't pass.
Yong Huang -
Form data - to command - for verification - exec
I'm attempting to assign entered form data into an array, to generate a list
of command line commands from the form data, and pass the array to a
verification page for display. After the displayed and verified information has
been approved , press a submit button to spawn xterms that get passed the
information in the array, the command list, for execution. I'm having a
problems capturing and relaying the data between pages. Currently, the
information(the command list being generated in variable ${myMap}) is
being displayed correctly in the VerificationPage.jsp output but not displayed
correctly (nothing from the ${myMap} variable is displayed)when
ProcessingPage.jsp is loaded. I would appreciate any help offered. Below is
the code I'm using.
File one:
data/form input
File two: VerifcationPage.jsp - assign the consolidated command into myMap array and display it to screen
<c:set scope="application" var="counter" value="0"/>
<c:forEach var="rel" items="${paramValues.rel}" begin="0" step="1">
${myMap} bldautox ${param.phasecmd} -s ${param.submitter} -o r${paramValues.rel[counter]}${param.oldtreeext}${param.oldtreespin} -n r${paramValues.rel[counter]}${param.newtreeext}${param.newtreespin}
<br>
<c:set var="counter" value="${counter + 1}"/>
</c:forEach>
<br>
<c:forEach items="${paramValues.myMap}" begin="0" step="1">
<c:out value="${myMap[count]}" />
</c:forEach>
<input type="submit" name="submitbldreqs" value="Submit">
</form>
File three-the ProcessingPage.jsp - display each indice of myMap variable and be able to submit for command line execution
<c:forEach var="myMap" items="${paramValues.myMap}" begin="0" step="1">
<c:out value="${param.myMap[cntr]}" />
<c:set var="cntr" value="${cntr + 1}"/>
</c:forEach>
<br>
<% String cmd = "0"; %>
<%-- Desired executable Runtime.getRuntime().exec("/usr/bin/xterm -e" + {myMap}[cntr]); --%>
<% Runtime.getRuntime().exec("/usr/bin/xterm"); %>
</body>You put newlines in by pressing the enter key a couple of times.
see?
For the rest of it, there is a big handy button with "code" labelled on it.
[code[/i]]
// put your code between tags like these.
[code[/i]]
That post is a completely unreadable mess. I suggest you try again. -
Alright well here is my issue... I have been trying to fix it on my own for the past week non stop and I have finally came to a solid conclusion as to the cause of the issue.
I always get the error "The server has encountered an error..." in red text when anyone tries to submit a form and also when I try and test it myself. This led me to test the server / site for compatibility or issues by using the test:
mydomain.com /scripts/form_check.php
I got the first two checks green (pass) and the third test threw a red check meaning I was having an issue with SQL verification. This then led me to days of trying to work with my hosting provider (one.com) trying to solve the problem and I was told that they use mySQL on their servers and that they couldn't do anything on their end to solve the issue. I read alot that we are recommended in this case to try and get our host to add the SQLite database to their server or whatever it is they would do, long story short I guess many people are able to ask their host to make SQLite work and most accept and add SQLite functionality to their servers but unfortunately my hosting provider doesn't want to do this and they said they were sorry and that I would need to either switch the script to work with mySQL or figure something else out...
I took a lot of time building my site and I dont want to take the form out. I absolutely need it... I know many post on here saying "forms dont work, oh poop " or "adobe sucks I dont want to use business catalyst grrr" but I tried to find the source of the problem and I've successfully came to the conclusion that my issue is that my script wants to use SQLite but in order for my sites forms to work the server needs to have SQLite as well... My idea is that if I can configure the script and the site itself to use mySQL instead of SQLite the SQL verification will then not be an issue and my websites forms will function with no issues. I am curious if a member of the staff with adobe has experience with this particular issue and can help me out? or if a member of the adobe community has solved this problem? If not I am hoping that with the description I provided that someone with knowledge of mysql, sqlite or code in general could help me modify the script or write a new script that will allow the forms to work properly. I know its a long shot, I say that because this discussion is full of people who used muse in favor of dreamweaver because just like a large number of people in the muse discussion area, I'm a graphic designer, with plenty of computer experience, art and design skill and I am extremely familiar with photoshop. Muse is perfect in so many ways. In fact, like I mentioned above, I don't even have a complaint at this time about muse. I understand the form issue in this case, and I imagine in thousands of other users situations, is all just a matter of scripts and compatibility.. Its just a little issue between the SQLite scripts we are all given when we export our muse website and the SQL version our various hosting service may be using on their servers.
Just incase I missed anything, to provide just a bit more info on the topic and myself for anyone who may be able to help:
I can alter the text inside of the scripts easily if anyone happens to know any lines of code that easily solve this issue (making the muse contact forms, which are native to SQLite, functional on a server using mySQL)
I was told one way I could make the forms work on a server using mySQL (or any version other than SQLite) If I were to make changes to adobe muses SQL version by converting the SQLite db to mySQL db (db = database)
I am computer literate and I can take any directions necessary, I really just need to get this done, I really appreciate any help I can get!!
Thank you in advance,
Roy<?php
If you see this text in your browser, PHP is not configured correctly on this hosting provider.
Contact your hosting provider regarding PHP configuration for your site.
PHP file generated by Adobe Muse CC 2014.1.6
function formthrottle_check()
if (!function_exists("sqlite_open"))
return '1';
$retCode ='5';
if ($db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
$res = @sqlite_query($db, "SELECT 1 FROM sqlite_master WHERE type='table' AND name='Submission_History';", $sqliteerror);
if ($res == null or @sqlite_num_rows($res) == 0 or @sqlite_fetch_single($res) != 1)
$created = @sqlite_exec($db, "CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)", $sqliteerror);
if($created)
@sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('256.256.256.256', DATETIME('now'))", $sqliteerror);
else
$retCode = '2';
if($retCode == '5')
$res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History;", $sqliteerror);
if ($res != null and @sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 0)
$retCode = '0';
else
$retCode = '3';
@sqlite_close($db);
else
$retCode = '4';
return $retCode;
function formthrottle_too_many_submissions($ip)
$tooManySubmissions = false;
if (function_exists("sqlite_open") and $db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
$ip = @sqlite_escape_string($ip);
@sqlite_exec($db, "DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')", $sqliteerror);
@sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('$ip', DATETIME('now'))", $sqliteerror);
$res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History WHERE IP = '$ip';", $sqliteerror);
if (@sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 25)
$tooManySubmissions = true;
@sqlite_close($db);
return $tooManySubmissions;
?> -
Hi,
Is there any smart form for Invoice verification output. I have searched a lot but I did not find any smart form for invoice verification. Please advice if any one of you know any smart form for invoice verification.
ThanksHi
smart form you need to create as per requirement and assign it in NACE.
You can select Application MR and go to Out put types
You can find std details as follows
EINK Mail to Purchasing
ERS ERS Procedure
ERS6 ERS Procedure EDI
INS Invoice plan
KON6 Consignment EDI
KONS Consignment
MLPP Mail Price Deviation
RAP New Value Method
RAP6 New valuation EDI
REKL Complaint
Latter u can go to details under processing routins.
As such for MM LIV generally no body goes as it is an incoming concept, however SAP don't restrict.
Edited by: sudhansu satapathy on Dec 31, 2010 11:56 AM -
PHP form and image verification
Does anybody know where I can download a free formMail plus
image verification?
Thanks> Thanks looks really good
>
> Does the second php script go on my server? What name do
I give it?
All code goes into the same page. That page has to have an
php extension
so name your page something like contact.php" and then you
paste the php
(PHP code) at the very top of your document. Then paste the
html/php
(HTML form) where you want your form to display.
You're welcome to mail me at kim *at* geekministry *dot* com
if you get
into troubles :)
Kim
http://www.geekministry.com -
No puedo comprar en itunes, me dice que verifique mi forma de pago, le pongo ninguna, le doy acepar pero aun asi no puedo.
el juego es J U N G L E H E AT ayuda porfavor.
-
E-Fax verification transmission forms
how can i get e-fax transmission verification forms from HP Envy 114 printer
If your account is set to allowed senders only take a look at your print queue when you log in to eprintcenter.com. Chances are you will see two different types of emails involving efax, one from recieved efaxes, and one for the report showing that it has been sent. The report comes from [email protected] i believe. For the reports to print this has to be an allowed sender. This does not seem to get added to the allowed senders list automatically when you check the box for efaxes, so it can cause some problems.
If you are set to everyone try setting the account to allowed senders only and then following the steps above.
Jon-W
I work on behalf of HP
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
Click the KUDOS STAR on the left to say “Thanks” for helping! -
Account Suspended - Verification forms
This is the most frustrating thing ever.
They don't tell you how your account got suspended, I filled out this form 7-8 times and I get the same e-mail asking me to fill out another form.
Is there a way to talk to a human person and get this resolved?Hi, nzsprinter, and welcome to the Community,
Was the second account verification webform you received (a link to) different from the first? If yes, please do complete this form as well.
Regards,
Elaine
Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!
Maybe you are looking for
-
Can I save as pdf when printing from a Java applet on a webpage in Safari?
I am trying to use a webpage that is running a Java applet. A dialog comes up that asks me, "Do you want to run this application?" The dialog also says, "This application will run with limited access that is intended to protect your computer and pers
-
How can I sync my current iPod touch to a new computer?
I am in need of some assistance. I had my iPod Touch synced with my computer, but my computer died and I cannot fix it. I bought a new computer and put iTunes on it, but it tells me that if I want to sync my iPod with it, it will have to erase everyt
-
Hope this is a problem that can be answered by the website. I continually receive a message Program: ssvagent.exe Publisher: unknown File origin: HD on computer asking if I want to install this This started happening after I updated Java I cannot get
-
Convert Script to PDF using RVADOPFO, w/o using spool and send via email
I want to convert output type script to pdf using the standard include RVADOPFO in the program. The output type is defined as medium '5' and comm starategy is also defined as INT(email) as want to send the output via email. Now the Include RVADOPFO c
-
I have got a requirement where I will be having a synchronous process which takes a file name as input and my process as to read that file. How should I create the file adapter without having the knowledge of the file name?