Jump to content

pmeasham

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

pmeasham's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. you can do this with sql: INSERT INTO `table` VALUES ('data1a','data1b'),('data2a','data2b'),('data3a','data3b') You can do this with php using multi database querys as well, however I'd look into using a database abstraction layer. eg from pears: [code] $sth = $db->prepare('INSERT INTO numbers VALUES (?, ?, ?)'); $alldata = array(array(1, 'one', 'en'),                 array(2, 'two', 'to'),                 array(3, 'three', 'tre'),                 array(4, 'four', 'fire')); $res =& $db->executeMultiple($sth, $alldata); [/code] see: http://pear.php.net/package/DB
  2. a good list is found there: http://en.wikipedia.org/wiki/Control_Panel_%28Web_Hosting%29 but I've found webmin to be the best.
  3. Their are two main methods to read xml sax and dom. sax reads through xml and allows you grabs it data. dom loads the xml into an object for you to access, like javascript interacting with HTML. PHP has expat to read xml which is sax like: http://uk2.php.net/xml pear has a easier verson of this in: http://pear.php.net/manual/en/package.xml.xml-parser.example.php more detailed example: http://www.schst.net/index.php?__path=articles.xml-parser
  4. [quote author=Jenk link=topic=106301.msg425213#msg425213 date=1157012227] If a user logs in as [code]' OR '' = '' --[/code] they needn't bother entering a password. [/quote] indeed, take a look at: http://uk2.php.net/manual/en/function.mysql-real-escape-string.php
  5. Have you had a look at mod rewrite for apache ? http://httpd.apache.org/docs/2.0/misc/rewriteguide.html http://www.modrewrite.com/
  6. Theres also PHP Eclipse for the Eclipse editor. An easy installer for it can be found there: http://www.easyeclipse.org/site/distributions/php.html Its also free and open source.
×
×
  • 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.