Jump to content
xisto Community

farsiscript

Members
  • Content Count

    360
  • Joined

  • Last visited

Posts posted by farsiscript


  1. hi all ,
    i have one big problem
    i need to know , how i can read xml file and then save strings in xml in database
    for example its my xml

    <?xml version="1.0"?> <numbers> <arash>1</arash> <kiarash>2</kiarash> </numbers>
    i want my soruce read this xml file and then save <arash> string into arash field in mysql database
    for example in this source arash string is " 1" and kiarash string is "2"
    my fields in mysql are standard and we have 2 field with names "arash" and "kiarash"
    please help me , if you know some tut about this subject
    thanks :lol:

  2. dear riphabbo , you must use this detailsurl : ftp.yourname.trap17.com or ftp.yoursite.com ( in top level domain )ftp username and password are cpanel username and password you must write cpanel username and password in ftp software then you must connect to ftp server and upload your file in www folder on your hosting


  3. thanks Dears , jlhaslip and musiconly and darran and delivi and sylenzednuke yesterday i re install my opera and upgrade my opera thats pop never goes on top .i think my browser was infected by spyware Dear jlhaslip which one link is broken ?thanks , thanks all for visit my page


  4. dear delivi Backup system in cpanel Allow you to move backup file to an other hosting, its really nice option , Xisto - Support last version of cpanel and you can move your backup file to an other hostingyou must write details of your new hosting in backup system like Ftp access for example :ftp address : ftp.yoursite.com and ftp username and password and patch to transfer,


  5. dear apple you must Get raw id and then use this code :

    $sql = "DELETE FROM file WHERE id=$id";$result = mysql_query($sql);
    in this query
    $sql = "DELETE FROM file WHERE id=$id
    you must put id number in $id and then write tabel name and replace with file
    for example you can use this code :
    $sql = "DELETE FROM CHANGE_ME_TABEL_NAME WHERE id=$id";$result = mysql_query($sql);
    beffor this you must connect to database by this code :
    $dbusername = "root"; //write Database username$dbpassword = ""; // write database password$dbname = "mobile";  //write database name// Dont changemysql_connect("localhost","$dbusername","$dbpassword") or die(mysql_error()); mysql_select_db("$dbname") or die(mysql_error());
    for sot and send the id of raw you can send id number by POST method or GET method for more about send id number you can read dear midnitesun post
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.