Jump to content

prabin04

New Members
  • Posts

    1
  • Joined

  • Last visited

prabin04's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. what's wrong with this ? i can't upload if( isset($_POST['btn_add']) ) { $content=mysql_real_escape_string($_POST['content']); $title=mysql_real_escape_string($_POST['title']); $objPage->add_page($title,$content); if(isset($_FILES['image_name'])){ $image_name= $_FILES['image_name']; $upload_dir = "/var/www/cms/admin/upload/"; $upload_file = $upload_dir.$_FILES['image_name']; $objPage->add_image($image_name,$upload_file);
×
×
  • 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.