Hmmm, hadn't thought about that. I'll look into it. What I was hoping to do was to provide the user a web page where they could start this task, then later come back and stop it, which could be whenever they wanted to - this isn't necessarily an 8 to 5 type of a job, but needs to be done when...
The environment is Windows with Apache/php/mySQL. I have written a bunch of web pages that take user input and stuffs the information into the database. This works fine. But also running on the server is another program that generates a series of text files that I would also like to stuff into...
I understand the concern and the security risk of letting a script change the filename before it was actually submitted. But this environment will never have public access, and the max machines on the net would be about 5, maybe 7 or so, so the environment is controllable enough from the user's...
Small typo in the above: The last code snippet should be:
<script language="javascript">
function loadForm() {
var this_filename = getCookie("TheCoolJavaScriptPage");
//alert("The file name is " + this_filename);
document.getElementById("userfile").value = this_filename...
This was a hang-over from some previous code - "thisform" was referred to but I have taken it out to cut down on the amount of code to paste here. I originally referred to the field through the passed form object, but in trying to figure out why it wasn't working, I went the more "direct" route...
Sorry...
The code above is in a script that resides between the HEAD tags, and is called when the page is loaded. Something like this:
<head>
<title>Bland Title</title>
<script language="javascript">
function loadForm(thisForm) {
var this_filename = getCookie("TheCoolJavaScriptPage")...
I have a form that uploads a file and that is working fine. My user complains that every time they want to upload, they have to browse through their ugly directory structure to find the same file time and again. So I thought I'd be nice and capture the file name and write it to a cookie on their...
Here is a trick that I use when writing ASP pages, and it should work with PHP as well (I'm also new to PHP...).
In situations like this where you get input from page 1, then based on that input maybe you want to go to page 2 or page 3, I use an intermediate page. This intermediate page has...
Unfortunately not. Since I purchased my product fairly recently, i was able to use their free e-mail support. I have pasted the e-mails I got from there below. Hopefully one of them will help you. There were three responses from them, and I've numbered them below. Again, good luck...
Here's what I did to get this to work, and it was confirmed by their support people.
There's a service called "Macromedia Licensing Service" and it was set to manual and not running. What I did was to manuall start it through the control panel, then run Dreamweaver and poof, it worked.
Their...
I have had Dreamweaver MX 2004 installed for a while now, and it's been working fine. I haven't used it for about a week or so, and today when I started it, I immediately get an error box titled "Error: WriteFile()", and the message in the box says "The handle is invalid". The only option is...
Thanks, jemminger, for the quick reply. That's the right place, but it didn't help my situation.
What the final culprit was (or is) is my Norton Internet Security software. If a page has javascript in it somewhere (even as simple as <script language="javascript></script> ) the NIS stuff...
I just installed XP SP2 and IE sure seem to behave differently with some of my scripts.
First, pages that have scripting errors no longer display a window with the error and line number in it, making troubleshooting a little hard. Somewhere in IE I think there's an option to turn this error...
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.