No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
im this little fish in a big bad world. i develop "software" using asp (dont ask its a complicated story).
- Interests
- Computers
- PC Specs
- Intel 770 Centrino 2.13 GHz 1024Mb DDR2 533Mhz 256MB NVIDIA GeForce 6800 Go, PCI-Express x16 100Gb Hdrive…
95 Posted Topics
Re: paste the code. but to my knowledge its imposible unless its a runtime error | |
Re: i had the same problem. to my knowledge (im not at my development pc right now) the if statement doesnt like retrieving records from a db and comparing it to a form value. try making vars of the two that you want to compare, then if it. not sure if … | |
Re: [QUOTE=cscgal]Techniner, as you can see in the forum rules announcement, posted in multiple places, no reference to your website or URLs are permitted within these forums. The reason for this is because if we didn't have this rule, we would receive numerous threads such as: "Please help me promote my … | |
Re: the calendar / popup page [CODE]<%@ Language=VBScript %> <%Option Explicit%> <% Dim m_dtCurrentDate 'Currently selected date/time Dim m_lDayofFirst 'The day of the week that the first of the current month falls on Dim m_lDaysInMonth 'Number of days in the selected month Dim m_dtBegin 'Beginning date of the selected month Dim … | |
Hi I have a site that lists a companies products (lots). It has a database table containing these records. I want to loop the records to show 2 accross and the rest down (2 records per row by unlimited rows). it is possible because i made a mistake on an … | |
Re: inside the loop after the stuff to be shown ie <% do while recordset <> bof and recordset <> eof your recordset fields recordset.movenext (cant remember exact code)# loop %> | |
Re: only 100gb? i already have a 100gb hdrive i need atleast a 160. cool idea tho. full marks to hitachi | |
Re: whooohooo. i have been a freelance asp developer for the past 4 years. i recently went to an interview for a job (need to gain a bit of "employment" experiance) the first question the interviewer asked was "straight after a recordset if this statement = true what does it meen? … | |
Re: [CODE] <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 value="3">vendor3</option> <option value="4">vendor4</option> <option value="5">vendor5</option> </select> <input type="submit" name="Submit" value="Submit" /> </form> [/CODE] then on your contact page have a recordset retrieve the values from the dbase using response.querystring("vendor") the above code sends the vale to … | |
Re: i had to do a similer project recently... found this bit of code and modified it a bit [code] Dim user_agent, mobile_browser, Regex, match, mobile_agents, mobile_ua, i, size user_agent = Request.ServerVariables("HTTP_USER_AGENT") mobile_browser = 0 Set Regex = New RegExp With Regex .Pattern = "(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|windows ce|pda|mobile|mini|palm|mobi)" .IgnoreCase = True .Global = … | |
Re: 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 | |
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 document is attatched to... it generates a thumbnail of the … | |
Re: [QUOTE=Earl_CG]I'm sorry but that's not suitable for what I'm trying to do. Your code simply writes each record in its own row. It also bizzarely opens and closes a table in every loop, so in fact each record set has a table of it's own! The inner loop is there … | |
Re: 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 | |
Re: we have an ADSL connection rated at 512 but NEVER GETS THERE. we pay about 1200 rand per month which is about $170 or 120 pounds. our telecomunications SUCK. It is one of the most expensive prices for the least service out. i live in South Africa (not for long … | |
If i read excel records in asp using a recordset (to put those records into something a little better) it continues to use the old file. step 1 - upload excel file to the server step 2 - read excel contents writing them to database (I don't consider excel a … | |
Re: build a html table, it exports it like that to excel. merge the 2 colums. how is the excel file shown? as an exel table in a page? or is it a datasource? what are you trying to acomplish? | |
Re: does this need to be done regularly or is it a once off? if it is once off then what you could do is create a csv (comma deliminated doc) and import it into your database. i am not too sure if it is possible to get asp to do … | |
Re: there isnt a mysql version 2000. and that you would have to ask in the "database" forums | |
Re: 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. | |
Re: 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 | |
Re: 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 updates the record to be the new value. you might want … | |
Re: you could set up a page that submits a form on load using javascript.... with the folowing script. [CODE] <% for each item in request.form response.write "<input type=""hidden"" name="""& item &""" value="""& request.form(item) &""">" next %>[/CODE] and your form passes it on to the other server in the action field. … | |
Re: 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 server map path part errors out. try putting the exact path to the database (if … | |
Re: [QUOTE=zalakes]I am a post graduate [B]I was approached by a company to design for them an Intranet using ASP[/B] i just want to know is this a complex issue or is it easy, bcoz in college( those unknown colleges) we didnt do that much [B]ASP[/B] IF U MAY PLease give … | |
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 = "date()" ' now to use the VARdate response.write(VARdate) %> this is … | |
Re: i used MySQL bible and mysql's help file (its more like a book than a help file) | |
Re: 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 dumped into a folder that way you can have various user interfaces and … | |
Re: you will need to have the database servers ip or dns name mysqldump --opt [I]databasename[/I] > [I]path_and_filname.sql[/I] or from your cmd prompt mysqldump -h [I]hostserver [/I]-u [I]username[/I] -p[I]pasword[/I] --opt [I]databasename[/I] > [I]path_and_filname.sql[/I] restoring it is the above with the > changed to < if im not mistaken | |
Re: SHOW PROCESSLIST; then KILL ??? ??? being the id value for the process | |
Re: [code] UPDATE `adds` SET `client` = 'client1',`TOTALCOST` = 'totalcost' WHERE `ID` =9710 [/code] [code] INSERT INTO `adds` ( `ID` , `client` , `colour`) VALUES ( NULL , 'sda', 'ads'); [/code] try like that | |
Re: <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> <option value="email3@something.com">email 3</option> <option value="email4@something.com">email 4</option> </select> </form> <% ' with the cdo script put "to" email address to the value of the select box %> | |
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 database at a click of a button in an asp application. … | |
Re: 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 it, i for 1 am glad 2003 hasnt … | |
Re: 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. | |
Re: 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 | |
Re: you lot have left it a tad late havent you? whats the criteria? and how extensive should it be? | |
Re: 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. | |
Re: hey. ive been away for awhile.... lets just say that its very impressive the changes made.... congrats dani | |
Re: are you trying to get it to fax to the hotel or send them an email of the fax? | |
Re: 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 bad either. if you get stuck and cant get right the other ways email me, if i can … | |
Re: 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 the user has cookies blocked it uses the session (testcookies is a set cookie with any value) otherwise it uses the cookie | |
Re: 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 | |
Re: 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 not sent in the content / pages. its all handled on the server. to … | |
Re: also use option 3. aparently it makes a difference | |
Re: 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 | |
Re: there is no way for finding out if the user clicked save or cancel. your best bet to find that info is to add something to the actual file that registers being requested, for that you will need a component on the server or something. if you find an answer … | |
Re: im not sure about "free" part. most editors that are capable of saving a asp file without you adding ".asp" to it should be able to check syntax. for the best programme in my opinion use dreamweaver, it aint cheap but it rocks. | |
The End.