| Webmaster Forum Rules | Posting Guide | Contact Us | Testimonials | Contributing Geek Program | Advertise on Geek/Talk |
|
|
|||||||
![]() |
|
|
Thread Tools | 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 | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 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-01-2001 11:04 PM |
| Need a simple perl script | WildComputer | Web Design and Webmaster Issues | 1 | 10-06-2000 07:59 AM |
| Perl vs PHP? | ccole | Web Design and Webmaster Issues | 1 | 09-19-2000 11:58 PM |
| selling your own software (and perl) | gallery | Web Design and Webmaster Issues | 6 | 05-19-2000 12:04 AM |
![]()