![]() |
Webmaster Forum Rules | Posting Guide | Contact Us | Testimonials | Contributing Geek Program | Advertise on Geek/Talk |
|
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 |
Registered User
Join Date: Aug 2000
Posts: 260
|
![]()
Hi there folks, I'll make this short:
In the DBMan Script, if you set a text field to URL only it will automatically check to make sure there is a http:// at the beginning of the address. Problem is I want to make it recognize URL with FTP:// (along with HTTP://)at the beginning. The script looks for the HTTP through this line in the script Thanks in advance! '^http://'] How would I modify that very simple and short line so it recognizes the prefix FTP:// too? Thanks! [This message has been edited by DJ_B (edited 11-10-2000).] |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Aug 2000
Location: Allentown, PA, USA
Posts: 9
|
![]()
My Perl skills aren't amazing any more, but I believe this should work - sorry if it doesn't http://geekvillage.com/ubb/smile.gif I'll actually look it up then.
^(http://|ftp://) [This message has been edited by Ed Sullivan (edited 11-10-2000).] |
![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Aug 2000
Posts: 260
|
![]()
Works perfectly! Thanks!
|
![]() |
![]() |
![]() |
#4 | |
![]() Join Date: Jan 2000
Location: Brisbane, Australia
Posts: 2,167
|
![]() Quote:
------------------ Australian Evangelion |
|
![]() |
![]() |
![]() |
Bookmarks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Perl vs PHP? | ccole | Web Design and Webmaster Issues | 3 | 09-14-2016 12:54 AM |
DISCOVERED: Simple way to overcome scumware | scslawin | StopScum | 4 | 09-16-2001 03:43 PM |
Need a free simple CGI banner rotator | SGA | Making Money with CPC and/or CPM Programs | 7 | 02-02-2001 12:04 AM |
Need a simple perl script | WildComputer | Web Design and Webmaster Issues | 1 | 10-06-2000 07:59 AM |
selling your own software (and perl) | gallery | Web Design and Webmaster Issues | 6 | 05-19-2000 12:04 AM |