dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: khsater

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,914

    Thank you very much. That makes a lot of sense...

    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.
  2. Replies
    4
    Views
    1,914

    Like I said, the text file shows it all on one...

    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. ...
  3. Replies
    4
    Views
    1,914

    [RESOLVED] New line in .txt file

    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...
  4. I'm using psexec because it has a feature that...

    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...
  5. After a very frustrating battle with a problem...

    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...
  6. I would use a stable build, but there's a bug in...

    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. ...
  7. It's strange, the page is no longer doing what it...

    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...
  8. Sure. include ('functions.php'); include...

    Sure.

    include ('functions.php');
    include ('init.php');

    $dir = $_GET['dir'];
    chdir($dir) or die('There was an error changing the directory. It may no longer exist.');
    $dir = getcwd();
    ...
  9. Unable to load dynamic library 'C:\\PHP\\ext\\php_mysql.dll'

    Hi, I just enabled mysql as well as mysql in my php.ini and this error appears in my apache error log:

    I'm running PHP Version 5.2.10-dev, so that may be the reason for the weird double slashes...
  10. Problems with the exec function and double quotes

    For some reason, I can't get php to execute an exe:

    $command = 'psexec -d C:\wamp\www\FileSharing\clineapps\IconsfromFile\extraico.exe -e -iconindex=1 -desttype=JPEG -closewhendone "'.$fullpath.'"...
  11. Replies
    2
    Views
    619

    I forgot to mention that I'm on Vista. I'm...

    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...
  12. Replies
    2
    Views
    619

    scandir() doesn't give me every directory

    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...
  13. Thank you. That worked perfectly. I appreciate...

    Thank you. That worked perfectly. I appreciate it.
  14. Sorry, I forgot to mention that I set element in...

    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...
  15. [RESOLVED] Help using "this" within an object that's a method

    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...
  16. Replies
    2
    Views
    743

    Sure, I can include it. I'm quite sure it...

    Sure, I can include it. I'm quite sure it doesn't make a difference, however.

    exec("tasklist", $output) or die('Dead.');

    for($i=3; $i<=count($output);$i++){
    $string = $output[$i];...
  17. Replies
    2
    Views
    743

    Problems with the in_array function

    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...
  18. Thank you very much, Scott. That did the trick. ...

    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...
  19. Shoot. I meant that the application isn't...

    Shoot. I meant that the application isn't starting.
    (That was a bad typo)
  20. I did try running it using the full path....

    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,...
  21. Sorry about the double post, but for some reason...

    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...
  22. Thanks a bunch for all your help and for that...

    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.
  23. It's strange, exec doesn't work any more either. ...

    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,...
  24. I'm running a program called wampserver. It's...

    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...
  25. I just attempted to use shell_exec() and to print...

    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.
Results 1 to 25 of 31
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles