|
I have ran into a situation where a alert('test') type practice would make more sense. It works great in IE, but i'm not sure if any other browsers would have problems with this...??
There place inside various tags through the web site...and it's not actually alert('test') it's setting a cookie, becuz at this point i've already sent headers and PHP won't let me set cookies using it's functions...
Any suggestions...?
Thanks
How do I print my voice mail?
|
|
|
|
|
if ur having problems outputting headers in php either re-structure ur code to output the header first or buffer the output until after u write the headers
ur first question i dont really understand?
"there is no spoon" biz stuff about me
|
|
|
|
|
Can any one tell me that how can i call a com / Activex function via javascript and vbscript. Currently i am doing some thing as follows but in web page i get the error that object doesnt support this property or method :
<HTML>
<BODY>
<OBJECT id=MUMSocket1 style="LEFT: 0px; TOP: 0px" classid="clsid:BDBEED17-BE31-475E-966F-28A3F07FDBBD" VIEWASTEXT>
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="_ExtentX" VALUE="2646">
<PARAM NAME="_ExtentY" VALUE="1323">
<PARAM NAME="_StockProps" VALUE="0"></OBJECT>
<INPUT type="button" value="Button" id=button1 name=button1 onclick=ini()>
<script language ="javascript" >
function ini(){
MUMSocket1.Initialize ()
}
</script>
</BODY>
</HTML>
|
|
|
|
|
hi,
I had IIS installed on my windows 2k pro, and was up and running till very recently. Now I am getting an error message that my server is not accessible. I am not able to create or open any of my web projects.
I tried reinstalling IIS, but it didnt help.
I also tried reinstalling the Visual studio.Net, still nothing is happening. Now i guess i will have to reinstall windows to get this fixed. which i may do it tmrw. could some one tell if there is a fix for the problem,
I really am not willing to reinstall the Operating System.
Please Help Me..
thanks in advance
|
|
|
|
|
Did you recently run anything like the IIS Lockdown tool or the Microsoft Baseline Security Analyzer or did you remove or disable any of your local computer accounts, such as ASPNET, IUSR_<machinename> or Administrator?
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
hi,
I dont remember having made any configuration changes to my user accounts, as well as windows. the only change that might have happened on my computer, is I have installed a few programs. thats all.
|
|
|
|
|
...and I'm assuming you've stopped and started services on your local instance of IIS and that there aren't any other issues that've popped up recently?
Can IIS even serve an ordinary HTML page from the default web server, i.e., from wwwroot?
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
Hello everybody! =)
I have a rather irritating problem.. I'm designing a homepage with two frames. One top frame with some kind of a navigation menu in it, which I want to be centered vertically in the frame, no matter what text size is selected in IE/other browser. Can it be done with a simple selector or something in CSS, or do I have to use some dynamic coding to move it when the frame has loaded or something?
Thanks for any help or suggestions! (as long it's not about removing the frames entirely
|
|
|
|
|
how about:
<center><div align="center">My Menu Goes Here</div></center>
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
I thought "horizontal" meant the <------------> direction..?
|
|
|
|
|
ooops. me not read english too good no more.... Vertical, you say? How 'bout a table with height="100%" then?
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
As far as I'm concerned you HTML does not provide for vertical alignment (in accordance to the HTML 4 spec at least). But what you can try is either build a frameset into the menu frame, where you place 3 rows like and specify the sizes like this: rows="*,15,*". Then the two "buffer" frames will ensure that your middle frame is displayed vertically centered.
If you don't want to mess around with frames, you can try it in a table, but you'll get problems getting this x-browser ready. I've done it a couple of times but IE on Mac always screws it up. As height for the top and bottom table row (the buffers) provide a "*". But I've warned you, this works only it a couple of browsers
HTH
Matthias
If eell I ,nust draw to your atenttion to het fakt that I can splel perfrectly well - i;ts my typeying that sukcs.
(Lounge/David Wulff)
www.emvoid.de
|
|
|
|
|
I'm fairly new to ASP so forgive me! I have a access database, I want to create a form that has three fields (tapename, backupdate, returndate), I want to have a checkbox that when checked gives you an option to add more items... i.e. If I have three tapes to enter into the database, I want to be able to add all three at once. any ideas would be great. thanks in advanced.
Kleith
|
|
|
|
|
I am not sure what you're driving at; code examples, if you have any, are always a helpful starting point in any discussion. If you haven't written any code yet, try to find another similar example here on CodeProject or another ASP-specific site. In general though, yes, it is feasible to produce a page that posts back to itself and waits for you to make another entry after saving the last entry, or to build a page that contains a table filled with rows of text boxes that you iterate through to add multiple records.
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
below is the code I have so far (the form), I have this inserting into my database fine (code not included). I have looked on this site but don't really see a sample of what I want, can you point me in the right direction.
Please enter the required information
below: | Tape name: |
* Required | System information: |
HP
LAN
NetBackup
* Reguired | Type of Backup: |
Full
Month End
Year End
Incremental (Daily)
*Required | | |
|
|
|
|
|
the easiest way to do multiple upload type things is to allow for say 5 or 10 at a time and build the control on the page as normal ... on the submit just cycle thru looking for non-empty entries
"there is no spoon" biz stuff about me
|
|
|
|
|
I tend to agree with Lauren. Make something like this:
<form method="POST" action="thispage.asp">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td>Tape Name</td>
<td>Type</td>
<td>System</td>
</tr>
<tr>
<td>
<p><input type="text" name="T1" size="20"></p>
</td>
<td><select size="1" name="D1">
<option value="1">Type 1</option>
<option value="2">Type 2</option>
<option value="3">Type 3</option>
</select></td>
<td><select size="1" name="D4">
<option value="1">System 1</option>
<option value="2">System 2</option>
<option value="3">System 3</option>
</select></td>
</tr>
<tr>
<td><input type="text" name="T2" size="20"></td>
<td><select size="1" name="D7">
<option value="1">Type 1</option>
<option value="2">Type 2</option>
<option value="3">Type 3</option>
</select></td>
<td><select size="1" name="D9">
<option value="1">System 1</option>
<option value="2">System 2</option>
<option value="3">System 3</option>
</select></td>
</tr>
<tr>
<td><input type="text" name="T3" size="20"></td>
<td><select size="1" name="D8">
<option value="1">Type 1</option>
<option value="2">Type 2</option>
<option value="3">Type 3</option>
</select></td>
<td><select size="1" name="D10">
<option value="1">System 1</option>
<option value="2">System 2</option>
<option value="3">System 3</option>
</select></td>
</tr>
</table>
<p><input type="submit" value="Submit" name="B1"></p>
</form>
Then, when you post, check each of the textboxes and each of the drop down lists to determine if a value was entered or not.
Yes, you could also use a checkbox that asks "enter more values" but that could get repetitive for the person using the app.
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
Hi,
I am using ASP, VB & SQL Server in my application. I have written an Stored Procedure which containts multiple SELECT statements (returns multiple recordsets),
which in turn is returned to VB (middle tier). The connection to the database is established using ODBC layer. The recordset returned to VB from SQL is then returned to ASP. If I try to use NextRecordSet method of the returned recordset it gives me the error:
Current provider does not support returning multiple recordsets from a single execution.
If I directly connect to the Stored Procedure from ASP & then use NextRecordSet method & it works. Also, if I use NextRecordset method in VB after returning multiple recordsets from Stored Procedure then it works.
But it does not work when ASP calls VB which in turn calls Stored Procedure.
Please help.
Thanks
Hitesh
|
|
|
|
|
Without trying it out for myself, it seems like the problem could be that your VB object is returning a static, in-memory recordset, and not a reference to a dynamic recordset. It isn't clear to me that it is possible to return a dynamic recordset along with the ability perform subsequent method calls -- since that implies that the connection state is still open, that the VB object persists everything correctly, etc., especially since, in most cases, people do things like:
Set rs = vbObject.GetRecordSet(para1, para2)
Perhaps, the alternative would be:
vbObject.StartRecordSet para1, para2
Do While Not vbObject.RecordSet.EOF
...
Loop
vbObject.GetNextRecordSet
Do While Not vbObject.RecordSet.EOF
...
Loop
and then the implementation of the recordset is internal to the object?
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
hello all,
Can anyone suggest good articles/tutorials etc. for this?
I need to put in a search engine for our organization which will search only within the pages of the organization's domain.
Can I use Google for this?
Regards,
Tiruvan
|
|
|
|
|
I guess this forum is only for questions....not answers
Regards,
Tiruvan
|
|
|
|
|
Well, perhaps you should have started with Google! The answer is "yes" you can use an existing search engine for searching your domain, if your domain is open to the public. Google has information about how to do this on its site, under services or some such thing.
If you are interested in implementing your own search engine, you can try to implement index services under IIS, or you could buy an appliance that hosts the search function and "plugs in" to your site.
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
I have one ISAPI dll developed in Delphi 5.0. I want to debug that dll. For that matter I am running the service interactively that means as a process. To do this i have done all the setings like,
Adding domain user to local policies User rights- Act as a part of operaing system, Generate Security audits. Log on locally etc.
Also i have stopped the service W3svc, ftp, smtp and iisadmin and have made thier mode manual. I was able to make the inetinfo as a process. Then i have set the run parametrs of my application as -e W3Svc and i am running inetinfo.exe. But while degugging inetinfo starts, but it fails to start w3svc service and gives error - "The server was unable to logon the Windows NT account 'IUSR_PUN033' due to the following
error: A required privilege is not held by the client. The data is the error code.
For additional information specific to this message please visit the Microsoft Online
Support site located at: http://www.microsoft.com/contentredirect.asp. "
I am using OS - Win 2000 and IIS 5.0. can anybody help me in this. I don't know where I am going wrong.
|
|
|
|
|
Can’t get help how to make a client of my website download and run my ActiveX. I’ve created .inf (and an .ocx) files and created a .cab-file but the installation and registration doesn’t seems to work properly. I get the ”Unknown” status on an ActiveX in the Downloaded Program Files in my WINdir.
When I go into ”http://localhost/ WebSIMx/S/SIMx.html” it I get the prompt -> Yes, but the screen becomes empty.
My SIMx.html look like this:
<object id="SIMx" width="800" height="600
" classid="CLSID:8430C4BC-8DC1-4987-95AB-9ED7913CA4EC"
="" codebase="http://localhost/WebSIMx/S/SIMx.CAB#version=1,0,0,2">
I have ALL settings ”Enable” in my Internet Explorer.
How can I check there is no version-error?
Very pleased for help - APe
.....and justice for all
APe
|
|
|
|
|
My previous posting did not come out correctly. But you should be able to make out what is going on there...
Brendan
|
|
|
|
|