Search:

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

Page 1 of 17 1 2 3 4

Search: Search took 0.01 seconds.

  1. Use: mysql_connect(); NOT msql_connect(); if...

    Use: mysql_connect(); NOT msql_connect();

    if you are using a MySQL database.

    Although msql_connect() is a valid function.
  2. Replies
    2
    Views
    994

    Editing because I just remembered you wanted...

    Editing because I just remembered you wanted random users per day. I think you will need a database to do this.

    You'll need a table containing rows with dates and a random user.

    First you'll...
  3. Pay attention to your parenthesis and brackets....

    Pay attention to your parenthesis and brackets. They are different from one another.

    Also, it might be a good idea to get used to using tabs, spaces, and line spacing to improve the readability of...
  4. For a list that big, you should use a database. ...

    For a list that big, you should use a database.

    You'll be able to create the html for the select list with a loop.

    Once you have the list item the user selected, then it is just a matter of...
  5. Replies
    7
    Views
    4,418

    tcoble, Unless you have changed something in...

    tcoble,

    Unless you have changed something in your code since your first post, you do not, and should not, need to use php to output what you have there.

    What are you trying to achieve by using...
  6. Replies
    8
    Views
    4,076

    What Daniel said is right and adding an extra...

    What Daniel said is right and adding an extra "fingerprint" to the session in the form of the user's ip address is a good idea. Be aware though under some circulstances a user's ip address can change...
  7. Replies
    3
    Views
    1,724

    echo round(3.15895, 1); I bet you could have...

    echo round(3.15895, 1);

    I bet you could have figured this one out yourself.
  8. Thread: Array Value

    by JasonDFR
    Replies
    7
    Views
    2,404

    Bluewalrus' question is poorly worded. I came to...

    Bluewalrus' question is poorly worded. I came to the same conclusion you did Tim before realizing that what he probably wants is a way to get the key of the lowest value in the array, not the lowest...
  9. Thread: Array Value

    by JasonDFR
    Replies
    7
    Views
    2,404

    I really enjoy problems like this. $value =...

    I really enjoy problems like this.


    $value = array();
    $value[0]= 12.84930;
    $value[1]=9989.12123;
    $value[2]=.0023412093;
    $value[3]=10.19;
    $value[4]=2.56;
    $value[5]=.0023412093;
  10. Thread: Array Value

    by JasonDFR
    Replies
    7
    Views
    2,404

    $value = array(); $value[0]= 12.84930;...

    $value = array();
    $value[0]= 12.84930;
    $value[1]=9989.12123;
    $value[2]=.0023412093;
    $value[3]=10.19;
    $value[4]=2.56;

    echo array_search(min($value), $value); // This will return the key, 2 in...
  11. Replies
    7
    Views
    2,273

    nice...

    nice...
  12. Replies
    7
    Views
    2,273

    Must have been working on these while the first...

    Must have been working on these while the first reply was made.

    OOP way. Just because it was fun to do.


    class FileRandomizer {

    protected $_dirPath = '';
    protected $_numberToReturn =...
  13. Replies
    7
    Views
    2,273

    function isDot($file) { if ($file == '.' ||...

    function isDot($file) {
    if ($file == '.' || $file == '..') {
    return true;
    }
    return false;
    }

    function randomFiles($path, $numberToReturn = null) {
    if (!is_dir($path)) {
    return false;
  14. Replies
    5
    Views
    2,848

    You've got to get a handle on the basics. I would...

    You've got to get a handle on the basics. I would suggest going through some of the tutorials listed here.

    http://www.google.com/webhp?hl=en#hl=en&q=simplexml+tutorial
  15. Thread: Help with...

    by JasonDFR
    Replies
    10
    Views
    2,737

    http://www.tizag.com/ Go through some...

    http://www.tizag.com/

    Go through some tutorials first. HTML and PHP.

    Good luck.
  16. Thread: Help with...

    by JasonDFR
    Replies
    10
    Views
    2,737

    bilde is the name of the file input in your form:...

    bilde is the name of the file input in your form:

    <input name="bilde" type="file" />

    $_FILES['bilde']['name'] is the name of the file as it is on the user's computer....
  17. Thread: Help with...

    by JasonDFR
    Replies
    10
    Views
    2,737

    What trouble are you having?

    What trouble are you having?
  18. Replies
    6
    Views
    4,708

    Have you tried the From header? It is required...

    Have you tried the From header? It is required btw.
  19. I can't believe I am replying again, but here it...

    I can't believe I am replying again, but here it goes:

    Jshor, This is a quote from the guy asking the question:



    The same that you just quoted, though you left the error message out of your...
  20. Replies
    6
    Views
    4,708

    Who knows. That is something your cell phone...

    Who knows. That is something your cell phone company ultimately controls. Like I said, I would try including the "Reply


    <?php

    $header = "Reply-To: 555-555-5555\r\n";

    mail($to, $subject,...
  21. This is my last reply: If your REMOTE SERVER...

    This is my last reply:

    If your REMOTE SERVER is NOT RUNNING WAMP, then C:\wamp\www\noyaevofis\images\bg.GIF is NOT A VALID PATH on your REMOTE SERVER and you MUST CORRECT THE PATH. That is why you...
  22. Replies
    6
    Views
    4,708

    Your php script is not sending a text message to...

    Your php script is not sending a text message to your phone. I'm not sure if you are under the impression it is or not, but when you asked "Or are text messages sent from a server one-way only?" it...
  23. Replies
    15
    Views
    3,163

    Why don't you guys consolidate this to just one...

    Why don't you guys consolidate this to just one thread.

    There is definitely no path like this: C:\\wamp\\www\\noyaevofis\\images\\block.png

    Now what could be causing you to have two directory...
  24. Replies
    2
    Views
    1,372

    I can't remember exactly, but I think this has to...

    I can't remember exactly, but I think this has to do something with php on windows and the fastcgi api or isapi. You should contact your host and/or upgrade php and/or figure out which server api...
  25. What php.ini setting are you talking about? ...

    What php.ini setting are you talking about?

    Take a look at the error he posted in the first post and I reposted in my last post. I don't think he would be getting this error, if the file he wants...
Results 1 to 25 of 415
Page 1 of 17 1 2 3 4