Jump to content

dcole.ath.cx

Members
  • Posts

    430
  • Joined

  • Last visited

Posts posted by dcole.ath.cx

  1. I went with:

    <script language='javascript'><!--setTimeout('document.myForm.submit()',5);//--></script>

    anyway, I have to go to a login page and submit a form, then another page with the IP address form... How would I made it so I stay on my site, or go back to my site? Do I want it to open in a frame?

  2. I was messing around with my name and binary... and I made it into one of thoughs squre password things (forget the name...) and then decoded it and googled it and one way it came to a website against big business and the other way it came to Linux Fedora Core's website. Kinda odd... maybe not. Just though I would tell everyone.My county (lol, the county... not just the town) lost power and had tornatos touch down, so I had some free time!EDIT: added "OT" to subject for Off Topic.

  3. I host my own website on my own server and I'm looking for a way that a script could login to dyndns.com and update my ip address for me.I would run it in cron and everything would be automated... any ideas?

  4. Is this correct?while(!is_dir($dir)){// there is something in here that makes $dir change...}is this correct? while(!is_dir($dir))if not what is the correct way?

  5. just search the form, I remember seeing this same topic like a week or 2 ago...took me like 10 secs... http://w3schools.invisionzone.com/index.ph...hl=users+onlinebasicly:check to see if there is a session $been_here and see if the time is more than 15 mins agoif more than 15 mins ago or never beforeset session $been_here with current time as the valuethen open a file and save the current time as a new line.then for the counter, open that file and count how many are from no more than 15 mins ago...

  6. Internet center is green with a white background
    umm... maybe it was green and black. (sry I was using my new video card I made... it has a color ratio of 1:1)It would just be nice to have a couple themes I could switch between. I have 'settings' on my site and I can change between themes. I use light colors during the day and dark at night... just to be nice on my eyes.
  7. well he was trying to make a skin, so how ever he was planning to get his added, he can do it to these ones...---- ---Desert is a dark red with a tan backgroundInternet center is green with a white backgroundand the last one is dark red with a white backgroundto put it generally, I think I got them from http://invisionize.com/

  8. Only files that have php code in them should have an ext. .php (unless you changes the httpd.conf file to accept other file types as a php file)like Cronthenoob said, included files don't need doctype or heading, unless that is the propose of them. PHP is used to make dynamic pages... it writes html and tell it to the browser. so you have one master php file which gets any other kind of file (MySQL, .txt, .php, .html...) and puts it all together into on big html file the browser can use.

  9. Since there was only one skin that people can use, I went and found some IPB 2.1.X skins. These skins were made by other people and have asked that the link on the bottom of these skins remains on there. If these links can not be on this forum then we should not use the skin since it would be considered steeling not to give them credit. http://dcole.ath.cx/dcole/Desert.ziphttp://dcole.ath.cx/dcole/Internet_Center.ziphttp://dcole.ath.cx/dcole/ipb_evolution.zipthey will need to be changed to fit with the W3schools logo... maybe the logo needs color changing.I PMed Chocolate570 about this topic, so he should read it and maybe add these skins to the list.

  10. You can use file_get_contents(), file_get_contents() puts the data into a string, vs. file() which put's it into an array.---- ---well the solution was that there was an extra space formed after the each URL if there was more than one URL, most likely caused by the exploding of the data... if you look at the error message you will notice the extra space in the quotes after the URL.

  11. use a for loop with an if/else in side of it...so like:

    $ne = 6;$count = count($ne);$size = $count/2;for($i=0; $i<$size; $i++){ if($i % 2) {  $number = $i;  print "<tr><td>Entry $number</td>"; } else{  $number = $i +$size;  print "<td>Entry $number</td></tr>"; }}

    that will printEntry 1 Entry 4Entry 2 Entry 5Entry 3 Entry 6just to give you some help in the right direction...

  12. Well it goes though a for loop 100 times, each time opening a file and getting the first line and putting it into that statement I'm having problem with, then afterwards it deletes the first line... then it's ready for the file to be opened again (so it will have a new line)

  13. I'm sorry, I forgot you can't use % in height...add height='600px'px is for pixels---- ---here is a very simple template I once made, it has alot of comment tags so you know what's happening...

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head>	<title>Title of document</title></head><body><center><h1>My Web Site</h1><table width='100%' border='1'>	<tr style="">			<!-- style='background-color: lightblue;' is the code for cell BG color -->		<!-- style='background-image: URL (image location);' is the code for cell BG image -->		<td width='20%' style='background-color: lightblue;'>				<!-- Change URL (Address) to the page address you want the link to go to -->		<!-- Change Explain to the discription of the page the link is going to-->		<!-- Change LINK to what the user will see (EX: HOME) -->				<a href='URL (Address)' title='Explain' target='_self'>LINK</a><br>		<a href='URL (Address)' title='Explain' target='_self'>LINK</a><br>		<a href='URL (Address)' title='Explain' target='_self'>LINK</a><br>				</td>		<td align='left'>		<b>Page</b><br>		your text goes here		<br><br>		all directions to make this page look like what you want is in comments in the page source!		<br>		For any Question go to <a href="http://dcole.ath.cx/forum.php" title="http://dcole.ath.cx/forum.php" target="_blank">http://dcole.ath.cx/forum.php</a>		<br><br>			<!-- <br> is the same as enter -->			<!-- <p>text here</p> is a paragrph -->			<!-- <b>text here</b> is for bold text -->			<!-- <h1>text here</h1> is for headings, 1 can be a number 1-6 -->			<!-- <em>text here</em> is for emphasized text -->			<!-- <i>text here</i> is for italic text -->			<!-- <img src="URL (Address)" width="WIDTH" height="HEIGHT"> is for images. you need to change URL (Addess), WIDTH, and HEIGHT -->						</td>	</tr>	<tr>		<td colspan='2'>		<a href='URL (Address)' title='Explain' target='_self'>LINK</a> | 		<a href='URL (Address)' title='Explain' target='_self'>LINK</a> |		<a href='URL (Address)' title='Explain' target='_self'>LINK</a>		</td>	</tr></table></center></body></html>

  14. forgot about the quotes... I'm trying my best not to do that, but as you can see I did it again.just tested it again... and again with a whole bunch of URLsand still got this message for each URL:Warning: file_get_contents(http://dcole.ath.cx ) [function.file-get-contents]: failed to open stream: No error in C:\xampp\htdocs\xampp\search\gcache.php on line 34

  15. There is no way that it can increase spamming as it is not build on post count. It is users giving reputation to users. There is even a feature that restricts reputation/day and minimum post count for giving reputation.
    reputation per day sounds good, or posts to reputation you can give.but minimuum posts is a bad idea... what if you just came to this forum and had a hard question you've been working months on and some one here answers it for you... you would want to hand out reputation right then and now.
×
×
  • Create New...