Thank you very much. That makes a lot of sense now that I think about it.
I guess I was stuck in the "passing a string from javascript to php" mindset as far as the escaping goes.
Like I said, the text file shows it all on one line with the "\r\n" literally shown when I open it with a text editor. The content comes from a textarea tag, which displays the content properly. ...
Hi, I'm trying to write a string passed from a <textarea> through an ajax function to a txt file. I know that a newline is written in the textarea using \n, but in the text file using \r\n (I'm on...
I'm using psexec because it has a feature that allows the silent execution of a program. I did try the execution without it, but the same thing happened. I really can't rely on a .bat file to...
After a very frustrating battle with a problem with mysql and Vista :mad:, I've finally had an opportunity to try escapeshellarg. I'm not quite sure how the functions andre4s_y mentioned are meant...
I would use a stable build, but there's a bug in v 3.2.8 that I think might be the cause of a problem I'm having. The path in my php.ini is definitely C:\php\etc I have double checked it twice. ...
It's strange, the page is no longer doing what it used too. Instead of just looping indefinitely, it's printing "The command has failed". It's still a problem, obviously.
And no, adding that line...
I forgot to mention that I'm on Vista. I'm pretty sure that makes a significant difference considering it's so different that XP as far as permissions go.
As far as I can tell it's no different...
Hi,
I'm was testing out a page that takes advantage of the scandir function. I noticed that not all of the sub-directories are listed in at least one folder. The folder I noticed it in is...
Sorry, I forgot to mention that I set element in the page that uses this class. It should be set to SnglMapInfo. The problem is that "this.element" refers to "xhr.element" not MapPreview.element or...
I apologize if my title was a bit confusing, I can't think of another way to put it.
Here's the problem I have: I'm trying to access a property of an object from within a method of that object. The...
I'm having a problem with the code below. Everything is fine and dandy until the if(in_array part. I know this if statement is returning true once each time I run the script because it outputs the...
Thank you very much, Scott. That did the trick. It's still a mystery why I couldn't get pslist to work. I really appreciate the help.
Now I just need to work out a good way to separate the array...
I did try running it using the full path.
Perhaps it's some issue with Windows Vista security.
It seems to just sit there waiting for a response from the server when I don't add the or die, though,...
Sorry about the double post, but for some reason I'm not allowed to edit my posts.
It seems the problem is not solved with xampp as the application is still not being executed.
Have you ever used...
Thanks a bunch for all your help and for that link. I was just trying to figure out what I could do to make this easier. I'll try it out in a bit and report back.
It's strange, exec doesn't work any more either. Are there any php settings (besides safe mode) that might interfere with my using these functions?
Oh, since Wamp is a virtual apache environment,...
I'm running a program called wampserver. It's test software that basically works like a real server.
Anyways, my server is local and pslist is 3rd party software but I put it in the system32...
I just attempted to use shell_exec() and to print the results, but nothing printed. Any ideas why?
Edit: I just added or die, and it turns out the function failed.