Search Results

Showing results 1 to 40 of 131
Search took 0.01 seconds.
Search: Posts Made By: william_stam
Forum: ASP Mar 28th, 2009
Replies: 7
Views: 1,899
Posted By william_stam
i had to do a similer project recently... found this bit of code and modified it a bit


Dim user_agent, mobile_browser, Regex, match, mobile_agents, mobile_ua, i, size

user_agent =...
Forum: ASP Mar 28th, 2009
Replies: 2
Views: 943
Posted By william_stam
you will need to probably use javascript for that..

alternatively... give your submit buttons diferent values and retrieve them on a "splitter" page..

request("sumbit1") etc :P
Forum: ASP Mar 28th, 2009
Replies: 0
Views: 601
Posted By william_stam
hi anyone know of a component that will make an image (preferably on the fly) of a pdf document.

for eg...

i upload a pdf file... it gets saved on the server.. when i view a record that the pdf...
Forum: ASP Jun 7th, 2006
Replies: 1
Views: 3,805
Posted By william_stam
you cant do it. sql is server side. javascript is client side. you need a way of interacting with the server. javascript doesnt do that.
Forum: ASP Jun 7th, 2006
Replies: 6
Views: 7,333
Posted By william_stam
there isnt a mysql version 2000. and that you would have to ask in the "database" forums
Forum: ASP Jun 7th, 2006
Replies: 3
Views: 1,268
Posted By william_stam
or just write a script that reads the records from access and the writes it to the other db.... i have to do it this way with mysql
Forum: ASP Jun 7th, 2006
Replies: 1
Views: 1,431
Posted By william_stam
do you have a database?

if so set up a command to update it. so you would have the article number. when the page is called a recordset retrieves the last value and then adds one. the command then...
Forum: ASP Jun 7th, 2006
Replies: 3
Views: 7,662
Posted By william_stam
the calendar / popup page <%@ Language=VBScript %>
<%Option Explicit%>
<%
Dim m_dtCurrentDate 'Currently selected date/time
Dim m_lDayofFirst 'The day of the week that the first of the...
Forum: ASP Jun 7th, 2006
Replies: 3
Views: 2,249
Posted By william_stam
you could set up a page that submits a form on load using javascript.... with the folowing script.

<% for each item in request.form
response.write "<input type=""hidden"" name="""& item &"""...
Forum: ASP Jan 24th, 2006
Replies: 5
Views: 2,348
Posted By william_stam
server.execute doesnt work. what does work (compliments of "vbs in a nutshell") is
dim S
S = "sub Proc2 : "
S = S & "dim x : "
S = S & "x = 10 : "
S = S & "MsgBox x : "
S = S & "End Sub "
...
Forum: ASP Jan 24th, 2006
Replies: 9
Views: 4,877
Posted By william_stam
its possible. an intranet is basicaly a website, so anything you can do for the web you can do for intranets. my question to you is why would you want to. ordinary html is sooo limiting, unless you...
Forum: MySQL Jan 15th, 2006
Replies: 2
Views: 2,176
Posted By william_stam
i used MySQL bible and mysql's help file (its more like a book than a help file)
Forum: MySQL Jan 15th, 2006
Replies: 3
Views: 2,025
Posted By william_stam
i know this is seriously late

so you want to store the mp3's in the database? why not just use the database to link to them so
user interface (html with serverside scripting) - database - files...
Forum: MySQL Jan 15th, 2006
Replies: 3
Views: 15,123
Posted By william_stam
you will need to have the database servers ip or dns name

mysqldump --opt databasename > path_and_filname.sql

or from your cmd prompt

mysqldump -h hostserver -u username -ppasword --opt...
Forum: MySQL Jan 15th, 2006
Replies: 1
Views: 1,706
Posted By william_stam
SHOW PROCESSLIST;

then

KILL ???

??? being the id value for the process
Forum: MySQL Jan 15th, 2006
Replies: 3
Views: 3,647
Posted By william_stam
UPDATE `adds` SET `client` = 'client1',`TOTALCOST` = 'totalcost' WHERE `ID` =9710


INSERT INTO `adds` ( `ID` , `client` , `colour`)
VALUES (
NULL , 'sda', 'ads');


try like that
Forum: ASP Jan 11th, 2006
Replies: 5
Views: 2,348
Posted By william_stam
"A simple combination of check routines and loops should do the trick."


how????? ive started with the generate asp pages of code then execute but idealy i want it to out pu the whole thing to a...
Forum: ASP Jan 10th, 2006
Replies: 5
Views: 2,348
Posted By william_stam
hi

i have a page that generates asp code as text.

this all works well, but i need the same page to take the generated code and use it as asp again. is this even possible?

<% VARdate =...
Forum: ASP Dec 29th, 2005
Replies: 3
Views: 7,615
Posted By william_stam
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<% If request.Form("emailtoad")<>"" Then %>
<%

' Send by connecting to port 25 of the SMTP server.
Dim iMsg
Dim iConf
Dim Flds
Dim strHTML
Dim...
Forum: ASP Dec 24th, 2005
Replies: 0
Views: 2,445
Posted By william_stam
i need to run a backup script for a mysql database how do i run "mysqldump" from asp?

ive tried aspexec and mcs but no luck. am i missing something?

basicaly i need to be able to backup a...
Forum: ASP Dec 24th, 2005
Replies: 3
Views: 7,615
Posted By william_stam
<form name="form1" method="post" action="">
<select name="select">
<option value="email1@something.com">email 1</option>
<option value="email2@something.com">email 2</option>
...
Forum: Windows NT / 2000 / XP Dec 8th, 2005
Replies: 5
Views: 8,734
Posted By william_stam
my biggest gripe with it is that its a resource hog, but ive heard lil birdies tweeting about the usual stuff like security and stability.
Forum: Windows NT / 2000 / XP Dec 8th, 2005
Replies: 5
Views: 8,734
Posted By william_stam
downgrade to xp then. 2003 is a base system they took out all xp junk to make it stable. if you want a xp looking computer USE xp. enough of a rant the login screen ive heard has a few "issues" to...
Forum: ASP Dec 8th, 2005
Replies: 3
Views: 4,087
Posted By william_stam
or use javascript to submit the form and vbscript to use the value of the checkbox submited if the messages are pulled from a db.
Forum: ASP Dec 8th, 2005
Replies: 2
Views: 5,427
Posted By william_stam
set the select box to submit the form. then have the next select box request.form("firstselectvalue") it. that way you can set up a if select1 hasnt been submited the disable select 2 etc
Forum: ASP Dec 8th, 2005
Replies: 1
Views: 2,033
Posted By william_stam
you lot have left it a tad late havent you?
whats the criteria? and how extensive should it be?
Forum: ASP Dec 8th, 2005
Replies: 4
Views: 6,542
Posted By william_stam
in the first examples you were using an access database. the last one if for a mysql database.

with the access errors i found that under certain cercamstances (i dont know whick ones tho) the...
Forum: ASP Nov 15th, 2005
Replies: 2
Views: 9,036
Posted By william_stam
therwise just use the meta print thiny. it prints an entirely different page to the one showed. so set up 2 asp pages. 1 to be viewed, 1 to be printed
Forum: ASP Nov 15th, 2005
Replies: 3
Views: 3,331
Posted By william_stam
use cookies and session vars.

dim saveinfo1
if request.cookie("testcookie")="" then
saveinfo1 = session("saveinfo1")
else
saveinfo1 = request.cookie("saveinfo1")
end if

bah, this way if...
Forum: ASP Nov 15th, 2005
Replies: 3
Views: 4,443
Posted By william_stam
are you trying to get it to fax to the hotel or send them an email of the fax?
Forum: ASP Nov 15th, 2005
Replies: 2
Views: 2,821
Posted By william_stam
most common database for asp is mssql and access. i use asp and mysql (freelance developers cant really afford mssql's licencing). google still stays the best place for information. daniweb isnt so...
Forum: ASP Nov 15th, 2005
Replies: 3
Views: 5,049
Posted By william_stam
why do you really need to have a trusted connection? if the site is https and the hosting company is straight (or trusted users only on the computer) its secure enough. the username and password is...
Forum: ASP Nov 15th, 2005
Replies: 4
Views: 4,208
Posted By william_stam
to my knowledge its still cdonts.newmail etc.. the messege thing is a new bit they are working on or something. the upgrade to cdonts... is cdosys.
Forum: ASP Nov 15th, 2005
Replies: 2
Views: 2,808
Posted By william_stam
also use option 3. aparently it makes a difference
Forum: DaniWeb Community Feedback Nov 15th, 2005
Replies: 9
Views: 2,754
Posted By william_stam
hey.
ive been away for awhile.... lets just say that its very impressive the changes made.... congrats dani
Forum: ASP Oct 18th, 2005
Replies: 6
Views: 14,418
Posted By william_stam
paste the code. but to my knowledge its imposible unless its a runtime error
Forum: ASP Oct 18th, 2005
Replies: 3
Views: 3,576
Posted By william_stam
<form id="form1" name="form1" method="get" action="next.asp">
<select name="vendor" id="vendor">
<option value="1">vendor1</option>
<option value="2">vendor2</option>
<option...
Forum: ASP Oct 18th, 2005
Replies: 5
Views: 4,103
Posted By william_stam
explain? ive never heard of inet activex before. if you want to send info through a url it request.querystring("id") would retrieve testing from test.asp?id=testing
Forum: ASP Oct 18th, 2005
Replies: 2
Views: 4,541
Posted By william_stam
the other thing is, im not sure about the others but since you are asking about an asp problem only put the asp code. and maybe the relevant form
Forum: ASP Oct 18th, 2005
Replies: 2
Views: 4,541
Posted By william_stam
the easiest way is to run a resordset with the details as where clauses. then have an if the recordset is empty then insert new records else redirect to a page that says those details exist
Showing results 1 to 40 of 131

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC