Webhosting in Pakistan
Page 5 of 6 FirstFirst ... 23456 LastLast
Results 49 to 60 of 69

Thread: PHP MySQL Class-15

  1. #49
    alirabani is offline Junior Member
    Last Online
    18th August 2011 @ 08:34 PM
    Join Date
    16 Aug 2011
    Age
    29
    Gender
    Male
    Posts
    1
    Threads
    0
    Credits
    710
    Thanked
    0

    Default mjy web developing seekhni h

    Webhosting in Pakistan
    mjy website bana k share karna nai ati.
    koi mjy sikha de, mein fees pay kar do ga.
    ali 0٭٭٭٭٭٭٭٭ lahore plz help me
    Last edited by Fatima Iqbal; 24th November 2011 at 12:17 AM. Reason: Remove Mobile No (Not Alllowed)

  2. #50
    ikram62's Avatar
    ikram62 is offline Anti-spam
    Last Online
    Yesterday @ 06:07 PM
    Join Date
    14 Feb 2010
    Location
    Mardan
    Age
    45
    Gender
    Male
    Posts
    9,114
    Threads
    1143
    Credits
    4,214
    Thanked
    799

    Default

    wow what a sharing it is.

  3. #51
    cosmos is offline Senior Member+
    Last Online
    5th August 2012 @ 01:05 AM
    Join Date
    17 Jun 2010
    Age
    35
    Gender
    Male
    Posts
    73
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    excellent

  4. #52
    aak999's Avatar
    aak999 is offline Senior Member+
    Last Online
    8th March 2013 @ 02:42 PM
    Join Date
    16 Dec 2010
    Age
    30
    Gender
    Male
    Posts
    375
    Threads
    17
    Credits
    714
    Thanked
    37

    Default

    very nice keep it up...

  5. #53
    malikadnan0 is offline Junior Member
    Last Online
    11th November 2011 @ 12:21 AM
    Join Date
    10 Nov 2011
    Age
    31
    Gender
    Male
    Posts
    16
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    Ala , boht achi sharing hai bhai

  6. #54
    niceabi is offline Senior Member+
    Last Online
    20th May 2014 @ 11:07 AM
    Join Date
    02 Sep 2009
    Age
    36
    Posts
    31
    Threads
    3
    Credits
    604
    Thanked: 1

    Default

    Workshop Part 1
    Q.1
    Yes
    Q.2
    file_exists
    Q.3
    state ke zariey array mai 7 number pe file ka size maloom ho ga
    Q.4
    fopen
    Q.5
    fgetc
    Q.6
    fwrite
    Q.7
    read dir

    And section 2 coming soon

  7. #55
    niceabi is offline Senior Member+
    Last Online
    20th May 2014 @ 11:07 AM
    Join Date
    02 Sep 2009
    Age
    36
    Posts
    31
    Threads
    3
    Credits
    604
    Thanked: 1

    Default

    Answer of Part 2
    Q. 1
    <?php
    if($_POST['posted']){
    //getting value of post
    $user_name=htmlspecialchars($_POST['usr_name']."\r\n");
    }
    //open file to reading and writing
    $fp=fopen("name.txt","a+");
    if(!$fp) die("Cannot open the file");
    fwrite($fp,$user_name);
    fclose($fp);
    $file="./name.txt";
    //getting file Info
    $file_size=$_FILES['userfile']['size'];
    $read=file_get_contents($file);
    $line=explode("\n",$read);
    foreach($line as $newline){
    echo "<font face='Times New Roman'><i>".$newline."</font></i><br>";
    }
    echo "The File Size is : ".filesize($file).' bytes<br>';
    $lines = count(file($file));
    echo "There are $lines lines in this file<br>";



    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <meta name="author" content="niceabi" />

    <title>Name box</title>
    </head>

    <body>
    <table border="1" align="center">
    <form method="post" action="name.php">
    Enter Your Name :
    <input type="text" name="usr_name">
    <input type="hidden" value="true" name="posted">
    <input type="submit" value="submit">
    </form>
    </table>
    </body>
    </html>

  8. #56
    dar-us-slam is offline Junior Member
    Last Online
    9th February 2012 @ 09:20 PM
    Join Date
    13 Sep 2011
    Age
    34
    Gender
    Male
    Posts
    26
    Threads
    0
    Credits
    730
    Thanked
    0

    Default

    Jazak Allah.

  9. #57
    sheikhfarrukh is offline Junior Member
    Last Online
    24th December 2013 @ 10:14 PM
    Join Date
    05 Dec 2009
    Age
    36
    Posts
    19
    Threads
    1
    Credits
    0
    Thanked: 1

    Default

    Great work Shakeel Keep it up...

  10. #58
    Join Date
    20 Jun 2012
    Location
    Khuzdar
    Age
    27
    Gender
    Male
    Posts
    40
    Threads
    1
    Credits
    0
    Thanked: 1

    Default


  11. #59
    Join Date
    20 Jun 2012
    Location
    Khuzdar
    Age
    27
    Gender
    Male
    Posts
    40
    Threads
    1
    Credits
    0
    Thanked: 1

    Default


  12. #60
    shohaz's Avatar
    shohaz is offline Advance Member
    Last Online
    17th February 2019 @ 03:05 PM
    Join Date
    21 Dec 2012
    Location
    karachi
    Gender
    Male
    Posts
    1,306
    Threads
    37
    Credits
    97
    Thanked
    41

    Default

    Webhosting in Pakistan
    nice

Page 5 of 6 FirstFirst ... 23456 LastLast

Similar Threads

  1. PHP MySQL Class-7
    By shakeel in forum PHP MySQL
    Replies: 97
    Last Post: 18th August 2016, 01:02 PM
  2. PHP MySQL Class-12
    By shakeel in forum PHP MySQL
    Replies: 60
    Last Post: 10th August 2016, 11:48 AM
  3. PHP MySQL Class-18
    By shakeel in forum PHP MySQL
    Replies: 71
    Last Post: 9th April 2016, 04:07 PM
  4. PHP MySQL Class-20
    By shakeel in forum PHP MySQL
    Replies: 83
    Last Post: 28th August 2015, 05:25 PM
  5. MySql first class
    By aajizUsmani in forum Courses
    Replies: 4
    Last Post: 23rd March 2014, 02:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •