Posts mit dem Label reads werden angezeigt. Alle Posts anzeigen
Posts mit dem Label reads werden angezeigt. Alle Posts anzeigen

Dienstag, 1. März 2016

How to Host a Private File ServerIn Feburary 2016 30,

In Feburary 2016 30,
Download the HFS File Server installer (see Resources).
Open the file to begin installing HFS. Use the default options.
Run HFS once setup is finished.
Click on the button that reads 'Server is currently OFF.' This will activate HFS.
Read the series of numbers next to the 'Open in Browser' button. This is the IP address of the server.
Open your favorite web browser and enter the IP address given by HFS. If you see text indicating you are in HFS, you have properly set up your server.
Enable files to be shared over the file server by dragging folders into the program's window. Be sure to specify 'Real Folder' when confirming its usage.
Go to the 'Menu' option on the server, and click 'Save File System.' This will make your changes permanent.
Browse to the IP address used in Step 6. You should be able to download any file located in the public folders.
In Feburary 2016 30,

Montag, 8. Februar 2016

How to Connect to MySQL Database Using Web ExpressionIn Feburary 2016 08,

In Feburary 2016 08,
Open Microsoft Expression Web. Click on 'File,' 'Open' and choose the target website from the website files. Click 'Split' below the design pane. The three tabs below the design pane are Design, Split and Code; Split shrinks the size of the design pane and opens up the Code section above it, where HTML code is entered.
Copy the following code:
Now click in the Code section of the target website in Expression Web, above where the code reads:
Right-click above
and choose 'Paste' to paste the copied code. It should now look like this:
Copy the following code:
Sub Page_Load(Source as object, e as EventArgs)Dim sConString As String = 'DRIVER={MySQL ODBC 3.51 Driver}; SERVER=localhost; DATABASE=Your_Mysql_DB; UID=mysql_username; PASSWORD=mysql_password; OPTION=3'Dim oConnection as ODBCConnection = new ODBCConnection(sConString)Dim sSQL as String = 'SELECT * FROM Table1'Dim oDataAdapter as ODBCDataAdapter = New ODBCDataAdapter(sSQL, oConnection)Dim oDataSet as DataSet = new DataSet()oDataAdapter.Fill(oDataSet)oDataGrid.DataSource = oDataSetoDataGrid.DataBind()End Sub
Click again in the Code section of the target website in Expression Web. Paste the code after the
tag in the code for the website. Be certain that the
tag closes the code section.Copy this line: Paste it between the
and
tags, also in the Code section of the target site in Expression Web.Example:
Note the line in the MySQL database code that reads: 'DRIVER={MySQL ODBC 3.51 Driver}; SERVER=localhost; DATABASE=Your_Mysql_DB; UID=mysql_username; PASSWORD=mysql_password; OPTION=3'These values will need to be changed to represent the desired MySQL database, ID and password. If the database is to be accessed remotely, the 'server' will be an IP address. Simply delete the 'answer' following the equal sign (=) for each item and type in the correct information.
In Feburary 2016 08,

Donnerstag, 4. Februar 2016

How to Create a PasswordIn Feburary 2016 04,

In Feburary 2016 04,
Join a website that offers this service. Some are less secure and may not offer the exact protection you need. Others are more secure and may require a fee.
That website you joined will give you an HTML code to enter into your website. This may vary based on the program.
Look for a line in the script that reads 'form.id.value=='userID.'' Change 'userID' to whatever username you want.
Now look for a line in the script that reads 'form.pass.value=='password.'' Change 'password' to the one you want.
Now look for a line that reads 'location='page2.html.'' This is the URL of the page that the person will be directed to once they enter the correct password. You may have to edit the path accordingly. If you're not sure, just put the complete URL of the page here.
The next step is optional. Look for a line that reads 'alert('Invalid Password').' You can change 'Invalid Password' to whatever message you want. For example, you can make it say, 'The password you entered is incorrect. Please try again.'
You can also do the same to the user Invalid ID section. Look for the line 'alert('Invalid UserID').' Change 'Invalid UserID' to whatever message you want to display when the username is incorrect.
That's it. You're finished!
In Feburary 2016 04,