Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
URL validation
Message
De
27/01/2016 17:48:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01630233
Message ID:
01630319
Vues:
59
This message has been marked as a message which has helped to the initial question of the thread.
>>testing : http://stackoverflow.com/questions/161738.com returns .t. even if this page dont exists.funny!
>>getting 404 error page (invalid Url inside a valid domain) this function returns .t. as valid url.
>>The API InternetGetConnectedState provides same behaviour.
>>maybe the DOS command "PING " can resolve this ? to test.
>
>Hi Yousfi,
>
>I think this test (even if not 100% reliable) is OK for me now. I already posted the User Story completed with that code. We'll see what the testers tell me. The validation of URL was not actually required at all, but I thought it would be nice to have.

True validation is done by checking if it works.
If someone wants to enter a future URL then things get complicated.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform