www.webdeveloper.com

Search:

Type: Posts; User: dukesdemise

Search: Search took 0.02 seconds.

  1. Hi Leroy, Here is the test code I used. Maybe...

    Hi Leroy,

    Here is the test code I used. Maybe it will help.



    <?php
    $pid = "12345";
    $item_id = $pid;
    $cart_array = array(0 => array("item_id" => $pid, "quantity" => 1));
  2. Replies
    4
    Views
    1,269

    $email = $_POST['email1']; Well for...

    $email = $_POST['email1'];



    Well for starters, this is an obvious security problem. You need to filter all user input. The above code could make your application vulnerable to a command...
  3. Hey Leroy, I looked at your code, and making a...

    Hey Leroy,

    I looked at your code, and making a few assumptions I was able to duplicate the problem and arrive at a solution. The problem lies in section 3.

    Try changing your code...
  4. If you're on a unix, linux, or an osx system try...

    If you're on a unix, linux, or an osx system try sending the email using the "mail" command line program. Type "man mail" for command options. That would isolate whether it is your particular...
  5. Replies
    4
    Views
    829

    Hmm. Ok I'll give you a direct download link to...

    Hmm. Ok I'll give you a direct download link to the LIBRARY on the same site. Had you scrolled down a little bit further you would have seen it.

    http://php-login-script.com/php_login_v2.3.zip
    ...
  6. Replies
    1
    Views
    564

    Perhaps you could use a tool such as wget to...

    Perhaps you could use a tool such as wget to download the entire site. Once you have the site's source code, you could then edit the source (such as css) and customize it for your particular...
  7. Replies
    4
    Views
    829

    You should be aware of the various security...

    You should be aware of the various security issues surrounding login pages. Perhaps it would be easier to use a library? Give this one a try. It looks interesting. http://php-login-script.com/
  8. Replies
    2
    Views
    751

    Without more code its difficult to know what you...

    Without more code its difficult to know what you are trying to do. However, I have put together some sample code that you can run from a command line. Perhaps it will give you some ideas.

    ...
  9. Replies
    2
    Views
    783

    Thanks eval. What I was trying to do was ok, but...

    Thanks eval. What I was trying to do was ok, but I wasn't retrieving the data properly so it appeared to be empty (to me).
  10. The solution is that you need to flush the stream...

    The solution is that you need to flush the stream on the Java side. Flush the stream right below your 'Write succesful' line (see below):


    System.out.println("Write succesful");
    bw.flush();
    ...
  11. Replies
    2
    Views
    783

    ArrayAccess not storing info?

    I'm trying to learn more about using the ArrayAccess interface.

    I have one class (UserClass) creating an object that implements ArrayAccess (MyRecords). There is an array defined in UserClass...
  12. Replies
    3
    Views
    1,132

    Is the $_SESSION superglobal array not safe? I...

    Is the $_SESSION superglobal array not safe? I thought since it is only persisted on the server that it could be trusted.
  13. Replies
    3
    Views
    1,859

    This is a little more complete, and like...

    This is a little more complete, and like NogDog's example above will place the data in an associative array.


    <?php
    $text = <<<FLASHTEXT
    REGISTER name=Username
    password=Password...
  14. Replies
    4
    Views
    1,975

    My apologies for my previous post. If you could...

    My apologies for my previous post. If you could be clear in what you are asking perhaps I could help. Try to be specific, and take the time to ask your question in a manner that would prompt...
  15. Replies
    3
    Views
    1,859

    Perhaps this would work for you? Here is some...

    Perhaps this would work for you? Here is some sample code:



    <?php
    $text = <<<FLASHTEXT
    REGISTER name=Username
    password=Password
    email=email@domain.com
    FLASHTEXT;
  16. Replies
    4
    Views
    1,975

    First of all, I have no idea what you are asking....

    First of all, I have no idea what you are asking. I'm not exactly sure what a "seen" paper is. Also, I'm not sure what it means when you are "get given" a "seen" paper. In addition, I'm not sure...
Results 1 to 16 of 16
HTML5 Development Center



Recent Articles