Jump to content

aspnetguy

Members
  • Posts

    6,787
  • Joined

  • Last visited

Everything posted by aspnetguy

  1. I would prefer something like this<?php if (isset($you) && $you == "spammer") { $me->financialRuin($you); } ?>
  2. I will. It will be a while because I have to throw together a protfolio first
  3. aspnetguy

    PAGE protection

    can you be more specific? What parts of the page do you want to protect? Images? Scripts?
  4. Well make sure you have an online portfolio first.
  5. I just got a response. They want a portfolio. Mine is not online and is so outdated.
  6. thanks, I search their site and couldn't find a sign up for designers so I sent them an email.
  7. Does anyone know of template websites that buy templates from designers?
  8. your host has no control over javascript. It runs in your users browser when the page loads. everything there looks fine. There must be an issue in the source code.
  9. nope not having that problem. I did however have a problem with the friends popup. it just wouldn't open. I closed my browser and started again and it was fine.
  10. ADO is just how ASP connects to databases...ADO.Net is the samething except for .Net, here it is http://www.w3schools.com/aspnet/aspnet_dbconnection.asp
  11. guess that'll depend on how often you edit your posts or we (mods) HAVE to edit your posts :)
  12. It's not likely, as said many times before this is only for Web languages. Maybe if we got a motivated JSP (Java Server Pages) member they would consider making a forum. Sorta like they did with Coldfusion for Skemcin
  13. It's a good thing you are the Modfather or I would have no respect for you either...well maybe fear not respect...
  14. aspnetguy

    C#

    read this http://www.25hoursaday.com/CsharpVsJava.htmlnote the conclusionNote that is was written in 2001 however. Things have chaged alot since C# 1.0 and I haven't done any Java programming since 2004, so I can't say how similar they are now, but I am sure a lot is still the same.
  15. no it doesn't matter at all. As long as the problems get solved and we can promote W3Schools.
  16. almost <script type="text/javascript">var r = "Arial"document.getElementById('text').style.fontFamily=r</script> in DOM you scrap the hyphen (-) and use camel case words
  17. aspnetguy

    C#

    Here is a simple application in ASP.Net using C#. You can see a live demo here http://dev.aspnetguy.com/dev/blog/Default.aspxDefault.aspx <%@ Page Language="C#" CodeFile="Default.aspx.cs" Inherits="BlogNet._Default" %><?xml version="1.0" encoding="ISO-8859-1"?><!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" xml:lang="en" lang="en"> <body> <form id="form1" runat="server"> Enter your name: <asp:TextBox ID="nameTextBox" runat="server" /><br /> <asp:Button ID="enterButton" runat="server" Text="Enter" OnClick="enterButton_Click" /> <br /> <asp:Label ID="messageLabel" runat="server" /> </form> </body></html> Default.aspx.cs using System;using System.Web;using System.Web.UI;using System.Web.UI.WebControls; namespace BlogNet{ public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { } protected void enterButton_Click(object sender, EventArgs e) { messageLabel.Text = "Hello " + nameTextBox.Text + "!"; } }}
  18. aspnetguy

    C#

    Trying to explain why in ASP and ASP.Net you can use other languages is tough but it really isn't that hard. Read a few tutorial sites csharpfriends.com, csharpcorner.com
  19. did you uncomment the call tot eh mysql library in php.ini? You have to restart apache after you do also. You also have to set the extention_dir to point to the php libraries (usually C:\PHP\ext on windows)
  20. aspnetguy

    Parsing XML

    this tutorial should help http://www.developertutorials.com/tutorial...0816/page1.html
  21. $variable is an instance of a class, blahblah is a member of that instance (property or function), the -> just means get the member of this instance.You should look into Object Orientd programming in PHP5
  22. var str="0.0000000001";var dec = str.split('.')[1].length;
  23. Actually justsomeguy is getting there pretty fast.
  24. aspnetguy

    C#

    That's the beauty of .Net (C# and VB) you can write a class or library and use it in both web and desktop applications. Just like in ASP you can use VBScript or JavaScript, in ASP.Net you can use C# or VB.
×
×
  • Create New...