Jump to content

Xenon Design

Members
  • Posts

    112
  • Joined

  • Last visited

Posts posted by Xenon Design

  1. 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.

  2. 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 :)

  3. 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.

  4. 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.

  5. 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.

  6. 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 :)

    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.

  7. You'll soon be going to college and correcting the lecturers
    :) 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
  8. 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.

  9. 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.

  10. so , i make the login script but the problem is there are many Specializations and every Specialization have a certain subject to studies ,how i can divide every Specializations students when they are enter the user name and the password
    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)
  11. 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.

  12. 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

  13. 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 :)

  14. 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.

×
×
  • Create New...