Clean Up URL
I would like to clean up my url's with a program like mod_rewrite in PHP. Is there anything out there that doesn't have to be installed to the server to do this job?
View RepliesI would like to clean up my url's with a program like mod_rewrite in PHP. Is there anything out there that doesn't have to be installed to the server to do this job?
View RepliesI have always been in a habit of putting the process page separate from the original data input page. For Example my login.asp page will have the userid and password fields and then login_proc.asp page will process this information resulting in login/error message.
These days i am working with a designer company to upgrade our company web site and they are forcing me to put information and process information, 2 steps to be on the same page. The content will be conditional.
Now my question is, out of these 2 which is better way. The 2nd one is ok if the input page is really simple and same way processing of this information is simple too. But what if the input page is already receiving some parameters from other pages, and due to this, input information is already getting displayed conditionally.
Is there any way to clean the user input before saving to the database.I tried to use..
Function StripNonNum(strInput)
Dim regEx
Set regEx = New RegExp
regEx.Pattern ="^[w-.]{1,}@([da-zA-Z-]{1,}.){1,}[da-zA-Z-]{2,3}$"
regEx.IgnoreCase = True
regEx.Global = True
StripNonNum = regEx.Replace(strInput, "")
End Function
But It doesn't work when user cut&paste the information to screen.For eg.Cut&Paste from a CV which contains Bullet points is there any way to remove these bullet Points before data saving..
i am trying to clean up the messy .asp script that came with some new e-commerce software (Everest), as it gives far too much html. Take a look here.
I am going to take the java script out and reference it like this:
<script src="/superstore/productlist.js"></script>
<script src="/superstore/buy.js"></script>
(nicked from Tesco's website.. Hopefully it will work)
Can anyone suject how I get rid of all that messy creation of variables or Message strings?
WARNING! I am approaching this from a HTML point of view. Can do html in notepad and am working from the generated html files backwords to find out what the ASP files are, so please explain it like you are talking to a four year old.
I need to convert the Query Strings into Clean URLs, Found some articles on
PHP and Apache server.. How do we it them with ASP ??
My site keeps going down and I don't know why. I've been looking for tips on cleaning up my ASP code but couldn't find any. Do any of you guys/girls have any tips on cleaning the code? What to do and what not to do?
View Replies View RelatedI have a 'textarea' javascript component which allows users to edit text in an HTML form's text area with some WYSIWYG features (such as emboldening, insertion of lists etc). However, this doesn't deal very well at all with text copied and pasted from Word.
Is there a way (a VBScript function maybe) which can strip out Word HTML upon submitting the form, or alternatively a good free text-area replacement tool with this built-in?
i was wondering if there are any tools or programs out there that
can clean up your asp code like realign and make it more readable and
if there is can i have some recognitions please.
I usually clean the session when the result page is presented to the user.
At this time, say an email confirmation was sent to the user and a pdf file
they can becdownloaded from the result page.
But if the user click the refresh or back button etc. for some reasons, they
pdf file is not available since it created on the fly when the request was
submitted.
So I am thinking about pull pdf file from database, but don't want the
database being hitted everytime the refresh button was clicked or the
requested is resubmitted.
I would like to get a roadmap on learning from you folks. I need to learn
how to take an SQL view of data that I have and allow it's data to be
retrieved as an XML document in IIS.
I know how to create queries and views. I use Data Transformation Services
frequently (there isn't an XML document type in the OUTPUT options that I
can see) and, I actually get the concept of XML AUTO (for those who do not
know, this does a quick and dirty formatting of data in XML hierarchy), but
yet I do not know how to take these XML results and write them to a file,
allow it to retrieved (ONLY retrieved, not write back) from IIS as an XML
document type. Code: