Search:

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

Page 1 of 20 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    3
    Views
    1,008

    Honestly, that doesn't seem "natural" to me:...

    Honestly, that doesn't seem "natural" to me: wouldn't Youth S, M come before Adult S?

    In any case, you're kinda "backed into a corner," here: there's no straightforward solution.

    How large are...
  2. Replies
    16
    Views
    4,200

    Yeah, I have it installed for (admittedly,...

    Yeah, I have it installed for (admittedly, occasional) testing.

    I dual-boot for IE; I don't have wine installed at all on this machine.

    I am running Mint (not Ubuntu), but, for the most part,...
  3. Replies
    16
    Views
    4,200

    …really? There's absolutely no reason you'd...

    …really?

    There's absolutely no reason you'd need wine. Maybe you downloaded the windows version of opera instead of the linux version? What did apt-get tell you when you tried it?
  4. Replies
    16
    Views
    4,200

    Are you using the package manager or the...

    Are you using the package manager or the terminal?
    opera is in the mint repos by default; I'm sure it's available in ubuntu.

    Just open a terminal and do sudo apt-get install opera and then enter...
  5. You're trying to set an HTTP header (the...

    You're trying to set an HTTP header (the "Location" header): this error message means you have already sent regular output to the browser (and so you cannot set any more headers, which -literally- go...
  6. Replies
    16
    Views
    4,200

    "touch" meaning the filesystem command? yes. ...

    "touch" meaning the filesystem command? yes. meaning "touchscreen"? yes, but drivers for the specific touch device (screen) may/not not be shipped by default with whatever distro you choose.
    I...
  7. Replies
    16
    Views
    4,200

    I use Linux, yes. I would recommend Mint or...

    I use Linux, yes. I would recommend Mint or Ubuntu for Linux newbies (they're very similar). The average user will never outgrow them (I still use both and have no complaints). Both hardware and...
  8. Thread: send mails in php

    by traq
    Replies
    3
    Views
    1,523

    Tips & Tricks to Stay Out of the Spam Folder...

    Tips & Tricks to Stay Out of the Spam Folder

    Most likely cause, in this case, is item #1: "misleading header information". When the "From" header has one domain ("gmail.com", for example) but the...
  9. Replies
    16
    Views
    4,200

    I still have XP (SP3) on my old laptop. I was...

    I still have XP (SP3) on my old laptop. I was the last "great" version of windows, IMO. Everyone says 7 is good, but I could not stand being stuck using it for ten years.* Dealing with it on my...
  10. Thread: send mails in php

    by traq
    Replies
    3
    Views
    1,523

    xampp? Is this on your local machine? If so,...

    xampp? Is this on your local machine? If so, have you installed and configured an email server?

    Also, you don't check if your call to mail was successful or not. And do you have error reporting...
  11. Replies
    6
    Views
    1,031

    The confusing part is why you would try to...

    The confusing part is why you would try to redirect (anywhere) if the user was offline.
  12. Replies
    6
    Views
    1,031

    Thread moved. Your example code does not...

    Thread moved.


    Your example code does not seem to attempt this: looks like it intends to redirects to one site if online, and to a different site if offline.


    What does it do?

    One thing I...
  13. Replies
    8
    Views
    3,897

    For files that are too big to post in a thread,...

    For files that are too big to post in a thread, your best option is an online service like github or pastebin. File attachments don't usually get a good response on forums these days.

    You should...
  14. Replies
    1
    Views
    435

    Do you have a question? Or, if you wish to...

    Do you have a question?

    Or, if you wish to share this code with users here on Dynamic Drive, you can submit it here (please note the instructions and terms of submission).
  15. Replies
    8
    Views
    3,897

    IMO, the best place to start is the PHP manual...

    IMO, the best place to start is the PHP manual (that's what I linked to). Start with the __construct method, look through the examples, and then follow the links to other methods as you discover...
  16. Replies
    1
    Views
    4,934

    Your question is unclear. This sounds like...

    Your question is unclear. This sounds like something you could solve on your own by searching google…?

    In addition, in the future, please take the time to explain your question in clear and...
  17. Replies
    8
    Views
    3,897

    You'll need to read up on PDO...

    You'll need to read up on PDO and give it a try, then. Once you have specific questions, post back here, and include your code so we know what's going on.
  18. Replies
    8
    Views
    3,897

    Are you looking to learn and do it yourself, or...

    Are you looking to learn and do it yourself, or to hire someone to do it for you?
  19. Replies
    3
    Views
    1,478

    fetch only fetches one row; fetchAll fetches all...

    fetch only fetches one row; fetchAll fetches all rows.

    Since it is a small number of rows, there is no problem using fetchAll:

    $allRows = $query->fetchAll();

    foreach( $allRows as $row ){
    ...
  20. Replies
    1
    Views
    632

    $catch[0] is going to be the id value. Looks...

    $catch[0] is going to be the id value.

    Looks like you're using PDO? fetch defaults to fetching both column names and numbered indexes. It would be most reliable to use $catch["login_time"].
    ...
  21. Replies
    3
    Views
    1,478

    1) One of the major reasons to use a prepared...

    1) One of the major reasons to use a prepared statement in the first place is to separate sql code from user data. Don't put the $keyword directly in the query: this makes your code vulnerable to...
  22. You're looking for the Google Maps API...

    You're looking for the Google Maps API.

    For the other stuff, like John said, it's really unclear what you are asking.
    If you have specific questions, that you can explain in not-vague terms,...
  23. no prob. I would suggest, however, that you move...

    no prob. I would suggest, however, that you move towards the mysqli or PDO extensions as soon as possible. ext/mysql is deprecated and has not been recommended for new code since 2004. It's old,...
  24. Did you do your own installation? Found this on...

    Did you do your own installation? Found this on s/o.
  25. Thread: Help with array

    by traq
    Replies
    8
    Views
    1,366

    Resolved nuqneH? tlhIngan Hol Dajatlh'a'? I tried...

    nuqneH?
    tlhIngan Hol Dajatlh'a'?


    I tried that exact script; it runs fine, with no errors.


    You might try putting the semicolon on the line below, i.e.:
    print <<< HTML
    <blockquote...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4