For a long time I have been using $mycookie on a site which one day decided to apparently upgrade without notification. In order to fix what was broken I had to use $_COOKIE['mycookie']. I have been looking for documentation to find out if there wa
DomainA.com is diverted to domainB.com using the following script. How do I get the diversion script to display DomainA.com in the browser? <? header( "Location: http://www.domainB.com" ); ?>
Been working on a site and it's about 98% done now :) I'm having an issue where the site is framed with a about three <frameset>'s. Because of how I wanted it to scroll and where the main content was. Now my issue is this my navigation is in a frame
I have this little guestbook script. People enter their info and comments through a form, the info and comments are written to a database, and displayed on another page. Now I would like the script to send a message to the admin whenever a new commen
Say I have an array like this: <?php $colors=array(); $colors['id']=1; $colors['color']='blue'; [code]...........
I am developing a site using php and mysql and have hit a snag on a form. I have an ID field that I am using only to compaire what the user enters with what I currently have in a mysql database for varification purposes. If I enter the data in the fi
I have a question that I don't find answered in the manual: After opening an ftp connection with PHP, will it be closed automatically after the script is executed, just as MySQL connections are? Or does it remain open unless it is terminated with ftp
I tried to update my protection system for security reasons to use new global variables ($_POST, etc). The problem that I have is that the login information is not propagating through the pages (e.g. if I access protectedpage.php it works ok and disp
In order to send several SMS texts from a web site, I need to invoke a new URL with a query string containing the parametres. So I put: <% while (something) Response.Redirect www.xyz.com?p1=xx,p2=yy... etc. wend %> Trouble is of course, control goes
Is the global.asa file the equivalent of an .htaccess file??
Does ASP have a file whose function is similar to .htaccess on Apache? I'm looking to protect subdirectory content.
I'm trying to look for an asp equivilent of .htaccess that is used on apache servers but for use with asp. I am doing a website and moving lots of files into a single directory to make it easier to maintain, however, I don't want to loose the search
we have a 3rd party secure solution that uses htaccess to restrict access to a directory on our site, is there any way to detect what login/password has been entered to access the folder (we want to stop people from letting their colleagues in using
I want to add a preinstall check in my installer to ensure that Frontpage 2002 Server Extensions are installed on a Windows 2003 (All editions) box. Currently I am checking for the HKLMSOFTWAREMicrosoftShared ToolsWeb Server Extensions5.0Location reg
Why doesn't this work? <p> <span class="dropcap"><% = left(rs("abstract"),1)%></span> <% = rs("abstract") %> </p> The drop cap is styled with CSS, but when I view the page, only the drop ca
I have a link that links the user to a page where the recordset they were viewing is formatted in a way that can be printed. Here's the problem. When you go to print it, it is truncated. Switching to Landscape mode was better, but it still truncated
What should happen is if the record has terms_req=no the the go link will do as its doing now. If however the record has terms_req=yes then the go link should go to the terms.asp as it does now. Client then reads the terms and either agrees or declin
I had posted a question asking if there was a way to disable the backspace key on a web form. Because I had users complaining that when they hit the backspace key on a drop down or option, or check box it took them to the previous page. I found a jav
I created a full asp web application. I have most of the bugs worked out of it. However, when I turned it over to the end-users for testing they found a wierd situation, as end-users will, that I hadn't come across. When a users is filling in a form
I am trying to get rid of dashes in SSN if entered by user.Putting the ssn in database and must not have dashes.Can I take dashes out of a string and if so HOW?Or can I make the field in the form so user can not use a dash?