Paypal code not working in iWeb?

I designed a website in Dreamweaver on my Windows PC. On it I was selling a book and payment could be made using Paypal so I got the code from the Paypal website, inserted into the DW website and it has been working great for years now.
I have today, redesigned the website using iWeb 09 [since I now have a Mac] and I used the same code as before but when I click the Paypal button it gives this error message "paypal cannot process this transaction as there is a problem with the sellers website...." yet it still works if I click the DW designed site.
Is there any reason why the code wouldn't work the same in iWeb? I used the HTML snippet too
Thank you for any help or suggestions you may have :-)

This is the code that I used in DW and is working in that site
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="D287JPC6XQBBQ">
<input type="image" src="https://www.paypal.com/en_US/GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
This is the page that the code should take me to but doesn't in iWeb
https://www.paypal.com/uk/cgi-bin/webscr?cmd=_flow&SESSION=RJlYA7IHpug9ngTQlih5x LwfdPQVAugRjJGHE8s1ALT-5jEa6DvvyxDK15G&dispatch=50a222a57771920b6a3d7b606239e4d5 29b525e0b7e69bf0224adecfb0124e9b61f737ba21b081988da7a3c03e3ee25661350b6a36dba24a

Similar Messages

  • Html snippet is not working on iweb 9. i can't write a code, Html snippet is not working on iweb 9. i can't write a code

    Html snippet is not working on iweb 9. i can't write a code, Html snippet is not working on iweb 9. i can't write a code

    You don't get this window when you insert an HTML snippet on the page?
    Click to view full size
    If you don't try the following:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.
    OT

  • Constant Contact's HTML signup form not working in iWeb 3.3, only displays code

    I'm trying to add an email signup form to my iWeb 3.3 website.  I use Constant Contact for my email and event marketing and they provide the code to paste into one's HTML code (I can post the code if need be).  When I use the HTML Snippet widget to do this, however, instead of getting the form I get messy bits and pieces of code not only in iWeb but in the published version of my website.  Any ideas would be greatly appreciated.

    @Old Toad - Check, I definitely pasted into the appropriate box.
    @Wyodor - Tried your suggestion, but it resulted in nothing being displayed.  I guess it's better than messy code being displayed, but still no good.
    Here is the script I was given by Constant Contact:
    <!-- BEGIN: Constant Contact Stylish Email Newsletter Form -->
    <div align="center">
    <div style="width:160px; background-color: #ffffff;">
    <form name="ccoptin" action="<a href="http://visitor.r20.constantcontact.com/d.jsp">http://visitor.r20.constantcontact.com/d.jsp</a>" target="_blank" method="post" style="margin-bottom:3;"><span style="background-color: #006699; float:right;margin-right:5;margin-top:3"><img src="<a href="https://imgssl.constantcontact.com/ui/images1/visitor/email1_trans.gif">https://imgssl.constantcontact.com/ui/images1/visitor/email1_trans.gif</a>" alt="Email Newsletter icon, E-mail Newsletter icon, Email List icon, E-mail List icon" border="0"></span>
    <font style="font-weight: bold; font-family:Helvetica; font-size:16px; color:#006699;">Sign up for our Email Newsletter</font>
    <input type="text" name="ea" size="20" value="" style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif; font-size:10px; border:1px solid #999999;">
    <input type="submit" name="go" value="GO" class="submit"  style="font-family:Verdana,Arial,Helvetica,sans-serif; font-size:10px;">
    <input type="hidden" name="llr" value="xkgu59fab">
    <input type="hidden" name="m" value="1105784871255">
    <input type="hidden" name="p" value="oi">
    </form>
    </div>
    </div>
    <!-- END: Constant Contact Stylish Email Newsletter Form -->
    <!-- BEGIN: SafeSubscribe -->
    <div align="center" style="padding-top:5px;">
    <img src="<a href="https://imgssl.constantcontact.com/ui/images1/safe_subscribe_logo.gif">https://imgssl.constantcontact.com/ui/images1/safe_subscribe_logo.gif</a>" border="0" width="168" height="14" alt=""/>
    </div>
    <!-- END: SafeSubscribe -->
    <!-- BEGIN: Email Marketing you can trust -->
    <div align="center" style="font-family:Arial,Helvetica,sans-serif;font-size:10px;color:#999999;">
    For <a href="<a href="http://www.constantcontact.com/jmml/email-newsletter.jsp">http://www.constantcontact.com/jmml/email-newsletter.jsp</a>" style="text-decoration:none;font-family:Arial,Helvetica,sans-serif;font-size:10 px;color:#999999;" target="_blank">Email Newsletters</a> you can trust
    </div>
    <!-- END: Email Newsletters you can trust -->
    Any ideas?

  • SWF/Flash hyperlink not working in iweb

    Hi guys,
    Really really stuck with this one...
    I have a flash file of which i have placed wihin my iweb site (the flash file shows and operates perfectly)
    However - the SWF's hyperlink will not work within iweb.
    The flash file itself is fine and the nyperlink within it works perfectly when opened within a browser.
    Here is the code below - if anybody has any help I would be so grateful.
    <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,40,0" border="0" width="800" height="600"><param name="movie" value="http://droprecords.net/drop_records/drop_circle_1_CS5_network.swf"><param name="quality" value="High"><embed src="http://droprecords.net/drop_records/drop_circle_1_CS5_network.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="400" height="200"></object>

    I've tried about 5 different codes now and although they all show the flash button - none of them allow the hyperlink within it to work properly.
    So frustrating.
    The closest one was this one;
    <iframe src="http://droprecords.net/drop_records/drop_circle_1_CS5_network.swf" allowtransparency="true"  width="400px" height="200px" frameborder="0" </iframe>
    But that opens up the link insiade a small iframe window instead of the full external window.
    ARRGGGHHHH

  • PS4 Game Voucher Code not working

    my PS4 Game Voucher Code not working and says: "The code you entered may not be correct or may no longer be valid" "Please check your entry (e-820000134)  

    Voucher codes are region-specific. For instance a US voucher won't work with a UK account. First thing to check is whether the voucher's region matches your account's region.

  • Form Mail widget not working in iWeb 09

    The FormMail widget that was working in iWeb 08 is no longer working in iWeb 09. Any ideas on what is wrong?
    Thanks,
    roxpat

    I got your message, but my email server won't let me reply to your address. Don't know why.
    Anyway, I'm not sure what you mean you copied and pasted the code into a new page. Did you copy some code into a new document and name it with a .pl extension?
    The formmail script that I've been using for years and is widely available from many sites is named "nms formmail" and it is a PERL script. The file's name ends with a .pl extension. You have to customize it for your uses, as far as the email referrer's and the email addresses you want the form on your site to be able to send to.
    After you customize the formmail.pl script, you ftp it into the cgi-bin directory that is provided by your site hosting company, on their server. You can't do this with iWeb. You have to make sure the permissions on the cgi-bin folder and file are set to 755 (you can do this by getting info in CyberDuck.
    Now you build the form in some program (I use Dreamweaver), but look around and there are other programs that can do this. After the form is set up properly, to post to the perl script, with the proper hidden fields that control the recipient number, the required fields, field order, etc, you copy and paste the code for the form into an HTML widget that's been placed on your Contact page in iWeb and upload the changed page.
    When all of these conditions are met, perfectly, you can have a form on a page that can accept user input, and that gets emailed to an address you choose, without having any email addresses on a page for the spambots to find.
    Now, there are other ways to do this, but when you mentioned formmail I assumed you were using either the original FormMail.pl file from "Matt's Scripts" or the newer more secure version named "NMS FormMail".
    If that's not the case, then maybe you can provide a link to this "FormMail" site that you went to so that we can determine what you are using and trying to do.
    Sorry for the confusion, but there are so many ways to configure these sites that I can't take anything for granted. Based on the graphic of your "Site" folder layout, you don't appear to be using iWeb's built-in ftp so you may need to make some changes, like duplicating the cgi-bin directory from the online site, putting your perl script into it, then upload your site in such a way that you don't change the directory structure for the online site.

  • End Routine Code not Working after Support Pack Upgrade

    Hi BI Community,
    We have recently upgraded to SPS17 (BW SP19) for our production system and the code deriving the values of several attributes in the end routine of the transformation for one InfoObject (as info provider) does not work anymore. We have been trying to identify the root cause but the fact is that we did not change anything to the InfoObject and its transformation and this used to work fine. The strange thing is that when we debugged the code we could see the value of the aforementioned attributes was derived correctly but the value is just not updated to the InfoObject where we still see the old values for these attributes.
    We have a similar InfoObject with the same end routine code in the transformation and it is working fine. We are out of idea what could have caused this during the SP upgrade.
    Thanks in advance for your feedback.
    Regards,
    Peter

    Cannot say what might have caused it but one check you can perform.
    Open your transformation in change mode and you can see a button next to create end routine button, titled ' Update Behavior of End Routine Change', click on that and say all fields.
    Hope it helps...
    Regards,
    Ashish

  • .oam file of html5 video trigger code not working in Muse

    I simply want to have a video play on page load. I have done the code for a trigger on one <div> to automatically play a video in Edge. The video plays perfectly in browser preview, even with transparency intact! Just the way I want it. The problem is when I insert .oam file in Muse it doesn't work. Other animations of simple objects and key frames work fine in Muse. But, I can make much more beautiful animations for certain elements in After Effects, with transparency and integrate them with elements in Muse. The video, its transparency and other objects work great from Edge to browser preview but not when .oam file is exported and placed into Muse. I know, I wouldn't build an entire site like this, I just want one or two animations to play automatically, with out controls (which I've been able to do), when the page is loaded.
    I publish with business catalyst to a my own domain, with Creative Cloud.
    Attached is a video where I'm at.
    What is the code or method to get to work?

    HI,
    Ok. I know that mov is not supported in Firefox nor Chrome, now.
    When I put the trigger in Edge to play the .mov file, it works when I preview from Edge to Safari, and not in any of the other browsers. This leads me to think that Safari supports .mov files, with and without transparency.
    However, when I try to put the .oam file generated by Edge into Muse and run the page in Safari the video doesn't work. Is this a .mov support with Muse? Does the video need to be uploaded to the Adobe Business Catalyst server? Where I publish my site?
    .mov and transparency aside, I can't get any video to play in any browser from the .oam file placed in Muse. Nothing plays in preview nor when I publish in Muse. I get the previews to work from Edge for the corresponding video for each browser. And yes, when controls in put in it says wether the video is supported or not. But I would want no controls and the video to play automatically on page load. Ideally I would like transparency. But I realize that's a browser support thing.  I don't see why all browsers don't support all video types and WITH transparency. C'mon now it's almost 2014! Am I right or am I right? Ok, sorry.
    I followed everything in this Tom Green video. Pretty sure all my code is correct.
    http://layersmagazine.com/embedding-video-in-adobe-edge-animate.html
    Picture shows code for working .ogv in Edge preview but not from .oam file in Muse in preview nor publish.
    Not sure why it won't even show in preview from Muse. But thinking when I publish, the video must have to be local on the publish server right?
    Am I missing something? Do I need to insert HTML into Muse, not the .oam?

  • Open my closed hotmail account , code not worked

    Hi
    I closed my account hotmal by mistake , and I tray to open it 
    saliraouf​@hotmail​.com​ will be closed on 8/17/2014
    You're trying to sign in to an account that's going to be closed. If you continue, we'll reopen the account. If you cancel, your account stays marked for closure. 
    What do you want to do?
    I tray to use all the code sending by Windows but it appeerl le code does not work , tray another time , I have a week trying to open it but it still closed
    i posed the problem to technical support but i have not get any answors
    can you help me

    Hi,
    Seems this question is that you closed your Microsoft Account by mistake but now you can't cancel the action.
    Please note we provide support for Excel in the current forum, this question is beyond the scope. I think you can get this issue resolved with the help from this link below:
    http://windows.microsoft.com/en-us/windows-live/id-support
    I hope this will help.
    Regards,
    Melon Chen
    TechNet Community Support

  • Jsp code not working

    hello
    we have some class files that are in a zip file that the nw admin has included in the CLASSPATH.
    The code works on Windows w/Tomcat but not the remote Sun Web Server, we cannot get the connection to database due to the code not reading the class files.
    Has anyone come up against anything of this nature. Any thoughts are appreciated.

    yeah we're not getting the str replace error any more - heres index.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ include file="admin/include/db.jsp" %>
    <html>
    <head>
    <title>Toshiba Industrial Systems</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="common/css/master.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" language="Javascript" src="common/js/master.js"></script>
    <script>
    var strBCLink1 = "placeholder.html";
    var strBCLink2 = "index_oc.jsp";
    var strBCLink3 = "prod_100.jsp";
    var strBCText1 = "Industrial Systems";  
    var strBCText2 = "Uninterruptible Power Systems";
    var strBCText3 = "1000 Series";
    </script>
    <script language="JavaScript" type="text/JavaScript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <style type="text/css">
    </style>
    </head>
    <body>
    <table height="100%" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="87">
    <%@ include file="_header.jsp" %>
    </td>
    </tr>
    <tr>
    <td align="left" class="backGlobalNav" valign="top" height="21" >
    <%@ include file="_nav_global.jsp" %>
    </td>
    </tr>
    <tr>
    <td align="left" valign="top" height="23">
    <%@ include file="_breadcrumb.jsp" %>
    </td>
    </tr>
    <tr>
    <td align="left" valign="top">
    <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="160">
    <%@ include file="_nav_side_ups.jsp" %>
    </td>
    <td width="8" align="center" valign="middle"><img src="common/images/spacer.gif" alt="" width="1" height="1"></td>
    <td width="605" align="left" valign="top">
              <TABLE cellSpacing=0 cellPadding=0 width="100%"
    border=0>
    <TBODY>
                   <tr><td height="5"></td></tr>
                        <%
                        if(((request.getParameter("id3")==null))){
                        %>
    <TR>
    <TD width=605 align="left" valign="top">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="605" height="250">
    <param name="movie" value="admin/index_images/index.swf">
    <param name="quality" value="high">
    <embed src="admin/index_images/index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="605" height="250"></embed></object>                                        
                        </TD>
    </TR>
                        <%}
                        else{
                        str1="";
                        Statement smt4l = conn.createStatement();
                        str1 ="select * from tbl_item where int_parent_id=" + request.getParameter("id3");
                        ResultSet rs_4l=smt4l.executeQuery(str1);
                        %>
    <TR>
    <TD width=605 align="left" height="250" valign="middle" bgcolor="#F0F0F0">
                             <table border="0" width="100%">
                                  <%while (rs_4l.next()){ %>
                                  <tr>
                                       <td>
                                            <a href="./<%=rs_4l.getString(str_link")%">?id1=<%=request.getParameter("id1")%>&id2=<%=request.getParameter("id2")%>&id3=<%=request.getParameter("id3")%>&id4=<%=rs_4l.getInt("int_item_id")%>" class="nav2ndOff">
                                            <%=rs_4l.getString("str_title")%>
                                            </a>
                                       </td>
                                  </tr>
                                  <%}%>
                             </table>
                        </TD>
    </TR>
                        <%
                        }%>
    <TR>
    <TD vAlign=top align=left></TD>
    </TR>
    <TR>
    <TD vAlign=top align=left height=5><IMG height=1
    alt=""
    src="Hard Drives & Optical Drives_files/spacer.gif"
    width=1></TD>
    </TR>
    <TR>
    <TD vAlign=top align=left> <TABLE cellSpacing=0 cellPadding=0 border=0>
    <TBODY>
    <TR>
    <TD vAlign=top align=left> <TABLE cellSpacing=0 cellPadding=0 width=605
    border=0>
    <TBODY>
    <TR>
    <TD class=backGrayMed height=17 align="left" valign="middle"><SPAN
    class=contentBoxOC> Featured Products</SPAN> </TD>
    <TD class=backWhite width=1><IMG height=1 alt=""
    src="Hard Drives & Optical Drives_files/spacer.gif"
    width=1></TD>
    <TD class=backGrayMed align="left" valign="middle"><SPAN
    class=contentBoxOC> News</SPAN></TD>
    </TR>
    <TR>
    <TD vAlign=top align=left width=399><IMG
    height=1 alt=""
    src="Hard Drives & Optical Drives_files/spacer.gif"
    width=1></TD>
    <TD class=backGrayLight vAlign=top align=left
    width=1 rowSpan=2><IMG height=1 alt=""
    src="Hard Drives & Optical Drives_files/spacer.gif"
    width=1></TD>
    <TD vAlign=top align=left width=200 height=10>
    <!-- LiveEdit marker DO NOT REMOVE -->
    <IMG
    height=1 alt=""
    src="Hard Drives & Optical Drives_files/spacer.gif"
    width=1></TD>
    </TR>
    <TR>
    <TD vAlign=top align=left><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td height="237" align="left" valign="top">
    <table width="405" border="0" cellspacing="0" cellpadding="0">
    <!---->
                                                           <!---->
    <%
                                                                Statement smt_featured = conn.createStatement() ;
                                                                ResultSet rs_featured=smt_featured.executeQuery("select * from tbl_item where int_parent_id= 0 and bit_featured=1");
                                                           %>
    <tr>
    <%
                                                           int i=0;
                                                           while(rs_featured.next()){
                                                           i++;
                                                           Statement smt_featured1 = conn.createStatement() ;
                                                           ResultSet rs_featured1=smt_featured1.executeQuery("select * from tbl_item where int_item_id= "+rs_featured.getInt("int_item_id"));
                                                           rs_featured1.next();
                                                           %>
    <td width="1"></td>
    <td width="190" height="190" align="left" valign="top" style="cursor:hand">
    <table width="100%" height="190" border="0" background="common/images/featured/back_box.gif" cellpadding="0" cellspacing="0">
                                                                <a href="<%=rs_featured1.getString("str_link")%>?<%=current_url_paramenters%>&<%=next_url_paramenter%>=<%=rs_featured.getInt("int_item_id")%>">
    <tr>
    <td height="18" colspan="2" align="left" valign="bottom" class="headerMainProdFeature">
                                                                     <a href="<%=rs_featured1.getString("str_link")%>?<%=current_url_paramenters%>&<%=next_url_paramenter%>=<%=rs_featured.getInt("int_item_id")%>" class="headerMainProdFeature" >
                                                                     <%
                                                                     if((rs_featured.getString("str_title").length() )>20){
                                                                          out.print(rs_featured.getString("str_title").substring(0,20));
                                                                     else{
                                                                          out.print(rs_featured.getString("str_title"));
                                                                     %>
                                                                     </td>
    </tr></a>
    </a>
                                                                <a href="<%=rs_featured1.getString("str_link")%>?<%=current_url_paramenters%>&<%=next_url_paramenter%>=<%=rs_featured.getInt("int_item_id")%>">
    <tr>
    <td height="10" colspan="2" align="left" valign="bottom" ><a href="#" class="navfeat"><%=rs_featured.getString("str_subtitle")%></td></tr></a>
    </a>
                                                                <a href="<%=rs_featured1.getString("str_link")%>?<%=current_url_paramenters%>&<%=next_url_paramenter%>=<%=rs_featured.getInt("int_item_id")%>">
    <tr>
    <td height="94" colspan="2" align="center" valign="middle"><a href="<%=rs_featured1.getString("str_link")%>?<%=current_url_paramenters%>&<%=next_url_paramenter%>=<%=rs_featured.getInt("int_item_id")%>"><img src="admin/product_images/<%=rs_featured.getString("str_image")%>" border="0"></td></tr></a>
    </a>
                                                                <a href="<%=rs_featured1.getString("str_link")%>?<%=current_url_paramenters%>&<%=next_url_paramenter%>=<%=rs_featured.getInt("int_item_id")%>">
    <tr>
    <td width="100%" height="16" align="right" valign="middle"><img src="common/images/featured/arrow.gif" width="17" height="18">  </td>
    </tr></a>
    </table>
                                                                </td>
    <td width="9"></td>
    <%if((i%2)==0){%>
    </tr>
    <tr>
    <td height="9"></td>
    </tr>
    <tr>
    <%}
                                                                }%>
    <td></td>
    </tr>
    <tr>
    <td height="8"></td>
    </tr>
    <tr>
    <td height="8"></td>
    </tr>
    </table> </td>
    </tr>
    </table> </TD>
    <TD vAlign=top align=middle> <TABLE cellSpacing=0 cellPadding=0 width="95%"
    border=0>
    <TBODY>
    <%
                                                      Statement smt_news = conn.createStatement() ;
                                                      ResultSet rs_news=smt_news.executeQuery("select * from tbl_news where bit_active=1 and bit_featured=1");
                                                      while(rs_news.next()){
                                                      %>
    <TR>
    <TD vAlign=top align=center><IMG
    src="common/images/featured/82.gif" alt="" width="3" height="5"
    border=0></TD>
    <TD vAlign=top align=left> <A class="pr" href="./admin/news/<%=rs_news.getString("str_link")%>" target="_blank">
    <%=rs_news.getString("str_title")%>
    </A> </TD>
    </TR>
    <TR>
    <TD vAlign=top align=left><IMG height=1 alt=""
    src="Hard Drives & Optical Drives_files/spacer.gif"
    width=1></TD>
    <TD vAlign=top align=left height=6>
    <!-- LiveEdit marker DO NOT REMOVE -->
    <IMG
    height=1 alt=""
    src="Hard Drives & Optical Drives_files/spacer.gif"
    width=1></TD>
    </TR>
    <%}%>
    <TR>
    <TD vAlign=top
    align=left></TD>
    </TR>
    </TBODY>
    </TABLE></TD>
    </TR>
    </TBODY>
    </TABLE>
                                       </TD>
    </TR>
    </TBODY>
    </TABLE></TD>
    </TR>
    </TBODY>
    </TABLE></td>
    <td align="left" valign="top"> </td>
    </tr><tr>
    <td height="5" colspan="4"><img src="common/images/spacer.gif" width="1" height="1"></td>
    </tr>
    <tr>
    <td height="30" align="left" valign="top" colspan="4">
    <%@ include file="_footer.jsp" %>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </body>
    and here is db.jsp
    <%@ page import="com.oreilly.servlet.MultipartRequest,java.io.*;"%>
    <%!
    String nl2br(String str){
         str=blanknull(str);
         return str.replaceAll("\n", "<br>");
    String addslashes(String str){
         str = str.replaceAll("'", "''");
         return str;     
    String getExtention(String str){
         int pos = str.indexOf(".");
         return str.substring(pos,str.length());
    String getExtention1(String str){
         int pos = str.indexOf(".");
         return str.substring(pos+1,str.length());
    String convertFileSize(long size) {
         int divisor = 1;
         String unit = "b";
         if (size >= 1024 * 1024) {
              divisor = 1024 * 1024;
              unit = "M";
         else if (size >= 1024) {
              divisor = 1024;
              unit = "K";
         if (divisor == 1) return size / divisor + " " + unit;
         String aftercomma = "" + 100 * (size % divisor) / divisor;
         if (aftercomma.length() == 1) aftercomma = "0" + aftercomma;
         return size / divisor +  " " + unit;
    String highlight_key(String str, String key,String color){
         //str = str.replaceAll("(?i)"+key, "<font color='"+color+"'><b>"+key+"</b></font>");
         return str;
    String first_sentence(String str, String key){
         int pos = str.indexOf(".");
         if(pos==-1){
              pos=str.length();
              return str;
         String str1=str.substring(0,pos);
         int pos1 = str1.indexOf(key);
         if(pos1==-1 && pos!=str.length()){
              str=str.substring(pos+1,str.length());
              return first_sentence(str,key);
         else{
              return str1;
    String blanknull(String s) {
    return (s == null) ? "" : s;
    String removeslashes(String str){
         str = str.replaceAll("''", "'");
         return str;     
    void sendmail(String to,String from, String subject, String message){
    //String from="[email protected]";
    //String to="[email protected]";
    try{
         SmtpClient client = new SmtpClient("mail.xxxxx.xxx");
         client.from(from);
         client.to(to);
         PrintStream message = client.startMessage();
         message.println("To: " + to);
         message.println("Subject:  "+subject+"!");
         message.println(message);
         message.println();
         message.println();
         client.closeServer();
      catch (IOException e){     
         System.out.println("ERROR SENDING EMAIL:"+e);
    %>
    <%
    Connection conn = null;
    //String dbUrl = new String("jdbc:mysql://localhost/toshiba?user=root&password=");
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    conn = DriverManager.getConnection("jdbc:oracle:thin:@10.0.112.92:1524:cweb","mhunter","chester");
    Statement smt = conn.createStatement() ;
    String path=getServletConfig().getServletContext().getRealPath("admin");
    String imagepath=path+"/product_images";
    String tagpath=path+"/tag_files";
    String newspath=path+"/news";
    String envpath=path+"/env_images";
    String resumepath=path+"/resume_files";
    String pagepath=path+"/pages_files";
    String downloadpath=path+"/download_files";
    %></a>

  • JQuery Code Not Working (Positioning Nav at a fixed point)?

    Hello So lets just cut to the cace,
    This code does work outside of Edge but doesn't work in edge. . . .
    $(window).bind('scroll', function () {
            sym.$("arroworb").addClass('fixed');
    The Object i want to keep in its place at all times even if the scroll bar is moved has the div ID of arroworb. . .
    I have no Idea what i am doing wrong but yeah the code does work it just doesn't when put into Edge
    My guess would be the window or blind has something to do with it not working but I have no idea how to fix this,
    Any idea's?
    Thanks In Advance!

    Here is a small example, using animate, as Joe mentions.
    In Stage > compostionReady
    $(window).scroll(function(){
           var element = sym.$("arroworb");
           element.stop()
      .animate({"marginTop": ($(window).scrollTop() + 30) + "px"}, "slow" );
    View here http://www.heathrowe.com/edge/scroll_with_page/
    Download here http://www.heathrowe.com/edge/scroll_with_page/scrollwithpage.zip
    hth
    Darrell

  • SQL Code not working in Forms Developer?

    Hi all,
    I'm using Oracle 10g and I have th following code running on iSQL+ but not working on Forms and I got the following erro
    The SQL code:
         select returningreason
            from (
                     select returningreason,
                     dense_rank() over (partition by 1 order by count(*) desc) as drnk
                     from returned_goods
                     group by returningreason)
           where drnk = 1;And the error happens near the word over to the right and the error statement is:
    Error 103 at line 18, column 19
       Encountered the symbol "(" when expecting one of the following:
             , formThanks in advance :)

    Triggers are compiled in forms so need to use only the features available to forms, which doesn't include all the new stuff in the database.
    select over partition
    NVL2They don't work in forms and reports too.
    Also if you use them in record Group
    Forms/SQL Compiler was not lined up to the database(10G).
    Meanwhile,for example. Pipelined TABLE and relative Select work in Reports AND Forms.

  • URGENT NEED OF HELP!! Gift code not working!

    Hi everyone, I have a flight tomorrow and I wanted to make sure I was set in terms of music. Since I am from Hong Kong, I bought a 3 Month Spotify Premium card from 7-11 and tried to redeem it the day after. Not only was the actually spotify.com site not working for me (repeatedly telling me that there was a "502 Bad Gateway" error), but when I tried to redeem it via phone, it told me multiple times that the code was not valid or that there was an error and I should try again (and I did, several times). I also found another code on the receipt that gave me the same answer.  Is there no phone number to contact Spotify at? Is this normal? How can I securely redeem this code? Please answer ASAP as I'm in a rush for tomorrow and very, very frustrated... 

    Please read this:
    https://community.spotify.com/t5/Ongoing-Issues/Gift-cards-starting-with-INC-aren-t-redeeming/idi-p/1161146#M6584

  • Java Script Code not working properly for visios in sharepoint 2013

    Hi all ,
                 I have few visios and I am using the visio web part to display and to redirect from one visio to other visio I am using the java script code through content editor web part . 
    In share point 2010 it's working fine , I was able to redirect to all the visios and code is working fine .
    In share point 2013 its not the same , Its not working properly . only for the first time the code is working fine . once it goes to next visio the code stops working . 
    For example if i click in visio A it gets redirect to Visio B and its stops working , it wont allow to do any other steps . 
    I have checked with the URL its correct , I am not able to find any error also .
    Indresh

    This will be likely caused by the Minimal Download Strategy not registering the Javascript on the page reload. You can turn off the MDS feature to test this.
    You can either turn off MDS in your site, or register your Javascript functions with MDS to ensure they are called. To do this, you'll need all of your code to be wrapped in a javascript file (Embed this on the page using a <script> tag and
    inside that file in a function, which you then register with MDS as follows (I usually do this in the first line of the javascript file):-
    RegisterModuleInit("/SiteAssets/YourJavaScriptFile.js", NameOfYourFunction);
    Regards
    Paul.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • ALERT code not working, need help.

    Hello Everyone,
         i'm working in forms 10.1.2.0.2 and i have written some code to call an Alert when the user puts in an invalid number, however, the alert isn't poping up and the cursor will not move out of the field.  This is on a post-text script.
    basic:
    declare
      al_button number;
    al_id alert;
    begin
    i select 3 columns from a table based on input by the user.
    if the input is valid, then the form is populated.  This works no problem.
    however, when the following is not true, the cursor will not leave the field, but the alert will not pop up either.
    if v_nsn = nvl(t_rnsn, 0), then
    select the values and put them in the form.
    else  -- this is not working
    al_id := find_alert ('BAD_NSN_ALERT34');
    if Id_null(al_id) then
    message ('THE ALERT NAMED BAD_NSN_ALERT34 DOES NOT EXIST');
    RAISE FORM_TRIGGER_FAILURE;
    else
    al_button := SHOW_ALERT(al_id);
    if al_button = alert_button1 then
         ...DO SOMETHING;
    else al_button := show_alert (al_id);
    if al_button = alert_button2 then
    do something;
    end if;
    end if;
    end if;
    end if;
    end;

    Why are you using a Post-Text-Item trigger instead of a When-Validate-Item trigger?  How is your user leaving the field that this trigger is attached to?  If the user is mouse-clicking to leave the field - the Post-Text-Item trigger will not fire.  Take a look at the "Post-Text-Item trigger Restrictions" listed in the Forms Help system for this and other restrictions on using the Post-Text-Item trigger.
    Craig...

Maybe you are looking for

  • Problem in moving the child windows ie properties, Document, server navigat

    Hello, For better navigation and edit the values of Property window, you may need to move or resize size the window.This gives lot of proplem when you move or resize and taking your time more and will definely give irritation to developers. One of th

  • Problem with 7.4 Install

    After originally having trouble with the installer needing to find "itunes.msi", I've deleted all files relating to Itunes from the computer, however when i run the itunes installer, it runs, and then immediately finishes saying "the installer encoun

  • T61p squeaky noise

    model 6457-7XG I hear squeaky noise when working on graphic intense programs ... like a autocad (some operations) ... or quest 3D(all the time) plus also I had issues with graphic to stop working .... like you mentioned ... MIGR-72482 but I am workin

  • My 3Gs wont sync Music from iTunes even after "restoring" phone

    Whilst going through the Syncing steps it gets so far into the Music backup then just quits and closes down. Aaaaaaaaarrrrgghh

  • From G4 to Intel

    Just got a new 20" iMAC (intel core 2 duo). It replaced an iMAC G4 (15". 800 Mhz). My question may seem dumb but will the same applications run on the new machine? Specifically, Final Cut Express (got it quite awhile back and put it on the G4), also