Advanced Search

Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Worked like a charm! Thanks very much for the...

    Worked like a charm! Thanks very much for the snippet and full explanation, very helpful!
  2. Thanks for the reply, the second line in your...

    Thanks for the reply, the second line in your code looks about what I want.

    #word -> <a href='website.com/page.php?h=$word'>#word</a>
  3. PHP Find Symbol and Replace It With The Word It Goes With

    I want to create a script that will read a string and whenever the hashtag symbol (#) appears, it replaces it with a link. How could I do this?

    I've only found scripts that just replace the # and...
  4. Replies
    3
    Views
    668

    Thanks for the reply! I mean if it was changed...

    Thanks for the reply!

    I mean if it was changed at any time, past year or the past couple seconds. The folder that is filled with text files Is located in the same directory that this script I'm...
  5. Replies
    3
    Views
    668

    Check if new file exists!

    I would like to know how/where to start to get an a ajax or JavaScript script to check if a folder filled with text files was changed and then display them according to a php File. Let me know what I...
  6. Replies
    9
    Views
    1,608

    Never mind I got it to work! Thank you so much!

    Never mind I got it to work! Thank you so much!
  7. Replies
    9
    Views
    1,608

    Thanks! So here's my code, but it's not...

    Thanks!

    So here's my code, but it's not working. I'm pretty sure I'm missing something but I don't know what.
    Where do I put the first.js or is there something that needs to be combined? I'm...
  8. Replies
    9
    Views
    1,608

    Thanks for the quick reply! So let me get this...

    Thanks for the quick reply!

    So let me get this straight, the client would place this: document.write('<script type="text/javascript" src="http://www.yourdomain.com/script.php?url=' +...
  9. Replies
    9
    Views
    1,608

    Yeah, I got the share part but will this code...

    Yeah, I got the share part but will this code also allow me to display the number of shares? Everything is in a frame so it can connect to my website. My script will get the page URL and find the...
  10. Replies
    9
    Views
    1,608

    Thank you! Yes but is there a way for the...

    Thank you!

    Yes but is there a way for the button to find the URL of the Iframe holder that's not on the same domain or in a text file?

    Thanks again!
  11. Replies
    9
    Views
    1,608

    Iframe Get Holder URL

    I'm creating a share button for my own little social network. This button can be placed anywhere without having people type a URL into a button creator. They just simply put the code on their page...
  12. Replies
    1
    Views
    615

    Reload the page if user isn't typing

    I need a script will reload the page every 10 minutes unless the user is typing. This also means even though the javascript function is in the middle of counting down, the script will restart the...
  13. Replies
    7
    Views
    1,369

    Thanks for your help! Some data from a few of the...

    Thanks for your help! Some data from a few of the files: 0,1,2,3 (that's basically what the files will look like they're text files by the way). Sorting:

    The data will be sorted by greatest to...
  14. Replies
    7
    Views
    1,369

    Okay thanks very much! Now I just ventured into...

    Okay thanks very much! Now I just ventured into the cmp thing:

    <?php
    function cmp($array, $b)
    {
    if ($array == $b) {
    return 0;
    }
    return ($array < $b) ? -1 : 1;
    }
  15. Replies
    7
    Views
    1,369

    Thanks! I got the opening up the directory and...

    Thanks! I got the opening up the directory and everything but the array and sorting part is what I'm having a problem with, I really don't know how to that. If you could help set me straight that...
  16. Replies
    7
    Views
    1,369

    File Sorting (Like A Highscore Board)

    I've been working on this for a while but I can't wrap my head around doing this and making it work! I'm trying to get PHP to all the text files in a directory and based on the contents it would sort...
  17. Replies
    6
    Views
    1,047

    The Cron Job seems to be too messy for me unless...

    The Cron Job seems to be too messy for me unless you know a simpler way to do it. I thought I heard that you could do that using the userabort. Thanks!
  18. Replies
    6
    Views
    1,047

    Looping And User Aborting

    I am trying to create a script that will keep checking the time and if it's the desired time lets say 17:01 o'clock, it will commit the action. Once it's not that time, the scripts stop and goes back...
  19. Thread: PHP Timer Image

    by M2com
    Replies
    3
    Views
    1,093

    Yes it is like a pie chart but only square and I...

    Yes it is like a pie chart but only square and I only need it to be over an image so it might use CSS for the opacity part. But besides that all I need is a square pie chart. If you want an image...
  20. Thread: PHP Timer Image

    by M2com
    Replies
    3
    Views
    1,093

    PHP Timer Image

    Have you seen those square icon images sometimes in game that have a what looks like a slice was cut out of it to represent the amount of time left? Is it possible to do that with PHP and if so, how...
  21. Replies
    4
    Views
    977

    Thanks for getting me started! I believe I got a...

    Thanks for getting me started! I believe I got a usable script I came up with!

    Thanks again, can't believe I just should of thought of searching "working with dates in php".
  22. Replies
    4
    Views
    977

    Well let's say for example the user will work for...

    Well let's say for example the user will work for 8 hours. What would be the best method for getting the time plus the eight hours. When the user logs in, the page would check if the current time is...
  23. Replies
    4
    Views
    977

    Time Event Sort Of Thing

    I've been experimenting a lot with trying to find the right "formula" for having the user's character work for a certain amount of time and then the user is done working. If you have any ideas for...
  24. True but I do not have that available at the...

    True but I do not have that available at the moment. hmmm....
  25. hmmm... I'm not really looking to have to use...

    hmmm... I'm not really looking to have to use arrays but if that's the only way to make the username along with their scores go into order of highest to lowest then that's how I should do it right?
Results 1 to 25 of 50
Page 1 of 2 1 2