Hello, Will SSL certificate installed automatically when I added the domain ? Or I need to install it manually ?
NO
If you are able to use Cloudflare (you have your own domain)
then it is easier to use their self-renewing certificate
No, SSL certificate will not be install automatically
I want to deploy my subdomain here but I want to use another name servers. I seen some topics, They just told that I need only to change nameservers for verifying domain then, I will need to add the subdomain and deploy the code. Now, I can change my nameservers . Will my subdomain work after changing nameservers. As it don’t have access to the domain. How will it will make necessary records for subdomain ?
What is your subdomain?
Hi, I tried to add the website IP as A Record in DNS settings. but it giving a error.
ERR_INVALID_REDIRECT
I configured HTTPS on account.appzard.com and changed the name servers again to cloudflare. What should I do now ?
@Oxy please help me. and sorry for tagging you again.
Please show CloudFlare dns entry
@KangJL How can I know my IPv4 address ?
Yes, I worked after deleting redirects
Why my PHP is not working in InfinityFree ?
$last_id = $conn->insert_id;
echo '<script>';
echo 'document.getElementById('idd').innerText = ';
echo '"';
echo $last_id;
echo '"';
echo ';';
echo '</script>';
In line 3, some small typos:
it should be:
echo "document.getElementById('idd').innerText = ";
I am getting this error
Uncaught SyntaxError: Invalid or unexpected token
Or, close the PHP tag before:
$last_id = $conn->insert_id;
if($last_id){?>
<script>
document.getElementById('idd').innerText =<?php echo $last_id; ?>
</script>
<?php } else{} ?>
$last_id = $conn->insert_id;
if($last_id){?>
<script>
document.getElementById('idd').innerText =<?php echo $last_id; ?>
</script>
<?php } else{} ?>
this gives a error
Uncaught SyntaxError: Unexpected token ‘<’
<?php
define('DB_SERVER', 'jskdjf');
define('DB_USERNAME', 'jskndf');
define('DB_PASSWORD', 'jjkds');
define('DB_NAME', 'ijiosfjkfd');
$Cemail = "[email protected]";
$Cstatus = "Purchased";
$last_id = "Hi";
$conn = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
if($conn === false){
echo "Failed" . $conn->error;
}
else{
echo "Connected";
$sql = "INSERT INTO ReferredUsers (Email, Status)
VALUES ('" . $Cemail . "' ,'" . $Cstatus . "')";
if ($conn->query($sql) === TRUE) {
$last_id = $conn->insert_id;
if($last_id){?>
<script>
document.getElementById('idd').innerText =<?php echo $last_id; ?>
</script>
<?php } else{} ?>
}
$conn->close();
?>
That is invalid. The last line has a close PHP tag (?>
), but there is no start tag.
The last part should be:
if ($conn->query($sql) === TRUE) {
$last_id = $conn->insert_id;
if($last_id){?>
<script>
document.getElementById('idd').innerText =<?php echo $last_id; ?>
</script>
<?php } else{}
$conn->close();
?>
$conn = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
if($conn === false){
echo "Failed" . $conn->error;
}
else{
echo "Connected";
$sql = "INSERT INTO ReferredUsers (Email, Status)
VALUES ('" . $Cemail . "' ,'" . $Cstatus . "')";
if ($conn->query($sql) === TRUE) {
$last_id = $conn->insert_id;
if($last_id){?>
<script>
document.getElementById('idd').innerText =<?php echo $last_id; ?>
</script>
<?php } else{}
$conn->close();
?>
Still same error
Error at this line
Uncaught SyntaxError: Unexpected token '<'