Jump to content

BrainSmasher

Members
  • Posts

    22
  • Joined

  • Last visited

Posts posted by BrainSmasher

  1. Thanks a lot, I'll start decoding and adapting it in a bit.I'm curious how you manged to get the script, what are your "resources"?
    My resources are all the files i have on my computer that written by other people and some written by me.This script is actually simple.It get the data from given link. Looks for world 1, world 2 enz and then it strips the text after it to get the players in the world.
  2. <?php$contents = '';$handle = fopen("http://www.runescape.com/lang/en/aff/runescape/serverlist.ws?lores.x=1&plugin=0&order=WMLP","r"); if($handle){    while (!feof($handle)) {    $contents .= fread($handle, 8192);} fclose($handle);}function WorldPlayers($world)	{	$start = strpos($GLOBALS['contents'], 'World '.$world.'<');	if($start == 0){ return 'N/A'; }	$str1 = trim(substr($GLOBALS['contents'], $start+strlen($world)+21, 4));	if(Is_Numeric($str1)){ return $str1; }	else { return $str1; }} $count = explode('">World ', $contents);for($i=1; $i<=count($count); $i++){	echo $i.'. '.WorldPlayers($i).'<BR>';}?>

    credits to whoever made this.Found it in my resources.

  3. Back again after searching alot on the internet.I only found tuturials about about the session functions but i actually dont understand how to build up a session with cookies. Maybe some examples or a tuturial for building session security.Thanks in advance

  4. What is the best way to secure some pages so they need a login to see them.Using cookies, sessions, the folder protecting of host itself or maybe someting else.Only 2 users account should be able to acces them so there arent alot of users.Thanx in advance

  5. I need a script that displays smaller version of pictures out of a directory on the page and creates more pages where there are more then 16 images in there (so 16 images per page). There need to be an option to delete images by a delete this image link.How can i do this or where can i find examples

  6. Is it possible when you send a mail from your webpage that you can get a mail when the other person received the mail/readed the mail (like in outlook).And if its possible how to do it.Thanks in advance

  7. i need some kind of shopcart system for my work.But my problems are where do i start.I never made such thing and appreciate if some1 can tell me a little about what i need for it.thanks in advance

  8. I got this code already

    if(isset($_GET['page'])){if($_GET['page'] == ""){include("menu.php");}if($_GET['page'] == "form"){include("formular.php");}else{echo "This page doesnt exists!";}}

    But now my question is how to include main.php if no variable or an other variable like ?id is set

  9. i need a menu that should be editable.There fixed pages that should be linked in the menu and the user can add costum pages to it. The fixed links to the pages should be possible to move them up/down. How can i do this? I dont need whole code but examples on how to start with it

  10. Okay, cool :) Another language mate over here :)Do you want the Dutch version? All those comments might be easier to understand it they were Dutch? :)[*Edit:]What exactly do you want to do with this script? As you PMed me that you prefered the file upload via an URL query which is not possible according to myself?
    i want to combine it with visual basic to post the url in an inet control to execute the script
  11. You may of cource addjust the stylesheet :)I hope this is what you were looking for :)Any questions I will happily answer, some settings may be confusing or difficult to understand. I wrote this script myself with the help of some people, but in Dutch, and with the translations, I may have forgotton some tiny things, please remind me if so. This was meant for movie uploads, as noticable with the filetypes that are already there. But you may delete the movie filetypes, and add some image types, but please notice these MIME types are very important to work.
    Bedankt he, ( ben ook nl)Tnx, ill try it out
  12. Hello,I need a script that reads the imagelocation from the navigationbar and that uploads that image to a folder on my webhost.Can any1 help me with this

×
×
  • Create New...