User Profile

Collapse

Profile Sidebar

Collapse
Johnymap
Johnymap
Last Activity: Sep 7 '09, 10:38 AM
Joined: Dec 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Johnymap
    replied to PHP files coming up as files to download
    Thanks Atli.

    This really helped
    See more | Go to post

    Leave a comment:


  • Johnymap
    started a topic PHP files coming up as files to download

    PHP files coming up as files to download

    Hi everyone.

    I have migrated my site from Apache 1.3 web server to Apache2 and now when i open php files, they pop up in a download window instead of executing.

    I searched all around but no solution found. Someone please help.

    Thank you in advance
    See more | Go to post

  • Johnymap
    replied to Read specific line from text file using PHP
    in PHP
    Thanks nathj

    unfortunatelly I am not allowed to use a database for this matter, its just some co. policy. So, do you have some code that i can use to solve this. i have looked almost everywhere for help but nothing seems to be helping.

    Please help...
    See more | Go to post

    Leave a comment:


  • Johnymap
    replied to Read specific line from text file using PHP
    in PHP
    Thanks Nathj

    I managed to read the text file and write to it. The only problem is getting the correct line from the array. Can you please help me specifically with the code to do this.

    Thanks again in advance.
    Johnymap
    See more | Go to post

    Leave a comment:


  • Johnymap
    started a topic Read specific line from text file using PHP
    in PHP

    Read specific line from text file using PHP

    Hi everyone.

    The text file i am using has the following format:

    "2001_1.rtf " (1 January 2001) Ookame v Tombale (CCF No. 203 of 2001) [2001] BWHC 1
    "2001_2.rtf " (1 January 2001) Kgaimena v Leoifo (MISCA F.572 of 2001) [2001] BWHC 2
    "2002_1.rtf " (7 June 2002) Olebeng v The State (C A No. F104 of 2001) [2002] BWHC 1
    "2003_1.rtf " (1 January 2003) Sebogodi v Sebogodi...
    See more | Go to post

  • Hi everyone.

    The text file i am using has the following format:

    "2001_1.rtf " (1 January 2001) Ookame v Tombale (CCF No. 203 of 2001) [2001] BWHC 1
    "2001_2.rtf " (1 January 2001) Kgaimena v Leoifo (MISCA F.572 of 2001) [2001] BWHC 2
    "2002_1.rtf " (7 June 2002) Olebeng v The State (C A No. F104 of 2001) [2002] BWHC 1
    "2003_1.rtf " (1 January 2003) Sebogodi v Sebogodi...
    See more | Go to post

    Leave a comment:


  • Johnymap
    replied to convert rtf files to html using PHP
    in PHP
    I am kind of new to PHP. So what I need help with is the PHP code to immediately convert the rtf file to html. I don't want to use a third party sotware to convert this files manually, or open the the files one-by-one after a couple of hours they have been uploaded....
    See more | Go to post

    Leave a comment:


  • Johnymap
    started a topic convert rtf files to html using PHP
    in PHP

    convert rtf files to html using PHP

    Hi Everyone!

    I am building a site where users upload files in rtf format. The problem is I want to implement a script to automatically convert this rtf files to html files and build a links page with all this files, so when a user clicks on the link the file should open up in an html format.

    Can anyone please help. Thanks in advance.
    See more | Go to post

  • Thank you very much. The code works perfectly.
    See more | Go to post

    Leave a comment:


  • Johnymap
    started a topic Read specific word(number) from text file using PHP
    in PHP

    Read specific word(number) from text file using PHP

    Hi everyone

    I have text file which looks like these:

    "index.txt" Johan [Mabuya] 22 sebaya
    "home.hml" Mpho [KOKO] 23 leboa
    "index.frt" Tedesca [HIGH] 24 teba

    My problem is i want to read the number on the last sentence. At the current moment I can only read the whole of the last sentence. Please help
    See more | Go to post
No activity results to display
Show More
Working...