Jump to content

curtis

Members
  • Posts

    683
  • Joined

  • Last visited

Everything posted by curtis

  1. curtis

    Summer

    Critical Mass, I AM in south Louisiana and believe me somebody did turn the heat on. Right now, in Baton Rouge,91 degrees and 100% humidity. curtis
  2. Charlotte, It didn't offend me in the least. In fact, I sent the link to most all my friends and family members just to refresh their memories on what can and did take place on 911. Thanks for the link. curtis
  3. If anyone poses a threat to the American way of life they sure as hell should be nervous.I,for one, agree with the above statement. curtis
  4. CongratulationsThumbs Up
  5. So for a custom 404 error page you just build a page and name it 404.shtml and thats all. That does make it very simple. And explains why mine works without using .htaccess or the control panel. Thanks curtis
  6. I checked my .htaccess and there is only one redirect in it. At my old host the home page had to be named main.html. This is to redirect main to index.html,has nothing to do with 404 page. Like I said I don't understand it but it works. I don't think the .htaccess could have moved over,the htaccess was on the server, When I set up the account here I published from my computer,didn't transfer from server to server. curtis
  7. I wanted to say Thank You Jack. After a couple of PMs Jack had the code fixed and my page working. Just another instance showing why TCH is the best by going above and beyond. I've been here long enough to not be all that surprised at the lengths the users and support staff will go to in fixing a problem but it amazes me none the less. Again Thanks Jack. curtis
  8. I had a custom 404 at my old host, the page was named 404.shtml. When I moved my site here the 404 worked without using .htaccess or control panel. Don't understand why but it worked so I didn't change anything. Its not broke so why fix it. curtis
  9. surefire, the form is on the Photo of the Week page. A very short and simple form. This Page curtis
  10. Turtle, I tried the full URL and get the same error. I tried just a blank page thinking maybe something in the code on the Thank You page was causing the error but still got the same warning. I made a page in a sub-directory with same results. I named the page .htm and .php,same warning both times with those changes. Everything I put in the redirect gets that warning. curtis
  11. Surefire, I'm using this script for a couple of days now. It is just what I've been looking for. Everything works fine except when I try to redirect to a Thank You page on my site. I still receive the auto response and the file is uploaded.It just doesn't redirect. I did add the URL for the page where it said in the config.php file. I'm really new to php. Any suggestions. curtis
  12. Never mind,Got it. Great script. I'm just learning PHP and the detailed instructions were a great help. Thanks Thumbs Up curtis
  13. I downloaded the form script set everything up and tried it. Got the Thank You page,notified by email,Thank you for submitting to other email. Everything works. So, only one question. Where does it send the uploaded file? curtis
  14. Yes,This will avoid scan of C2.lop until a bugfix comes out. SpyBot says they are working on a fix but can not give a date when it will be ready. I don't have c2.lop are any its files so bypassing for now works for me. curtis
  15. I have used,or should say did use, AdAware for over a year and it worked very well.I thought. Downloaded SpyBot this afternoon. I ran AdAware,it found 8 files and cleaned them up. Ran it again just to be sure. I then ran SpyBot. It found 23 files AdAware missed. I also had the C2.lop problem. Read this to fix: http://www.computing.net/windows95/wwwboar...rum/140383.html I'm going to uninstall AdAware now. Thanks curtis
  16. For what its worth,My understanding: I have an account mysite.com. I create the sub-domains sub1.mysite.com,sub2.mysite.com ect. Icontrol these subs by editing, uploading and upkeep of these subs thats OK. If I create sub1.mysite.com and let John control it by editing,uploading and so on and create sub2.mysite.com and let Sue control it that IS NOT acceptable. Its letting John and Sue host their sites as one of my sub-domains. curtis
  17. I contacted Cox a couple of days before these post about not being able to send mail using my *Vanity Domain*. The support rep didn't tell me anything about being able to change the SMTP. She said the only way was to upgrade to a Business Account( DOUBLE my present cost as a home user). I told her I may just have to check out a DSL account with some one else,she laughed and said *SO, go ahead*. Cox is the only cable provider here and all the DSL providers also block port 25. I will change the SMTP setting. Thanks guys. curtis
  18. Congratulations, Turtle
  19. Hey Sam, I also use ZoneAlarm and have never had any problems or errors while publishing with CSB or uploading something using FTP. Lianna is right about using a router. I have a Linksys 4 port router still in the box. I will get it setup one day but until I do ZoneAlarm works. curtis
  20. Thomas, Yep thats all there is to it. You can do some nice stuff using the .htaccess. Try this link for more info on .htaccess. http://www.javascriptkit.com/howto/htaccess.shtml I found this page posted in this forum earlier this week. I'm a little late on this but some of you just get up WAY to early. curtis
  21. Thanks Jack, for putting in a good word for my site. Glad you bookmarked it also. I hope you can find something useful there. I do have ALOT more to add but my time is limited and I'm implementing some suggestions from Scott that I feel will be very beneficial not only for search engine rank but to my viewers as well. Thanks to you both. curtis
  22. Thanks for the info. I guess you noticed the difference between the Portal section and the Webmasters and Scripts section. I'm in the process of changing all to the Portal layout. I do have a separate page started for external links. I hope this is a complement, I'm taking it as one. I have about 70 pages(mostly scripts) I haven't added yet. Again Thanks curtis
  23. OK add my site to the Family Sites. This is my home page but most of my visitors go to the Webmasters page. URL: CMG Portal Site Name: CMG Portal Description: A Web Portal for Games,Dictionaries,News,Webmaster Resources,JavaScripts,Code Generators and more. TCH link: Top table,right side Evaluation Thanks curtis
  24. Turtle, That cat looks like it is REALLY ticked off. Did you make it that mad? Or it could be that haircut. curtis
  25. curtis

    Php

    OK Lianna here is the sitemap.php file. My problem using this sitemap is it shows ALL files and folders. When using CSB it shows all the HTMLobj folders ><?php //(C) copyright Metalhead 2002 //This script is released under the terms of the GNU General Public License. A copy of the GPL is included with this script. ?> <html> <head> <title>Sitemap</title> </head> <body> <b>Sitemap</b><p> <form action=<? echo $PHP_SELF; ?> method=post> Display <input type=radio name=display value=PHP>PHPs <input type=radio name=display value=HTML>HTMLs <input type=radio name=display value=both checked=yes>both <input type=submit value=Select> </form> <p> <? $stime = gettimeofday(); /* some preliminaries... */ $root = getcwd(); $pre = explode("/", $REQUEST_URI); array_pop($pre); $prefix = join("/", $pre); /* Uncomment the line below to create a tree of all files and directories on your webserver if the script * is in a subdirectory */ /* $root = str_replace($prefix, "", $root); */ $root .= "/"; /* Display server name and directory */ echo "<table cellspacing=0 cellpadding=0 border=0>\n"; echo "<tr><td><img align=absmiddle src=server.gif> http://$SERVER_NAME"; if($root == getcwd()."/") { echo "$prefix/"; } else { echo "/"; } echo "</td></tr><tr><td><img align=absmiddle src=vertical.gif></td></tr>\n"; /* Recursion, here we go.. */ function list_dir($chdir) { /* some globals, some cleaning */ global $root, $display, $prefix, $PHP_SELF; unset($sdirs); unset($sfiles); chdir($chdir); $self = basename($PHP_SELF); /* open current directory */ $handle = opendir('.'); /* read directory. If the item is a directory, place it in $sdirs, if it's a file of the type * php, htm, html or shtml and not this file, put it in $sfiles */ while ($file = readdir($handle)) { if(is_dir($file) && $file != "." && $file != "..") { $sdirs[] = $file; } elseif(is_file($file) && $file != "$self" && ereg("(php|htm|html|shtml)$", $file)) { $sfiles[] = $file; } } /* count the slashes to determine how deep we're in the directory tree and how many * nice bars we need to add */ $dir = getcwd(); $dir1 = str_replace($root, "", $dir."/"); $count = substr_count($dir1, "/") + substr_count($dir1, "\\"); /* display directory names and recursively list all of them */ if(is_array($sdirs)) { sort($sdirs); reset($sdirs); for($y=0; $y<sizeof($sdirs); $y++) { echo "<tr><td>"; for($z=1; $z<=$count; $z++) { echo "<img align=absmiddle src=vertical.gif> "; } if(is_array($sfiles)) { echo "<img align=absmiddle src=verhor.gif>"; } else { echo "<img align=absmiddle src=verhor1.gif>"; } echo "<img align=absmiddle src=folder.gif> $sdirs[$y]</td></tr>\n"; $cwd1[0] = $dir; $cwd1[1] = $sdirs[$y]; $chdir = join("/", $cwd1); list_dir($chdir); } } chdir($chdir); /* iterate through the array of files and display them */ if(is_array($sfiles)) { sort($sfiles); reset($sfiles); if(!isset($display)) { $display = "both"; } $sizeof = sizeof($sfiles); /* what file types shall be displayed? */ for($y=0; $y<$sizeof; $y++) { if(ereg("php$", $sfiles[$y]) && ($display == "both" || $display == "PHP")) { echo "<tr><td>"; for($z=1; $z<=$count; $z++) { echo "<img align=absmiddle src=vertical.gif> "; } if($y == ($sizeof -1)) { echo "<img align=absmiddle src=verhor1.gif>"; } else { echo "<img align=absmiddle src=verhor.gif>"; } echo "<img align=absmiddle src=php.gif> "; echo "<a href=\"$prefix$dir1/$sfiles[$y]\">$sfiles[$y]</a></td></tr>"; } elseif(ereg("(html|htm|shtml)$", $sfiles[$y]) && ($display == "both" || $display == "HTML")){ echo "<tr><td>"; for($z=1; $z<=$count; $z++) { echo "<img align=absmiddle src=vertical.gif> "; } if($y == ($sizeof -1)) { echo "<img align=absmiddle src=verhor1.gif>"; } else { echo "<img align=absmiddle src=verhor.gif>"; } echo "<img align=absmiddle src=html.gif> "; echo "<a href=\"$prefix$dir1/$sfiles[$y]\">$sfiles[$y]</a></td></tr>\n"; } } echo "<tr><td>"; for($z=1; $z<=$count; $z++) { echo "<img align=absmiddle src=vertical.gif> "; } echo "</td></tr>\n"; } } list_dir($root); echo "</table>\n"; /* How long did that need..? */ $ftime = gettimeofday(); $time = round(($ftime[sec] + $ftime[usec] / 1000000) - ($stime[sec] + $stime[usec] / 1000000), 5); echo "<center>This page was generated in $time seconds.</center>\n"; ?> </body> </html> I really like the way it looks using folder ans file icons but if I can't edit out the unwanted stuff I'll find something else. On the bright side I did install my first php and get it to work. curtis
×
×
  • Create New...