Jump to content
The Uniform Server Community

Falc

Support Team
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Falc

  • Rank
    Support Team Member

Previous Fields

  • SourceForge ID
    falconhedgehog
  • Wiki ID
    falconhedgehog
  • IRC Nickname
    Falc
  • Main OS
    Windows 8

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Gender
    Male
  • Location
    England, UK
  • Interests
    I like to play a lot of video games especially Sonic The Hedgehog and lots of games made by SEGA.

    I learn programming in my free time for no more of a reason then a hobby.

    I spend lots of my money on games or computers - usually one or the other.

    My favourite music is VGM and Rock - I like Mew, Manic Street Preachers and Feeder to name a few.

    I also like a lot of actions films, though I don't like horror. Some of my favourite movies include The Shawshank Redemption, Die Hard, Kill Bill vol1/2, The Green Mile, Matrix.

    That's it for now, you might get more later.
  1. Could you outline the steps you took so that other users experiencing the same problem could solve theres too by experimenting with what you done? Thanks, Falc
  2. I believe it is a problem with your Virtual Hosts... First, take a look at: http://httpd.apache.org/docs/1.3/vhosts/name-based.html This will give you the opportunity to find out how Virtual Hosts work so you can debug problems if they should arise (and you should be prepared). As you can see you need to define both www.url.tld and plain url.tld. Note that the DocumentRoot is a directory, you will need to change it to your needs. Also, I think that because you are listening on server 81 locally and 80 'globally' that may cause problems because the address the client sends may not be the same as what it actually is locally. I totally reccomend that you use the default port 80. However try this out first and if it doesn't work, then you may have to use port 80. Hope that helps. Regards, Falc
  3. Falc

    Abscence

    Hello there. You may have noticed that I have not been posting or being on IRC much recently - I have my own personal reasons, a few of these being upcoming exams, technical difficulties and financial breakdowns. Basically, things aren't going to great recently. However I will be back very soon - better then ever. I apologies in my abscence but I will be back soonish hopefully. Thanks a lot for understanding in advance. Falc
  4. $_GET['id'] will also work... <?php echo $_GET['id']; // URL: test.php?id=5 // 5 is outputted ?>
  5. If you want a quick and dirty fix. Save everything you need from the /www/ directory, backup or export your database into a text file or better yet, SQL queries. Delete uniserverand simply copy it all back in.
  6. You need to delete/modify the files inside of /www called .htaccess. Also you have a wireless router - you will need to probably need to set up something called "Port Forwarding". In that case, you will need the routers password and user name. Check the website PortForward.com for more information.
  7. Hehe. I suppose so but I think I should help users who do not have Windows XP yet.... Anyway, I took a look at it this morning and I installed the official USDrivers from the ASUS website (seing as the motherboard is an ASUS) and I haven't been able to reproduce the error. So I kinda found and fixed a problem now.
  8. utf8 unicode should display any character from any language correctly. For more information on unicode, visit this page.
  9. Falc

    SQL

    Try using one table at a time. I dunno how this might help but you never know. Create one table and then create the other table.
  10. I did some research today using a Windows 98 machine and a USB memory device. On this machine for some bizzare reason plugging the USB stick (with Uniform Server "installed") Uniform Server won't run. Unplugging it and plugging it back in makes it work. I'm gonna look into it again later, I don't know why it does this.
  11. The script should work fine provided that the MySQL database/tables are correctly created. http://forum.uniformserver.com/index.php?a...DE=02&f=21&t=38 This is an example table with adding 1 users inside of it. Theres 2 SQL scripts for this... Creating the table: CREATE TABLE table ( username varchar(30), password char, id int(15) AUTO_INCREMENT PRIMARY KEY ); Adding the users: INSERT INTO table (username, password) VALUES ("foo", "bar");
  12. Make sure you have the latest version of Uniform Server (which is 3.3a). And also make sure you have no other instance of MySQL Server running on the machine. A way to check this on windows XP is to go into your task manager (CTRL+ALT+DEL) and look for a process containing "mysql". Also make sure that the MySQL server is not blocked by any firewalls.
  13. This is a "login" script thatwill work for anyone to "log in". ;D Note: This is not a register script, this is a login script. The $SESSION['login'] = true; means that they're logged in. Okay? Okay. That also means it requires a session_start(); in the script. So place this where it's needed. I will include something that you need to do yourself, for example, the forms and also the database queries. /* Start of script */ // login.php /* Created by: Falc 15 February 2006 Language: PHP License: Do what ever you like. However, I'd like to to keep my nickname(creator) in. If not, no big deal I suppose but I would like just that in return for posting this. Thanks. */ session_start(); if ($_POST['password'] == NULL && $_POST['username'] == NULL) { // If the user has not posted anything in the user column. /* Display the form here, send it to login.php (this file) and also the field names need to be 'username' and 'password */ } else{ // if the user has entered something $query = "SELECT password FROM table where username = '".$POST['username']."'"; $result = mysql_query($query); $sqlpass = mysql_fetch_array($result); /* the SQL code will obviously need to be changed to suit the table layout but it should be enough. */ if ($POST['password'] == $sqlpass['password']) { // If the posted password is the same as stored in the database $SESSION['login'] = true; echo "You are now logged in, yay."; } else { // If this isn't true, however echo "I'm sorry but the password or the username you entered is incorrect."; } } /* End of script */
  14. Installing PEAR at the start would be useful to some. Yet it might put some others off, afterall, what are we offering? A fully features server that boasts an excellent size. Personally, I think that the PEAR package should not be included, simply because users do not like it anmd users who do can easily install it anyway. Everyone's happy with it not being included out of the box. ;D Glad you like UniServer anyway.
  15. Pehaps a third party program was interfering. Port 80 isn't a rare port, so it could be that. A few times with unbranded USB sticks I have used. I get what I call "Bad mounts" where I will insert a USB stick and it will mount and appear to work. However, nothing can be done with it, not even read, it just appears too. I haven't had this problem with "branded" USB drives such as crucial or PNY, so it might be the sticks. I haven't tried much with USB sticks with Linux, so I haven't had the problem with it. But I do get it on Windows XP and 2000.
×
×
  • Create New...