|
Anonymous wrote:
i am using tables which width = 100%
Ummm.... try 90%
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
Hi all,
I working on a site which is maid in pure HTML. I want to send a mail throug my site. but i dont know how to send it. may i have use any service like SMTP or there is any other way to send mail by pure html. Do u have any source code?
please give me reply as early as possible
Thank you
|
|
|
|
|
Anonymous wrote:
there is any other way to send mail by pure html
No there is not
Anonymous wrote:
may i have use any service like SMTP
Yes you must use SMTP and you would have to do that from the web server not the browser [in most cases] for security restrictions.
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
Hi,
the only way to send emails by >only< HTML is to setup a link like:
Email me!
Jups, another way is to use CGI's such as PHP, Perl etc.
There is a library called (PHP-)AFuX - it is for PHP and includes two classes for sendind and receiving emails.
Just have a look at:
http://soc8.ath.cx/cgi-bin/sws/cgi_main_products_phpafux.php
Bye so far
|
|
|
|
|
Can anyone help me.
I need a horizontal scroll bar in list box in ASP
The overflow property of CSS doesnt work
ITs very urgent
Thanks for ur support
CarmelChocos
|
|
|
|
|
Hello,
I have problem with ActiveX server included in MS Internet Explorer 5.5.
The aplication changes several pages in circle and all events are handling by Javascript.
After som time IExplorer shows message, like : "script on this page is causing internet explorer to run slowly".
I found this IExplorer bug in MSDN and I Set Timeout Period for Script by creating a new value in registry "MaxScriptStatements"=dword:ffffffff.
But after some time of running aplication, IExplorer shows this message again.
Have you any other idea how to fix this problem? (e.g. where IE saves total number of tracks of executed script statements ?)
Please help me.
Thanks.
|
|
|
|
|
how to set input type file field value
Hi all..
i am not able to set the default value for by giving the value.
is there any way to achieve the purpose?
function callme()
{
document.form1.t.value="textdsfdsfdsfdsf";
document.form1.file.value="c:\php.exe";
}
Harinath
Cybernet software systems pvt. ltd.
3, Bishop wallers avenue east,
mylapore
chennai
India-600004
|
|
|
|
|
You can't do this.
This is designed as such for security reasons.
If you could dynamically set the value of the file input object, anyone would be able to steal files from your hard disk.
theJazzyBrain
Excellence is not an act, but a habit! Aristotle
|
|
|
|
|
Hi All,
I wish someone can help me out with this. When a file is downloaded from the IE browser, the file download dialog opens. Is there any way to know if the user clicked on the open,save or cancel button. I need to use this information in a program.
Dipeka.A.J
|
|
|
|
|
Can I prevent a window from closing unless he is logged out of the web page through java script. Please explain How?
Regards,
Rahul
|
|
|
|
|
hprahul wrote:
Can I prevent a window from closing
No
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
Strange problem I am having with IIS 6.0 vs. IIS 5.0.
I am running some simple code which accesses the File System Object. It opens a text file, reads the contents into a string and writes that string out to the response stream, simple stuff.
It works fine on IIS 5.0 but does not work as intended on IIS 6.0. No errors are generated but on IIS 6.0 it reads half the text file and then stops as if it had reached the end of the file.
I have tried two different ways of reading in the text file but no luck.
Anybody have an idea?
Here is the simple code:
Function IncludeText(byVal FileToInclude)
Dim fso
Set fso = Server.CreateObject("Scripting.FilesystemObject")
Dim ts
Set ts = fso.OpenTextFile(Server.MapPath(FileToInclude), 1)
IncludeText = ts.ReadAll
ts.close
Set ts = nothing
Set fso = Nothing
End Function
regards,
Paul Watson
Bluegrass
South Africa
Ian Darling wrote:
"and our loonies usually end up doing things like Monty Python."
Crikey! ain't life grand?
|
|
|
|
|
Hi
I am trying to grab a web page that is one a site that does not allow anonymous access. When I go to the site in a browser I get a dialog box that pops up and I enter my user name and password. And all is well I can access the page. But what I want to do is access that some page programmatically.
e.g. using code like this
WebResponse objResponse;<br />
WebRequest objRequest = System.Net.HttpWebRequest.Create("http://mysite.com");<br />
objResponse = objRequest.GetResponse();
if anonymous access is allowed the GetResponse() call works fine. Of course if anonymous access is NOT allowed I get a 401 exception as the request is not authorised.
Can anyone help point me in the right direction for being able to have my application "log in" to the target site so that I can call GetResponse()
I have had a bit of a look at WWW-authenticate but I could not make much sense of it. I tried setting the following before the call to GetResponse()
objRequest.PreAuthenticate = true;<br />
objRequest.Headers.Add("WWW-authenticate", "username:password");
But it did not help, though I must admit I did not expect it to
Many thanks for any asistance you can offer.
Del
|
|
|
|
|
Doesn't WWW-authenticate require the values be base64 encoded?
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
I have an ASP web form that has a listbox (Project & Category) where I cannot use the letter shortcut keys (Project works, Category doesn't), yet others users accessing the same form can use the letter L, for example, to pick Larry from the list.
SheracK
Project: |
Select a Project
<% if not rstProject.EOF then
do until rstProject.EOF %>
">
<%= rstProject("project_name")%>
<% rstProject.MoveNext
loop
rstProject.MoveFirst
end if%>
| | | Category: |
Select a Category
<% if not rstOptList.EOF then
do until rstOptList.EOF %>
">
<%= rstOptList("option_name")%>
<% rstOptList.MoveNext
loop
rstOptList.MoveFirst
end if
%>
| Status: | |
|
|
|
|
|
I have the following situation. I have a web page called registration.asp. In it there is a province combo box. When the user selects a province, all the regions for that province is loaded into a region combo box. When the user selects a region, all the areas for that region is loaded into an area combo box. I do this by making a trip to the server, and posting the results back to the registration.asp page. This is done in my action="registration.asp". There is an onsubmit event in the form tag for whn everything is done and the submit button it clicked it does a form validation using javascript. If the validation is successful, then all the results must be posted to another page called RegistrationProcess.asp. Included in my code is the following.
This is included at the top of my registration page...
<%
Dim objForm
Dim intProvince: intProvince = 0 ' Value is set to 0 so that a blank region combo is loaded
Dim intRegion: intRegion = 0 ' Value is set to 0 so that a blank area combo is loaded
Dim intReferenceType, intSubscriptionType
Dim boolIsPost
boolIsPost = CBool(Request.Form("IsPost"))
If boolIsPost Then
' Get the numeric value of the selected index of the province combo
intProvince = CInt(Request.Form("province"))
' Regions and area should only load if a province is selected
If intProvince > 0 Then
intRegion = CInt(Request.Form("region"))
End If
End If
%>
Here is my javascript function that validates all the fields. When all is good, it must submit it to the RegistrationProcess.asp page. I'm not sure if this is the correct way to do it.
function checkForm(form) {
// Validation goes here...
// If all is good
return true;
}
Here is my form tag with the combo boxes. I have a function that automatically loads the combo box from the database. I have just included the province combo, the region and area combo looks exactly the same, they only differ in values.
Province:
None
Eastern Cape
Free State
Gauteng
KwaZulu Natal
Limpopo
Mpumalanga
North West Province
Northern Cape
Western Cape
Region:
' This how I populate my combos boxes using asp
Define SQL statement and open it
strSQL = "SELECT RegionID_PK, RegionName " & _
"FROM tblRegion " & _
"WHERE ProvinceID_FK = " & intProvince & " " & _
"ORDER BY RegionName;"
objRs.Open strSQL, objConn, adOpenForwardOnly, adLockReadOnly
' Create and instance of the form class
Set objForm = New Form
Response.Write objForm.GetList("frmAppReg", "region", objRs, 0, 1, intRegion, True, True, False)
Set objForm = Nothing
' Close the recordset
objRs.Close
CHEERS
BRENDAN
|
|
|
|
|
Hi Brendan,
When the validation has been successfully have't you tried setting the action property to the "RegistrationProcess.asp" that you want it sent to? e.g.
function checkForm(form)
{
if (form)
{
form.action = "RegistrationProcess.asp";
}
return true;
}
Hope this helps,
Andy
|
|
|
|
|
I am writing a web application using ASP.NET which includes a Windows Media Player object. However, my application only fully works if the client browser is IE and Windows Media Player 9 with latest update was installed (i.e WinMediaPlayer version 9.0.0.3128). If the Windows Media Player 9 was installed without the latest update, my web application only produces audio (without any video) when playing a video clip.
Can any one give the javascript code to force the client machine automatically download the latest Windows Media Player if it has wmp version 8 or older
and force to download the latest update automatically if it has wmp 9 (if it was installed without the latest update)?
I have had the javascript to detect which of Windows Media Player is currently installed in the client machine (from http://www.nwlink.com/~zachd/pss/pss.html).
|
|
|
|
|
My ASP.NET web applicaton includes a window media player (wmp) object. I'm using that wmp object to play a .wmv file in the network share folder.
something like
<object style="Z-INDEX: 0; LEFT: 0px; RIGHT: 0px; TOP: 0px; BOTTOM= 0px; WIDTH= 100%; HEIGHT= 100%" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="winMediaPlayer">
<param name="URL" value="\\192.168.100.100\sharefolder\video.wmv" />
Form1.winMediaPlayer.controls.stop();
However, since at the moment I can not include the username/password to access the folder in the url, Windows Media Player gives an error message
"Windows Media Player can not copy or play the file because the server denied access to it. Verify that you have access rights to the file, and then try again".
Note that no authentication window appeared so that I could authenticate. wmp simply gave the above error message. If I create a map network drive (using "net use z: path /user:username password"), the wmp has no problem playing the URL. This means the problem was caused by authentication.
Therefore I would like to have a JAVASCRIPT TO AUTHENTICATE THE CLIENT MACHINE TO THE NETWORK SHARED FOLDER (OR THE REMOTE COMPUTER) before the wmp plays the URL. Could anyone help me on that? Thanks.
|
|
|
|
|
I wonder why your question is being voted down?
Your situation isn't entirely clear, but if you have a folder containing media files intended for playing over the Internet using your web application, why not grant the IUSR_MACHINENAME account Read access to the folder? Better still, if the folder is a network share, create a group - MediaUsers - with permissions to access the folder, then add the IUSR account to the group. If you must limit access by username and password, use javascript to authenicate users for the application itself, but give the app access to the folder.
"My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City
|
|
|
|
|
I need to create online interactive form, so that when visitors fill,
I can see what are they filling and guide them where-ever required.
In other words me and my visitor working on one form simultaneously.
Is this doable in PHP? Please guide...
|
|
|
|
|
Hi,
I just inherited code at my work which creats .asmx file on the fly. To make changes don't need to compile just stop iis make changes to XML file and when iis restart and by invoking web services it generates .asmx file.
My task was to add a method to that web service. I am able to see all my changes in web services ... logic is in store procedures that passed along with the other two required parameters.
I can invoke any other method from the webservice but the one I just created.. I can see the method description their... nothing is different in .asmx .... It asks for the parameters but when I invoke its gives me authentication fail error.
One more thing is... it's using SQLXML .... I m thinking t has to do with some sqlxml rights... but have no idea ... I m struggling from last 2 days... please.. Any help.. Any idea .. any suggestion are appreciated ...
thanks
|
|
|
|
|
Hi
Can someone suggest a tool that can measure time IE takes to download a URL and sub components (like GIFS, .js files in the url)?
We have a slow web application. We suspect it is on the client side javascript or how we have the client html structured. Just wondering whether there is any tool helping with this.
Appreciate ur help.
Thanks
Puri
|
|
|
|
|
I found one myself.
HttpWatch is good for this. It costs $195 for single user license. But I like it.
|
|
|
|
|
I need to connect to remout ftp server through local server.
My ftp client programmed on C in Unix...
|
|
|
|