Jump to content


  • Posts

  • Joined

  • Last visited


Contact Methods

  • MSN
  • Website URL

Profile Information

  • Gender
  • Location
    Bangalore, India

satya61229's Achievements


Newbie (1/5)



  1. Here for($counter = 0;$row=mysql_fetch_array($query); $counter++) I think you are starting from 0 and going till last +1 . Try with usual while($row=mysql_fetch_assoc($query) {}
  2. You can use htmlentities with ENT_NOQUOTES parameter. Plz check here- http://php.net/manual/en/function.htmlentities.php
  3. session_id can be useful to know is session has started or not: http://www.satya-weblog.com/2009/10/php-session-is-session-set.html
  4. and google also suggest doing it. Use H1 first then h2, h3. It tells about structure of website
  5. See if you are reading large file in memory then this is going to happen. In this case just increase the memory size for php for that script. If it is just a script that is causing the problem then check the script. Search for PHP memory_limit . ini_set('memory_limit', 'size in bytes'); http://stackoverflow.com/questions/415801/allowed-memory-size-of-33554432-bytes-exhausted-tried-to-allocate-43148176-bytes
  6. yes use curl and use a marker to mark those area. Recently for one ticket I have added a text when accessed with certain parameter. Like I will access that page using /test.php?mypage=1 Then in that case I will add a php code there where I will check that if mypage=1 will be in parameter then I will output {content} .... {/content}. In this case using regex on the content grabbed is easier. I have also added exit after my content so that my page access from the specified page can be faster.
  7. Not sure but please check you are using the right editor which understand the utf-8, utf-16. and if it understand then save it in right encoding also.
  8. 1. Create an Iframe. 2. Use Javascript for submitting/redirecting the page the page. 3. Before redirecting/submitting, set the iframe src attribute using JS. 4. You are done.
  9. It is working for me. Just replaced port number from XXXX from something valid. Check if you have some error. error_reporting(E_ALL);
  10. You can get lots of pagination code on the net. I have a code both in Ajax and non-Ajax version you can use. http://www.satya-weblog.com/tag/pagination
  11. I also do not know and also suspect there may be any. On Linux/unix system you may run the linux command though. Look for that.
  12. For lots of headers and attachment I always suggest using a library written and tested for sending email. One is phpmailer. Simple mail() function is not very good to use for us.
  13. You need few things for redirect problem after users logout. I am in no mood of writing those long code written on blog. So search in the blog mentioned below. I am 100 % sure you will get the answer.
  14. but I think file upload is not supported through ajax. People use iframe which do the tricks and that looks like ajax.
  • 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.