BrainSmasher
-
Posts
22 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by BrainSmasher
-
-
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.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"? -
<?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.
-
-
-
-
nvm
-
Only thing i need to know is how to get the images, and then how to display only 16 per page...The rest i can write myself
-
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
-
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
-
-
Site Search
in PHP
You need to use a database then.
-
NVM then.I cant explain it better
-
if i dont use isset it gives an error
-
someone there?
-
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
-
dynamic menu
in PHP
Ty for your replies.Finally their will be only 2 users wich would be able to edit the menu.Ty equra ill try something like that
-
dynamic menu
in PHP
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
-
image upload
in PHP
i want to combine it with visual basic to post the url in an inet control to execute the scriptOkay, 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? -
image upload
in PHP
Bedankt he, ( ben ook nl)Tnx, ill try it outYou 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. -
image upload
in PHP
Yes please if it would help meIf you need an update script, I have one ready for you! Say it and I'll give it to ya -
image upload
in PHP
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
security
in PHP
Posted
Anyone please?