Jump to content

carbonize

Members
  • Posts

    824
  • Joined

  • Last visited

Everything posted by carbonize

  1. What you describe is a known bug in PHP 4.4.1 and TC is soon updating to PHP 4.4.2 which should hopefully fix this. The version of Advanced Guestbook cPanel installs is out of date like most of the scripts cpanel offers. The latest version of AG is 2.4.1. You could just install AG from cpanel then update to Lazarus using the agupdate script.
  2. I know from experience that some spammers will create multiple accounts then wait a month before using them to spam with. Even if you require email validation to join.
  3. There is a form of spam known as refer spam. Basically they send a request to your site for a page and place their site as the refer. They do this in the hope that your list of referers is public.
  4. I personally use TuneUp Utilities. I have it set to run maintenance once a week. It checks the registry as well as deleting temp files and other stuff. Been using it for over a year now with no problems.
  5. Off the top of my head no but it would be a case of using regex. If nobody has answered by the time I get home I'll throw something together. The smart 404 page is the better option though as it informs the user of the change incase they have bookmarked the page.
  6. Rohan if you ban an IP in phpBB it should delete all the posts from that IP. I think anyway.
  7. Also it could be getting blocked by your HOSTS file.
  8. Well if you are worried about people not being able to find your pages after you change them to .php you could always use your .htaccess to send them to the correct page. Or better yet write a smart 404 page using PHP to explain the reason for the changes and give them a link to the correct url for the page they requested.
  9. You tell the server to send shtml files to PHP via the .htaccess file. php.ini is just where PHP keeps it's settings. It would be in Apaches config file where you would specify what files are treated as what and the .htaccess can be used to override this.
  10. Yes but my point is you should never assume. It is always best to code for global variables being switched off even more so as that is now the default. I doubt any TC server has globals switched on nor would any other host who has half a clue leave them switched on.
  11. My grandma, what big shoulders you have.
  12. Mad scientest transplants brain of Fred Astaire into a Seal!!!
  13. I don't see it on mine. Which server are you on? On a different note I did notice that Advanced Guestbook is offered (booo) but AG has not been updated to work with PHP 4.4.1 which is what TC now uses (despite what it says on it's hosting pages where it lists it as PHP 4.3.10 still).
  14. "Do you ever look at the stars and wonder if somewhere, on one of the infinite number of planets, there is another you looking up at the stars and wondering if there is another them on another planet looking up at the stars?"
  15. Spielberg has denied all rumours of a low budget sequel to E.T.
  16. Fantastico is brilliant, honest. But then cPanels never been upto date with the scripts it offers neither. I'm all for automatically installing scripts for people so long as it is the latest version and the client is informed that they must keep a check for updated versions. I always say you can tell a really good host because they offer Lazarus as one of their free scripts
  17. Probably not a good idea given the incredibly sloppy HTML Frontpage produces.
  18. Shouldn't $dPath = $PHP_SELF; //Get the script path, relative to web root. be $dPath = $_SERVER['PHP_SELF']; //Get the script path, relative to web root. ??
  19. Yes by either adding an ID field to each item and having it auto_increment then order them by the ID descending or order by the timestamp as newer ones will always be higher than older ones.
  20. I'd switch from datetime to just int as then you can use the timestamp as I stated. It is always recommended to use timestamps as then you can deal with any time differences and format the date/time how you want when displaying. If you do want to use datetime then http://dev.mysql.com/doc/refman/5.0/en/datetime.html will enlighten you as to how to use it. According to that page you would use Now() in the query.
  21. Not to mention Lazarus has excellent support.
  22. Curious as to why the Portable Suite has both Open Office and a Word Processor? Seems a waste of space to me. All I have on my thumbstick are PSPad, Xammplite, an image optimiser and all my scripts etc. Only place I need to use this is at work but would be pointless for me to carry anything web based (ftp, browser, email) as my works connection is proxid and locked down tighter than a ******'s ****.
  23. http://www.raditha.com/php/progress.php is a dead link here.
  24. I do image uploading in the guestbook script I maintain but the script just uses if (is_function(imagejpeg)) to see if GD is installed when making thumbnails. But as Jim says using extension_loaded('GD') would seem a far better method of checking if it is installed not to mention less cpu intensive as parsing the phpinfo().
  25. You would be better off just using $thetime = time(); and then putting $thetime into the field that stores the purchase date. time() returns a unix timestamp for the time right now and you can then format it as you wish when you recall it. http://uk2.php.net/time explains more.
×
×
  • Create New...