www.webdeveloper.com

Search:

Type: Posts; User: SpectreReturns

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. PHP and Javascript rarely line up because of the...

    PHP and Javascript rarely line up because of the different times they're executed. getAttribute I can't see as being useful beforehand and without AJAX you can't use it later.
  2. Replies
    2
    Views
    878

    http://www.php.net/curl This allows you to...

    http://www.php.net/curl

    This allows you to open streams to other URLs. You can use fread and fwrite on it (or fget and fput, or whatever PHP uses for streams). If you looked on the W3C you'd...
  3. Replies
    9
    Views
    561

    That would work, but easier on the class engine...

    That would work, but easier on the class engine as:



    class DateOptions
    {
    var $WhatMonth;
    var $Month = array(1 => 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct',...
  4. Replies
    6
    Views
    818

    HTTP variables are your best friend for this....

    HTTP variables are your best friend for this. What you'd do is make one blog page and all the user specific things would come from a database. You'd use an HTTP variable to retrieve this from the...
  5. I think your problem is that the pages are...

    I think your problem is that the pages are designed to be run singularly, and not to be part of a group. You're including "dbinfo.inc.php" once in each page, and if this isn't protected against...
  6. Replies
    1
    Views
    448

    Probably by running the make file through a...

    Probably by running the make file through a compiler after setting the options you want.
  7. Replies
    1
    Views
    516

    Try separating the code. Look at the output from...

    Try separating the code. Look at the output from the PHP, make sure it's suitable for LoadVars, variables/values must be url_encode()'d or LoadVars won't read it properly. After this try using some...
  8. Replies
    9
    Views
    561

    Your problem is that you can't initialize the...

    Your problem is that you can't initialize the array in the root of the class. Move the $this->Month[] things into the constructor and it will work.
  9. If it's not a local database (something like...

    If it's not a local database (something like freesql.org) that could be contributing to the page load. Any local database query shouldn't take 4 seconds.
  10. Replies
    12
    Views
    1,018

    That... really isn't relevant. HTTP demands a lot...

    That... really isn't relevant. HTTP demands a lot more headers so that it can transfer multiple types of information and be understood. A chat server simply requires a "who: what" message, cutting...
  11. Replies
    20
    Views
    2,648

    25% of your posts though.... 25%!

    25% of your posts though.... 25%!
  12. Replies
    20
    Views
    2,648

    Not to be mean, but you ask waaaaay too many...

    Not to be mean, but you ask waaaaay too many questions.
  13. Replies
    20
    Views
    2,648

    I read the entire thing, pretty good.

    I read the entire thing, pretty good.
  14. Replies
    2
    Views
    929

    highlight_string() and highlight_file().

    highlight_string() and highlight_file().
  15. Thread: Regex

    by SpectreReturns
    Replies
    7
    Views
    1,152

    Probably something like this: ...

    Probably something like this:

    />[^>]*title[^<]*</
    If that doesn't work, you could always screw around with this one I made for replacing php links in strings.

    POSIX:
    Replace ...
  16. Replies
    5
    Views
    988

    Nope. $var is an instance of outcome. Correct...

    Nope. $var is an instance of outcome. Correct syntax should be:

    $var->email;


    When I posted, Steve said:

    $var->outcome["email"]; :P.
  17. Replies
    2
    Views
    3,694

    Why not just rip it out of PHPMyAdmin?

    Why not just rip it out of PHPMyAdmin?
  18. Replies
    5
    Views
    1,554

    Nope. You could parse the html and draw it...

    Nope. You could parse the html and draw it yourself though.
  19. Replies
    1
    Views
    1,295

    The title and filesize are both contained within...

    The title and filesize are both contained within the .torrent, as well as a link to the tracker. You'd need to scrape from the tracker for the rest of it, but I'm not quite sure how to do that.
    ...
  20. Replies
    6
    Views
    2,268

    Why use tiff at all? They're big and not...

    Why use tiff at all? They're big and not supported by many things. Just write a quick batch file to convert them at upload time.
  21. Replies
    4
    Views
    1,091

    Wrong. There's nothing wrong with that, except...

    Wrong. There's nothing wrong with that, except maybe that $a is undefined or you aren't showing us all the code.
  22. Replies
    3
    Views
    1,212

    We'd want /[ad][be][cf][14][25][36][xg][y7][zh]/...

    We'd want /[ad][be][cf][14][25][36][xg][y7][zh]/ on the first comparison, but say if you have a strictness of 2, on the third it would become [a-z]{3}[0-9]{3}[a-z][a-z0-9][a-z], and compress it to as...
  23. Replies
    3
    Views
    981

    Just for your information, eregi is case...

    Just for your information, eregi is case insensitive, so a-zA-z isn't applicable.
  24. Replies
    4
    Views
    931

    What error do you get?

    What error do you get?
  25. Replies
    2
    Views
    1,203

    You could use auto_prepend_file in php.ini to...

    You could use auto_prepend_file in php.ini to include a file with a function containing HTML in it, and then run this function wherever you need it. If it has to be at a certain place which isnt at...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles