Using classic ASP 3.0, I have a page that receives a username in an http "post" request. The username has international accents. I want to query the database to get the user's information based on the username. It's not working. If I print the query to the web page, then copy&paste it into...
Thanks for the suggestions. Maybe I should rephrase the question: How do I obtain the full URL address that a person has typed? So, I'd like to know if a person typed the correct address or if they entered "//" when it wasn't needed.
You may be wondering why I ask this question. The site...
Hi,
I'm trying to use vbscript within an ASP page (asp 3.0) to determine whether the person visits my site with or without an extra "/"....
http://www.mysite.com/hello.html
or
http://www.mysite.com//hello.html <-- notice the "//"
Any ideas on how to record this info? I've looked at...
a little correction. It is displaying an error message "Access denied". The two web pages are on the same web site, and even within the same directory.
Any ideas?
sites I like: http://www.RankAMovie.com/" .. let's me find new movies to watch :)
Hi,
I currently have window "A" use javascript's statement "window.open" to create a new window "B".
Within window B, if I use javascript...alert("some info=" + window.opener );" then I receive an alert box that says "some info[object]"...and this is a good sign (I think).
My problem: when...
You may want to read up on php's functions "urlencode" (http://us3.php.net/urlencode) and "urldecode" (http://us3.php.net/manual/en/function.urldecode.php)
Using these functions, you could grab any string of characters from the db, and apply the php functions (mentioned above) before you insert...
if you're obtaining your data from a database, then you could use the max() on the primary key field. For example:
select max(the_id) from the_table
this query will return 1 row, which contains the greatest value for the "the_id" field.
Hope this helps.
sites I like...
Thanks for the reply. Yes, I want to pass it as part of the url. My question: What is the best way to format a passed variable, when the variable contains characters that could be percieved as part of the url? (What is a good way to escape the url characters "&" and "?" when they're part of...
Hi,
What's a good way to use php to take the an image from one web site (www.somewhere.com/images/thing.jpeg ) and save it to my other web server (www.here.com/images/thing.jpeg). Basically, I'd like to essential "scrape" an image to my web server...not that I'm going to be scraping anyone's...
Hi,
I'd like my site to check if a user is logged in. If she/he is not logged in, then redirect the page to a login page, and eventually come back to the originally requested page.
Let's say I have: main.asp?this=2&that=4
the system will see that a login is needed, go to the login screen...
Here is a list of some portal programs that you might want to consider... I found this list at random sites on the web [some items may not be very helpful, but hopefully the list will give you some ideas]...
BitWeaver
CivicSpace
Clever Copy
CMS Made Simple
Contenido
DEV
Dragonfly CMS
Drupal...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.