by: bonehead |
last post by:
Greetings,
I'd like to add somee error handling to a password field: if the
password is fewer than 5 characters or greater than 15 characters I'd
like to trap it. Special characters such as ^...
|
by: Stefan Gangefors |
last post by:
I'm trying to figure out what I'm doing wrong when using ereg().
This is my regexp:
ereg("^]$", "]");
and that does'n work, but this does:
ereg("^$", "[");
|
by: Fiore Alessandro |
last post by:
Hi all
I've installed Apache 2.0.48 and PHP 4.3.4 on a
workstation running Linux, RedHat 9.0.
Let's consider the following piece of code:
$patt = "{3}/{6}";
if...
|
by: Martin Lucas-Smith |
last post by:
Is there some way of using ereg to detect when certain filename extensions
are supplied and to return false if so, WITHOUT using the ! operator
before ereg () ?
I have an API that allows as an...
|
by: pomho |
last post by:
Hi all,
Even having read the PHP Manual, I can't understand the difference between
the ereg function and the preg_match...
Could anyone help ?
thx in advance,
--
|
by: Dynamo |
last post by:
Hi,
Thanks to all who replied to original posting.As a direct result of now gaining
a better understanding of regular expressions, instead of trying to use other
peoples scripts I am now trying to...
|
by: news |
last post by:
I'm trying to make sure a form has only one or two digits in either of
two fields.
I looked at php.net and
http://www.regular-expressions.info/reference.html and this is what I
put together, but...
|
by: rachellara1979 |
last post by:
Hi, new to PHP and to this group, so very sorry if this is simple or
has been covered before. Basically want to check that a user and
password (entered in a previous page) only has characters but...
|
by: yawnmoth |
last post by:
Say I have the following script:
<?
$string = 'test';
if (eregi("^+$",$string))
{
echo 'matches!';
}
else
{
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|