|
Hey, I need help with my senior project, which is to create an alumni website for my high school. It's supposed to be like classmates.com, where people can log in and post information, pictures, and have message boards. As of right now, I know some simple HTML and I have no idea how to get started. Can somebody tell me what might be involved in starting and completing this project?
Jill
|
|
|
|
|
You need means of running code on the server to create the pages, like ASP/ASP.NET/PHP/JSP. You also need a database, like Access/MySQL/MSDE/SQL Server.
---
b { font-weight: normal; }
|
|
|
|
|
I hope you have a fair amount of time to do this. Every web site ends up as HTML, but anything dynamic requires use of a programming language to create rules for generating HTML. The easiest system to use IMO is ASP.NET, and there is a free version available for download, I believe, called Web Matrix ? Not sure on the details there, but while it's a steep learning curve from HTML, it's the easiest path, I would think. There's also a lot of people on this site who will be happy to help you if you get stuck.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Like what the others said.
Here is a PHP link which is a simple download and install to get up and running using PHP quickly.
It contains the entire LAMP setup - minus the Linux
Tip: You probably wanna download PHP version < 5...
http://www.firepages.com.au/[^]
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
hi,
i have a problem when i send a HttpRequest!
first i send a request to get the session_id than a login request and after that a other request....
after that i begin with the request for session_id and than the problem arise when i send the login request...
i get a timeout error when i call request.GetRequestStream (); by why!?!
cu
<br />
request for session id:<br />
-----------------------<br />
HttpWebRequest get_request = (HttpWebRequest)WebRequest.Create("https://www.myzone.at/webkeeper/Controller");<br />
get_request.CookieContainer = new CookieContainer();<br />
<br />
HttpWebResponse get_response = (HttpWebResponse) get_request.GetResponse();<br />
get_response.Cookies = get_request.CookieContainer.GetCookies(get_request.RequestUri);<br />
<br />
String sessionid = "Cookie: ";<br />
sessionid += get_response.Cookies[0].ToString();<br />
<br />
login request:<br />
--------------<br />
HttpRequestResponse login_request = new HttpRequestResponse("https://www.myzone.at/webkeeper/Controller", "POST", "action=login&login=Anmelden&brand=myzone&username=xxxxxx&password=xxxxxxb&x=83&y=13");<br />
login_request.SESSION_ID = sessionid;<br />
login_request.SendRequest();<br />
<br />
<br />
<br />
sendrequest method:<br />
-----------------------------------------<br />
public string SendRequest()<br />
{<br />
string responseFromServer="";<br />
<br />
try<br />
{<br />
if((RequestMethod.ToUpper() != "GET") && (RequestMethod.ToUpper() != "POST"))<br />
throw new WebException(RequestMethod+ " is not a valid method. Use GET or POST.");<br />
<br />
HttpWebRequest request = (HttpWebRequest) WebRequest.Create(URL);<br />
request.Method = RequestMethod;<br />
request.Headers.Add(SessionId);<br />
<br />
if(RequestMethod.ToUpper()=="POST") <br />
{<br />
byte[] byteArray = Encoding.UTF8.GetBytes (PostData);<br />
<br />
request.ContentType = "application/x-www-form-urlencoded";<br />
<br />
request.ContentLength = byteArray.Length;<br />
<br />
Stream requestStream = request.GetRequestStream (); <------------ here arise the timeout when i send the 2nd login request...<br />
<br />
requestStream.Write (byteArray, 0, byteArray.Length);<br />
requestStream.Close ();<br />
}<br />
<br />
HttpWebResponse response = (HttpWebResponse) request.GetResponse();<br />
Stream dataStream = response.GetResponseStream ();<br />
StreamReader reader = new StreamReader (dataStream);<br />
responseFromServer = "HTTP/" + response.ProtocolVersion + " " + response.StatusDescription + " ";<br />
responseFromServer += response.Headers.ToString();<br />
<br />
reader.Close ();<br />
dataStream.Close ();<br />
response.Close ();<br />
}<br />
<br />
catch (WebException e)<br />
{<br />
throw CatchHttpExceptions(responseFromServer = e.Message);<br />
}<br />
catch (Exception e)<br />
{<br />
throw new Exception(responseFromServer = e.Message);<br />
}<br />
<br />
return responseFromServer;<br />
}<br />
|
|
|
|
|
I run a website which runs ASP.NET and I wanted to implement Google
Maps. But since there were no real .Net APIs I had to fall back on
using Google's AJAX syntax.
Since I am not much of a javascript programmer I decided to just make a
basic implementation and then pass the variables by XML or when I
render the map through the RegisterStartupScript.
By making use of the RegisterStartupScript I am able to call the
javascript from the code behind page.
I thought I would share it since it has taken care of a lot of
headaches for me.
Go to http://www.legad.org/tech/map. aspx to see how it works.
Go to http://www.legad.org/tech/text .aspx to see the underlying script.
JJRDK
http://www.legad.org/
|
|
|
|
|
Can any one suggest me a free tool to extract DOM tree of html pages.
mathu
|
|
|
|
|
You can use the DOM Inspector in Mozilla Firefox.
---
b { font-weight: normal; }
|
|
|
|
|
i want to knaow that how to add a pdf document and a flesh file to asp.net web application.
|
|
|
|
|
devendra singh rathore wrote:
flesh file
Are you making a pron site ? :P
To add a pdf, just add a link to it, and store the file on the server. The browser handles the rest. I reckon the same is true of flash.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,
I am creating a website using asp javascript.
Is there a way I can disable the Back button of the IE ??
Pls help.
|
|
|
|
|
Disabling the back button is considered a bad practice.
It's better to make the pages to expire content, for example, using something like Response.Expire
Eduardo Diaz
site | english blog | spanish blog
|
|
|
|
|
Currently, I need to have webpages for file sharing to a group of user. Some of them only have rights to read a excel file. Each file will have one owner who can edit and save an update one to a place.
For those can edit, I will use hyperlink to link that file.When user click, a windows will pop-up asking "open" or "Save"
For those can read-only, I would like to make a button for them. When they click that button, a new windows will pop and get that table from a particular excel file and "print" it to the new windows.
Is it possible to be finished by html? or other programming??Please provide the source if you have. Or please provide other solution for me. Thanks
|
|
|
|
|
As soon as you start to deal with rights, you're talking about a back end system like asp, php or asp.net. HTML will display what you tell it, it won't think about it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I am in desperate need of knowledge. Need someone with patience and the now-how of how to build a great web page. Will have the number on page on myspave.com. please help. There i$ a reward.
"The closer a thing comes to perfection, more keen will be it's pleasures or it's pains" D.A
|
|
|
|
|
Hi there,
Can you please let me know some more info and I will see what I can do. If you want you can send me an E-Mail.
Thanx!
Dave Shaw
History admires the wise, but elevates the brave. - Edmund Morris
|
|
|
|
|
there,
just simply post ur questions, CPiants then will happily answer ur questions
<< >>
|
|
|
|
|
Hi,
Can any one help in this.
I have some problem with idle time calculation in ASP.
If the user is idle for 10min we need to redirect that page automatically.
Regards,
Mamatha
|
|
|
|
|
hi there,
what problem u got? it would be eaiser to find out bugs/problem if u post a snippet of code...
<< >>
|
|
|
|
|
how to get controls from a web form and programatically entering data into it.
|
|
|
|
|
hi there,
could u specify more detail about what u need?
1. getting controls dynamically:
-> u can refer to Controls collections
2. entering data
-> after getting controls, u just simply use methods that the controls expose to fill in ur data
<< >>
|
|
|
|
|
I have an ASP page that creates an excel file thru automation.
Set xCel = CreateObject("Excel.Application")
xCel.Visible = true
xCel.DisplayAlerts = false
Set book = xCel.Workbooks.Add
Set sheet = book.Worksheets(1)
.
. (adds data here)
.
physicalFileName = "pnl_" & Session("UserName") & "_" & CLng(Now*1000) & ".xls"
sFilePath = gsPathToRoot & "Reports/Excel/" & physicalFileName
up to here it works correctly. But when I try to save the file by
book.SaveAs sFilePath
the file is not saved. I have changed the permissions on the directory to give IUSR_machine read and write permissions on the directory. Is there something else I need to do to facilitate the saving of the file?
Thx
Mark Jackson
|
|
|
|
|
You'd be a lot better off to move your business logic into a middle tier comprising of C++ COM objects.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
No doubt, but that won't happen by Tuesday.
It turned out the file path I was using was a url reference, once passed the correct file path it saved properly.
Thx
Mark Jackson
|
|
|
|
|
Whats the code to clear a form with textboxes and radio buttons?
|
|
|
|