Search:

Type: Posts; User: v8YKxgHe; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    2

    Removal of account

    Hi, please could you disable and randomise the username of my account? Many thanks
  2. Replies
    70,096
    Views
    2,967,788

    Re: Word association

    tasty
  3. Thread: Bash, delete

    by v8YKxgHe
    Replies
    5
    Views
    385

    [SOLVED] Re: Bash help !!!

    Be careful when using this, as it doesn't do exactly what you may want it to do. For example, in Bash the wildcard glob "*" does not match dot-files by default, and you need to enable the "dotglob"...
  4. Replies
    3
    Views
    332

    Re: PHP redirect not working

    You should rework your logic ... having data being supplied to the user but then wanting to redirect straight away makes zero sense.
  5. Replies
    2
    Views
    433

    [SOLVED] Re: PHP class question

    Array dereferencing is new since PHP 5.4.0, so unless you're running 5.4.0+ then you'll get a syntax error. To work around it, simply assign the return value to a variable, and then access the array...
  6. [SOLVED] Re: The "1" in print function ( PHP programming)

    It's simple. As stated in the docs (http://php.net/print) the return value of 'print' will always be 1. The "HELLO" appears first, followed by the three ones which are being printed out by the very...
  7. Re: PHP HTML button functionality (logic problem)

    bneva; there seems to be a lot of misinformation being handed to you here so I'll try and clear a few things up.

    The code I gave you will work, the reason you're running into issues is that the...
  8. Re: PHP HTML button functionality (logic problem)

    <form action="foo.php" method="post">
    <input type="hidden" name="file" value="myfile">
    <input type="submit" value="Delete">
    </form>


    <?php
    if (isset($_POST['file'])) {
    /** Add...
  9. Replies
    4
    Views
    779

    Re: Sudo in a user's crontab

    He wants to run a command as root but without placing the command in roots crontab; so he would need sudos default behaviour to run as root.

    Maybe I'm reading it wrong, but his question would be...
  10. Replies
    4
    Views
    779

    Re: Sudo in a user's crontab

    Just prefix the command with 'sudo' and make sure in your /etc/sudoers file (edit it via 'visudo') that you can run the specified command without the need to enter your password.
  11. [SOLVED] Re: preg_match number has only 0's and 8's (PHP)

    Don't use regex for this, use http://php.net/strpos
  12. Re: PHP HTML button functionality (logic problem)

    You're mixing server side (PHP) with client side (JavaScript). You can not call PHP functions from within JavaScript.

    You don't need any JavaScript for this to work. That HTML form will POST to...
  13. Re: PHP HTML button functionality (logic problem)

    Go simpler and just make each its own HTML form, with 1 hidden input being the identifier for the file and 1 submit button per form. Of course, validate the values server-side for security reasons.
  14. Replies
    17
    Views
    1,518

    Re: Inkscape - Powerful and Easy

    GIMP is a raster image editor. Inkscape is a vector image editor. They can not be better then each other, or worse than each other - they do different things
  15. Replies
    21
    Views
    1,041

    Re: A new approach to handling encryption

    TimeDistort12, it really would never happen because what you're suggesting implies a false sense of security and is very dangerous.

    "security" is not one thing, it's a layer of things and by doing...
  16. Re: Coding PHP for newbies. Why this page does not work?

    unknownPoster, that is no problem - just do as it says and use the === operator. The overhead of using regex for such simple operation is not a good idea.

    To quote a famous saying:



    Regex is...
  17. Re: Coding PHP for newbies. Why this page does not work?

    http://php.net/ereg has been deprecated for a long time and should not be used, please suggest http://php.net/pcre over it. Also, for such simple thing regex is not even needed. You can use...
  18. Re: PHP get the time in a given city in the world?

    Your previous post makes 100% no sense. What do you mean, and what is the *actual* error produced by PHP?
  19. Re: PHP get the time in a given city in the world?

    Ensure that you have "display_errors" on and that you have a high enough "error_reporting" level. This can be done either in your php.ini configuration file or you can put the following at the top of...
  20. Re: PHP get the time in a given city in the world?

    There is no need to set the environment all the time. Simply use PHPs many DateTime classes/functions, http://php.net/datetime for example:


    $a = new DateTime('now', new...
  21. Replies
    8
    Views
    380

    [SOLVED] Re: About PHP Errors

    On localhost it is obviously OK to enable "display_errors". Also ensure that your "error_reporting" is set to "E_ALL | E_STRICT" within your php.ini file.

    Also, the missing semi-colon is perfectly...
  22. Re: Request feedback on my implementation of a DNS server

    removed
  23. Re: Request feedback on my implementation of a DNS server

    removed
  24. Re: Request feedback on my implementation of a DNS server

    removed
  25. Re: Request feedback on my implementation of a DNS server

    I don't have any feedback on your actual code & program per se, however:


    Nor will your own custom program. Subscribing to their mailing list is a hell of a lot easier than doing what you're...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4