Jump to content

MadTechie

Staff Alumni
  • Content Count

    9,389
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MadTechie

  • Rank
    Prolific Member
  • Birthday 07/03/1978

Profile Information

  • Gender
    Male
  • Location
    UK
  1. I have to agree with CroNiX, but you only really need a good understanding of the basics, and a common parrern design like MVC would be a plus.
  2. MadTechie

    dynamic metatags with php and mysql

    As a guess you have missed the connection to mysql as mysql_fetch_array is getting a boolean (i assume false, that is an error in the query) try a result=mysql_query($query) or die(mysql_error()); and see what the error is
  3. MadTechie

    list all files in a directory

    Try this simple example, <?php $dir = dirname(__FILE__)."/"; //Get the directory where this script is located echo "This is the full path: ".$dir echo "<br />\n"; // Open a known directory, and proceed to read its contents if (is_dir($dir)) { //Checks its a directory if ($dh = opendir($dir)) { //Access the directory while (($file = readdir($dh)) !== false) { //read files/folder from the directory echo "filename: $file : filetype: " . filetype($dir . $file) . "\n"; //display the found item directory } closedir($dh); } } ?> it should give you the full of where the script is and what files and folders are inside. The most common problem is getting the path right. You could change dir in the above script to $dir = dirname(__FILE__)."/Thumbnails/"; //Get the directory where this script is located If the script is in the Gallery directory.. Hope this helps if not then just lets us know what happened
  4. MadTechie

    MySql code help needed

    First thing I would remove the whitespace, between the php tags $boxerrortext = 'No duplicate boxes'; ?> <?php if (isset($_POST['submit'])) { but i think the main problem is with the array itself $error[] = array( 'boxerror'=>$boxerrortext, 'box'=>$box ); should probably be $error = array( 'boxerror'=>$boxerrortext, 'box'=>$box ); (no [])
  5. MadTechie

    FTP Programs

    11 times now (FileZilla)
  6. MadTechie

    FTP Programs

    What.. OMG.. something works on Vista.. better call M$ and get them to fix that bug..!
  7. MadTechie

    FTP Programs

    I use FileZilla;) but havn't used it much so i can't really say the pro's con's
  8. MadTechie

    FTP Programs

    So the statement was based on your personal preference!! becuase you as for my personal preference when i first used CuteFTP seamed very basic and while easy to use missed most advanced options.. but now days its more down the way you work.. as most FTP programs can all do the same functions
×

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.