Jump to content

Xenon Design

Members
  • Posts

    112
  • Joined

  • Last visited

Everything posted by Xenon Design

  1. Oops i put ' in the SQL :sSELECT * FROM tblCustomer WHERE username = "&Session("MM_Username")&"" <- Replace with that code
  2. Well Dreamweaver has an inbuilt user system. Which are scripts like the login and 'Check user is logged in' scripts. Also some other little ones aswell.Really tutorials are a really big help when your trying to make a major ASP project when your new. A simple Google search on ASP tutorials will help you.I myself am making a forum and blog in ASP with all my own code and ive built it similar to Invision Pover Board.
  3. Yes dreamweaver uses the session name 'MM_Username' ...I have decided a week ago to write my own scripts. So far I find it is better because you rmore free to do things.But if your new to ASP stick to DWeaver and their premade scripts
  4. I am experienced at: HTML, CSS, ASP, XML, RSS, Flash Actionscript(should be there)
  5. Xenon Design

    Registration Doubts

    Well that code is there so that auto-registration bits dont overload your database with accounts. Basically people make bots that automatically create accountsfrom unprotected forms. But with the security code that is written from an image. The bots cant read and interprate the image.
  6. The web host says it will have PHP and ASP with MySQL and DSN's etc.It would be over 100MB webspace with no doubt 1GB Bandwidth.
  7. Well from the sounds of it, its a software error in IIS. I will get aspnetguy to have a look at this topic and see if he can figure it out. My suggestion is mabye reinstalling IIS.
  8. Ok...is it possble you go on MSN? It would be alot easier.
  9. I know a web host in the US and they are thinking about offering free hosting if you buy a US$10 per year domain...I havnt got information about how much webspace or bandwidth youll get but it would be reasonable. And I think there will be no ads.If theres alot of intrest they will start this offer.So basically you pay $10 per year for a domain and get BANNER AD FREE hosting for free.
  10. Another one of my tutorials but this ones on connecting. There are two main ways of connecting to a database, using a DSN or Map.Path. I personally use DSN's because they are easy to setup and require less code.DSNYou need to set the system dsn before you try this code. If you dont know how to set up a DSN heres a good tutorial on how to set one up <%'declare the SQL statement that will query the databasesql="SELECT * FROM table"'initialise the dsn variabledsn="dsn=my_DSN" 'my_DSN will be the name you have chosen for your dsn'Set the recordset and connection variableSet connection = Server.CreateObject("ADODB.Connection")Set recordset = Server.CreateObject("ADODB.Recordset")'Open the connection to the databaseconnection.Open dsn'Open the recordset object, execute the SQLrecordset.Open sql,connection%> The dsn is set to 'my_DSN'. Map.Path <%'declare the SQL statement that will query the databasesql="SELECT * FROM table"'Set the recordset and connection variableSet connection = Server.CreateObject("ADODB.Connection")Set recordset = Server.CreateObject("ADODB.Recordset")'define connection string, specify database driver and location of the databasedbPath="PROVIDER=Microsoft.Jet.OLEDB.4.0;" & _"Data Source=" & Server.MapPath("database.mdb")'<< SET DB PATH'Open the connection to the databaseconnection.Open(dbPath)'Open the recordset object executing the SQL statement and return recordsrecordset.Open sql,connection%> You set the database url in the 'Server.MapPath' code.Which way you choose is up to you. There are advantages and disadvantages of choosing one or the other.Having problems with the script? Dont know how to do something?If you are having troubles with my script just reply with your problem and I will try to respond quickly. Also if theres any spelling mistakes just let me know and ill fix it Xenon Design
  11. Xenon Design

    forums

    What did you want the form to do? Send an email? Log a user in?Basically you just use a normal HTML form and the ASP acceses the information submitted.Oops I thought it said form :s Well making your own forum isnt easy. If you have just started ASP you might want to learn up first. For a forum to work you need a coupple of things:- User management (logins, user profiles, editing profiles etc.)- Content management (forums and subforums)- Input (inputting posts, threads)And a way to tie all that together in one neat bow. It requires alot of planing on paper if you want it to be right first time.I suggest you mabye use IPB or PHPBB or even VBulletin before you go making your own.
  12. Sounds like fun My auntie intoduced me to Dreamweaver 3 when i was 11 and ever since then I have been a designer and loved it And ever since then I have used the same damn computer Go my Pentium 3 500Hz with Windows 98SE
  13. I actually manage to juggle learning those coding languages, school, homework and going out with my friends
  14. In my tutorial on the login script it sets a session. Best to have a look at it. The link to it is in my sig
  15. Its a good layout...ok graphics and content a plenty....I see that you have flash side content bars. And it looks like you need to underline the links. Did you want to underline the links? If so...How are you inputting the text to the side bars? a ) List written in by the text tool b ) dynamically written in by Actionscript or an external file controling a dynamic text area? If you tell me this info I can help you.
  16. This may be a stupid question but.... it your IIS turned on and running? Also just make a test page with nothing else but <%Response.write("Hello World")%> and tell me how that goes.It maily sounds like more of a software problem than a coding error.
  17. Hmm....best to discuss this with me ln MSN...I will be on today (from the point I post this till about 12 hours later)
  18. Ok from what I can gather is that you want the user to login and the first page they are presented with their profile??If so...You need to create a recordset which gets the information from the session (assuming you have set up a user session in your login script)Heres what your SQL for retrieving the info should look like: sql="SELECT * FROM users WHERE username='"&Session("user")&"'" That will select the records for the user. You may have your session and table name and so on different so adjust this SQL accordingly.
  19. I used Fireworks to make frame by frame animations...they were crap...but by far Flash is the best
  20. Ok you want to drag a MC by the mouse when on the on(press) func??If so heres the code to put on the MC on(press) { startDrag("my_mc");}on(release) { stopdrag();} I think thats the code...if its not...in flash press F1 and search for 'drag' and you should find some things under the 'Actionscript' section. Just a note to all Flash users...DONT BE AFRAID TO USE THE HELP...Flash have excellent flash help files along with documentation on about 90% of their coding. To access help in Flash press F1
  21. Hi,Although I have made a intro in the intro thread I would like just to say a few more things about myself :(First of all im 15, Male and Australian. I have learnt HTML, CSS, ASP, a little XML, Flash ActionScript and a bit of RSS.I am very approchable and I would like to help anyone here in ASP or HTML problems. I am in the process of making an ASP clone of Invision Power Board. Its a little simpler but im getting there. So any questions on user management, content management, using proper CSS, and just any other general ASP, HTML or CSS coding.Im also good in the ol' Flash Action Script. I can make things like RSS feeds, mini games(still learning a bit tho) and randomness(actionscript that randomly does stuff). And I almost forgot im also a bit of the wiz in Photoshop :DI use: Macromedia(Adobe) Dreamweaver MX 04, Macromedia(Adobe) Flash MX 04 PRO, Adobe Photoshop 6.0....if your thinking 'Whats with the Macromedia(Adobe)' then go to: www.macromedia.com and look at their logo :blink:I guess this proves that an old Windows 98SE computer doesnt limit you at all I Admin a forum called Martin2k [ www.martin2k.co.uk/forums ]....they help in game creation in TGF, MMF and also Visual Basic 6.0.Thats about it...finally ....I will be making a few ASP tut's over the next few weeks. Check my sig for info.Cheers
  22. Does it just not register the session? Like when you redirect to a page the session disapears? I had exactly the same roblem. It was due to 2 things. 1) My Global ASA script acidentely closed the session 2) I needed to view it via oemcomputer not localhost.I think oemcomputer is my computers name. I have windows 98SE...yes I know i need to upgrade and in PWS it shows me:Your Homepage is avaliable at:http://oemcomputerThis might be different for you but if your using PWS as soon as u open and start the service it will show. As for IIS...I cant help you :s Mbaye if you go: Start > Settings > Control Panel > Network > (TAB called) Identification: in the input field marked computername should be the name you need to use instead of localhostI hope this long and involved post helps If not contact me via PM and ill give you my MSN email.
  23. For icons I got to: http://www.comteche.com/data/web_graphics/...icons/index.aspThey also have graphics but I think there not good
  24. Xenon Design

    Question

    This is what it should look like nanners: http://65.214.44.192/MyWeb/Universe of Ska.asp
  25. Xenon Design

    Question

    If you want to show off your work via IIS put http://[your IP]/[path]this will work.
×
×
  • Create New...