www.webdeveloper.com

Search:

Type: Posts; User: Gravy

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    725

    If it's possible for coupons to be combined, it's...

    If it's possible for coupons to be combined, it's possible to be combined in PHP.
    How to do it in PHP is just a matter of implementation.
    They real question is does the bar code standard have an...
  2. Replies
    5
    Views
    430

    Well then a good place to start may be with what...

    Well then a good place to start may be with what functions you require.

    It may seem all good and well to say that WordPress isn't suitable, but we need more reasons.

    So my new answer now is...
  3. Is this a programming problem? I've never even...

    Is this a programming problem?

    I've never even heard of a UPC Coupon Code before, I'm guessing it's this:?
    http://couponing.about.com/od/groceryzone/ss/couponcodeupc.htm

    In which case after a...
  4. Replies
    5
    Views
    430

    Try looking at some WordPress news themes and you...

    Try looking at some WordPress news themes and you might find something you like.
  5. Replies
    3
    Views
    530

    I would remove any i I l L o O 1 0, these tend to...

    I would remove any i I l L o O 1 0, these tend to give people too many headaches trying to figure out which is which.
  6. Replies
    2
    Views
    575

    I recommend SublimeText 2/3 for writing PHP code....

    I recommend SublimeText 2/3 for writing PHP code.

    What you want to do is as jedaisoul said no simple task.

    You'll most probably need to learn:
    • SQL
    • PHP
    • HTML & CSS
    • JavaScript
    •...
  7. Replies
    3
    Views
    530

    Steps: (1) They upload the image (2) You make...

    Steps:
    (1) They upload the image
    (2) You make sure the image is an image and nothing creepy going on in there
    (3) You rename the file and put it somewhere you want. Like...
  8. Replies
    9
    Views
    1,098

    Ah, I thought you correct that. Then my guess...

    Ah, I thought you correct that.

    Then my guess is that the problem is in your scripts/connect.php file.
    Perhaps the root password you're using is wrong?

    I'm assuming your code looks something...
  9. Replies
    9
    Views
    1,098

    Try changing: $sql=mysql_query("SELECT *...

    Try changing:



    $sql=mysql_query("SELECT * FROM admin WHERE name='$admin' AND password='$password' LIMIT 1");


    Temporarily to:
  10. Replies
    14
    Views
    980

    Which was also basically what I wrote in the...

    Which was also basically what I wrote in the second post (first reply to this thread)....
  11. Replies
    14
    Views
    980

    Anything at all that you want. The biggest secret...

    Anything at all that you want. The biggest secret about the key is that it even exists.
    The idea is to have an extra piece of data in hidden in the request that if people don't know it's there they...
  12. Replies
    14
    Views
    980

    You can't, all you can do is make it more harder...

    You can't, all you can do is make it more harder by preventing people easily finding out how they communicate. It's not THAT secure, but it's better than nothing.
    Using:
    (1) A secret HTTP header...
  13. Replies
    5
    Views
    559

    bool setcookie ( string $name [, string $value [,...

    bool setcookie ( string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false ]]]]]] )


    The second variable is the value,...
  14. Replies
    14
    Views
    980

    You can't really... Not any way that I can think...

    You can't really... Not any way that I can think of...

    But you can make it much harder.

    I would probably consider putting some data in a HTTP request header claiming it's from the app and also...
  15. Thread: mysql error....

    by Gravy
    Replies
    4
    Views
    541

    If you really refuse to use properly escaped...

    If you really refuse to use properly escaped code... at the very least in this case:



    if(isset($_GET['id']))
    $id = (int)$_GET['id'];
    else
    $id = 1;
  16. Replies
    3
    Views
    498

    I really have no idea what you're asking for...

    I really have no idea what you're asking for here, I'm guessing it has something to do with sending emails?
    But you do have a couple of other problems:

    1) Don't use mysql_ functions, use mysqli_...
  17. Replies
    18
    Views
    889

    Well, If you like NogDogs, this one should do...

    Well, If you like NogDogs, this one should do what you want. Note with this change you can use 'A' or 'a' to equal 30, or just a number.



    <?php
    function myArraySum()
    {
    $data =...
  18. Replies
    2
    Views
    560

    At a quick 3:30am glance: SELECT Username,...

    At a quick 3:30am glance:


    SELECT Username, Password, Active, UID FROM Users WHERE Username = :Uname, Password = :DbPass;

    SELECT Username, Password, Active, UID FROM Users WHERE Username =...
  19. Replies
    18
    Views
    889

    $g1 = [50,40,30]; $g2 = [20,10,2]; $g3 =...

    $g1 = [50,40,30];
    $g2 = [20,10,2];
    $g3 = [4,3,5];
    $g4 = [4,8,6];


    If the answer to the above is 150, the code you want is below. (50+40+30+20+10)
  20. Replies
    18
    Views
    889

    I'm not quite understanding your question, but...

    I'm not quite understanding your question, but I'll take a stab in the dark that what you want is:

    The highest 5 maximum unique values throughout the 5 arrays.



    $g1 = ['a','b','d','f','h'];...
  21. Replies
    3
    Views
    359

    I guess if you mean to move on from one column,...

    I guess if you mean to move on from one column, into the next column, you just add a comma ",".
    If it's the last column in the row and you want a new row, just add a new line:



    echo "column 1...
  22. Replies
    11
    Views
    770

    I got stuck the other day with a similar issue......

    I got stuck the other day with a similar issue... A single space somehow appears before my opening " <?php" tag.
    Strange thing was I hadn't edited that code in a long time and suddenly my site went...
  23. At the end: ...

    At the end:



    header("location:Student_Edit.php?flag=$flag&student_id=student_id=$student_id");


    Ignoring other pre-mentioned issues... I'm going to assume $flag or $student_id has a new...
  24. Thread: PDO usage

    by Gravy
    Replies
    6
    Views
    462

    You can simplify it down quite a bit... I don't...

    You can simplify it down quite a bit... I don't remember almost any of the PDO functions anymore, I built a few different functions:


    if ($host = $this->sqlToObject('SELECT * FROM hosts WHERE...
  25. Thread: PHP Web Scraping

    by Gravy
    Replies
    10
    Views
    1,595

    View Post

    My Rules in Scraping:

    Don't publish images or text that you scrape that the owner doesn't want you to.
    ***- I would not use images scraped from a social media site (people like their privacy...
Results 1 to 25 of 70
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles