Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~29.1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Tko_1

I needed a script that would grab all the folders in the directory and add them to a dropdown list and allow the user to upload to there choosen folder. This is what i came up with. (upload script is not mine) Thought i would share.

Member Avatar for rproffitt
0
4K
Member Avatar for Tko_1

js file : function countdown(endT,callback) { var days,hours,minutes,sec,timer; end = new Date(endT); end = end.getTime(); //Get initial Date in Milliseconds, if (isNaN(end)) { alert('@ countdown.js @ "Invalid Date", valid format- mm/dd/yyyy hh:mm:ss TT '); return; } timer = setInterval(calculate,1000);//Timer to calculate remaining time function calculate(){ var current = new Date(); …

Member Avatar for AleMonteiro
0
550
Member Avatar for Tko_1
Member Avatar for Tko_1

So this code below is part of a install file within a calendar script, when i try to upload the file it disappears. I have cut the code down to these lines that will not allow it upload. I can even just add these lines to a test.php file and …

Member Avatar for diafol
0
154
Member Avatar for Tko_1

Hello so i have this encode/decode script <?php // Encoding key $key = "vns98ogavna5489hverz9np950yhz9gzx89fghjv9pv4598hj"; function encode($string,$key) { $key = sha1($key); $strLen = strlen($string); $keyLen = strlen($key); for ($i = 0; $i < $strLen; $i++) { $ordStr = ord(substr($string,$i,1)); if ($j == $keyLen) { $j = 0; } $ordKey = ord(substr($key,$j,1)); …

Member Avatar for Tko_1
0
233
Member Avatar for Tko_1

Right so as the title says im trying to show the selected option from my radio type to be highlighted. I know this can be done with css as it is done [here](http://jsfiddle.net/hekh8/) however i can not implement it within this script. Any help would be very appreciated, thank you. …

Member Avatar for gentlemedia
0
275
Member Avatar for Tko_1

This is not my code/script all hardwork came from Codelair Full script located [here](http://doheth.co.uk/codelair/php-mysql/scoreboard) I really hope i posted this in the correct section because im unsure which code will work best for this. As the name for the script gives this away it is a scoreboard. allows admin to …

0
181
Member Avatar for rajabhaskar525

hi all, i want to send sms to mobile phones from web site . is there any solution for this ....... give me idea!!!!!!!!.......

Member Avatar for Bishnoi_1
1
2K
Member Avatar for dudegio

Hello please help me troubleshooting this. i got this error in my login.. pleaaaaase. below is the **error** that prompts me when i login: PHP Warning: Cannot modify header information - headers already sent by (output started at D:\HostingSpaces\spindev\spindev.spinweb.ph\wwwroot\YPS\login\login.php:9) in D:\HostingSpaces\spindev\spindev.spinweb.ph\wwwroot\YPS\login\login.php on line 71 PHP Warning: Cannot modify header information …

Member Avatar for nicheteam
0
14K
Member Avatar for Tko_1

This script will add a submit button on the next line to remove that line, I have done this before but in this script i can not seem to get it to work. i know im missing something simple. Im tring to have the submit be an image and also …

Member Avatar for Tko_1
0
206
Member Avatar for Tko_1

hello, when I echo $acfile; it shows up with the users name. when i try to insert the variable into the text field, the below code will show the value as blank. $HTML .= ' <input type="text" value="' . $acfile . '" id="contest-name" name="contest[name]" value="' . ( isset( $entry['name'] ) …

Member Avatar for broj1
0
98
Member Avatar for Tko_1

Hello, so the code i have gets the files in the directory and lists them in a dropdown. what im trying to do is rename the selected dropdown file with the input of the text field. error i get is: Warning: rename(test.php,) [function.rename]: No such file or directory in..... For …

Member Avatar for Tko_1
0
188
Member Avatar for Tko_1

Okay so i have a page when it is visted stores there ip to file and bans there ip access to a differant page. Problem i have is it will only ban the last visted ip, which i want to ban all ip's in the file. page1 which is visted …

Member Avatar for Tko_1
0
2K
Member Avatar for Tko_1

I have a script that search's for the word in the file just fine, I would like to echo the line number it was found on. Thank you. <html> <body> <form name="form" method="post"> input: <input type="text" id="search" name="search_box" style="background:#000006; color: #FF0000" /> </p> </p><input type="submit" name="submit" value="submit" /> </form> </body> …

Member Avatar for Tko_1
0
256
Member Avatar for Tko_1

What im tryig to do is add one line of code to all files at once Can this even be done ? I have tried reading all files in a directory then fopen to fwrite without any success. Any ideas ? Thank you

Member Avatar for Tko_1
0
198
Member Avatar for garyjohnson

I want to remove all enters from an input and replace them with a single space. By that I mean something as </br>. So if someone places the input like this Hello, my name is bob. How are you? It will look like this, Hello, my name is bob. How …

Member Avatar for buzzfire
0
168
Member Avatar for Tko_1

Basically i have the search script working well, but i need to replace the $input with $inputused if word is found. I have tried str_replace() with no luck any ideas? Thank you <html> <body> <form name="form" method="post"> <br><input type="text" id="search" name="search_box" style="background:#000006; color: #FF0000" /> <br><input type="submit" name="submit" value="Search for …

Member Avatar for Tko_1
0
173
Member Avatar for Tko_1
Member Avatar for Tko_1

Hello i am able to add icons next to files that end in these extentions, what im tring to do is to add icons next to directories. Any ideas ? Thank you a[href$='.zip'], a[href$='.rar'], a[href$='.gzip'] { background:transparent url(zip.jpg) center left no-repeat; display:inline-block; padding-left:40px; line-height:18px; }

Member Avatar for Tko_1
0
91
Member Avatar for raihanbd1000
Member Avatar for diafol
0
142
Member Avatar for Tko_1

Hello again. I have this backup script to grab files/folders rar them and save them. What i have been tring to do is ignore certain files. ignore test.php within folder. Thank you <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script type="text/javascript"> function submitform(){ $('#myForm').post("backup.php", $("#myForm").serialize()); } </script> </head> <form action="backup.php" method="post" id"myForm"> <input type="hidden" …

Member Avatar for Tko_1
0
197
Member Avatar for firelife12

Hey, I have been trying to create a chat with php, I keep ending up with a lot of problems, such as no refreshing, not allowing users to post. Can someone please help me create a chat? thanks!

Member Avatar for masterjiraya
0
222
Member Avatar for Tko_1

hello i only want to reshresh a part of a page <?php include 'index.php'; ?> is this possible ? Thank you

Member Avatar for LastMitch
0
70
Member Avatar for Tko_1

All i would like to do is insert an image next to the question. Im sure this is a very easy thing to do. I just cant seem to do it. any help would be great, thank you '<input type="hidden" name="questions[' + n + '][number]" value="' + n + '" …

Member Avatar for Tko_1
0
161
Member Avatar for Tko_1

Okay so i have this script that will upload and remane the file to image.png which works perfect. what i am trying to get is when uploaded number the image in order image1.png image2.png image3.png if (isset($_POST['submit'])) { $newext = '.png'; $filename = $_FILES["file"]["name"]; $file_basename = substr($filename, 0, strripos($filename, '.')); …

Member Avatar for Tko_1
0
160
Member Avatar for vibhaJ

I was struggling long for proper image resize function for maintaining image ratio. Finally i end end up with merging and changing all codes and it works ! function resizeImage($sourceFile,$destFile,$width,$height) sourceFile => Full path along with filename destinationFile => Full path along with filename I hope this will help coders..

Member Avatar for diafol
1
332
Member Avatar for Tko_1

hello again, Im tring to stop this redirect with a button. this is the orginal script. <script language="JavaScript" type="text/javascript"> var count =16 var redirect="example.php" function countDown(){ if (count <=0){ window.location = redirect; }else{ count--; document.getElementById("timer").innerHTML = ""+count+" seconds." setTimeout("countDown()", 3000) } } </script> Browser refresh in <span id="timer"> <script> countDown(); …

Member Avatar for Tko_1
0
527
Member Avatar for Tko_1

Hello im sry if i have any of this code wrong, im not very good at Javascript. so basically i have a ChgText() which works fine althou it replaces the whole field of my text area. how would i go about changing this code so i could have it just …

Member Avatar for Tko_1
0
143
Member Avatar for Tko_1

Hi i have this script to upload and replace the exciting image which is good. The one thing i can not figure out is i would like to resize any images that are uploaded, to like 60x60. any ideas ? <?php if (isset($_POST['submit'])) { $newext = '.png'; $filename = $_FILES["file"]["name"]; …

Member Avatar for Tko_1
0
148
Member Avatar for Tko_1

Im tring to show image1.png if it exists, else show image2.png <?php $image1 = images/image1.png; $image2 = images/image2.png; if ( $image1 < true ) { echo "$image1"; } else { echo "$image2"; } ?> I am getting a Warning: Division by zero Thank you

Member Avatar for Tko_1
0
175