Web Development

73K

Solutions

48K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have a stored procedure that updates a record.
I need to add code so that it only runs IF the parameter passed has a value

The parameter is:  request.querystring("marriageidspouse")

If the parameter does existing run the SP code, something like:

IF request.querystring("marriageidspouse") <> NULL THEN 

MY CODE

END IF

Open in new window


What would the correct syntax be?

Sometimes the part of the URL passes no value like:  marriageidspouse=

I am using classic ASP
0
Hire Technology Freelancers with Gigs
LVL 10
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

I have a compromised joomla 1.5.26 website that needs to be upgraded to joomla 3.x.x.  
The problem is the template was taken from the Artisteer website, with no indication of
the name/number of the template.... I can use something like migrateme for the upgrade to
joomla 3.x.x, however, how do I upgrade the template to be compatible with joomla 3.x.x.  
Is it possible to manually upgrade the template, so that it 'looks' the same as the website does now?
0
We have a script that opens a pop up window, the pop up shows the URL which includes certain parameters.
Is there a way to hide the URL bar in a pop up window?   I am using ASP Classic
0
Hi, I need a link checker. I'm using Inspyder Insight, but it gives me a phone number link that's on every page, and a few other pages that I don't need. I know I can exclude urls, but I don't want to exclude it from searching pages, I want to exclude it from seeing and reporting certain links.

So Ideally, if I could get a link checking tool where I can say: If the anchor text is a number or contains these characters, don't report it.

Anything like that out there? Thanks.
0
I am trying to understand this article:

http://www.codemag.com/article/1705021

and how they fulfill the WebAPI mentioned under the heading:

"Create Web API"

I see they stat with an empty C# Controller, but can not find what exactly they mean by WebAPI.

I am not understanding what is meant by the term.

Please explain.

Thanks
0
My website was hacked. What should I do?
0
On this page: http://ruback-jewelry-sale.wizewebz.com/ if you click "RSVP" button a modal opens.  In Chrome and Safari the placeholders show up and if you type in the boxes you see your black text input.  

But in FireFox for some reason the placeholders are not showing and if I type in the input boxes the text does not appear.

Any ideas on the cross browser issue?
0
What are the least expensive internet domain registration services?

I have a couple domain names I am interested in registering internet domain names and am looking for the least expensive way of doing this.
0
So I allowed one of my website domains to lapse into inactive status. It is now in the "redemption period" and I've changed my mind about letting it go; I'd like to keep it. It will cost me nearly $100 to get it out of redemption though. So, if I just let it completely expire, I might be able to pick it back up for cheap (if I'm quick about picking it up early on the day that it's made available to everyone else). How will I know which day that is (I tried "whois.com" but could only find the dates of Registration and Expiration - and the expiration date was some time ago). Also, Whois.com still shows me as the owner.

Any other advise, about my attempting to do this, would be greatly appreciated.

Thanks in advance.
0
I have a file management app that I can upload smaller files to the server with no problem. I tried to upload a 45MB and I get the following error. Those numbers don't even add up. How can I resolve this?

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 94601573 bytes) in /home/glennstewart7/public_html/fm2/dirlist.php on line 202

The memory_limit is set to 120M
The Max Upload and Post size is set to 120
Max_Input time is -1 which  means no limit.
0
Free Tool: Site Down Detector
LVL 10
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hello. I have a form.  On that form, I have some radiobutton lists.  On some of those list for example, if you choose no then a text box will display asking why you chose no.  But for some reason when you move to the next question and make another choice and another text box appears the previous one disappears.  I'm assuming it is because I have  autopostback=true on the lists. But if I take that out, nothing happens on the OnSelectedIndexChaged attribute of the list.   Here is the code:

Here is the radiobuttonlist where you can see where I call the function to make the panel visible and the autopostback is set to true. And I also have a validator on it to make the user choose something:
"<asp:RadioButtonList ID="rblConcernsAbtBehavior" runat="server" OnSelectedIndexChanged="rblConcernsAbtBehavior_SelectedIndexChanged" AutoPostBack="true">
                       <asp:ListItem>Yes</asp:ListItem>
                       <asp:ListItem>No</asp:ListItem>
                   </asp:RadioButtonList>
                    <asp:RequiredFieldValidator ID="concernsAbtBehaviorValidator" runat="server"
                                           ErrorMessage="Please choose one" Display="Dynamic"
                                           ControlToValidate="rblSeekingTreatmentAnotherDisability"></asp:RequiredFieldValidator>


Then I create panels for the textboxes that appear based on your choice.  Here is the panel
" <asp:Panel ID="pnlConcernsAbtBehavior" runat="server">
      …
0
Hi.

I have a part of my code which is giving me a syntax error:

if Session("invalidBlobID") = "y" then
    Session("invalidBlobID") = ""
    Response.Redirect "forms_error.asp?caseid=(rs_case.Fields.Item("id").Value)"
end if

Open in new window


I am trying to redirect but the above gives me a syntax error. What is the correct syntax?
0
With this in mind, you need to go out of your way to find the best web design that perfectly suits your website. It should perfectly suit your business and must thus be tailored to your needs.
0
I have a Stored Procedure (MS SQL 2012) that returns many recordsets.

It has 4 parameters but many select statements. When I execute it, the results look like the attached screenshot.

I am trying to make one call to the stored procedure, instead of having to create one SP for each select statement and call them separately.

Is this possible?  I am using classic ASP.

The problem I have right now is that if I only call the SP once with the parameters I don't know how to create a recordset of each one of those select statements, is this possible? If so how?

This is my ASP code at this time, what I usually use for one recordset only with one select statement in my SP:

<%

Dim sp_countries__userid
sp_countries__userid = ""
if(request.querystring("userid")  <> "") then sp_countries__userid = request.querystring("userid") 

Dim sp_countries__caseid
sp_countries__caseid = ""
if(request.querystring("caseid")  <> "") then sp_countries__caseid = request.querystring("caseid") 

Dim sp_countries__firmid
sp_countries__firmid = ""
if(session("firmid")  <> "") then sp_countries__firmid = session("firmid") 

Dim sp_countries__petitionerid
sp_countries__petitionerid = ""
if(request.querystring("petitionerid")  <> "") then sp_countries__petitionerid = request.querystring("petitionerid") 

Dim sp_countries__attyid
sp_countries__attyid = ""
if(session("userid")  <> "") then sp_countries__attyid = session("userid") 


%>
<%

set sp_countries = 

Open in new window

0
I am trying to move a website to a new Linux server.  The Server has Apache httpd service running.  I have unzipped the home directory of the site to its original folder which is /home/user1/www.websitename.com/web/httpdocs.  The files are below this.  I am not able to browse to the website when I connect to the folder.  How can I get this to work?
0
Hi,

Does tomcat expands war file if already extracted, if we start tomcat again? Say there is war file which is already extracted and we manually  updated some file,will they be overwritten?

Thanks!
0
what web site allow me to publish shorten link???? to earn money from my short link ....i need some web site allow publish ???
allow shorten links from ( cut url , adf)............
0
HI,
I have tried almost everything on the Internet, I am not sure what am still missing.
PC: Windows 10
Router: Port forward enabled with UnPnP

The webserver is a Datasnap REST webserver, (might be irrelevant), hosted with IIS on windows 10 PC, and its accessible to localhost as well as different computer on same network, However its failed to get connect to when accessible via public ip:port  even on same pc.
Tested the port which is listening correctly. I put firewall and Antivirus off for the test.

Please help.

Thanks and Regards,
Vijesh
0
Hi,
We need to check the download and upload speed of the application,we need to display two icon wherein user can check its download speed & upload speed of the internet.
0
[Webinar] Lessons on Recovering from Petya
LVL 10
[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

I'd like to use jQuery input mask to do this if possible. I'd like to limit a text box to only allow letters and dashes, and deny all other characters and numbers. Can anyone assist?
0
Hi, if anyone knows about smartcloud, SCAPM technology, please help me
0
I work for a organization with a large website. I have been asked to provide the following stats from 2016 about the website:

  • total number of web pages on our website
  • total number of page linked to a newsletter

Regarding bullet number two: A friend suggested that I use Campaigns to track pages being linked to newsletters, which I assume would mean creating a different campaign for every newsletter link. I can do that going forward in 2018, but that doesn't help me find the stats for 2016.


Can I retrieve the 2016 stats for both bullets from GA and how would I do so? If it can not be retrieved from GA, please offer suggestions on how I may find this information.
0
Is there a way to find out who owns a domain even if they have domain Privacy added to their site?
0
I have a web site with one single page I would like to handle without the extension showing.

Right now... I am appending an encrypted string to the end

http://members.mywebsite.com/LandingPage.aspx?/ABCDEF

Works fine

I would like to remove the .aspx? so that I have
http://members.mywebsite.com/LandingPage/ABCDEF

The final string ABCDEF gets decrypted on that page.

Any suggestions?

It is a .Net VB Web Page
0
Is this the best way of redirecting pages (permanent 301 redirects) from the old location of the domain to a new site (same domain) within  ASP.NET MVC using c# or should i be creating list within a controller?

 <system.webServer>
   

    <rewrite>
      <rules>
        <rule name="Name of page" stopProcessing="true">
          <match url="^Consultants.cshtml$" />
          <action type="Redirect" url="/Home/About" />
        </rule>
        <rule name="New rule" stopProcessing="true">
          <match url="^Consultants.cshtml$" />
          <action type="Redirect" url="/Home/About" />


        </rule>
      </rules>
    </rewrite>
  </system.webServer>

Open in new window

0

Web Development

73K

Solutions

48K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.