Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Whois lookup

views
     
TSUbuntuClient
post Dec 22 2023, 08:16 PM, updated 2y ago

Regular
******
Senior Member
1,417 posts

Joined: Jun 2007
From: /puchong/cyberjaya/klang



Hi,

This code generate by chatGPT.

How to make box so i can fill more than 1 domain and nameserver line by line?

index.html >> https://privatebin.support-tools.com/?7d5e5...pXD1fYiHiTDgw4=

lookup.php >> https://privatebin.support-tools.com/?138c3...7PbRUmlRH2Z0s4=

The result is white blank page after it pass to php file.

Please advice.

Thanks.
MatQuasar
post Dec 22 2023, 09:39 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
I am beginner in web programming, just tried your code and no idea why lookup.php didn't work.

I played around with the multi-line input control:
user posted image

Can use "<textarea>" HTML tag, and can define how many "cols" and "rows".

Maybe need to wait for expert.
MatQuasar
post Dec 23 2023, 03:05 AM

Casual
***
Validating
329 posts

Joined: Jun 2023
deleted

This post has been edited by MatQuasar: Dec 29 2023, 03:59 PM
MatQuasar
post Dec 23 2023, 03:10 AM

Casual
***
Validating
329 posts

Joined: Jun 2023
deleted

This post has been edited by MatQuasar: Dec 29 2023, 03:59 PM
flashang
post Dec 23 2023, 01:52 PM

Casual
***
Junior Member
355 posts

Joined: Aug 2021


QUOTE(UbuntuClient @ Dec 22 2023, 08:16 PM)
Hi,

This code generate by chatGPT.

How to make box so i can fill more than 1 domain and nameserver line by line?

index.html >> https://privatebin.support-tools.com/?7d5e5...pXD1fYiHiTDgw4=

lookup.php >> https://privatebin.support-tools.com/?138c3...7PbRUmlRH2Z0s4=

The result is white blank page after it pass to php file.

Please advice.

Thanks.
*
shell_exec return null / false if any error.
for better error control or show error message, you may use exec.

Ref :
PHP: shell_exec - Manual
https://www.php.net/manual/en/function.shell-exec.php

PHP: exec - Manual
https://www.php.net/manual/en/function.exec.php

smile.gif


MatQuasar
post Dec 29 2023, 11:23 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
Sorry, I gave wrong advice, have deleted post #4 and #5.

I thought everyone is same like me using XAMPP to host local PHP file, so that can easily install command-line program. I really don't know about web hosting environment, Linux or Windows, no idea how to install "whois" there.
flashang
post Dec 30 2023, 12:08 AM

Casual
***
Junior Member
355 posts

Joined: Aug 2021


QUOTE(MatQuasar @ Dec 29 2023, 11:23 PM)
Sorry, I gave wrong advice, have deleted post #4 and #5.

I thought everyone is same like me using XAMPP to host local PHP file, so that can easily install command-line program. I really don't know about web hosting environment, Linux or Windows, no idea how to install "whois" there.
*
Your advice may help,
as we can request web hosting support team to install (missing / required) particular app / plugins.

smile.gif



 

Change to:
| Lo-Fi Version
0.0183sec    0.15    5 queries    GZIP Disabled
Time is now: 9th December 2025 - 04:00 AM