I am working on an MVC site using NHaml for the view engine.
I have a page that needs to submit HTML code as a form value and am getting the System.Web.HttpRequestValidationException thrown at me.
I want to specify the <%@ Page validateRequest="false" % so that this page will allow this data to be submitted but am unsure on how to do this with NHaml generating the pages.
When I go to our web site through HTTPS mode, Chome is reporting an error saying that the page contains secure and not secure items. However, I used Firebug, Fiddler, and HttpDebuggerPro, all which are telling me that everything is going through HTTPS. Is this a bug in Chrome?
Sorry but I'm unable to give out the actual URL.
Apache lets you set php.ini values for virtual hosts with the php_value directive.
Does nginx have something similar? Is there another way to set the include_path on a per-site basis?
Hello all,
i need to integrate modules that are developed in separate win form application.Application can run and test individual and in the integrated.i required to create a set up and deploy at client site.My two biggest challenges are keep assemblies in one place and reference them in application.
I tried to follow PHP.net curl site and even this link: http://curl.phptrack.com/forum/viewtopic.php?t=52
and try to install the CURL in my window laptop. It doesn't work.. CURL is not installed.
I wonder do I need to run it on windows server...
Anyone has good sites guiding me how to install CURL? thanks.
I'm amiliar with BlogEngine.NET but I plan on creating a site using ASP.NET MVC and I don't think it will fit with BlogEngine.NET.
If I'm wrong about that, let me knwo. I don't plan on just having blog.example.com. The blogengine will act like a CMS.
Any ideas, hints, etc... are greatly appreciated.
Thanks!
Hi,
I am getting the document of particular document library of a site in C#.
I want to check whether the file in check in mode or in checkout mode . how can i do that. can any one help me?
My application running on google app engine, so can not use File. I want to save a pdf file on other site to google drive, but get a IllegalArgumentException
file.setMimeType("application/pdf");
mediaContent = new InputStreamContent(file.getMimeType(),
url.openStream());
try {
File result = getDrive().files().insert(file, mediaContent)
.execute();
return result.getId();
} catch (Exception e) {
e.printStackTrace();
}
Thanks
Having a problem in Eclipse with regards to an XML file. Eclipse complains that android:scrollbars and android:fadingEdge do not allow Strings. I checked the Android developer site and they do in fact accept strings in the xml file. A related question posed had the problem where there was a missing :android after xmlns. As you can see from the code the line beginning with xmlns is correct I believe. Here is the complete file contents:
I followed the instructions here
http://support.microsoft.com/kb/825532
After that when I preview my page, I can't see the hitcounter. I learned that it may be related to permissions of the site but I couldn't find how to do it.
Is it realy related to permissions ? If so what should I do to ? And any external solution (except this one: http://hitcounter.codeplex.com/) would help, the one in pharanthesis, I couldn't make it work.
I need to be able to load web pages from different sites within a page on my site. I am using C# .NET and master pages. Within the content page, I want to be able to load an arbitrary page and display it without any of the browser controls appearing - just the page content.
I need to be able to find the IP address of the server the page is currently executing on. I have some code that calls a third party site and has to pass a specific key that changes depending on which server it is on. Is there a CGI variable or some way in ColdFusion to determine what the IP address is of the host server?
I want to use Ninject to use in a non MVC ASP.NET 3.5 web application.
Can someone write please what do I need to download from ninject home site and what steps I need to take (what ddls I need to reference etc.)? I also want to use Moq objects.
Hello,
I am trying to make a dropdown menu with pure html and css, but the submenus disappear when the cursor leaves the parent li, thus preventing me from clicking on the submenu. Here is a link to the test site, link text
I would really appreciate some help.
Roland A.
Hi everybody, i'm testing my website and is waorking fine on every browser, except for the iphone browser (i think it's safari mobile?) that renders a piece of text with a bigger font that the rest. I've checked the CSS by hands and using firebug on the page and i can confirm i've put the same size to all of them. How do i fix this?
You can check the site on www.ilsegnale.it/?tpl=502
The piece of text i'm talking about it the one under "approfondimento" box
Is there a way to cache widgets. For example if you place your widgets on high volume websites then each time when someone access that site, a call will be made to your server to get the widget code. This way my server can get too much overloaded just to display the widget . Can I cache the widget HTML code and place it on some server like Akamai. Any suggestions or tips highly appreciated.
Thanks in advance.
I'm interested in the nuts and boltw of C++ and I wondered what actually changes when an object is instantiated. I'm particularly interested if the functions are then added to memory, if they are there from runtime or if they are never stored in memory at all.
If anyone could direct me to a good site on some of the core bolts of C and C++, I'd love that too.
Thanks,
Jo
This is the site which has a problem
http://www.clubforeducation.com/
Top menu will change its color at mouse over. All browsers except chrome and Safari. Is it a Webkit bug. If that how can i solve this?
I know my SQL safety isn't up to par. I've read on this site that PHP PDO would be a good first step, and while I did take a look at the PDO Manual it's a bit daunting. Is there somewhere I can find a tutorial on the basics of using PDO rather then straight MySQL calls?
I'm building a user content parser and am adding an automatic link parser. I'm adding a dialogue, that confirms that the user wants to go to the particular site being linked to. This is for two reasons. Anti phishing and spam combating. However I want to be able to disable both the dialogue and nofollow additions with commonly used websites, so I'm building a whitelist. Are there any common whitelists about or should I start building one from scratch?
I'm in the middle of developing an e-commerce site that is using Paypal as it's payment gateway. All I want to do is run some code before the user heads off to Paypal, but I have no idea how to do it. Eg:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult GoToPaypal(FormCollection collection)
{
//do what I want to do
//go to paypal
}
Can you do this? Example HTML and C# would be lovely :)
My site stops working when I drop a new DLL in the bin of my virtual directory. It took to much time to work properly again. Sometimes I have to reset the IIS. Its happening since I upgraded my .Net framework from 1.1 to 3.1
Hi all, There is a problem when I used the pylibmc. When I "import pylibmc", then I'll get some error following:
ImportError: /usr/local/python2.6/lib/python2.6/site-packages/_pylibmc.so: undefined symbol: memcached_server_list.
My enviroment are Python 2.6.5, libmemcached 0.39, memcached 1.4.5
So, how can I solve it?
Thanks very much.