Jump to content

divinequran

Members
  • Posts

    71
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://w3calculator.com

Profile Information

  • Gender
    Not Telling

divinequran's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks for reply, Yes they are tamil characters, The characters are encoded and the value is posted. The DB was not constructed earlier to accept it as itself of the characters. The browser itself decodes the value. html_entity_decode(); dosent work. Any other workaround to achieve this with generally available functions.
  2. Hello, I want to write some unicode "இயற்கை" values into a file in its real format like "இயற" Actually the browser prints the charactes in correct format, but I want it to be same in view source or browser source(இயற) but now the he browser displays it as (இயற்கை) $text = "இயற்கை"; $rest = utf8_decode($text); echo "$rest"; How to achieve this? Decode
  3. Dears, Consider I have a folder called docs mysite.com/docs/ I want to redirect some of the request to mysite.com/docs/word/index.php ==> here word folder doesnot exist(which is $1) mysite.com/docs/ppt/index.php ==> here ppt folder doesnot exist(which is $1) RewriteRule ^(.*)/index.php$ /docs/$1/all-ind.php?=$1 How this can be achieved? Please help..
  4. I am getting below error. Caught exception on timezone []: DateTimeZone::__construct() [datetimezone.--construct]: Unknown or bad timezone ()
  5. Hello, The below code works on my home machine.. but not on my Linux machine, I am unable to figure out the problem, please help require_once("dbconnection.php"); function coun_list() { $rs=mysql_query("select name from timezones") or die(mysql_error()); while($row=mysql_fetch_row($rs)) { $tzone=$row[0]; if($tzone=='Asia/Calcutta') $tzone='Asia/Kolkata'; try { $tz = new DateTimeZone("$tzone"); $lt=$tz->getLocation(); $lat=$lt['latitude']; $lon=$lt['longitude']; echo "$tzone"; } catch (Exception $e) { echo 'Caught exception: ', $e->getMessage(), "\n"; } } } coun_list(); I get the below error on my Linux machine, Caught exception: DateTimeZone::__construct() [datetimezone.--construct]: Unknown or bad timezone () Please help me to figure out the issue..
  6. I have a big student database, it has only one table. I want to select 10 student each department on a single mysql query. +---------------------------------------------------------+----------------------+ | student | Dept | +---------------------------------------------------------+----------------------+ | gooch | physics | | aaaaa | mathss | | dvssdg | maths | | sfgsfg | chemistry | | gcbcvb | chemistry | | dgsgsfg | arch | I have a big list like this.. I have to select ten student from each department. how shall I achieve it? Also I want to select student in random each time.
  7. Hi, I am curious to know about the problem, have you found what the issue is?
  8. Hi, I want know what are all the tables and fields in the table get effected by adding a post in wordpress. How can I post the content from my old DB to wordpress?
  9. Hi, you can try whether you can use geoip locator to find the cities by passing the IP address. A work around might kelp you, for this you have to have a huge database of all cities and do as much as number of combinations to find the cities.
  10. Hi, Can you post the url. Test your website with some php test code as below or try to send mail by executing the script which has only mail function in it <?php echo "I welcome you to nationalcongress.in"; ?>
  11. Hi, If you try it without htaccess redirection how does the page reflects on the screen? Does it displays as text or web page? Have you tried to redirect the index.html to some other test page's instead of /cgi-bin/gifasm.exe
  12. Try using ul instead of ol. I too had this problem earlier. when I used ol, finally I removed all the list to fix the issue.
  13. If your are beginner then you can simply use tables for better view.
  14. Yes I tried, but I cant get a plain tutorial to setup exim.
  15. Hi, How do I place image instead of submit button.
×
×
  • 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.