Jump to content

GremlinP1R

Members
  • Posts

    62
  • Joined

  • Last visited

    Never

Contact Methods

  • MSN
    gremlin@webmail.co.za
  • Website URL
    http://www.phase1racing.co.za

Profile Information

  • Gender
    Male
  • Location
    South Africa

GremlinP1R's Achievements

Member

Member (2/5)

0

Reputation

  1. Help pleas, I don't know how to do this and I also don't know where to begin. I just want the server to run over a local network.... Help please... Thanx...
  2. Uhmmm help please.... How did you do that? Having the same problem and don't know how to get it working, have been trying for a day or 2 now and still no luck.... Please help....
  3. Okay well lets say its ofline?
  4. LOL now thats an idee.... I forgot it was there...
  5. Hi there Can some one please help me. I'm trying to remove the address bar on the explorer window... I know it can be done and I have a code to do it on a pop-up window but need it for every window they open... Please help... Thanx.
  6. uhmmmm sure thanx Huggie Bear... You dont maybe know where to look. Dont know Javascript at all
  7. Hi there Can some one please help me. I'm trying to remove the address bar on the explorer window... I know it can be done and I have a code to do it on a pop-up window but need it for every window they open... Please help... Thanx.
  8. Thanx that code works, sort of... it makes places for all inmages, counts them and create a blok but its not displaying... Any reason why it would not display?? Thanx..
  9. Hi there... How would I be able to display all pic in on dir on a page?? Can some one please help...
  10. Uhmmm Help again Please.... That is working 100% just have one small problem now with it. Its saving the files where it sould and it names them all as it sould but... In my data base it also have to save the name and currently its only saveing the first  ones name in all the fields. [code]<php // When Submitting   if (isset($_POST['Submit'])) {   include('uploadclass.php');       // Set upload info       for ( $i = 0; $i < sizeof ( $_FILES['pic'] ); $i++ ) {       $upload_class = new Upload_Files;   $upload_class -> temp_file_name = trim($_FILES['pic']['tmp_name'][$i]);   $filename = $name;   $filename .= $nickname;   $filename .= trim(strtolower($_FILES['pic']['name'][$i]));   $var = explode('.',$filename);       $extension = $var[count($var)-1];       if (($extension != jpg) and ($extension != gif) and ($extension != bmp) and ($extension != png)){ echo" file type";}   else {   $upload_class -> file_name = $filename;   $upload_class -> upload_dir = "images/cars/";   $upload_class -> upload_log_dir = "images/uploadlog/";   $upload_class -> max_file_size = 50000000;   $upload_class -> banned_array = array(" ");   $upload_class -> ext_array = array("%.jpg");       // Calling class Functions //      $valid_ext = $upload_class -> validate_extension();   $valid_size = $upload_class -> validate_size();   $valid_user = $upload_class -> validate_user();   $max_size = $upload_class -> get_max_size();   $file_size = $upload_class -> get_file_size();   $upload_directory = $upload_class -> get_upload_directory();   $upload_log_directory = $upload_class -> get_upload_log_directory();   $upload_file = $upload_class -> upload_file_no_validation();   // Conecting to database       $result = mysql_query("SELECT * FROM database")                 or die(mysql_error());       $sql = "INSERT INTO table (`ID` , `Date` , `Name` , `Surname` , `NickName` , `Bdate` , `Residence` , `Occupation` , `Cell` , `CarMake` , `CarModel` , `Registration` , `Motor` ,                                    `Body` , `Interior` , `Sound` , `Pic1` , `Pic2` , `Pic3` , `Pic4` , `Active` )               VALUES ( NULL , NOW( ) , '$name', '$surname', '$nickname', '$bdate', '$residence', '$occupation', '$cell', '$carmake', '$carmodel', '$registration', '$motor', '$body',               '$interior', '$sound', '$filename', '$filename', '$filename', '$filename', '0')";   // Submit data to database    $result = mysql_query($sql) or die (mysql_error());   $count = ($result); }} } ?>[/code] The $filename works fine for saving the file but I'm doing something wrong to save the file name in the database..... Please help.
  11. Hi there. I'm trying to upload a few files, now every thing is working fine for one file.... but how do I loop it for the rest?? [code]<?php // When Submitting   if (isset($_POST['Submit'])) {   include('uploadclass.php');     // Set upload info       $upload_class = new Upload_Files;   $upload_class -> temp_file_name = trim($_FILES['pic1']['tmp_name']);   $filename = $name;   $filename .= $nickname;   $filename .= trim(strtolower($_FILES['pic1']['name']));   $var = explode('.',$filename);       $extension = $var[count($var)-1];       if ($extension != jpg){ echo" file type";}   else {   $upload_class -> file_name = $filename;   $upload_class -> upload_dir = "images/cars/";   $upload_class -> upload_log_dir = "images/uploadlog/";   $upload_class -> max_file_size = 50000000;   $upload_class -> banned_array = array(" ");   $upload_class -> ext_array = array("%.jpg");       // Calling class Functions //      $valid_ext = $upload_class -> validate_extension();   $valid_size = $upload_class -> validate_size();   $valid_user = $upload_class -> validate_user();   $max_size = $upload_class -> get_max_size();   $file_size = $upload_class -> get_file_size();   $upload_directory = $upload_class -> get_upload_directory();   $upload_log_directory = $upload_class -> get_upload_log_directory();   $upload_file = $upload_class -> upload_file_no_validation(); ?>[/code] Thats the code that sould get looped, my field names are pic1, pic2, pic3 and pic4.... No to use foreach() I deed one field name not? Help please...
  12. His error [quote]Fatal error: Call to undefined method web::display_information_games() in /home/wintersw/public_html/games.php on line 40 [/quote]
×
×
  • 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.