<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Udvikleren.dk - Seneste [web10] forum tråde</title>
    <description>De seneste forum tråde i [web10] på Udvikleren.dk</description>
    <link>http://www.udvikleren.dk/</link>
    <pubDate>Wed, 29 Apr 2026 03:01:17 GMT</pubDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Udvikleren.dk RSS Feeder</generator>
    <ttl>60</ttl>
    <item>
      <title>Få hjemmesiden til at vise php</title>
      <description>Hej Udviklere&lt;br /&gt;&lt;br /&gt;Jeg har de sidste dage siddet og forsøgt at programmere et simpelt login system til min hjemmeside. Til det har jeg brugt guiden phpskolen på youtube, som er en ganske fin guide til mit niveau, men nu kommer problemet så.&lt;br /&gt;&lt;br /&gt;Når jeg forsøger at åbne mine php sider skriver browseren:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;The page cannot be displayed&lt;br /&gt;&lt;br /&gt;The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.&lt;br /&gt;Please try the following:&lt;br /&gt;&lt;br /&gt;Contact the Web site administrator if you believe that this request should be allowed.&lt;br /&gt;Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.&lt;br /&gt;HTTP Error 405 - The HTTP verb used to access this page is not allowed.&lt;br /&gt;Internet Information Services (IIS)&lt;br /&gt;&lt;br /&gt;Technical Information (for support personnel)&lt;br /&gt;&lt;br /&gt;Go to Microsoft Product Support Services and perform a title search for the words HTTP and 405.&lt;br /&gt;Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Setting Application Mappings, Securing Your Site with Web Site Permissions, and About Custom Error Messages.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Den kan fint vise html sider. Hvordan løser man det? Skal php aktiveres på mit webhotel(Web10)?&lt;br /&gt;&lt;br /&gt;Håber der er en af jer eksperter på området der kender løsningen på dette problem.&lt;br /&gt;&lt;br /&gt;/AndersSejersen</description>
      <link>http://www.udvikleren.dk/forum/38922/faa-hjemmesiden-til-at-vise-php/</link>
      <pubDate>Sun, 07 Oct 2012 10:58:09 GMT</pubDate>
    </item>
    <item>
      <title>Send mail med .NET</title>
      <description>Hej,&lt;br /&gt;&lt;br /&gt;Jeg har et webhotel hos web10.dk, og jeg forsøger at sende en mail. Det skal foregå sådan, at man trykker på en knap hvorpå der står 'Send mail', og så skal C#-delen, som i øvrigt er back-end, altså i en .cs-fil for sig, sørge for.&lt;br /&gt;&lt;br /&gt;Dette er koden til at sende mailen:&lt;br /&gt;&lt;br /&gt;&lt;div class="codeboxheader" id="code_1306026910" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_1306026910_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;CSharp kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_1306026910code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; OnSendMailClick(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;object&lt;/span&gt;&lt;span style="color: #000000;"&gt; sender, EventArgs e)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;{&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    System.Net.Mail.SmtpClient smtp &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; System.Net.Mail.SmtpClient(&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;smtp.m99.dk&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;25&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    smtp.Send(&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;afsenders mail&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;modtagers mail&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;Hej min ven&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;lt;b&amp;gt;Hej&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;&amp;lt;font color=red&amp;gt;Thomas&amp;lt;/font&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;p&amp;gt;Dette er en test...&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    );&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Når jeg trykker på Send mail-knappen (som er en &amp;lt;asp&lt;img src="/images/smileys/cool.gif" alt=":B" title=":B" /&gt;utton&amp;gt; og ja, den har en OnClick="OnSendMailClick"), så får jeg den klassiske asp.net-fejlside at se. Meddelelsen denne gang er:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Unable to read data from the transport connection: net_io_connectionclosed.&lt;br /&gt;&lt;br /&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details: System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.&lt;br /&gt;&lt;br /&gt;Source Error: &lt;br /&gt;&lt;br /&gt;The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:&lt;br /&gt;&lt;br /&gt;1. Add a "Debug=true" directive at the top of the file that generated the error. Example:&lt;br /&gt;&lt;br /&gt;  &amp;lt;%@ Page Language="C#" Debug="true" %&amp;gt;&lt;br /&gt;&lt;br /&gt;or:&lt;br /&gt;&lt;br /&gt;2) Add the following section to the configuration file of your application:&lt;br /&gt;&lt;br /&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;   &amp;lt;system.web&amp;gt;&lt;br /&gt;       &amp;lt;compilation debug="true"/&amp;gt;&lt;br /&gt;   &amp;lt;/system.web&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;&lt;br /&gt;Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.&lt;br /&gt;&lt;br /&gt;Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.</description>
      <link>http://www.udvikleren.dk/forum/37125/send-mail-med-.net/</link>
      <pubDate>Sun, 04 Mar 2012 13:06:35 GMT</pubDate>
    </item>
  </channel>
</rss>