As a little project, I took the link provided by "the other" Rob and
make this little search tool.
It only looks at the beginning numbers. It does no number
validation. I don't validate the length of the number. ie: I would
have to know the min/max lenth of each phone number for that give
Andrés Robinet escribió:
-Original Message-
From: Dani Castaños [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 5:03 AM
To: PHP LIST
Subject: [PHP] Get country from Phone number
Hi all!
I'm looking for some piece of code or class which giving a phone number
it returns me
Hi all!
I'm looking for some piece of code or class which giving a phone number
it returns me from wich country is this phone.
Do you know where I can find something like this?
Thank you in advanced!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Nathan Nobbe escribió:
On Dec 31, 2007 7:11 AM, Dani Castaños <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi all!
I'm using simplexml to load an xml into an object.
The XML is this:
3
agenda
cticket_agenda_ser
Hi all!
I'm using simplexml to load an xml into an object.
The XML is this:
3
agenda
cticket_agenda_server
1
1
addUsersToGroup
When I do this:
$file = simplexml_load_file( 'file.xml' );
$ticketType = $file->ticketType;
What i really have into $ticketType is a SimpleXMLElement... not t
Hi all, I've found the key of all... at least this is what I think ;-)
(And, again, at least, for Debian users)
The thing is I want to have control on what "exactly" a session lasts,
and advice the user some time before to renew the session if he wants.
If you only set gc_maxlifetime with ini_s
There are various configuration options for this (which you change in
the php.ini or by using the ini_set() function):
session.gc_maxlifetime
session.cookie_lifetime
Before sending my first mail, i've changed those parameters... and
nothing seems to change. I set up also session.cache_expi
Hi all!
I've read a bit about PHP session timeout. Is it configurable?? I mean,
If i want user logged out after 10 minutes of innactivity... where i can
to set it up?? Is it possible to expire session configuring php.ini.
I know i will have to write code to do whatever when the session expires
Hi Nathan!
Thank you for all your help!
Problem has been fixed...
The thing is, when request is sent, there is a little difference in what
i get... I get and so on...
These backslashes make the loadXML not load data properly... I've put an
str_replace and the problem has been solved
Again..
that is expected behavior. some of the internal classes dont define
any member variables that the php language has access to. obviously
they are storing data internally, said variables just arent accessible as
member variables of the class thats being defined.
Ok! Thank you for this info...
It's just the xml is not properly stored in loadXML method... but the
string must be inside due to saveXML returns the proper value.
Nathan Nobbe escribió:
On Dec 10, 2007 12:08 PM, Dani Castaños <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Yep, it works when
entsByTagName( 'ticketType' )->item( 0
)->nodeValue;
$ticket_action = $xml->getElementsByTagName( 'ticketAction' )->item( 0
)->nodeValue;
$ticket_params = $xml->getElementsByTagName( 'parameters' )->item( 0
)->childNodes;
...
Nathan Nobbe escribió:
On D
ió:
On Dec 10, 2007 4:48 AM, Dani Castaños <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi list!
I have a problem with DOMDocument loadXML method. I used Windows to
develop my applications, and nothing happens on it when i do
something like
$xml = new D
Hi list!
I have a problem with DOMDocument loadXML method. I used Windows to
develop my applications, and nothing happens on it when i do something like
$xml = new DOMDocument();
$xml->loadXML( $request );
Obviously, request is not empty...
But when I have upload this code to production mach
Hi all!
Does anybody know a PHP library to create Flow chart graphs??
I need it to do something like this:
(yes)
Is it true > ? ---> Update
|
(no) |
|
>
Cancel
Thank you in advance!
--
P
15 matches
Mail list logo