Submit
Path:
~
/
home
/
caratcollect
/
public_html
/
admin
/
code
/
File Content:
update_category.php
<?php include("../library.php"); $names=$_REQUEST['names']; $updateId=$_REQUEST['updateId']; if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/png")) && ($_FILES["file"]["size"] < 1000000)) { $logo = createRandomPassword().$_FILES['file']['name']; $logo = str_replace(' ', '', $logo); move_uploaded_file($_FILES["file"]["tmp_name"],"../upload/" . $_FILES["file"]["name"]); rename("../upload".'/'.$_FILES["file"]["name"],"../upload".'/'.$logo); echo $sql1="update tblcategory set roomImage='$logo' where id=$updateId"; $result=$mysql1->m_Query($sql1); } if ((($_FILES["file1"]["type"] == "image/gif") || ($_FILES["file1"]["type"] == "image/jpeg") || ($_FILES["file1"]["type"] == "image/png")) && ($_FILES["file1"]["size"] < 1000000)) { $logo1 = createRandomPassword().$_FILES['file1']['name']; $logo1 = str_replace(' ', '', $logo1); move_uploaded_file($_FILES["file1"]["tmp_name"],"../upload/" . $_FILES["file1"]["name"]); rename("../upload".'/'.$_FILES["file1"]["name"],"../upload".'/'.$logo1); echo $sql1="update tblcategory set pageImage='$logo1' where id=$updateId"; $result=$mysql1->m_Query($sql1); } $inventoryDateS=$_REQUEST['iDateS']; $inventoryDateE=$_REQUEST['iDateE']; echo $sql="update tblcategory set name='$names' where id=$updateId"; $result=$mysql->m_Query($sql); header("location:../Master_Category.php?updateId=$updateId&msg=update"); ?>
Submit
FILE
FOLDER
Name
Size
Permission
Action
delete.php
1677 bytes
0644
insert.php
1355 bytes
0644
insertorder.php
1411 bytes
0644
inserts.php
1318 bytes
0644
invoice.php
2382 bytes
0644
room_inventorysingle.php
372 bytes
0644
save_Booking.php
1580 bytes
0644
save_BookingBlock.php
674 bytes
0644
save_BookingE.php
1314 bytes
0644
save_BookingRate.php
824 bytes
0644
save_Gallery.php
1586 bytes
0644
save_Homes.php
802 bytes
0644
save_ProductImage.php
904 bytes
0644
save_Testimonials.php
832 bytes
0644
save_category.php
1403 bytes
0644
save_product.php
1763 bytes
0644
save_productcategory.php
535 bytes
0644
save_roomInventory.php
1200 bytes
0644
save_user.php
1258 bytes
0644
save_users.php
1491 bytes
0644
setRate.php
545 bytes
0644
setRatesF.php
581 bytes
0644
setRatesI.php
569 bytes
0644
track.php
360 bytes
0644
update.php
16071 bytes
0644
update_Homes.php
899 bytes
0644
update_Testimonials.php
401 bytes
0644
update_category.php
1572 bytes
0644
update_inventoryActive.php
575 bytes
0644
update_inventoryBlock.php
462 bytes
0644
update_inventoryRate.php
562 bytes
0644
update_orderproduct.php
579 bytes
0644
update_product.php
1618 bytes
0644
update_productDetail.php
1079 bytes
0644
update_productDetails.php
1045 bytes
0644
update_productcategory.php
333 bytes
0644
N4ST4R_ID | Naxtarrr