Jump to content

gw1500se

Members
  • Posts

    1,033
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by gw1500se

  1. Did you check your mail server logs and/or httpd logs?
  2. What did you try and what error did you get or unexpected output?
  3. Once you have the redirect in place, does it matter?
  4. Yes. No.
  5. Use .htaccess to redirect references to the old link to the new one.
  6. Post your code. Be sure to use the code icon (<>) on the menu and specify PHP.
  7. I forgot to mention, not HTML is needed since no browser is involved. Simply write the script as if it were any other scripting language (bsh, Python, perl, etc.).
  8. Eliminate the meta refresh. When you create a cronjob you tell it how often to run the script. This tutorial tells you how to set up cron.
  9. Not directly but writing your own is pretty simple in both PHP and Javascript.
  10. This is not really a PHP question. You need to create a .htaccess file with redirect. You can see how here.
  11. You could start by posting the offending code and the full error message. When posting code be sure to use the code icon (<>) in the menu and specify PHP.
  12. This is not really a PHP issue. I suggest you ask this on the appropriate *NIX forum.
  13. One additional note. You need to check for 11, 12 and 13 since they are not 11st, 12nd or 13rd. Teens are all 'th'.
  14. Where do you check for 3 and append 'rd'? I can only see 'st', 'nd' and 'th'.
  15. What have you tried? Post your code and be sure to use the code icon (<>) on the menu and specify PHP. List any error messages and/or what you get instead of what you expect.
  16. If that is the case, it sounds like your database schema needs to be rethought.
  17. One way is to translate all <> characters to &lt; and &gt; respectively. You may need to wrap it in <pre>...</pre> tags to format it.
  18. Not sure what you are asking. This is all done on the client side so JavaScript can control what is displayed. Calling a PHP function with Ajax does not change anything on that page unless the JavaScript makes the change. Keep in mind that PHP is server side only and is stateless. JavaScript is client side and can control the current page completely. Thus a different JavaScript/Ajax function will not effect this function.
  19. Looks like you have a lot of errors to investigate. You need to clear them up first obviously. The "not a function' errors are likely a syntax problem. As a guess, there may be parens () in those references rather than brackets [].
  20. Turn on error reporting. error_reporting(E_ALL);
  21. Your reply does not answer the question (mine or dodgeitorelse3 which are basically the same).
  22. //this could be the problem it appears in the error file $alreadyCrawled() = array(); $crawling = array(); It is. Look at the second assignment that did not produce an error. See the difference? However, telling us it does not work is of no use. What new code did you add? What doesn't work? Do you get an error or do you get a different output than you expect? If so what is that?
  23. How are you pulling those pages "without visiting them?"
  24. Then you did not update the session variable when those pages were visited.
  25. Because you did not use the code icon (<>) for your code it is very difficult to read. Which are lines 13-17? Although I can't find it, somewhere there you probably have 'titel' misspelled as 'title'.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.