www.webdeveloper.com

Search:

Type: Posts; User: NoEffinWay

Page 1 of 12 1 2 3 4

Search: Search took 0.02 seconds; generated 54 minute(s) ago.

  1. Replies
    1
    Views
    481

    Is there a better way to do this?

    I dont see myself using this elsewhere in the application so I don't want to make it a stand alone function. I feel like there is probably a preg_replace that would do what I want more efficiently....
  2. Replies
    3
    Views
    439

    Css files are relative to the current directory. ...

    Css files are relative to the current directory. You could do something like this:


    <?php
    $httpHost = $_SERVER['HTTP_HOST'];
    $urlString = "http://{$httpHost}/";
    ?><link type="text/css"...
  3. Is that LITERALLY what it says? That's invalid...

    Is that LITERALLY what it says? That's invalid PHP and wont do anything. Try replacing that, with this (I just removed the <?php ?> tags):


    <header id="mainheader">
    <h1...
  4. Replies
    3
    Views
    688

    jQuery Check your console. Chrome, IE,FF (probably...

    Check your console.
    Chrome, IE,FF (probably other too but didnt check): Press F12->Click Console->Refresh Page
    If there are no errors there, go to the Network tab and see if there are any 404...
  5. On the login page, have a check to see if they...

    On the login page, have a check to see if they are already logged in, for example, I use a session variable, we will call it key. I have a authentication call that runs a few check on 'key' and...
  6. What does your file structure look like? The...

    What does your file structure look like? The first solution should work, assuming the structure is correct.
  7. Thread: Help Me

    by NoEffinWay
    Replies
    1
    Views
    394

    This feels like homework. ...

    This feels like homework.



    if(isset($_POST['submit'])){
    $sortType = $_POST['result'];
    $words = explode(",",$_POST['myname']);
    if($sortType == "asc"){
    sort($words);
    ...
  8. Replies
    1
    Views
    712

    I tested it on my server, seems to work fine. ...

    I tested it on my server, seems to work fine.


    On an unrelated note, you portfolio.html page has 'undefined' under all the images.
  9. Really, no, if provided at the beginning of the...

    Really, no, if provided at the beginning of the project, that wouldn't be hard. However, if he is far into it, he may have coded it in such a way that what you are asking would require a lot of...
  10. jQuery Well, first off, the following code removed a...

    Well, first off, the following code removed a binded .node and then adds another that is not bound to anything.

    dropped.remove();
    droppedOn.append("<div class=\"node\">" + dropped.html()...
  11. Replies
    2
    Views
    1,925

    jQuery There is a parameter in fadeOUt that lets you do...

    There is a parameter in fadeOUt that lets you do something after the animation is complete.

    $( '#weather_infos' ).fadeOut(1000,function(){window.location.href = url;});
  12. Perhaps this will help, I don't know much on the...

    Perhaps this will help, I don't know much on the subject but this looks informative: http://www.mediacollege.com/internet/server/apache/mod-rewrite/subdomains.html
  13. I would need to see the javascript files to help...

    I would need to see the javascript files to help with that. If you want, send me a PM and I'll work with you on it. Or you can paste the JS here, either way.
  14. All the things in the "name" attribute are passed...

    All the things in the "name" attribute are passed in the $_POST array.
    Now, looking at your code, yours may be done via AJAX, because as-is, your <textarea> will not be sent and that send button is...
  15. Thread: php array

    by NoEffinWay
    Replies
    5
    Views
    706

    Your question is a little confusing but I think...

    Your question is a little confusing but I think what you want is:


    <?php
    $arr = Array
    (
    "pendingReview" => Array
    (
    "by" => "Rubab Admani",
    "date" => "2014 - 01 - 08...
  16. Thread: news page

    by NoEffinWay
    Replies
    1
    Views
    323

    First off, for performance, stop using wild...

    First off, for performance, stop using wild cards. Instead use some thing like:

    SELECT id, title, content, date FROM news
    You'll probably want to store your return in a session so you don't have...
  17. Replies
    0
    Views
    273

    Toying with Encryption

    (Don't bother replying with "don't try to make your own encryption", this is an experiment for myself that I may use on experimental sites)

    I am playing around with making my own encryption, based...
  18. Replies
    3
    Views
    715

    Yes, it is possible...but I would use more then...

    Yes, it is possible...but I would use more then just Javascript. Look into some server site scripting. I can help you with more detail if you would like, just PM me.
  19. Replies
    3
    Views
    2,204

    Yeah, I realized now that the time is wrong. I...

    Yeah, I realized now that the time is wrong. I shouldn't be awake this early. Anyway, glad you figured it out, good luck!
  20. Replies
    3
    Views
    2,204

    An important thing to remember: strtotime make a...

    An important thing to remember: strtotime make a time stamp for the entire YEAR. so you are adding two full dates. Here, I suck at explaining things but here is a script with the full break down,...
  21. Try replacing this line: ...

    Try replacing this line:


    document.write(err.description);

    with this;


    console.log(err);
  22. Replies
    6
    Views
    4,096

    What is the error? What does it say?

    What is the error? What does it say?
  23. Replies
    6
    Views
    4,096

    What is the exact error it gives?

    What is the exact error it gives?
  24. Replies
    2
    Views
    2,278

    You could generate a pin like this: There is a...

    You could generate a pin like this:
    There is a small possibility of duplicate entries but if the PIN is used one then reset, that shouldn't be an issue.


    //Number of PINs to make
    $x =...
  25. There are many ways to get what you want. No...

    There are many ways to get what you want.

    No jQuery:


    <script type="text/javascript">
    var total = 0;
    var allSelects;

    function changeHandler(e){
Results 1 to 25 of 281
Page 1 of 12 1 2 3 4
HTML5 Development Center



Recent Articles