Jump to content

kb0000

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://thomain.com

Profile Information

  • Gender
    Male

kb0000's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I want to read a file abc.txt It has contents in the format This is line 1. This is line 3. Further in this line. This is line 4. This is line 6. I want to read this file (line by line, i think) and check if the current line is blank (like there is no Line 2 i.e. a blank line.) What I want to do is that - now in the above text file there are 3 sets of line or 3 paragraphs. I want to check if there is a blank line between two set of lines. Or is there some way to fetch paragraphs??? I want to separate these 3 sets of line in 3 rows in an excel sheet. i.e. In excel sheet columns: A1 - This is line 1. A2 -This is line 3. Further in this line. This is line 4. A3 - This is line 6. How I can do this?
  2. Hi, I have referral script to download on my site. It cant do all things you have listed, but can do only some small things and is a basic script, you can try it at: http://scripts.webpany.com
  3. Hi, I am using PHP for my sites. In my site whenever i link to any page i do it by using something like this http://domainname.com/index.php?page=pagename Here, i pass the page name in the link, so that I have a common index.php page to catch all the pages and show them. But problem that i am facing is that i think that search engines don't travel through all these pages as the links are not proper links but in a query format i.e. ?page=pagename. Now, I want that i should give links like http://domainname.com/dir/page... so in this case i have to include header, footer and navigation links in every page (but earlier it was easy for me as only in index.php page i have used the template i.e. including header, footer and navigation links page), now i have to include these in every page. Whats the way of implementing this thing, so that the rest of the pages can be searched by Search Engines. Thanx
  4. I am using Cpanel. When ever any user opens any .php page on my website (whether the page contains some code or is empty) there is some error lines logged in the error_log file. Following is the error: [06-May-2008 05:41:39] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_domxml.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_domxml.dll: cannot open shared object file: No such file or directory in Unknown on line 0 [06-May-2008 05:41:39] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_exif.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_exif.dll: cannot open shared object file: No such file or directory in Unknown on line 0 [06-May-2008 05:41:39] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_xmlrpc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_xmlrpc.dll: cannot open shared object file: No such file or directory in Unknown on line 0 [06-May-2008 05:41:39] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_xslt.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_xslt.dll: cannot open shared object file: No such file or directory in Unknown on line 0 I have asked the hosting provider to check if the associated things are enabled or not. They said they are enabled. What should I do to prevent them.
  5. I have just switched over to 5.2.1 Version. Earlier i was using the 4.3.2 and now i find that it is not the session_start(). I am using the Mysql database and as i try to login and then it goes to a different page there first i am checking the if isset for seesion , and if it is not set then it says please login. and this thing is not working for me in this new version. There is session_start() included on both the pages at the top.
  6. Yah i do have the problem in 5.2.1 .I have just switched over o this version. And earlier in php 4.3.2 the session was working all fine but here the session_start() is not working at all. Please help.
×
×
  • 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.