PHP and dbdeploy on shared-hosting



Hello everyone.

I like the Dbdeploy utility very much, but I there isn't any
possibilities to use it on usual, shared LAMP hosting, because it can
be run only from command line, as usual Apache ant task, which looks
like this:

<dbdeploy driver="${db.driver}" url="${db.url}"
userid="${db.user}" password="${db.password}"
dir="${input.sql.dir}" outputfile="${build.outdir}\$
{build.deltascript}"
dbms="mysql" deltaset="DLM"
undoOutputfile="${build.outdir}\${build.undoscript}" />

It is very inconvenient to execute these sql-deltas, manually.
Especially if project is big, and we need to make a version upgrade
fast.

It is possible to write that mechanism by our own, as a php script,
getting .sql files, from some directory, and execute them, if they
weren't be executed, BUT I'm wondering, if that tool has been already
developed.

Thanks, Nikita

http://www.fedyashev-nikita.com
.



Relevant Pages

  • PHP-Nuke code execution and XSS vulnerabilities
    ... PHP-Nuke code execution and XSS vulnerabilities ... PHP-Nuke has a module that implements a web mail system. ... executes an attached PHP script when someone opens it! ... attacker can execute any PHP script on the web server. ...
    (Bugtraq)
  • [VulnWatch] PHP-Nuke code execution and XSS vulnerabilities
    ... PHP-Nuke code execution and XSS vulnerabilities ... PHP-Nuke has a module that implements a web mail system. ... executes an attached PHP script when someone opens it! ... attacker can execute any PHP script on the web server. ...
    (VulnWatch)
  • [Full-Disclosure] PHP-Nuke code execution and XSS vulnerabilities
    ... PHP-Nuke code execution and XSS vulnerabilities ... PHP-Nuke has a module that implements a web mail system. ... executes an attached PHP script when someone opens it! ... attacker can execute any PHP script on the web server. ...
    (Full-Disclosure)
  • Re: [PHP] Re: how to detect type of image
    ... you detect if a script is HTML or PHP? ... to execute a file that starts with 'GIF89a' as if it were a binary ... manage to trick your PHP script into putting it somewhere that it will ... Every extra barrier you layer in there will slim down the number of ...
    (php.general)
  • Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
    ... we're running an Win2003server with IIS6 and PHP4 in fastCGI config. ... Does the IIS user have permission to execute cmd.exe? ... access the resources ok when the PHP script is ran from the ... commandline with PHP.exe. ...
    (comp.lang.php)