- iPhone topik
- Megérkeztek a Xiaomi 15T sorozatának telefonjai Magyarországra
- Poco F7
- Fotók, videók mobillal
- Samsung Galaxy Watch (Tizen és Wear OS) ingyenes számlapok, kupon kódok
- Milyen okostelefont vegyek?
- Sebtapasz: telepíthető az iOS 26.0.1
- Telekom mobilszolgáltatások
- Google Pixel 10 Pro XL – tíz kicsi Pixel
- Apple iPhone 16 Pro - rutinvizsga
-
Mobilarena
WordPress tartalom kezelő rendszer (CMS) topik
Új hozzászólás Aktív témák
-
martin66
senior tag
ááá én hülye, köszönöm.
Most már csak tallózás után ezt írja ki a firebug: "error"
Most már csak ezzel van valami baja
global $extension_file;$path_info = pathinfo($nam);
$file_extension = $path_info["extension"];
$finalName = basename($nam,".$file_extension").time().".".$file_extension;
$finalCropName = basename($nam,".$file_extension").time()."-80x80.".$file_extension;
$finalName=str_replace(array(' ','-','_'),array('','',''),$finalName);
$file = $uploaddir .$finalName ;
$file_ext= substr($file, -4, 4);
if(in_array($file_ext,$extension_file))
{
if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file))
{/* $filename should be the path to a file in the upload directory. */
$filename = $file;
$upload[] = $finalName;
echo json_encode($upload);
}
else
{
echo json_encode("error");
}
}else
echo json_encode('error');
exit;
Új hozzászólás Aktív témák
- Asus TUF F17 // Rtx 4060 8gb // QHD 240hz // 32gb ram // 13th gen i9 13900H 2.60Ghz // SSD 1 TB //
- Bravo 15 C7UDX 15.6" FHD IPS Ryzen 7 7735HS RTX 3050 16GB 512GB NVMe magyar vbill gar
- Precision 3580 15.6" FHD IPS i7-1370P RTX A500 32GB 1TB NVMe magyar vbill IR kam gar
- Erő és Megbízhatóság: Dell Latitude E6530 (14", i7) Laptop SSD-vel, laptoptáskával!
- iPhone 16 PRO MAX 256GB fehér titán MEDIAMARKT számla 2027 szeptember 19-ig Apple garancia! Akku 97%
- Bomba ár! Dell Latitude E6540 - i7-4GEN I 8GB I 256SSD I Radeon I 15,6" FHD I Cam I W10 I Garancia!
- GYÖNYÖRŰ iPhone 13 Pro 256GB Sierra Blue -1 ÉV GARANCIA - Kártyafüggetlen, MS3358
- DELL Precision 5560 i7-11850H 32GB 1000GB T1200 FHD+ 1 év garancia
- Telefon felváráslás!! iPhone 15/iPhone 15 Plus/iPhone 15 Pro/iPhone 15 Pro Max
- Huawei P20 Lite 64GB, Kártyafüggetlen, 1 Év Garanciával
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest