php

PHP section

Of course this section is about PHP programming. Anyway, ror a faster search you'd better use drupal advanced search function...

WARNING: all the script available on my web site, even if not specified, are downloadable for free.
Disclaimer: this software is provided "as is" without warranty of any kind, either expressed or implied. Use it at your own risk. The writer of this program can not be held responsible for improper use of this program or damage caused by bugs.

Run cron.php without crontab: now it's possible.

|

Dear drupal webmaster newbies, this is for you!

Now it's possible to run cron.php regularily, without any access to the server or without any knowledge about servers and crontab!

Just put these simple PHP lines in a block of your Drupal site, better if mostly present, or create a new block with them:

<?php
$tmstmp=mktime();
$last=file_get_contents("lastcron.txt");
if(($tmstmp-$last)>(60*60*6))
{
$pntr=fopen('lastcron.txt', 'w');
if(fwrite($pntr, $tmstmp))
{
mail ("dest","cron OK","OK");
include ("cron.php");
}
else
{

Recent Node with Drupal and Localizer

|

A simple PHP script to use as custom block for Drupal 4.7.X and Localizer module installed.

See attachment for source code and details in comments.
If it isn't enough just ask me in a comment!

Obviously, I'm the first utilizer ;)

UNOFFICIAL GOOGLE SITEMAP GENERATOR PHP FREE TOOL

|

A PHP script to generate a file (XML) for the Google 'SITEMAP' service .
Unofficial Google Sitemap generator, for further information:
https://www.google.com/webmasters/sitemaps/
docs/en/protocol.html
.

HOW TO INSTALL

  • unpack the contento of the zip file on your webserver
  • surf to the corresponding url

HOW TO USE

  • insert a URLs list in the textarea (from "http://" one URL x line

MySQL Table Admin 1.0 - A PHP-MySQL front-end

|

A symple and easy script to manage MySQL tables. You can modify, add, delete records or lock some of these features.

HOW TO INSTALL

  • Unpack the zip file content on your web server
  • Modify settings as described by comments in index.php
  • see detailed instruction in adm.php to configure your own page
  • see further details in index.php

MySQL Tbl Adm 1.0 - A PHP-MySQL front-end
Created : August 24 2004
Author : Diego Belotti

Syndicate content