-
Posts
478 -
Joined
-
Last visited
-
Days Won
1
Posts posted by sagnik
-
-
But now I've changed the nameservers to HelioHost. So why I'm still getting a blank page?
-
Ok, I'll do it right now...
Done. I've changed the nameservers.
-
No, it doesn't...
-
Thanks, it helped me a lot.
-
Sir, I've just tried to disable the www CNAME record from CloudFlare, but no change. I'm still getting the blank page when visiting the site "http://www.netmate.cu.cc". The "www" automatically prepends to "netmate.cu.cc" when I'm typing "netmate.cu.cc".
-
Ohh, I didn't knew that.. Well if not browscap, then is there any PHP library which can provide all of this??? I've searched Google, but didn't find anything...
-
But, $_SERVER doesn't provide user's device & platform details easily, I've to do too much coding to extract the details from $_SERVER['HTTP_USER_AGENT'].
-
Ok, I'll try it...
-
Hello sir, I'm trying to setup cloudflare with my domain. I think everything is working fine but when I visit the site with www, "http://www.Netmate.cu.cc", I'm getting "ERROR 1000", anyone please guide me to setup cloudflare??
Ok, solve it. I've just updated the nameservers from my domain registrar and the problem was solved.
But why the www subdomain is giving a blank page?
-
Ok, I'll do that. Thanks for your help.
-
Ok thanks, I've followed you.
Browscap provides the details of user's browser, device & platform. In fact, the name, version,build manufacturer of the browser and platform/os and name, model, date of manufacture, etc of device which is the user using. full_php_browscap.ini takes around 55.56MB size.
Browscap need to be set as a directive in php.ini, like,
[browscap] browscap = "C:\php\extras\full_php_browscap.ini"
If you add full_php_browscap.ini directive, it will be a great help, because I have used it in my registration and login page. If it cannot be added, then I have to change my whole registration and login related files. -
If I set a variable with the path in my config file then also I've to include the config file like you explained:
<?php
require_once('/home/sgn/public_html/nm/public_html/mobile/global/header.php');
?>
So what will be the advantage of storing the value to a variable??
And what about browscap? Can I use browscap? If yes then how? If not then, what is an alternative of browscap?
-
I've 3 domains which can access the folder "mobile". Roots for the domains will be different so the path to reach the folder "mobile" from different domains will be different. Document Roots for the domains are: "sgnetworks.cu.cc": "/home/sgn/public_html", "netmate.cu.cc": "/home/sgn/public_html/nm/public_html", "m.netmate.cu.cc": "/home/sgn/public_html/nm/public_html/mobile". So I've to use this block of code to include header and footer:
<?php if($_SERVER['DOCUMENT_ROOT'] == "/home/sgn/public_html/nm/public_html/mobile"){ $docRoot = $_SERVER['DOCUMENT_ROOT']; } else if($_SERVER['DOCUMENT_ROOT'] == "/home/sgn/public_html/nm/public_html"){ $docRoot = $_SERVER['DOCUMENT_ROOT']."/mobile"; } else if($_SERVER['DOCUMENT_ROOT'] == "/home/sgn/public_html"){ $docRoot = $_SERVER['DOCUMENT_ROOT']."/nm/public_html/mobile"; } require_once $docRoot."/global/header.php"; ?>
-
I've did it. I've automatically included header.php and footer.php using php.ini directive "auto_prepend_file" & "auto_append_file" in localhost with HTTPD. Now my question is can I do it in HelioHost in anyhow? Like using .htaccess, php.user.ini or any other things. And one more thing, I need to use "browscap", can you please add "full_php_browscap.ini" in the php.ini or allow me to do so by any method?
-
I actually installed PhpMyAdmin from Softaculous, but it also not working. Still showing maximum 2,048 kib.
-
Ok, thanks for your help.
-
Thank you sir, I was actually planning to buy a domain but I thought after the Website is completely ready then I will buy a domain. But can I use the domain from freenom.com?
-
Ok, I'll do it.
And why my site is blacklisted? Is for the domain (.cu.cc) or any other things?
-
I don't want to do that, because if I do that, if anytime I need to delete any rows then it will not be possible. That's why I don't want to change the database.
-
Username: sgn
Domain: sgnetworks.cu.cc
Server: Johnny
-
I want to merge 3 or 4 rows into one with the previous row. See here: http://netmate.cu.cc/mobile/tos2.php, what I want to do is, merge all the text after section 8. Registration and before section 9. Posts with the section 8 and make it fit in one section (div) using PHP. How can I do it??? Here is the code:
<?php require_once $_SERVER['DOCUMENT_ROOT']."/mobile/global/header.php"; ?> <br/> <?php function get_subsection($sid,$db){ if(!empty($sid)){ $q=db_query("SELECT ssid,ssvalue FROM terms WHERE sid='$sid'", $db); if($q){ if(db_num_rows($q) > 0){ while($r=db_fetch_array($q)){ return $r['ssid'].".) ".$r['ssvalue']; } } } } } ?> <?php $q=db_query("SELECT sid,section,svalue,ssid,ssvalue FROM terms ORDER BY sid,ssid ASC",$db1); if($q) { if(db_num_rows($q) > 0) { echo "<div class='panel-group'>"; while($r=db_fetch_array($q)) { echo "<div class='panel panel-default'>"; echo "<div class='panel-heading'>".$r['sid'].".".$r['section']."</div>"; echo "<div class='panel-body'>".$r['svalue']; echo "<span class='subsection'>".get_subsection($r['sid'], $db1)."</span>"; echo "</div>"; echo "</div>"; } echo "</div>"; } } ?> <?php require_once $mGlobal."footer.php"; ?>
-
Thank you sir. I have just checked using UC Browser and it worked fine.
-
How can I fix it?? I'm using Google Chrome in Android Mobile.
-
Thanks
And one more thing, I have a sitemap.xml file in the public_html folder of my addon domain, but when I'm typing the URL in the browser, it's starts downloading instead of displaying the XML data. Can you help me, please?
[Solved] Phpmyadmin Maximum File Size Exceeds
in Escalated Requests
Posted
Yeah... I've did it.. Thanks for your help..