PHP tutorial for beginners full | php tutorial for Advanced | php complete course | Harisystems

preview_player
Показать описание
In this video session you will know about

PHP tutorial for beginners full | php tutorial for Advanced | php complete course | Harisystems

PHP is open source programming language

Please subscribe and support us

Like, share and comment of your views for videos and suggestions by commenting to reach us

#php #phpfulltutorial #harisystems #phpcomplete #phpcourse
Рекомендации по теме
Комментарии
Автор

php tutorial complete realtime examples step by steps by harisystems

harisystems
Автор

hi, this is very good tutorial on PHP, plz explain how to use "isset"? ..

AnnT
Автор

Thank you so much...really appreciate your work

chanchalchaudhary
Автор

I'm excited To this video👍. need to thank for your to upload This fantastic clip|video!!} definitely liked 😍 every little bit of it and also Turn Your 🔔 🔛 to Your 🆕

kalyanidivakar
Автор

can you make a video on how to create a sub-domain dynamically through PHP i have done the same it is creating domain too but in root folder it is creating problem

following is the code



<form method="post">

<input type="text" name="domain">

<input type="submit" name="submit">

</form>

<?php

if(isset($_POST['submit'])){

$domain=($_POST['domain']);

$cpanel_user = 'user';

$cpanel_pass =

$cpanel_skin = 'paper_lantern';

$cpanel_host = 'exampe.in';

$subdomain= '$domain';

$dir =

$sock = fsockopen($cpanel_host, 2082);

if(!$sock) {

print('Socket error');

exit();

}

$pass =

$in = "GET

$in .= "HTTP/1.0\r\n";

$in .= "Host:$cpanel_host\r\n";

$in .= "Authorization: Basic $pass\r\n";

$in .= "\r\n";

fputs($sock, $in);

while (!feof($sock)) {

$result .= fgets ($sock, 128);

}

echo "Domain name created";

//echo $result;

}

?>

but in root folder it is creating not creating the folder of same name as entered by user it is creating folder named as'$domain.example.in'.

Please help

Thanks in advance.

riteshsingh