Jump to content

jlhaslip

Advanced Member
  • Posts

    524
  • Joined

  • Last visited

Everything posted by jlhaslip

  1. Shared Server? Do you know if open_basedir is activated? Do you have any files that are permissions 0777? How are the rest of the files?
  2. http://www.killersites.com/forums/topic/714/page-drop-shadows-left-and-right-centred/ There is a link in that thread.
  3. That's why we do it... You are most welcome. Be sure to learn something from these Forums and eventually you will also be helping others.
  4. jlhaslip

    Too many comas

    Welcome. Glad to help. Do you want the full page of code? or are you happy with the above posting?
  5. I don't think so because there was no opendir() used. Try it and see. You will need to change directories, though. chdir() and $dir
  6. Can you snag their IP from the Webstats Log? Check that out. Might be a Search Bot? Google et al leave a trail by visiting the robots.txt file. Is that a clue?
  7. You are welcome. And please do not use all caps. It is like yelling at someone... we understand that you are in need, but we all volunteer to assist here. Shouting is not polite.
  8. $dir = './'; // change to suit your location needs chdir($dir); // Move to the directory named above $filesg = glob('*.php'); // glob (make a list of) all (*) the php files found in the directory if(empty($filesg)){ echo 'no php files found...die '; die(); // die if no php files found } else { foreach ($filesg as $file) { // echo out the list of files with target name and title echo ''; echo $file; echo ' '; } } ?> Works for me. I kept your Target in there, but please re-think using it to open new windows. Also added the tooltip title.
  9. if ($file != ?.? && $file != ?..? ) { ... echo stuffe here } *edit* check out the glob function for selecting by file extension http://ca2.php.net/glob
  10. Did someone around here do a couple of sample pages using side Drop Shadows? Could someone link me to the Tutorial, please? Thanks.
  11. First up in Google : http://www.ibdhost.com/contact/ function based version : http://inobscuro.com/tutorials/read/34/ looks fair to middling. None of the Google-found scripts will be plug-n-play. They are all going to need tweaking to some degree. Add fields, check input, secure data, etc. I haven't found one yet that works out of the box to do everything. Google Query was : php contact scripts using POST method and this produced a ton of examples.
  12. Another thing you could do is re-direct the nasty pages to Google.com using a 301 redirect so Google and other Bots knows that it is permanent. Often these re-directs can be managed from a module inside your Control Panel so you do not need to get your hands dirty with code. Additionally, (if your Host allows), create a 404 Error page that lists your site Index or does a meta re-direct to your Index page.
  13. I have never seen IE conditionals used "in-line". Place an ID on that div and move the style up to the Head of the page. Including the IE conditional... Are there floats involved in or around that div? If the padding or margins are not being affected, there may be another selector being more specific. Without the full html/css (preferably a link) it is difficult to see what you are trying to accomplish or fix with this code.
  14. You are missing the selector for the padding to apply to.
  15. http://jlhaslip.com/samples/tooltips Look for Sell Your House.
  16. Change Hosts. They appear to have security issues. And what sort of site are you running? a PHP based site that includes an upload script? Check the code for vulnerabilities.
  17. You should be able to "park" the new domain on top of the existing site. Whether they see the old domain name in the Address bar will depend on how the page links are created. If the links are 'hard-coded', (like href=h t t p://domain.com/folder/page.html), then they will see the old domain name. If they are referenced relatively, (like href= ./folder/page.html), *I believe* the new domain will show.
  18. jlhaslip

    Twitter

    Where do I sign up? I always wanted to be an expert at something.
  19. Then we will write about how much fun it is removing all the IE6 hacks.
  20. jlhaslip

    Too many comas

    Try this link: http://jlhaslip.trap17.com/sm/select.php Go to that page and select the information available in the drop-downs and 'submit the form' to see the output. It outputs the POST array followed by a comma separated list of the 'display' array. The php code to create the list is as follows: $out = implode($_POST['display'], ','); echo 'Output after implosion of POST[display] array :' . $out; Of course, i don't have the Database to work with, but you should be able to use this method to create the information as you require. Post back if you need anything else.
  21. Well, the problem is that Google has identified either your site or the Host as suspicious. Best thing to do is to seek out the suspicious 'file' and remove it from the Server, and then ask for a review by Google. There is a link at the Google interrupt screen to allow for that. Hope the Designer has a backup.
  22. That script is looking for: - some bad header input to prevent Email headers being included, - valid email address - blank inputs - referrer logging But no validity checking for a Phone number, except whether is it blank... Simply write a check for the number formats you wish to allow. What does the Form look like? Does it ask for the phone numbers as an array? The form outline being checked above is a generic form handler that does not indicate which fields are being passed. It is also using the REQUEST method, which is not recommended. The form should be using the POST method for better security. REQUEST can be spoofed with an URL query string.
  23. PM me the link, please. I have a LINUX box here. No worries.
×
×
  • Create New...