We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware,  Documentation,  Website Suggestions › user exhibition - check for http in URL
Page Index Toggle Pages: 1
user exhibition - check for http in URL (Read 1805 times)
user exhibition - check for http in URL
Apr 20th, 2005, 10:04am
 
My mistake, but I missed the http:// of my recent exhibition submission.  A preview function or a quick validation of the URL might be nice?

Sorry!
Re: user exhibition - check for http in URL
Reply #1 - Apr 20th, 2005, 2:29pm
 
here's one way to fix this problem. fabien should pick this up and fix it easily:

Code:
$isUrl = ( strstr($url,'http://') == $url );

if(!$isUrl)
// concatenate the $url and "http://" or deal with it, like a warning to the user, etc.


(PHP code)
Re: user exhibition - check for http in URL
Reply #2 - Apr 20th, 2005, 9:28pm
 
noted. thanks for the code. fyi, the perl code for the exhibition was written by Cem Uzunoglu with Dara Kilicoglu. it has worked very well for us, but yes, I believe it's time for an update.
Re: user exhibition - check for http in URL
Reply #3 - May 16th, 2005, 2:31am
 
i think it needs both: review and validation and auto complete if http:// part is missing.
Page Index Toggle Pages: 1