Advanced Search

Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    671

    Or echo date("Y",...

    Or

    echo date("Y", strtotime($row['dateStart']));
  2. Replies
    9
    Views
    685

    John you're awesome. Getting rid of the name...

    John you're awesome. Getting rid of the name attribute did the trick and paypal seems to still take the form and process it. So you know, there is a whole other form on the page that has all those...
  3. Replies
    9
    Views
    685

    Not sure what you mean by tortured code, I did...

    Not sure what you mean by tortured code, I did mods to the jquery and might not have some brackets positioned 100% right at this moment but the form code is pretty standard. Anyway I have/had tried...
  4. Replies
    9
    Views
    685

    Ok getting closer still. I now have it where it...

    Ok getting closer still. I now have it where it gives me the conditions I want per item and I have verified through an alert() that when all responses are "good" it runs the if() for that but it...
  5. Replies
    9
    Views
    685

    Thanks for the help. I have tried your code and...

    Thanks for the help. I have tried your code and it seems to be getting closer I think. I fairly understand what you are trying to achieve in your code but sadly the result is not quite correct. I...
  6. Replies
    9
    Views
    685

    Why won't this var change value

    So I have this jquery code and it works except for one specific part. I am doing a quantity check for a shopping cart system and I need to prevent the default form submission of the submit button and...
  7. Replies
    17
    Views
    2,151

    Looks like that should work.

    Looks like that should work.
  8. Replies
    17
    Views
    2,151

    Will the grabbed url always be this in the front...

    Will the grabbed url always be this in the front of the url?- http://www.mytravelsite.com/states/cities/thiscity/
    If that is a static part of the url then you could use a str_replace() on that part...
  9. Replies
    4
    Views
    822

    Why not just use mysql_fetch_assoc instead?

    Why not just use mysql_fetch_assoc instead?
  10. Replies
    6
    Views
    1,001

    $dir = 'directory/you/want';...

    $dir = 'directory/you/want';
    foreach(scandir($dir) as $file)
    { echo '<a href="'.$dir.'/'.$file.'">'.$file.'</a><br>'; }

    If you want to force the file to be downloaded, that's a little more...
  11. Replies
    1
    Views
    630

    This is the method that I use $column = 3;...

    This is the method that I use


    $column = 3;
    $rowend = 1;
    echo '<table><tr>';
    //Run your loop here

    while ($row = mysql_fetch_array($query)) {
    echo...
  12. Replies
    1
    Views
    592

    Nevermind, figured it out pretty fast once I...

    Nevermind, figured it out pretty fast once I thought about it. I also learned of a new SELECT feature to get the total number of rows in the first query without the LIMIT being factored and then you...
  13. Replies
    1
    Views
    592

    Help with PDO query

    So I am just starting to convert my site to PDO but have come to a snag in my knowledge of this. I have this function for a search of products in the db and I don't know how to build this in a way...
  14. Replies
    42
    Views
    9,372

    Resolved Well from my knowledge and workings, you can do a...

    Well from my knowledge and workings, you can do a persistent login with cookies but you would need to re-verify the person when they come back to the site to make sure they are who they say they are....
  15. Replies
    42
    Views
    9,372

    Resolved Here is a good post to read also from another...

    Here is a good post to read also from another forum that I am on. There are a few of the guys on there that are very good at security and the understanding of it....
  16. Replies
    4
    Views
    869

    Ahh I see know, I don't actually need to assign...

    Ahh I see know, I don't actually need to assign the redesigned array to a new var I can just splice them together and then use the original array from before. Tested it with my full script and it...
  17. Replies
    4
    Views
    869

    I have tried that method too with the same...

    I have tried that method too with the same result. And actually the $count with a longer array that I usually have would insert the other array one index in from the last index of the form_fields...
  18. Replies
    4
    Views
    869

    Help with array_splice()

    So I have these 2 arrays for example


    $form_fields = array(
    array("tag" => array("label"),
    "text" => "product name",
    "name" => "pname",
    "class_fields" => TRUE,
    "type"...
  19. Replies
    1
    Views
    778

    Use the empty() instead $username =...

    Use the empty() instead


    $username = trim($_REQUEST['usersname']);
    if (empty($username))
  20. Replies
    10
    Views
    1,793

    Seriously, I gave you a link to a great tutorial...

    Seriously, I gave you a link to a great tutorial on this exact thing, they just don't call it a whitelist I don't think.
  21. Replies
    10
    Views
    1,793

    Based off the rest of your current code, this ...

    Based off the rest of your current code, this

    $_FILES["file"]["name"]
    Should be this

    $_FILES['uploaded']['name']
    Also I assume there is more to the script than what you are showing, correct? ...
  22. Replies
    10
    Views
    1,793

    Here is a tutorial on secure file upload -...

    Here is a tutorial on secure file upload - http://www.youtube.com/watch?v=RiuLBrEFhfk&feature=plcp
    I don't think it has a select file location feature but that should be super easy to add in to the...
  23. What does this look like if you echo it -...

    What does this look like if you echo it - $rows["Contract_Start"]
  24. I think you have the right concept. I have done...

    I think you have the right concept. I have done this with the same js code you are using but it's been a while. In your example above you forgot to echo $cStart in the js code, so that may be part...
  25. Replies
    7
    Views
    1,268

    Resolved You need to set the third parameter of the...

    You need to set the third parameter of the set_cookie() for the time the cookie should exist.
Results 1 to 25 of 231
Page 1 of 10 1 2 3 4