|
Does your server support PHP?
Brad
Australian
- Captain See Sharp on "Religion"
any half intelligent person can come to the conclusion that pink unicorns do not exist.
|
|
|
|
|
right now i only have iis on the server; however, i can add support for php if you tell me where to look?
I am learning right now(the server world)but i am by no mean in the dark. What i am saying is that i just have a little server here at my home office that i am learning with and will move to the big boys some time around Nov. or Dec.
What do i need to do to add PHP support?
Erik
|
|
|
|
|
You will need PHP (http://php.net[^]). Install that and tell me when it is setup. I will help you to build something.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
I am haveing problems trying to install....
I can not get the .exe to install on my server 2003 box.
And i do not see an msi....
Got any suggestions for a php newbiee??
erik
|
|
|
|
|
I found a install site that looks promising..
will be back when i get this under control..
erik
|
|
|
|
|
Well i am php installed and ready....
I am now on my way to php land....
I have been meaning to get my hands a little dirty with php for a while and now is as good as any...
Lets rock!
erik
|
|
|
|
|
Do you know the basics of the language?
Brad
Australian
- bryce on "Problems with Code Project"
*sigh* Maunder's been coding again...
|
|
|
|
|
Hello, I want to write an ISAPI extension dll using MFC (in Visual Studio 2005). every book I read, said we should create an MFC ISAPI Server extension project from File->New menu. but my Visual studio has not this template. what should I do?
please help.
|
|
|
|
|
I m trying to develope a webpage that can extract information from a ibm db2 database. The hardcoding is in C# but the web design is in html (I am using Visual Web Developer)
This is the code for connection to IBM DB2 database using the ODBC driver. However there is no output (no error either).
Is there anyway I can link this output to display it in my website?
Thanks alot!!!
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data;
using System.Data.Odbc;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string connectionString =
"DSN=infofyp;" +
"UID=db2admin;" +
"PWD=palmolive";
IDbConnection dbcon;
dbcon = new OdbcConnection (connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
//connecting to the table info_db2
string sql =
"SELECT p_id " +
"FROM deepa.info";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while (reader.Read()) {
string Identification = (string) reader ["p_id"];
Console.WriteLine ("Indentification: " + Identification);
}
//cleaning up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
|
|
|
|
|
Please do not spam the entire site. This is an ASP.NET question, so ask in that forum, and no-where else, please.
I take it this is hobbyist code, not for use in the real world ?
To display your output, you need to assign it to a DataGrid, or other repeating control, and format it to show your result.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
It is actually a html problem. I need to display the output of my database in my website (hence the web development category)
I don't think DataGrid is a html function. I read somewhere that you can display your information with a database link. Is that possible and is it applicable in this case?
|
|
|
|
|
I recommend two things.
1 - buy a book
2 - when you're not sure, and someone gives you advice, google it.
You are not worried about HTML. If you were, you would not be using ASP.NET. ASP.NET worries about the HTML, by and large. A DataGrid, a GridView, or even a Repeater, are all controls that take a datasource and use it as the basis of rendering an HTML table, containing your data.
22teddy22 wrote: I need to display the output of my database in my website (hence the web development category)
This category is for all non ASP.NET web dev questions. You're using ASP.NET, hence my suggestion that you use the right forum. This is 'kind of' right, but more people will see it if you post in the right place.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: This is 'kind of' right, but more people will see it if you post in the right place.
Or at least, more people who have anything approaching an interest in replying...
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
|
|
|
|
|
please help me hixx...hixx
I'm carrying out a project "Testing system"
Problem appears when users press F5 button (or Right click/refresh page) in order to refresh the webpage.
How to block these things...
many thanks...
|
|
|
|
|
You can't, not really. you can try to fight the user if you like, but you'd do better to build an app that works the way people are used to a browser working.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
To protect the right click
In the Form Load set the properties
oncontextmenu=false
|
|
|
|
|
oncontextmenu=false
set this property in the form load
|
|
|
|
|
It IS possible to change the way a client browser behaves - but you REALLY REALLY SHOULDN'T DO IT....NO REALLY...I MEAN IT!!!!!
As Christian mentioned above, it's a really REALLY bad thing to do, and all you'll end up with are p1ssed off users....
If you're running into problems that require this kinda solution, I'd suggest looking again at your design...these problems can generally be made to "go away" with the correct design.
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi,
I have this problem. I'm using Windows authentics and using this code:
Page.User.Identity.Name.Split('\\')[1] and I get Login name but I'm Not supposed to use Loginname I'm supposed to use username is there anyway I can Do it
Thanks
|
|
|
|
|
i have problem in retrieving morethan one file my app. does not show all files togation when i call them on page from database even i stored them from app.
|
|
|
|
|
|
When my page load in client. i want run load again a file javacript so dont reload page on server.
How can i do that by javacript.
|
|
|
|
|
Please read Chris Maunder's post above and then repost.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
I think what you mean is:
You have a load function in a javascript file that runs when the page loads. You want to run this function again without reloading the page? (I am psychic )
You have to call the function..... either with an event handler on some element on the page or you can use setTimeout to run it after a certain amount of time.
|
|
|
|
|
Hi everyone!
I've got the following:
function setup_event(elem, eventType, handler)
{
(elem.attachEvent ? elem.attachEvent("on" + eventType, handler) : ((elem.addEventListener) ? elem.addEventListener(eventType, handler, false) : false));
}
function detach_event(elem, eventType, handler)
{
(elem.detachEvent ? elem.detachEvent("on" + eventType, handler) : ((elem.removeEventListener) ? elem.removeEventListener(eventType, handler, false) : false));
} This works perfectly in all browsers.
Trying to "shorten" things:
function setup_event(elem, eventType, handler)
{
(elem.addEventListener || elem.attachEvent)((elem.attachEvent ? "on" : "") + eventType, handler, false);
}
function detach_event(elem, eventType, handler)
{
(elem.removeEventListener || elem.detachEvent)((elem.detachEvent ? "on" : "") + eventType, handler, false);
} This works in MS IE; in Forefox & Opera it doesn't. Why?
-------------------------
Don't worry, be happy )
|
|
|
|