Jump to content

Shifter

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Shifter

  • Rank
    Newbie
  1. hi guys ;as you know when the screen resolution be wider or narrower the position of elements changes and it's so hard to make one css file that maintain all elements in it's suitable position ...is there any way to pecify a CSS file for every screen resolution ?!i have tried many ways using JS and JQuery but it didn't work ... if it possible a php code will be better ...thanks a lot
  2. many things like :<div class="hide_subject"></div>and <br /> in some php files doesn't work !!
  3. This is the link my friend : http://www.3arabarchive.net/
  4. hi guys;some of my css classes and ids don't work at firefox but works at IE, Opera, Chrome ....i checked the css files and php files over and over but no mistakes ...can any one told me where is the mistake probably be ?!
  5. Works fine my friend thanks a lot you are brilliant
  6. Now we solve all the problems except that when i upload 3 images the script echo the first image and repeat the 3rd image at the place of the 2nd image another exapmle : if i uploaded 4 images the first one appears and the 2nd,3rd.4th images are the same as the last image ...this is the code i use : <?php if(isset($_POST['submit'])) { for($i=0;$i<count($_FILES['image']);$i++) { $file_name = $_FILES['image']["name"][$i];$filesize = $_FILES['image']['size'][$i];$filetype = $_FILES['image']['type'][$i];$filetypes = array ('image/jpg','image/jpg','image/GIF','image/JPEG','image/JPG','
  7. I have treid and the images didn't uploaded but an echo data came over : I have added the [$i] to all $_FILES super global and work fine but still lettel problem : i have uploaded just 2 images and this appears :
  8. <?php if(isset($_POST['submit'])) { for($i=0;$i<count($_FILES['image']);$i++) { $file_name = $_FILES['image']["name"][$i];$filesize = $_FILES['image']['size'];$filetype = $_FILES['image']['type'];$filetypes = array ('image/jpg','image/jpg','image/GIF','image/JPEG','image/JPG','image/gif','image/jpeg'); $file_name1 = strchr($file_name,'.'); $new_file = time(00000,99999).$file_name1; $path_image = "script/upload/".$new_file; move_uploaded_file($_FILES['image']["tmp_name"],$path_image);echo "<br /><hr /><img src='http://www.3arabarchive.net/$path_image'/><br><
  9. Yes no images appears .... i have checked the upload folder to see if there any images uploaded but i found no thing ...
  10. after editing this appears : array(1) { ["image"]=> array(5) { ["name"]=> array(4) { [0]=> string(5) "1.jpg" [1]=> string(5) "2.JPG" [2]=> string(5) "3.JPG" [3]=> string(5) "4.JPG" } ["type"]=> array(4) { [0]=> string(10) "image/jpeg" [1]=> string(10) "image/jpeg" [2]=> string(10) "image/jpeg" [3]=> string(10) "image/jpeg" } ["tmp_name"]=> array(4) { [0]=> string(14) "/tmp/php6dSM0a" [1]=> string(14) "/tmp/phpnAEsi6" [2]=> string(14) "/tmp/phpsU8R35" [3]=> string(14) "/tmp/php5ReHIu" } ["error"]=> array(4) { [0]=> int(0) [1]=> int(0) [
  11. i have edited the file but stile no changes ... i don't think that the problem is that the xhtml is invalid .... it shows problems in google codes !!!
  12. That's the code after editing <?php var_dump($_FILES) ?> <?php if(isset($_POST['submit'])) { for($i=0;$i<count($_FILES['image[]']);$i++) { $file_name = $_FILES["image[]"]["name"][$i];$filesize = $_FILES['image[]']['size'];$filetype = $_FILES['image[]']['type'];$filetypes = array ('image/jpg','image/jpg','image/GIF','image/JPEG','image/JPG','image/gif','image/jpeg'); $file_name1 = strchr($file_name,'.'); $new_file = time(00000,99999).$file_name1; $path_image = "script/upload/".$new_file; move_uploaded_file($_FILES["image[]"]["tmp_name"],$path_image);echo "<br /><h
  13. this is the message that appears : array(1) { ["image"]=> array(5) { ["name"]=> string(0) "" ["type"]=> string(0) "" ["tmp_name"]=> string(0) "" ["error"]=> int(4) ["size"]=> int(0) } }
×
×
  • Create New...