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 given
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:
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 from
... But if I want to use like:
$ticket = new $ticketType( $param1, $param2);
It throws:
Uncaught exception 'Exception' with message
'SimpleXMLElement::__construct() expects parameter 1 to be string, array
given' in C:\Dani\htdocs\ticket_server\ticket_execute.php:134
Stack trace:
#0 C:\Dani\htdocs
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:
?xml version=1.0?
request
customerID3/customerID
appNameagenda/appName
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
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
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
.
Nathan Nobbe escribió:
On Dec 10, 2007 12:08 PM, Dani Castaños [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Yep, it works when i do saveXML, but not on loadXML step...
did the loadXML() method work in the test script i sent over in my
last post?
if it does then something else is going
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...
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 ?xml version=\1.0\ and so on...
These backslashes make the loadXML not load data properly... I've put an
str_replace and the problem has
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
in
my request... Then I suppose my Linux system has DOM support,
Nathan Nobbe escribió:
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
( 'ticketAction' )-item( 0
)-nodeValue;
$ticket_params = $xml-getElementsByTagName( 'parameters' )-item( 0
)-childNodes;
...
Nathan Nobbe escribió:
On Dec 10, 2007 11:40 AM, Dani Castaños [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I've checked $request previously and is not empty
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!
--
PHP
['te_es_n_id'];
What am I doing wrong?
Thank you for any help. :)
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
size should be
150Kb.
Thank you for your help! :))
Dani
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.488 / Virus Database: 287 - Release Date: 5/6/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hello, everybody
my problem is the following: I just imported a csv file to a MySQL database
that contains name and email fields. It has about 9k lines on it and I need
a new field that orinally didn't exist called code thats suposed to be
MD5(name.email)
I know how to do this for new data, but
Hi everyone,
I'm new to this...
What is the best way to make Search Engine Crawler still index us
although we are using a script (PHP) to detect the IP of the crawler to
provide the keywords for a certain crawler?
Any advise is welcome..
Dani
--
PHP General Mailing List (http://www.php.net
Thanks very much for the advice!
Was that actually the way to do it?
If it is,where can I get list of the IPs, please...
thanks again...
Dani
James Holden wrote:
Does it matter?
The search engine doesnt know your producing dynamic content, its just
requesting a page to scan, regardless
Thank you...everyone!
I really appriciated it.
Where can I learn about all of this?
Is there a tutorial website about this?
thanks again.
Dani
[EMAIL PROTECTED] wrote:
James Holden wrote:
Does it matter?
The search engine doesnt know your producing dynamic content, its just
Hi,
I want to upload image file into a folder in webserver using HTML form.
What function do I use fo this purpose?
Thank you,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What's wrong with my code?
?php
if($file)
{
print(file name :$file_nameP\n);
if (copy($file,http://sarjito/img/;))
{
print(file uploaded);
}
unlink($file);
}
?
Any advise is welcome.
Thanks,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I have tried to use the filename but it's still not working.
here is the whole code I've got:
** First file called 'upload.php'
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
body bgcolor=#FF text=#00
form name=form1
Thanks for replying
Sorry about not providing the info
well... when I hit submit button, it goes to the 'uploadfile.php' page, but it
doesn't print anything at all. I check in my folder and the file is not copied
either.
thanks,
Dani
1LT John W. Holmes wrote:
HOW IS IT NOT WORKING
an
Apache Action directive.
what does this mean?
thanks,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
probelm Fix!\
thanks
Dani wrote:
I have just installed the PHP 4.2.1 Installer but get this error message:
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a
page will only be served up
Hi again,
I have got this script :
?PHP
//setup image
$height = 200;
$width = 200;
$im = ImageCreate($width,$height);
$white = ImageColorAllocate($im, 255, 255, 255);
$black = ImageColorAllocate($im, 0, 0, 0);
//Draw on image
ImageFill($im, 0, 0, $black);
ImageLine($im, 0, 0, $width, $height,
Thanks Miguel!
I have checked everything but it seems there aren't any blank space but I
still get the error message.
Miguel Cruz wrote:
On Sat, 25 May 2002, Dani wrote:
I have got this script :
?PHP
//setup image
$height = 200;
$width = 200;
$im = ImageCreate($width,$height
stated.
I tried your example and had no problems with it...
Dani wrote:
Hi again,
I have got this script :
?PHP
//setup image
$height = 200;
$width = 200;
$im = ImageCreate($width,$height);
$white = ImageColorAllocate($im, 255, 255, 255);
$black = ImageColorAllocate($im, 0, 0, 0
Hi everyone!
I'm still learning PHP and MYSQL using windows98, MYSQL, PHP 4 in my
local hard drive.
I want to learn uploading image and resizing image in my local machine.
when I execute this code:
?PHP
//setup image
$height = 200;
$width = 200;
$im = ImageCreate($width,$height);
$white =
Hi,
I have been using this code for while:
//1. CONNECT TO DATABASE
mysql_connect(localhost);
//2. SELECT A DATABASE
mysql_select_db(smpk2);
to connect to MYSQL database.
but I get this error:
Warning: Access denied for user: 'nobody@localhost' (Using password: NO)
in
Thanks radix!
I'm new to PHP that's why..
so, what should I do to fix this?
please advise..
thanks again.
Dani
The_RadiX wrote:
Ha.. Aussie person too eh?
Ok.. Have you recently updated your php system?
Reason I ask is the way you are using the functions mysql_connect
Hi,
I'm just wondering if anybody know if there is a free web hosting with
MYSQL and PHP. I don't need a hugh space. mya be I need only 50Meg (for
practise my PHP)
thanks!
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have been trying to use a form to send an email.
I use the mail() function. But I have a bit of problem.
The email send does not display the email is from. So, for example I
send an email using my my webform then when I receive it the from
coloumn in my email browser says nobody.
how do
could help me, please.
thank you for reviewing my email.
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with my machine
but I don't know how to make it so that the web pages that I put in
my
server accessable by other people around the world.
do I have to connect my modem into my phone line (online) all the
time
or...???
Does my question make any sense?
any help is welcome.
regards,
Dani
--
PHP
. I hope someone could help me.
thanks
Regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
there.
I have tried some testing but I always get the result entered by users
are flat. The paragraphs are gone. How do I do this?
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are
gone... and everything is just in one line.
I'm just wondering if there is another way to preserve a pre-formated
text (for example from Ms Word) that the user put into the form and the
insert into the database without including the HTML tags.
thanks.
regards,
Dani
--
PHP General Mailing
;/td
td bgcolor=#FF8000 class=click width=90
align=center
any explaination is grately appriciated.
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks guys!
Thalis A. Kalfigopoulos wrote:
On Sat, 23 Feb 2002, Dani wrote:
Hi!
I have just visited a webiste and I have notice that user can't really
see the .php extension at the end of the URL address. And when I look at
the link address it's got 'class=click' .
Could
Hi!
I have seen lots of webiste with a sign [EMAIL PROTECTED] 2002 etc...
if I would like to do that, do I have to register myself to a certain
company or.. I just put it on my website?
Thanks!
regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I just send this again, just incase my email doesn't get through.
thanks
Dani wrote:
Hi!
I have seen lots of webiste with a sign [EMAIL PROTECTED] 2002 etc...
if I would like to do that, do I have to register myself to a certain
company or.. I just put it on my website?
Thanks
-
From: Dani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 19, 2002 3:24 PM
Subject: [PHP] please reply -copy right
I just send this again, just incase my email doesn't get through.
thanks
Dani wrote:
Hi!
I have seen lots of webiste with a sign [EMAIL
of these..
Thanks alot!
regards
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are mostly .jpg or
.gif.
thanks for reviewing my email.
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
. Please ensure that you have
the proper MIME type set up for the resource you are requesting.
Please contact the server's administrator if this problem persists.
What have I done wrong
Any reply is appriciated!
Thank you for reviewing my email.
regards
Dani
--
PHP General Mailing List (http
);
$session_login =$lgname;
include(admin.php);
}
else
{
echoNot a member!;
}
}
thanks!
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 19-01-02 at 12:24
* Dani said
Hi!
I'm trying
Hi again!
I tried it and I still get the error.
Do you think that this has somthing todo with my PWS server? or the installation
of PHP?
thanks!
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 19-01-02 at 12:35
* Dani said
Hi Nick!
Thanks for the reply
Hi !
thanks for the info.
when I tried to open some of include files directly from the browser, they
work fine.
So I guess it's just my authentician page which doesn't work.
I'll keep trying.
Thanks again!
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 19-01-02
=page.php
I hope this help for those who are trying to use Netscape.
regards,
Dani
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 19-01-02 at 13:02
* Marcel Besancon said
Hi,
maybe it's a problem of netscape. In many cases netscape doesn't
work like
hi!
I 'm trying to make my script to check one by one whether there is a
content in the field on a record.
How do I do that?
I use mysql_num_fields() but it doesn't work.
Any reply is appriciated!
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
Hi!
I 'm trying not to hard code my php coding and I'm trying to pass a
variable name into the $row[coloumname_$variable];
I get an error message for this code.
I'm just wondering if I could do this trick using other ways of writing
it.
Thanks for reviewing!
regards,
Dani
--
PHP General
hi again!
I tried it but it desn't give me any result back.
It dosn't print any error message but it desn't print my result either.
this is how I place the code:
echo ...some html code...;
$row[somename_$var];
echo ...the continuation of the html code;
thanks!
Stefan Rusterholz wrote:
is
spidering?
any suggestion is appriciated.
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
); - THIS DOESN'T
GIVE ME A NEW LINE EITHER, WHY ??
while ($row = mysql_fetch_array($result))
{
echo $row[item_type] , $row[class];
}
?
Any reply is greatly appriciated
Regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Thanks Alot Guys!!!
It works!
now my next question is :
When do I actually use \n???
Thank you so much!
Gianluca Baldo wrote:
Dani -
D echo Result :\n; - THIS DOESN'T GIVE ME A
D NEW LINE- WHY ?
If you look at the source code of your page you'll see
],BR;
while ($row = mysql_fetch_array($result))
{
echo WHILE RESULT,$row[item_type],BR,$row[class];
}
thank you again!
regards,
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Thanks very much!
it works!
Sincerely,
Dani
Thomas Holton wrote:
You should be able to use and as many times as you want.
You should also make sure that the query you are making below is returning
the number of records you think it should be:
$numrecords = mysql_num_rows($result
Hi!
I'm trying to make a webpage which can be edited online. My problem is
the text that I need to be edited will contain of title and sub title
(here is an example of the layout)
Room for Rent
(picture of the room) bala bala
.
sorry I accidently send my message before I finished typing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi!
Could someone please help...
How do I send variable(s) over the url and I want to send it to the the
same page (not opening a new page)
Thank you very much for reviewing my email.
Dani
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi Jason!
thanks for your email.
I have tried
http://www.mywebsite.com/mypage.php?myvariable1=value1myvariable2=value2
and adding this into my form
form = form1 method = post action =?php echo
$PHP_SELF?myvariable1=$myvariable1myvariable2=$myvariable2; ?
input type = text name=myvariable1
Hi again!
I'm trying to develop a website where the user can edit the article
online. What is the best way to do this?
is it better using database or fopen() functions?
in mycase because the text (article ) is containing some pre formated
text, which one is the best way to do it?
Thank you!
and it became just a straigh line. What
function should I use in this case???
Could anybody please help?
Thank you!
Dani
Hi Dani,
For sure you can use a database. There are two ways of using your pr
formatted text.
1)Allow HTML-entries for your database. Because the bullets you have
used in your
66 matches
Mail list logo