I do this for phone numbers:
$row['mobile'] = ereg_replace("[^0-9]", '', $_POST['mobile']);
if ((strlen($phone)) <= 14)
return preg_replace
("/[^0-9]*([0-9]{3})[^0-9]*([0-9]{3})[^0-9]*([0-9]{4}).*/", "(\\1) \\2-\\3",
$phone);
> Is it possible for anyone to tell me what php method is
""Paul Goepfert"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I didn't realize that those were single quotes. I printed out the
email message and it looked like one set of double quotes for the
second parameter rather the two single quotes.
Is it possible for anyone to tell me w
Source is fine, i never install php with binaries, lets see how i go.
On 13/03/2006, at 1:12 PM, Chris wrote:
Dan Rossi wrote:
Hi there, im am planning to spec the software install for one of our
machines that gets an insane ammount of hits and traffic from
referring sites. Im looking into if
Dan Rossi wrote:
Hi there, im am planning to spec the software install for one of our
machines that gets an insane ammount of hits and traffic from referring
sites. Im looking into if running the php for this server under fastcgi
instead of as a php apache module will help reduce and apache
bo
Hi there, im am planning to spec the software install for one of our
machines that gets an insane ammount of hits and traffic from referring
sites. Im looking into if running the php for this server under fastcgi
instead of as a php apache module will help reduce and apache
bottlenecks ? Most o
My web page needs to determine the client's external IP address, i.e., the
IP address that others viewing the web page would be able to use to contact
that user's machine (assuming they've setup the appropriate forwarding into
their actual machine of course). In this environment the clients want
On 3/12/06, tedd <[EMAIL PROTECTED]> wrote:
>
> Paul:
>
> Also check out:
>
> http://www.weberdev.com/get_example-3605.html
>
> tedd
>
>
> >Hi all,
> >
> >I am trying to validate phone numbers in a web form that I have
> >created. I am using a regular expression to validate the phone
> >number. I
joseph wrote:
hi,
my site is www.myowndictionary.com
i use javascript to create definitions for words (from open source
dictionaries) as pop-ups and hook word-lists for vocabulary study with
that.
i can now parse the html from rss feeds and match only text of interest.
i just wrote my own mult
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
Yes, it's just a text file -- it can be re-written. However, it needs to
be loaded again to take affect.
And it affects all documents of all users. Suddenly, by the action of one
user, all other users reaching the same page wi
Quoting Rory Browne <[EMAIL PROTECTED]>:
I've got a bit lost on this, but assuming that we are talking about an
intranet enviornment, with windows/IE6 clients, and apache servers, then
personally:
I would check logins based on a valid session. If the user doesn't have a
session they aren't logg
Yes, it's just a text file -- it can be re-written. However, it
needs to be loaded again to take affect.
And it affects all documents of all users. Suddenly, by the action
of one user, all other users reaching the same page will see things
as per the actions of another user. Unless you tak
Paul:
Also check out:
http://www.weberdev.com/get_example-3605.html
tedd
Hi all,
I am trying to validate phone numbers in a web form that I have
created. I am using a regular expression to validate the phone
number. It seems when I enter the phone number in the following ways
I get errors
JF on March 11th answered it appropriately.
Please take this topic off this group.
Thanks.
On 3/12/06, Satyam <[EMAIL PROTECTED]> wrote:
>
> - Original Message -
> From: "tedd" <[EMAIL PROTECTED]>
>
>
> >> >Hi all,
> >>>
> >>>Is it possible to modify a table using JavaScript to control
I didn't realize that those were single quotes. I printed out the
email message and it looked like one set of double quotes for the
second parameter rather the two single quotes.
Is it possible for anyone to tell me what php method is used to grab
the first charater of a string? And onece I have
On Sun, Mar 12, 2006 at 01:48:28PM -0700, Paul Goepfert wrote:
> On 3/12/06, Curt Zirzow <[EMAIL PROTECTED]> wrote:
> >
> > With US phone numbers I always use this approach to avoid what
> > format people use to enter the phone:
> >
>
> > - Remove any non digit $check_phone =
> > preg_replace(
On Thu, Mar 09, 2006 at 05:27:11PM -0800, Angelo Zanetti wrote:
> Hi guys.
>
> When adding additional headers to an email that gets sent from the mail
> function. What purpose does the X-Mailer have?
Any X-* header is generally a header that is not a standard but a
way to trace things. Or still
On 3/12/06, Curt Zirzow <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 12, 2006 at 12:09:42PM -0700, Paul Goepfert wrote:
> > Hi all,
> >
> > I am trying to validate phone numbers in a web form that I have
> > created. I am using a regular expression to validate the phone
> > number. It seems when I en
On Fri, Mar 10, 2006 at 02:10:54PM +0200, Thomas wrote:
>
> Hi there,
>
> Quick question on performance:
>
> I have got some expensive sql queries (doing lots of LEFT JOINS) that result
> in anything between 10 to 1 results. I need to do paging on those. So
> far I have used a LIMIT solution
On Fri, Mar 10, 2006 at 12:09:44PM -0500, Chris wrote:
> Under what circumstances does PDOStatement::execute() return false?
>
> It seems to always return true.
I'm assuming you have some code like:
$sth = $dbh->prepare($sql);
if(! $sth->execute() ) {
// false
} else {
//true
}
When it ret
On Sat, Mar 11, 2006 at 09:44:01PM +0800, wrote:
> Excuse me,when i develop programe php in linux FC3 , i want the life time
> of the session to be 20 minutes ,i do the follow things in the php.ini file
What version of PHP are we talking about with FC3?
> 1.change session.gc_maxlifetime = 1200
On Sun, Mar 12, 2006 at 12:09:42PM -0700, Paul Goepfert wrote:
> Hi all,
>
> I am trying to validate phone numbers in a web form that I have
> created. I am using a regular expression to validate the phone
> number. It seems when I enter the phone number in the following ways
> I get errors
>
>
Hi all,
I am trying to validate phone numbers in a web form that I have
created. I am using a regular expression to validate the phone
number. It seems when I enter the phone number in the following ways
I get errors
(123) 456 7890
123 456 7890
(123) 456 - 7890
123 456-7890
I am using the ereg
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
>Hi all,
Is it possible to modify a table using JavaScript to control CSS
visabilty when the entire table is developed dynamically using PHP?
Thanks,
Paul
Satyam said:
You don't need to change the CSS (I don't even know if it
>Hi all,
Is it possible to modify a table using JavaScript to control CSS
visabilty when the entire table is developed dynamically using PHP?
Thanks,
Paul
Satyam said:
You don't need to change the CSS (I don't even know if it is
possible), but you can change specific styles of any element
>Hi all,
Is it possible to modify a table using JavaScript to control CSS
visabilty when the entire table is developed dynamically using PHP?
Thanks,
Paul
You don't need to change the CSS (I don't even know if it is possible), but
you can change specific styles of any element within the HTM
Hi all,
Is it possible to modify a table using JavaScript to control CSS
visabilty when the entire table is developed dynamically using PHP?
Thanks,
Paul
Paul:
I am sure that you can change css via javascript, but you can as well
with php -- see:
http://www.sperling.com/examples/styleswitc
hi,
my site is www.myowndictionary.com
i use javascript to create definitions for words (from open source
dictionaries) as pop-ups and hook word-lists for vocabulary study with
that.
i can now parse the html from rss feeds and match only text of interest.
i just wrote my own multibyte html parser
27 matches
Mail list logo