Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

url überprüfen...

Empfohlene Antworten

hi,

ich brauch mal ne kleine anregung. ich möchte gerne in PHP eine url überprüfen. soweit ich weiss kann man das mit checkdnsrr() machen.


// host ueberpruefung
$check = checkdnsrr ($host, ANY);
if (!$check)
{
$error = false;
}
else
{
$error = true;
}[/PHP]

dabei muss $host aber doch folgendes format haben 'domain.de'.

nun möchte ich aber auch sachen wie

'www.domain.de'

'foo.domain.de'

oder

'foo.domain.de/bar'

auf ihre existenz überprüfen. nun frage ich mich wie ich das wohl am besten mache. hat jemand nen kleinen tip für mich?

cu TinTin

stimmt!

dennoch danke und ich tipp halt gern, hab ja sonnst nix zu tun...;)

ciao TinTin

Moin,

hab das gerade als "PHP-Neu-Hinzukommer" gelesen.

Hab mir auch den Link von Jaraz angeschaut.

Das klingt interessant, mich würde da jetzt mal interessieren wo man sowas einsetzt, also an welcher Stelle bzw. wie sowas dann denn in der Praxis aussehen würde ?!

Wäre super, wenn da mal jemand nochmal nen Beispiel für geben würde wo solch ein Skript zum Einsatz kommt.

Danke,

Flori

Hi,

du hast zum Beispiel auf deiner Seite eine Linksammlung und willst überprüfen, ob alle Links auch funktionieren.

Gruß Jaraz

hi,

mir ging es darum die im gästebuch eingetragenen url zu überprüfen, was soll ich links zulassen, die dann doch nicht funktionieren.

cu TinTin

Hi!

Im aktuellen Linux-Magazin ist ein sehr guter Artikel zum prüfen von Mailadressen - allerdings in Perl.

(Aber vielleicht ist er ja doch ganz interessant)

Praktischerweise gibts den Artikel auch online:

http://www.linux-magazin.de/Artikel/ausgabe/2002/12/perl/perl.html

HTH

  • 1 Monat später...

hi, ich bins nochmal.

ich komm mit der ganzen sache nicht so ganz klar.

mal konkret gefragt, was mus ich tun um zu überprüfen ob z.b. 'http://www.fachinformatiker-world.de/forums' existiert?

ich will die gültigkeit eingetragener links in meinem gästebuch überprüfen.

TinTin

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.