netcracker
-
Posts
85 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by netcracker
-
-
you may use a browser that denies coockies or has some filters active...IE doesn't have this, but other browsers, like Opera, Maxthon..., do!
-
ofcourse...!!i knew that !! thx a lot scott !!
-
does anyone know how to write only a part of a filed ? say... the first 10 characters!let's say i select a record from a db and i want to write the begining of a fieldthis would write the whole contents of that field..
response.write(rs.fields.item("field"))
..but what if i want to write only the first 10 letters ??i think it shouyld be something like this:
response.write(rs.fields.item("descriere_scurta").Read(5))
...but it's not.please help !thx
-
-
i think you should compare 2 dates, and u should store the date when u modified a page somewhere.something like:if FormatDateTime(filObject.DateLastModified, VbShortDate) between FormatDateTime(date_last_modified, VbShortDate) and FormatDateTime(now(), VbShortDate)then alert user ...but why complicate things when you could have a popup to alert the user, that you could manually modify whenever u make a change...
-
logon_user
in ASP
...but if the user is behind a firewall it won't show anything
-
not sure i understand just what you are trying to do...you can store the passwords in a table (db) and in check to see if the user typed in that password........
-
u must do a "while" script ...
while not rs.eof then ...send mail...move.nextwend
-
help required
in ASP
you will need to define 2 connections:if condition1 Dim connection1 set connection1 = Server.CreateObject("ADODB.connection") connection1.ConnectionString = "Driver={SQL Server}; Server=e-govrural;Database=sarthi;Uid=ts_sarthi;Pwd=ts_sarthi;" connection1.Open response.write("do your thing #1")else Dim connection2 set connection2 = Server.CreateObject("ADODB.connection") connection2.ConnectionString = "Driver={SQL Server}; Server=e-govrural;Database=sarthi;Uid=ts_sarthi;Pwd=ts_sarthi;" connection2.Open response.write("do your thing #1")end if
-
I don't think u can connect to 2 databases that are on different machines and not on the same network (LAN).Not with MS Access, anyway...You cannot open a connection across the Internet.
-
something like this:
If IsEmpty(request.form("field_name")) or request.form("field_name")="" then response.write "<div align='center'field cannot be blank !!<br/>" response.write "<input type='button' onClick='window.history.back()'>" response.write "</div>" response.end Else local_var = request.Form("field_name")End If
-
rs.open "select * from domenii",conn<select><%While not rs.eof response.write ("<option>"& rs.fields.item("name_of_the_field") &"</option>") rs.MoveNextwend%></select>it's no biggie, is it ?!
-
however, i think it's all the same if you use that statement or not.<% Language=Javascript%> -
<script LANGUAGE="Javascript">history.go(1);</SCRIPT>this will disable both back as well as forward
-
You might find these xtremely usefull:http://w3schools.invisionzone.com/index.ph...604entry10604orhttp://w3schools.invisionzone.com/index.ph...438entry10469try using the search facility on the forum, the subject has already been discussed...
-
DO NOT SHARE your folder !!! this is a hazardous action an it makes you vulnerable to outside attaks !!Define a web site in IIS and allow all or some IP's to acces it !! That should be enough!read some tutorial on installing IIS and defining a website on your localhost.I have shared my folder and let the other people to browse on it, but it still not work, did i need to config some of the component. -
if u can find a way to insert/update the info in your DB and at the same time upload your files...I needed to upload accordig to an "id" field so first i needed to do the data insertion/update an d afterwards do the upload by taking the ID of the data previusly inserted/updated.hope i've been coherent...
-
Once the website is installed on your IIS, anyone can access it by typinghttp://yourIP/name_of_site/ in their browser...is the "other" on your LAN or connecting from the Internet?if it is from the LAN then "yourIP" must be the LAN IPelse "yourIP" is the IP you connect to the Internet with.what setting should i need to do if i want to share this website (asp) to the other??i try to use the ip address instead of my localhost, but it still not work.Can any one help me to solve this problem?? -
First of all you will not be able to see anything unles directory browsing is enabled. If it is so, why bodder whith a script when IE or WinExplorer can do the job.But I have the feeling that you are trying to do some hacking, and steal somthing from somewhere...You could have used google instead of posting here, it might have been faster !Hi to everyone!Can anybody help me? I am looking for an ASP function, that gives me the list of names of all files in any folder on the server. Does that function exist? -
I myself chose an "inovative and original" 2 page solution. After the data is inserted redirect the user to the upload form or present him with the upload form just after the success message for the insertion of data.
-
ASP adRotator
in ASP
Give a sample of the code to check it out an maybe then someone might present you with solution...Howerver, it should by any means rotate a swf banner also.
-
you need to define a site... I have no ideea how to do that in PWSI m using windows98, I did all the microsoft windows98 update a week ago.now my PWS is running fine, my html pages are being displayed correctly.but my ASP pages no.When I try to run it, I usually get a dowload confirmation box, I choose open, but then nothing oppear, except the plain text in the .asp fileplease, someone out there help -
-
u need to make an admin panel... :)make the users login before they can acces any of that page by inserting in the begining, before the rest of the code:
if not session("auth_granted")="true" then response.Redirect "login.asp" response.end
reed these:http://w3schools.invisionzone.com/index.php?showtopic=11http://www.w3schools.com/asp/default.asp
calling javascript inside a javascript
in JavaScript
Posted
how can i call a javascript (or the value returned by a js) inside an already opened and in execution javascript?more to the point, something like this:
it should be quite easy, i presume, but my knowledge in js has its flaws... :)i think there should be some " or ' or { or .... please helpthx