Jump to content

sagnik

Members
  • Posts

    483
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by sagnik

  1. Does it effect to the files/directories? And do I first have to remove the addon domain then add the new one or first add the new addon domain then remove the previous one?
  2. Sir, I want to either park a domain to an addon domain like "netmate.cf"=>"netmate.cu.cc", or change the current addon domain(netmate.cu.cc) to netmate.cf. Can I park a domain to an addon domain? Or can I change the addon domain without deleting any files/directories of the addon domain?
  3. Ok, I'll remember that... And once again, thank you..
  4. Thanks again, and one more thing, the space was not visible in any code editor, when I've copied and pasted, I've saw that space. Can you tell me why the space was not visible in the editor?
  5. Thanks, I think the script will help me a lot to solve this type of problems. As for the problem, I've found that a space was added before "<?php" opening, when I've posted the script in Pastebin.
  6. Thanks for your help, sir...
  7. Thanks for your help, sir. It helped me a lot, but not like that I wanted to. I know, I couldn't describe the thing clearly. I'm trying last time to describe the problem: $q=mysqli_query($con, "SELECT * FROM posts"); while($r=mysqli_fetch_array($q)){ //When first row is fetched echo the first row //When second row is fetched echo the second row } And for your previous suggestion, do you mean to do that, I've to use paging? Like paging does, for example, shows 5 contents per page, I've to show 1 row per page and use jQuery for auto-paging? In short, I don't want my users to wait until all rows are displayed.
  8. I don't understand how we can see different things as I've uploaded the same I've posted in Pastebin!!
  9. Sir, how can you determine it. I've given my whole index.php. You can see the code, I've started the session at line 2 after that I've included header.php
  10. Ok, thanks... But I've wanted to show rows as MySQL fetches rows in a while loop as MySQL doesn't fetches all rows at once so I've wanted to display the row as soon as it ready instead of waiting for MySQL to fetch all rows. You take Facebook as an example, Facebook displays the posts as soon as it ready and at the bottom of page it shows a loading image.
  11. Ok, thanks... Can I use fetch_array() instead of fetch_assoc()? And I want to use jQuery not JavaScript, because I'm not well familiar with JavaScript.
  12. But I've not started any output before session_start(), here is my first 3 lines: <?php session_start(); require_once $_SERVER['DOCUMENT_ROOT']."/global/header.php"; The output starts from line 3.
  13. Ok, thanks. I'll try it... If it doesn't work I'll let you know.
  14. Sir, here is the register/index.php https://pastebin.com/AneB6n3Q You can see that I've written session_start() at line 2 then I've included the header.php in line 3. And one more thing, when I've copied the text from index.php to paste it in Pastebin, I saw that, a space is added before "<?php" like " <?php" in line 1. I don't understand that, is the space really exist in my code or the space adding when I'm pasting the code as the space is not showing in my code editor (Notepad++). If the space exist then it maybe the problem for the warning.
  15. I couldn't understand. If I send row number to PHP, then it will return only one row which matches the row number. Can you please give me an example of jQuery and PHP?
  16. How can I show the contents of MySQL table as it fetches data? For example, I'm retrieving data using jQuery-ajax, before sending request to the PHP show an ajax loader and in PHP, if in a table has 4 rows and I'm retrieving the data in a while() block, as MySQL fetch first row show the data in the page using jQuery and continue to show the loader and after retrieving all 4 rows hide the loader. How can I do this?
  17. I'm getting a warning in PHP when I'm using session_start(). The warning says that: cannot start session, headers already sent (output started at /home/sgn/public_html/nm/public_html/members/register/index.php:1) in /home/sgn/public_html/nm/public_html/members/register/index.php on line 2 And, Cannot send session cache limiter - headers already sent (output started at /home/sgn/public_html/nm/public_html/members/register/index.php:1) in /home/sgn/public_html/nm/public_html/members/register/index.php on line 2 I couldn't figure out the problem as it says output started at line 1 but in line one has only "<?php" and a unix line break like "<?php[LF]" and in line 2 "session_start()", no spaces, no echo/print.
  18. I've a class named "SGSocial". I'm sending data by ajax to a file and calling to a function of SGSocial from the file. But the problem is, ajax takes too much time to retrieve data. And PHP gives "Fatal error: Maximum execution_time exceeds in sgsspl.php on line 399" . Here is the link to all the files related to the problem: https://www.dropbox.com/sh/1pf51ff5zmohqi9/AADDiRDV2pgdCBm8o0FJ8EMEa?dl=0 Can anyone help me to figure out the problem??
  19. Yeah, you are right.. The problem was caused by a second call to the setSession(). Now it solved. I've removed the second call. And thanks for your help.
  20. For the location, yes for me and my friend's location will be same. But for IP, how can be same for both of us? He will be browsing from a different ISP or network and I will be browsing from a different. And for Proxy, VPN, TOR, I don't think he will use any of them. But yeah, sometimes I use VPN (when I'm in a mobile network), because cPanel sometimes gives an error informing that, "Your IP address has been changed, please login again", so I has to use VPN to change my current IP to a static IP address.
  21. Can you see that, I've clearly said that,
  22. How do I compress the files?? And one more thing... Suppose, my friend creates an account in Heliohost from his own computer and gives the login credentials to me to manage his website as you already know that he doesn't know anything about web development. And if I manage only his website from his computer only and I neither login to his account from my computer nor login to my account from his computer. In short, I will manage only his website from his computer only and my website from my computer only. Is there will be any chance to getting suspended??
  23. Is there any way to do this except using external data hosting??
  24. It will be so uncomfortable for a social networking site to host it's user's private media to be hosted on an external service. But if I can't get extra storage can I store all user's media to the MySQL database??
  25. But if I let my friend host his website in my account, we both may experience disk space problem as heliohost now offers 1gb disk space after an extension from 512mb. I'm hosting a social networking site and my friend wants to host a classified website so we need storage. If I really have to do it, can I get some extra storage or can I store all the data including "photos, videos, audios, etc." into database?
×
×
  • Create New...