Re: Fwd: [PHP] Word file to PDF

2005-02-24 Thread Jason Barnett
Rory Browne wrote: > Sorry - forgot to cc this to the list. > > [off-topic] Any idea if there is any way to set up gmail so that it > automaticly replys to the list. > > -- Forwarded message -- > From: Rory Browne <[EMAIL PROTECTED]> > Date: Thu, 24 Feb 2005 13:12:15 + > Subj

Re: [PHP] PHP slowness

2005-02-24 Thread Brent Baisley
I noticed you have your error_reporting level set really high (2039), which is pretty close to everything. That may be fine on a development server, but I wouldn't set it that high on a production server. I'd be curious what you log looks like. Perhaps this is causing your slowness, perhaps no

[PHP] Re: Problem with XML

2005-02-24 Thread Jason Barnett
Juan Antonio Garrido wrote: > Hi everybody > > What functions should be use for XML in PHP 4? I've tried with DOM Functions > but it appears an error "not class", DOM-XML Functions(experimental) don't > work well. > > Thank you... You want the xml_* functions. You start out with xml_parser_c

[PHP] Re: Server includes and Absolute URL

2005-02-24 Thread Jason Barnett
Jacques wrote: > Can make use of an absolute URL when using require() or require_once()? > Yes, as long as you have allow_url_fopen = 1 in your php.ini > Regards > > Jacques -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.

Fwd: [PHP] Word file to PDF

2005-02-24 Thread Rory Browne
Sorry - forgot to cc this to the list. [off-topic] Any idea if there is any way to set up gmail so that it automaticly replys to the list. -- Forwarded message -- From: Rory Browne <[EMAIL PROTECTED]> Date: Thu, 24 Feb 2005 13:12:15 + Subject: Re: [PHP] Word file to PDF To: K

[PHP] Problem with XML

2005-02-24 Thread Juan Antonio Garrido
Hi everybody What functions should be use for XML in PHP 4? I've tried with DOM Functions but it appears an error "not class", DOM-XML Functions(experimental) don't work well. Thank you... -- --- Juan Antonio Garrido Mata Emergya, Soluciones Tecnológic

Re: [PHP] how to increase maximum upload file size

2005-02-24 Thread Jochem Maas
Srinadh Sannidhanam wrote: Hi, In my application I need to allow the user to upload a file with size more than 2M. I came to know that by default php will allow only 2M. How can change it. I changed, that in php.ini file and restarted apache. but still not working. How to solve this problem

[PHP] how to increase maximum upload file size

2005-02-24 Thread Srinadh Sannidhanam
Hi, In my application I need to allow the user to upload a file with size more than 2M. I came to know that by default php will allow only 2M. How can change it. I changed, that in php.ini file and restarted apache. but still not working. How to solve this problem? Thanks, Srinadh

Re: [PHP] Cookies

2005-02-24 Thread Andre Dubuc
On Thursday 24 February 2005 06:34 am, Burhan Khalid wrote: > William Stokes wrote: > > Hello, > > > > If I send a session cookie to browser where it is stored in WinXP? Or is > > it stored as a separate file at all. I know that the script sends the > > cookie but I can't find it in the client comp

Re: [PHP] Cookies

2005-02-24 Thread Burhan Khalid
William Stokes wrote: Hello, If I send a session cookie to browser where it is stored in WinXP? Or is it stored as a separate file at all. I know that the script sends the cookie but I can't find it in the client computer harddrive. I am testing with Opera, IE6 and Firefox. In Firefox : Tools --

[PHP] Cookies

2005-02-24 Thread William Stokes
Hello, If I send a session cookie to browser where it is stored in WinXP? Or is it stored as a separate file at all. I know that the script sends the cookie but I can't find it in the client computer harddrive. I am testing with Opera, IE6 and Firefox. Thanks -Will -- PHP General Mailing List

Re: [PHP] Re: Can $_SERVER['REMOTE_ADDR'] be trusted?

2005-02-24 Thread Marek Kilimajer
Lester Caine wrote: Sed wrote: Is it possible for hackers to give a fake IP address when visiting a website running PHP? I want to allow certain IP addresses have access to a website (other IP addresses not), is it possible for someone (e.g. hacker) to give fake IP address? If so, how is the webs

[PHP] SV: [PHP-DB] Accents! Pls help. Still very confused.

2005-02-24 Thread Henrik Hornemann
Hi, It is not quite clear what you want to do. You can translate UTF-8 characters into html characters like this: $str = htmlentities($str,ENT_NOQUOTES,'UTF-8'); Or you can translate them in a costumizesd way with strtr() For instance: $translation = array( "ÃÂ" => "Ã", "ÃÂ" => "Ã", "ÃÂ" =

[PHP] Identifying a user who previously created a profile

2005-02-24 Thread Jacques
How can I ensure that a user is prevented from creating a second profile after he has registered a second time with different registration details? I thought of capturing his IP Address and checking this value against my users table in my database where I have captured IP Addresses of users who

[PHP] PHP slowness

2005-02-24 Thread Gerard
Hello people, Recently, one of my webservers became rather slow. At first we thought it was the MySQL backend, but when logged in on MySQL using the command line tool over SSH, it runs as smooth as ever. Static content (normal html pages) also load without delay. It seems that the bottleneck is PH

Re: [PHP] Re: replace special characters

2005-02-24 Thread Frank Arensmeier
Thank you Stian! In Swedish they say "Sometimes you can't see the forest by all the trees." /frank 2005-02-24 kl. 09.45 skrev Stian Berger: On Thu, 24 Feb 2005 09:14:32 +0100, Frank Arensmeier <[EMAIL PROTECTED]> wrote: Hello everybody! I was wondering if you could help me with a little problem

Re: [PHP] Re: Capturing user's IP Address

2005-02-24 Thread Nick Talbott
On Thursday 24 February 2005 9:38 am, N Deepak wrote: > Jacques wrote: > > Which function can I use to capture a user's IP Address when he registers > > on my site. I would like to store this value in a database. > > print $_SERVER['REMOTE_ADDR']; > > --Deepak ..But be careful! -If the user is go

[PHP] Re: Cookies

2005-02-24 Thread N Deepak
William Stokes wrote: Hello, If I send a session cookie to browser where it is stored in WinXP? Or is it stored as a separate file at all. I know that the script sends the cookie but I can't find it in the client computer harddrive. I am testing with Opera, IE6 and Firefox. This is not dependent

[PHP] Re: Capturing user's IP Address

2005-02-24 Thread N Deepak
Jacques wrote: Which function can I use to capture a user's IP Address when he registers on my site. I would like to store this value in a database. print $_SERVER['REMOTE_ADDR']; --Deepak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

[PHP] Cookies

2005-02-24 Thread William Stokes
Hello, If I send a session cookie to browser where it is stored in WinXP? Or is it stored as a separate file at all. I know that the script sends the cookie but I can't find it in the client computer harddrive. I am testing with Opera, IE6 and Firefox. Thanks -Will -- PHP General Mailing Lis

[PHP] Load a C library into extension?

2005-02-24 Thread N Deepak
Hi all, I have no doubt posted many queries here in the past few days, and am thankful for all the help I have received. :) I have been able to write a helloworld extension and compile it. The next step is to call a function in a library libfoo.so. I think this needs a modification in

Re: [PHP] password case sensitive

2005-02-24 Thread William Stokes
OK. I changed to hashed passwords in now they are case sensitive. Thanks. -Will "Richard Lynch" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: >> I got my little user authentication to work but now I would like to know >> how >> to make and check the (upper/lo

[PHP] Server includes and Absolute URL

2005-02-24 Thread Jacques
Can make use of an absolute URL when using require() or require_once()? Regards Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Capturing user's IP Address

2005-02-24 Thread Jacques
Which function can I use to capture a user's IP Address when he registers on my site. I would like to store this value in a database. Regards Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Can $_SERVER['REMOTE_ADDR'] be trusted?

2005-02-24 Thread Lester Caine
Sed wrote: Is it possible for hackers to give a fake IP address when visiting a website running PHP? I want to allow certain IP addresses have access to a website (other IP addresses not), is it possible for someone (e.g. hacker) to give fake IP address? If so, how is the website returned to this s

[PHP] Re: replace special characters

2005-02-24 Thread Stian Berger
On Thu, 24 Feb 2005 09:14:32 +0100, Frank Arensmeier <[EMAIL PROTECTED]> wrote: Hello everybody! I was wondering if you could help me with a little problem I ran into some days ago. In my database I have some information about file paths. Originally, those paths come from a Windows Excel sp

Re: [PHP] replace special characters

2005-02-24 Thread Jason Wong
On Thursday 24 February 2005 16:14, Frank Arensmeier wrote: > 1) replace ".." with a string like "file://server/folder" > 2) replace all "\" characters with "/". > > The PHP code looks something like: > > $path_to_file = "..\1 PDF Filer\65051.PDF"; $path_to_file = '..\1 PDF Filer\65051.PDF'; D

[PHP] replace special characters

2005-02-24 Thread Frank Arensmeier
Hello everybody! I was wondering if you could help me with a little problem I ran into some days ago. In my database I have some information about file paths. Originally, those paths come from a Windows Excel spreadsheet and look like "..\1 PDF Filer\65051.PDF". In my PHP code I try to do two t

[PHP] fopen and redirects

2005-02-24 Thread Warren Vail
I am using fopen with a url to open a remote file (read only of course). The url I am providing results in a redirect and the fopen seems to be smart enough to follow the redirect to return the actual file contents. How can I get at the redirected filename? The problem is the file contains html a