answersLogoWhite

0

Yes, by using the preg_match() function

User Avatar

Wiki User

17y ago

What else can I help you with?

Continue Learning about Engineering

Can you generate DLL files from PHP scripts like you do in PERL?

You can make a .NET DLL for use in Visual Studio development projects with Phalanger 2.0.


What are the easy tips to learn programming language?

Well, whatever you do, you'll have to learn. The easiest way to learn some basics is to use a high level programming language such as, Perl, PHP, Ruby, Python etc.. (very long list).


What is purpose of latest programming of Perl Hypertext Preprocessor?

The latest programming of Perl Hypertext Preprocessor (PHP) focuses on enhancing performance, security, and ease of use for web development. Key updates often include improved syntax, new features for better database interaction, and stronger support for modern programming paradigms like object-oriented programming. Additionally, ongoing developments aim to streamline the integration of PHP with various web technologies and frameworks, making it more efficient for developers to create dynamic websites and applications.


How does one use the Perl chomp function?

The Perl Chomp function is a programming function that remove the "newline" character at the end of the string. One can use the Perl Chomp function to remove any character that has the same value as the current one.


What are two different ways to turn on warning in perl?

For Perl one-liner, use -w option on the command line. UNIX or Windows, use's the -w option in the shebang line (The first # line in the script). When using other systems, choose compiler warnings, or check the compiler documentation.

Related Questions

How can you use the OR condition in PHP validation in regular expressions?

You use instead of OR


How do you edit PHP and Perl scripts?

I am asking the question?>>PHP ,Perl scripts can be edited with help of editors like Editplus,Notepad++ OR you can also use Zend IDE.


How do you use regular expressions in PHP?

Use the preg functions (ereg functions are deprecated) Wiki regex to form your regex string


What is the use of php in seo?

SEO (Search Engine Optimization) is used for webpages be it php, asp.net or perl. Not the other way round.


What are the differences between Perl and PHP?

PHP and perl are different kinds of scripting languages. Ultimately they serve the same end and can do the same things; for all practical purposes, one is not necessarily better than the other. However, for a number of reasons having to do with efficiency and practicality, most Web developers these days use PHP. In earlier times, perl was more common.


What does the PHP stand for in free PHP web hosting?

PHP, or hypertext perprocessor, is a scripting language used in web development. A web hosting plan may support the use of PHP, or even other similar languages like Python or Perl.


How many PHP-based websites are there?

Nearly all websites have some sort of PHP backend, although a large number use other scripts as well -- Perl, Python, ASP, CGI.


Can you generate DLL files from PHP scripts like you do in PERL?

You can make a .NET DLL for use in Visual Studio development projects with Phalanger 2.0.


Can you have PHP and PERL running on the same server and on the same website?

Yes, it is very easy to run PHP and Perl together on the same server, and even the same website. However, if you intend to use multiple applications written in different scripting languages, but have the potential for your site to eventually need complete integration, it is advisable to use applications written in only one scripting language.


Why to use use MYSQL with PHP and not anyother database?

You can connect any DB via PHP if you have database specific database extensions defined. LAMPP stack refer to 'Linux Apache Mysql PHP Perl'. Hence this stack is famous for php development as it include all the needed components for web development. Mysql is preferred mostly because it's extension is added by default in XAMPP or WAMPP stack.


Do you need to know PHP to make a game site?

Nope, there are many other web languages you could use to create a game site such as ASP, ruby, Perl and many more.


Which is better Perl or PHP?

Every programming language has its uses; "what is better" depends on what you want to use it for. While Perl was the "original" web programming language for creating dynamic web pages, PHP has mostly superseded it in that arena. That is, PHP is generally a much better fit for creating the content display logic (i.e. "presentation layer") for a web site that has dynamically-created HTML. This is the primary design criteria for PHP, and it is no surprise that PHP outshines Perl for anything but the simplest designs. On the other hand, Perl retains its crown over practically anything else as the "duct tape of systems administration". Particularly on UNIX and Linux systems, where the "everything is a file" and "config files belong in ASCII text format" are the primary design philosophies, Perl's string manipulation powers are unmatched by anything else; in addition, the massive data bank of useful libraries that are hosted in the CPAN (Comprehensive Perl Archive Network) give Perl an enormous variety of pre-written (and, well-documented, too) code that allows the programmer to glue together a Perl program in a much shorter time than any other scripting language. So, the short answer is this: it depends on what job you're looking to do. For creating anything more than very basic dynamic web sites, PHP should be your choice. For any system plumbing, text file manipulation, or network plumbing scripting, Perl is the right choice. One word of caution: Perl well deserves its nom-de-plume of the "Swiss Army Chainsaw" of languages. It is far too easy to create "write-only code" that is obtuse, obscure, and unmaintainable for anyone (including the original creator), so extra diligence is required in Perl to adhere to Good Programming Standards. Perl is fabulous, but make sure that someone can distinguish your program text from line noise.