Re: [PHP] Using '

2004-09-23 Thread Marek Kilimajer
John Taylor-Johnston wrote: addslashes() It iscapes also double quotes, which might be not what you want. Juan Pablo Herrera wrote: Escape it: \' It must be somewhere in the manual, I think. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache 2 and php 5 compatibility

2004-09-23 Thread Frédéric Hardy
Hello - I known that using apache 2 with php 4.x is not a good idea, because some php library are not compatible with multi-threading. But php 5 ? Best regards, Fred - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache 2 and php 5 compatibility

2004-09-23 Thread Bostjan Skufca @ domenca.com
We use php4 and php5 with apache2 on production servers without any problem (prefork MPM). worker MPM could be a problem though... regrds, Bostjan On Thursday 23 of September 2004 10:28, Frédéric Hardy wrote: Hello - I known that using apache 2 with php 4.x is not a good idea, because

Re: [PHP] Lock or critical section

2004-09-23 Thread Jean-Yves
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Curt Zirzow) wrote: http://php.net/semma Hi Curst, It doesn't seem that the link is correct!? Thanks anyway! Kind regards, Jean-Yves http://www.terreorange.com -- -- PHP General Mailing List

[PHP] Newbie array problem

2004-09-23 Thread Phpu
If i have an array $array = array(1, 2, 3, 4, 5, 6, 7) How can i display the array element sepparated by (;) like this $display = 1;2;3;4;5;6;7 Thanks

[PHP] ftp in php

2004-09-23 Thread Linda
Hi, Does anyone know how to enable ftp in php without having to compile again as I get an error when I use the make command. I read something about making a change to the php.ini file: under Windows Extensions: extension=php_ftp.dll but where is this php_ftp.dll file located? how can I get a

Re: [PHP] Newbie array problem

2004-09-23 Thread RaTT
Hello Try this $array = array(1, 2, 3, 4, 5, 6, 7); $display = implode(';',$array); echo $display; hth Jarratt On Thu, 23 Sep 2004 13:16:03 +0300, Phpu [EMAIL PROTECTED] wrote: If i have an array $array = array(1, 2, 3, 4, 5, 6, 7) How can i display the array element sepparated by (;)

Re: [PHP] Newbie array problem

2004-09-23 Thread Gnanavel
On Thursday 23 September 2004 03:46 pm, Phpu wrote: If i have an array $array = array(1, 2, 3, 4, 5, 6, 7) How can i display the array element sepparated by (;) like this $display = 1;2;3;4;5;6;7 Thanks use $display=array_implode(;,$array); -- PHP General Mailing List

Re: [PHP] Newbie array problem

2004-09-23 Thread Kevin Waterson
This one time, at band camp, Phpu [EMAIL PROTECTED] wrote: If i have an array $array = array(1, 2, 3, 4, 5, 6, 7) How can i display the array element sepparated by (;) like this $display = 1;2;3;4;5;6;7 $i=0; $arraySize = sizeof($array); while($i $arraySize){ echo $array[$i]; if($i

Re: [PHP] Newbie array problem

2004-09-23 Thread Gnanavel
On Thursday 23 September 2004 03:50 pm, Gnanavel wrote: On Thursday 23 September 2004 03:46 pm, Phpu wrote: If i have an array $array = array(1, 2, 3, 4, 5, 6, 7) How can i display the array element sepparated by (;) like this $display = 1;2;3;4;5;6;7 Thanks use

[PHP] Oracle statement handles... or resources in general

2004-09-23 Thread Mikey
Hi NG! Consider the following piece of (simplified) code: $sql = SELECT * FROM table; $sth = ociparse ($conn, $sql); ociexecute ($sth); $sql = SELECT * FROM table2; $sth = ociparse ($conn, $sql); ociexecute ($sth); I have just been reading an article on php|arch that states that each open

[PHP] Re: ftp in php

2004-09-23 Thread M. Sokolewicz
Linda wrote: Hi, Does anyone know how to enable ftp in php without having to compile again as I get an error when I use the make command. I read something about making a change to the php.ini file: under Windows Extensions: extension=php_ftp.dll but where is this php_ftp.dll file located? how can

RE: [PHP] FDF PDF and PHP

2004-09-23 Thread Jay Blanchard
[snip] Any ideas? [/snip] Yes. If you use FPDF (http://www.fpdf.org) or the PDF features in PHP (http://www.php.net/pdf) you will be able to save a PDF to disk. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie array problem

2004-09-23 Thread Phpu
If i have an array $array = array(1, 2, 3, 4, 5, 6, 7) How can i display the array element sepparated by (;) like this $display = 1;2;3;4;5;6;7 Thanks

[PHP] Multiple posts?

2004-09-23 Thread Graham Cossey
Is it me or are posts being sent multiple times? I have just received the topic [PHP] Newbie array problem for the second time. The first was @ 11:17 the second @ 13:35. I have had a few others come through twice as well. Thanks Graham -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Newbie array problem

2004-09-23 Thread Tom Rogers
Hi, Thursday, September 23, 2004, 10:34:14 PM, you wrote: P If i have an array P $array = array(1, 2, 3, 4, 5, 6, 7) P How can i display the array element sepparated by (;) like this P $display = 1;2;3;4;5;6;7 P Thanks Straight from the manual $string = implode(;, $array); -- regards, Tom

RE: [PHP] Multiple posts?

2004-09-23 Thread Jay Blanchard
[snip] Is it me or are posts being sent multiple times? I have just received the topic [PHP] Newbie array problem for the second time. The first was @ 11:17 the second @ 13:35. I have had a few others come through twice as well. [/snip] Sometimes there is a delay on the processing of the e-mail

RE: [PHP] Multiple posts?

2004-09-23 Thread Graham Cossey
-Original Message- [snip] Is it me or are posts being sent multiple times? I have just received the topic [PHP] Newbie array problem for the second time. The first was @ 11:17 the second @ 13:35. I have had a few others come through twice as well. [/snip] Sometimes there is a delay on

RE: [PHP] Using '

2004-09-23 Thread Graham Cossey
Hi! i have: $html = ' html MY HTML /html '; Inside of my html i used ', this produced a parse error, how can i solved it?. Try: $html = html ... td width='90' ... /html; However my personal preference is the other way around: $html = ' html

Re: [PHP] Lock or critical section

2004-09-23 Thread Marek Kilimajer
Jean-Yves wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Curt Zirzow) wrote: http://php.net/semma Hi Curst, It doesn't seem that the link is correct!? Thanks anyway! He meant semaphores: http://php.net/sem However, this extension is not usualy enabled on hosts and does not work on

RE: [PHP] Good xml to array class?

2004-09-23 Thread Chris Gregors
I've had good success with this one: http://www.devdump.com/phpxml.php -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 12:04 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Good xml to array class? * Thus wrote Brent Clements: I've done

Re: [PHP] Using '

2004-09-23 Thread Petar Nedyalkov
On Thursday 23 September 2004 16:17, Graham Cossey wrote: Hi! i have: $html = ' html MY HTML /html '; Inside of my html i used ', this produced a parse error, how can i solved it?. Try: $html = html ... td width='90' ... /html;

[PHP] PHP 4.3.8 and Turck MMCache compatibility

2004-09-23 Thread Binay
Hi Does any one have idea about the compatibility of Turck MMcache with PHP 4.3.8. It was working well with 4.3.3 and ever since i have upgraded to 4.3.8 it stopped. I recompiled Turck MMcache for new version of PHP also but no luck. Can somebody help me out. Thanks in advance Binay

[PHP] [php5] configure --with-xsl getting error

2004-09-23 Thread Gerrit P. Haase
Hello all, configure --with-xsl: Getting this error: /php/php-5.0.1/ext/xsl/xsltprocessor.c:275: undefined reference to `_dom_object_get_node' ext/xsl/.libs/xsltprocessor.o(.text+0x78a):/php/php-5.0.1/ext/xsl/xsltprocessor.c:187: undefined reference to `_php_dom_object_get_data'

[PHP] Need help... getting information from external xml document

2004-09-23 Thread GH
I am new to php and xml and would like to know how I can set a variable (i.e $terror_threat_level) equal to the value of Threat_Advisory's Condition in the following that is available at http://www.dhs.gov/dhspublic/getAdvisoryCondition ... ?xml version=1.0 encoding=UTF-8 ? THREAT_ADVISORY

[PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread GH
Also, forgot to ask if there are any specific settings that need to be set within php for it to work. On Thu, 23 Sep 2004 09:55:32 -0400, GH [EMAIL PROTECTED] wrote: I am new to php and xml and would like to know how I can set a variable (i.e $terror_threat_level) equal to the value of

[PHP] PHP Failing to open remote files using include/require

2004-09-23 Thread Mark Cooke
Hi, I have a server hosted by a company running Win2k, they are in charge of the maintainance, and we had a site working fine, then yesterday, it failed to include any files using http:// using: include (http://.$_SERVER['SERVER_NAME']./dir/somefile.php); The code has not been altered in 2

Re: [PHP] Need help... getting information from external xml document

2004-09-23 Thread Matt M.
?xml version=1.0 encoding=UTF-8 ? THREAT_ADVISORY CONDITION=ELEVATED / can anyone help? start looking here http://us2.php.net/xml -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Newbie array problem

2004-09-23 Thread Gryffyn, Trevor
I definitely think implode() is the better way to do this, but if you DID have to loop through an array, isn't it easier to do Foreach ($array as $item)? In this case, requiring the ; between them (and choosing not to use implode) you could do something like this: Foreach ($array as

RE: [PHP] FDF PDF and PHP

2004-09-23 Thread Anton Krall
Can fpdf create a new pdf based on a another pdf form and importing fdf data into it? Intruder Consulting Anton Krall Director General [EMAIL PROTECTED] tel: 5781-5112 mobile: 1325-3511 IM: [EMAIL PROTECTED] www.intruder.com.mx

[PHP] Re: PHP Failing to open remote files using include/require

2004-09-23 Thread Mikey
Have you looked at your allow_url_fopen setting in php.ini? It should be on... HTH, Mikey - Original Message - From: Mark Cooke [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Thursday, September 23, 2004 3:04 PM Subject: PHP Failing to open remote files using

RE: [PHP] FDF PDF and PHP

2004-09-23 Thread Jay Blanchard
[snip] Can fpdf create a new pdf based on a another pdf form and importing fdf data into it? [/snip] I am sure, if properly programmed, it could. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Failing to open remote files using include/require

2004-09-23 Thread Mark Cooke
Mikey wrote: Have you looked at your allow_url_fopen setting in php.ini? It should be on... That was the first thing I checked and both values are on. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread John Holmes
From: GH [EMAIL PROTECTED] I am new to php and xml and would like to know how I can set a variable (i.e $terror_threat_level) equal to the value of Threat_Advisory's Condition in the following that is available at http://www.dhs.gov/dhspublic/getAdvisoryCondition ... ?xml version=1.0

Re: [PHP] Lock or critical section

2004-09-23 Thread Jean-Yves
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Marek Kilimajer) wrote: Jean-Yves wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Curt Zirzow) wrote: http://php.net/semma Hi Curst, It doesn't seem that the link is correct!? Thanks anyway! He meant

[PHP] Re: ftp in php

2004-09-23 Thread Linda
Hi, It's ok - I found another way around what I wanted to do. Regards, Linda, M. Sokolewicz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Linda wrote: Hi, Does anyone know how to enable ftp in php without having to compile again as I get an error when I use the make

Re: [PHP] FDF PDF and PHP

2004-09-23 Thread Marek Kilimajer
Jay Blanchard wrote: [snip] Can fpdf create a new pdf based on a another pdf form and importing fdf data into it? [/snip] I am sure, if properly programmed, it could. no, it cannot. http://fpdf.org/en/FAQ.php#17 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] [php5] configure --with-xsl getting error

2004-09-23 Thread Marek Kilimajer
Gerrit P. Haase wrote: Hello all, configure --with-xsl: Getting this error: /php/php-5.0.1/ext/xsl/xsltprocessor.c:275: undefined reference to `_dom_object_get_node' ext/xsl/.libs/xsltprocessor.o(.text+0x78a):/php/php-5.0.1/ext/xsl/xsltprocessor.c:187: undefined reference to

[PHP] PDF from PHP generated HTML, possible?

2004-09-23 Thread Graham Cossey
Following the topic about generating PDF documents from within PHP has prompted a thought... Is it possible to have PHP dynamically build an HTML page (from database data etc) and provide an option to output the page as PDF without going through all the database query routine again? In other

[PHP] Re: PDF from PHP generated HTML, possible?

2004-09-23 Thread Mikey
Hmmm, I cannot believe that there are people on this list who do not know how to use Google. I tried convert HTML to pdf and came up with loads of results - including http://www.easysw.com/htmldoc/pdf-o-matic.php that seems to allow you to see their source code. HTH, Mikey - Original

Re: [PHP] Good xml to array class?

2004-09-23 Thread Maciek Ruckgaber Bielecki
You also may consider wddx, which is very useful when you need to store something to load it later to an array, and vice versa Thu, Sep 23, 2004 at 07:40:45AM -0600, Chris Gregors wrote: I've had good success with this one: http://www.devdump.com/phpxml.php -Original Message-

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread GH
As John noted at the end... I do not have control over the format of the XML... but thanks I will try... BTW i am using PHP4 is SimpleXML able to be used and if so how? Sorry for the newbie question On Thu, 23 Sep 2004 10:44:31 -0400, John Holmes [EMAIL PROTECTED] wrote: From: GH [EMAIL

Re: [PHP] PDF from PHP generated HTML, possible?

2004-09-23 Thread Maciek Ruckgaber Bielecki
i strongly recomend XSL for all this kind of conversion. From a single source you can obtain whatever you need building the adequate stylesheet. for more info http://w3.org/Style/XSL/ cheers On Thu, Sep 23, 2004 at 03:44:01PM +0100, Graham Cossey wrote: Following the topic about generating

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread Matt M.
I am new to php and xml and would like to know how I can set a variable (i.e $terror_threat_level) equal to the value of Threat_Advisory's Condition in the following that is available at http://www.dhs.gov/dhspublic/getAdvisoryCondition ... ?xml version=1.0 encoding=UTF-8 ?

Re: [PHP] PDF from PHP generated HTML, possible?

2004-09-23 Thread John Holmes
From: Graham Cossey [EMAIL PROTECTED] Following the topic about generating PDF documents from within PHP has prompted a thought... Is it possible to have PHP dynamically build an HTML page (from database data etc) and provide an option to output the page as PDF without going through all the

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread John Holmes
From: GH [EMAIL PROTECTED] BTW i am using PHP4 is SimpleXML able to be used and if so how? No, SimpleXML is for PHP5 only. You're probably better off using the regular expression method rather than loading an entire XML solution for such a small bit of code... ---John Holmes... -- PHP General

Re: [PHP] PDF from PHP generated HTML, possible?

2004-09-23 Thread Matt M.
Is it possible to have PHP dynamically build an HTML page (from database data etc) and provide an option to output the page as PDF without going through all the database query routine again? you could use output buffering. If they choose output as pdf, capture the html that was produced, run

RE: [PHP] PDF from PHP generated HTML, possible?

2004-09-23 Thread Graham Cossey
Following the topic about generating PDF documents from within PHP has prompted a thought... Is it possible to have PHP dynamically build an HTML page (from database data etc) and provide an option to output the page as PDF without going through all the database query routine again?

Re: [PHP] PDF from PHP generated HTML, possible?

2004-09-23 Thread Maciek Ruckgaber Bielecki
I strongly recomend to check the documentation for XSLT for this kind of transformations: http://w3.org/Style/XSL/ cheers. On Thu, Sep 23, 2004 at 03:44:01PM +0100, Graham Cossey wrote: Following the topic about generating PDF documents from within PHP has prompted a thought... Is it

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread GH
Sounds good... from that RegExpression what exactly is that returning? just the value in the quotes? Thanks Gary On Thu, 23 Sep 2004 11:11:16 -0400, John Holmes [EMAIL PROTECTED] wrote: From: GH [EMAIL PROTECTED] BTW i am using PHP4 is SimpleXML able to be used and if so how? No,

[PHP] PHP 4.3.9 Released

2004-09-23 Thread Ilia Alshanetsky
Here is the proposed 4.3.9 release announcement. PHP Development Team is proud to announce the immediate release of PHP 4.3.9. This is a maintenance release that in addition to over 50 non-critical bug fixes, addresses a problem with GPC input processing. This release also re-introduces ability

Re: [PHP] Good xml to array class?

2004-09-23 Thread Maciek Ruckgaber Bielecki
for all kind of convertions XML to Array and Array to XML a very easy way to get something running is wddx. Depending on your needs, you may get more complicated then and use DOM, but that will need to develop your own parsing object. Cheers On Thu, Sep 23, 2004 at 01:13:17AM -0400, Greg

RE: [PHP] Re: PDF from PHP generated HTML, possible?

2004-09-23 Thread Graham Cossey
That's fine for static pages, my question was regarding dynamic pages that I did not wish to pass through the database querying again. I understand that if my dynamic page is http://server/app/page1.php?cust=12345t=3 I can supply that URL which will result in HTML that can be processed by (for

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread Matt M.
As John noted at the end... I do not have control over the format of the XML... but thanks I will try... BTW i am using PHP4 is SimpleXML able to be used and if so how? I would just use John's regex idea, I am guessing (i could be wrong though, I have been many times before) that the

Re: [PHP] PDF from PHP generated HTML, possible?

2004-09-23 Thread Matt M.
Thanks for that John, I think the big issue will be how to 'cache' my HTML pages should I want to proceed down this route. BTW from memory I think the 'product' was htmldoc, or similar. use output buffering, save the html into some kind of temp file -- PHP General Mailing List

Re: [PHP] PDF from PHP generated HTML, possible?

2004-09-23 Thread Mikey
If you generated your HTML using a template engine (i.e. storing the page as one large string and then echo-ing that to screen), then you could write that to a file and run your conversion on that... HTH, Mikey - Original Message - From: Graham Cossey [EMAIL PROTECTED] Newsgroups:

[PHP] Help with PDF documents

2004-09-23 Thread Andre
Hello When I try to open a PDF file in the https://localhost mode it opens a Save File window. When I am on the http://localhost mode the problem does not exist. How can I solve this? Thanks..

[PHP] converting from name - id and PHP not seeing it?

2004-09-23 Thread Tristan . Pretty
I jsut finished converting my pages to be W3C compliant... One of the recuring 'errors' I had was my form elements were all using the 'name' atrtribute... apparently, this is bad, and I was suggested to switch them ti use the 'id' attribute... all good, I did that, but for some reason, when I

RE: [PHP] FDF PDF and PHP

2004-09-23 Thread Anton Krall
Ok, then how to do it? Im starting to think that maybe it can all be done within acrobat full and not use php unless populating via a db. Intruder Consulting Anton Krall Director General [EMAIL PROTECTED] tel: 5781-5112 mobile: 1325-3511 IM: [EMAIL PROTECTED]

[PHP] Re: configure --with-xsl getting error

2004-09-23 Thread Gerrit P. Haase
Hallo Marek, Am Donnerstag, 23. September 2004 um 16:43 schriebst du: Gerrit P. Haase wrote: Hello all, configure --with-xsl: Getting this error: [...] Could someone with insight try to fix this, please? run ./configure once again with --enable-dom Haha, very funny, that is what i

[PHP] Custom PHP handler using Apache's mod_action

2004-09-23 Thread Tobias Hesselmann
Hi folks, i have a problem using a PHP script as a custom handler in Apache. What i wanna do is this: Whenever a .html file is requested by a browser, i want Apache to call a CGI that outputs a header, then the requested file and then a footer. I want to use PHP for this, as i also want to do

Re: [PHP] Re: PDF from PHP generated HTML, possible?

2004-09-23 Thread Brad Pauly
On Thu, 23 Sep 2004 16:25:27 +0100, Graham Cossey [EMAIL PROTECTED] wrote: That's fine for static pages, my question was regarding dynamic pages that I did not wish to pass through the database querying again. I understand that if my dynamic page is http://server/app/page1.php?cust=12345t=3

[PHP] Custom PHP Handler using Apache's mod_action

2004-09-23 Thread Tobias Hesselmann
Hi folks, i have a problem using a PHP script as a custom handler in Apache. What i wanna do is this: Whenever a .html file is requested by a browser, i want Apache to call a CGI that outputs a header, then the requested file and then a footer. I want to use PHP for this, as i also want to do

Re: [PHP] converting from name - id and PHP not seeing it?

2004-09-23 Thread Matt M.
I jsut finished converting my pages to be W3C compliant... One of the recuring 'errors' I had was my form elements were all using the 'name' atrtribute... apparently, this is bad, and I was suggested to switch them ti use the 'id' attribute... if you want the info to be posted to the page,

[PHP] Re: configure --with-xsl getting error

2004-09-23 Thread Mikey
Have you tried doing make clean first? - Original Message - From: Gerrit P. Haase [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Thursday, September 23, 2004 5:15 PM Subject: Re: configure --with-xsl getting error Hallo Marek, Am Donnerstag, 23. September

[PHP] Open a PDF in the mode https://....

2004-09-23 Thread Andre
Hello When I try to open a PDF file in the https://localhost mode it opens a Save File window. When I am on the http://localhost mode the problem does not exist. How can I solve this? Thanks.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] converting from name - id and PHP not seeing it?

2004-09-23 Thread John Nichel
Matt M. wrote: I jsut finished converting my pages to be W3C compliant... One of the recuring 'errors' I had was my form elements were all using the 'name' atrtribute... apparently, this is bad, and I was suggested to switch them ti use the 'id' attribute... if you want the info to be posted to

Re: [PHP] Open a PDF in the mode https://....

2004-09-23 Thread Marek Kilimajer
Andre wrote: Hello When I try to open a PDF file in the https://localhost mode it opens a Save File window. When I am on the http://localhost mode the problem does not exist. How can I solve this? This is a browser issue. What browser are you using, what headers are you sendng, are you using

[PHP] Virtual Host problem

2004-09-23 Thread a.k.a kioto
Hi all i've try to configure Apache with Virtual Host in the main configuration file of Apache i have modify like this: #NameVirtualHost *:80 NameVirtualHost * # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for

Re: [PHP] Virtual Host problem

2004-09-23 Thread Jason Davidson
your problem, as correctly outputted, is permission based, and as far as i can tell, has nothing to do with PHP.. Jason a.k.a kioto [EMAIL PROTECTED] wrote: Hi all i've try to configure Apache with Virtual Host in the main configuration file of Apache i have modify like this:

RE: [PHP] Virtual Host problem

2004-09-23 Thread Chris Gregors
scan your apache httpd.conf file for the following: User apache Group apache Note the userid and groupid (I use apache). Verify that the index.php files are readable by the apache User and Group. Correct the file ownership and/or change the User/Group that apache runs as. -Original

Re: [PHP] Virtual Host problem

2004-09-23 Thread John Nichel
a.k.a kioto wrote: snip I have insert a file index.php in all main folder of virtaul host: /usr/local/apache/users/default/index.php /usr/local/apache/users/mysite/index.php /usr/local/apache/users/brothersite/index.php I have modified the file hosts in etc/hosts. 39.244.88.126 mordoch

RE: [PHP] Open a PDF in the mode https://....

2004-09-23 Thread Andre
Yes I am using sessions? -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 23 de Setembro de 2004 18:28 To: Andre Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Open a PDF in the mode https:// Andre wrote: Hello When I try to open a PDF file in

Re: [PHP] Open a PDF in the mode https://....

2004-09-23 Thread Marek Kilimajer
Andre wrote: Yes I am using sessions? Use session_cache_limiter('private_no_expire'); IE needs it. -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 23 de Setembro de 2004 18:28 To: Andre Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Open a PDF in the mode

Re: [PHP] Virtual Host problem

2004-09-23 Thread Steve Brown
Someone correct me if I am wrong, but haven't you just confused the hell out of Apache? You have just declared three virtual hosts, all listening on port 80, but apache has no way to identify them based on the incoming packets. You need to add a ServerName directive to each virtual host

Re: [PHP] Virtual Host problem

2004-09-23 Thread Pahlevanzadeh Mohsen
please send it to Apache mailling list. --- a.k.a kioto [EMAIL PROTECTED] wrote: Hi all i've try to configure Apache with Virtual Host in the main configuration file of Apache i have modify like this: #NameVirtualHost *:80 NameVirtualHost * # # VirtualHost example: # Almost any Apache

[PHP] Re: configure --with-xsl getting error

2004-09-23 Thread Gerrit P. Haase
Hello Mikey, Have you tried doing make clean first? That is not the point. The point is that it is a bug that configure is exiting because I define --enable-xyz when the xyz dependency is not available instead of to disable the extension and continue the configury. And it is a bug that

Re: [PHP] PHP Failing to open remote files using include/require

2004-09-23 Thread Andrew Kreps
On Thu, 23 Sep 2004 15:04:26 +0100, Mark Cooke [EMAIL PROTECTED] wrote: I have a server hosted by a company running Win2k, they are in charge of the maintainance, and we had a site working fine, then yesterday, it failed to include any files using http:// using: include

[PHP] Any idea how this is done?

2004-09-23 Thread Mag
Hi, I was just looking at the demo of Comus Thumbs at http://nibbi.net/scripts/comus_thumbs.php and I see he has an option there to lighted/darken/sharpen/resize/thumb images dynamically on the page (the image gets lightened etc without reloading the page) any idea how? its listed that he

Re: [PHP] Any idea how this is done?

2004-09-23 Thread John Holmes
From: Mag [EMAIL PROTECTED] [snip] is this easy to do? Nope. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Any idea how this is done?

2004-09-23 Thread Marek Kilimajer
Mag wrote: Hi, I was just looking at the demo of Comus Thumbs at http://nibbi.net/scripts/comus_thumbs.php and I see he has an option there to lighted/darken/sharpen/resize/thumb images dynamically on the page (the image gets lightened etc without reloading the page) any idea how? its listed

Re: [PHP] Any idea how this is done?

2004-09-23 Thread Marek Kilimajer
Marek Kilimajer wrote: He also has an option to thumb an image, where you click on the image and a rectangle appears, then when you accept it, it cuts the image exactly according to the rectangleI am not too familier with imagemagik..is this easy to do? DHTML should be able to do this. I just

[PHP] Wrong php.ini being read at my hosting account

2004-09-23 Thread missshus
When I log into my hosting account I have access to the official phpinfo() script and it shows certain extensions (like mbstring for example) as available, but they are not available to my scripts. Every time I try to use them I get Call to undefined function errors. At first I just avoided

RE: [PHP] Re: PDF from PHP generated HTML, possible?

2004-09-23 Thread Graham Cossey
Thanks to all, this is indeed most enlightening for me as I've only been using PHP for about 6 months. The output buffering and saving of generated HTML pages (using a hashed name) could be very beneficial, saving hundreds of quite lengthy MySQL queries each day. Brad: When you say a hash of the

Re: [PHP] Re: PDF from PHP generated HTML, possible?

2004-09-23 Thread Brad Pauly
On Thu, 23 Sep 2004 22:39:06 +0100, Graham Cossey [EMAIL PROTECTED] wrote: Brad: When you say a hash of the query string do you mean passing the variable part of the URL thru mhash to obtain a hash/key/digest or whatever you wish to call it? If so, do you recommend any particular hash, ie

Re: [PHP] converting from name - id and PHP not seeing it?

2004-09-23 Thread Jason Giangrande
[EMAIL PROTECTED] wrote: I jsut finished converting my pages to be W3C compliant... One of the recuring 'errors' I had was my form elements were all using the 'name' atrtribute... apparently, this is bad, and I was suggested to switch them ti use the 'id' attribute... all good, I did that, but

Re: [PHP] Wrong php.ini being read at my hosting account

2004-09-23 Thread Jason Wong
On Thursday 23 September 2004 02:20, missshus wrote: [snip] I think it's also important to point out that this it the first time I've opened a hosting account so I'm not really sure if this is their problem or mine. Shouldn't both phpinfo() scripts give the same results? The output from the

[PHP] Disappearing POST variables with large values

2004-09-23 Thread AdamsHC
As I had found lots of people having problems with disappearing POST variables I believe this note will be usefull for part of them. If you get a situation, that larger POST variables disappear from $_POST array, but everything is OK with small ones; and you had compiled PHP with hardened flag

Re: [PHP] Apache 2 and php 5 compatibility

2004-09-23 Thread Jordi Canals
On Thu, 23 Sep 2004 10:33:54 +0200, Bostjan Skufca @ domenca.com We use php4 and php5 with apache2 on production servers without any problem (prefork MPM). I also have PHP 5 and Apache 2 running on some servers, as I need some Apache Modules that are only available for Apache 2 ... Also, I

Re: [PHP] PHP 4.3.8 and Turck MMCache compatibility

2004-09-23 Thread raditha dissanayake
Binay wrote: Hi Does any one have idea about the compatibility of Turck MMcache with PHP 4.3.8. It was working well with 4.3.3 and ever since i have upgraded to 4.3.8 it stopped. I recompiled Turck MMcache for new version of PHP also but no luck. They work together. Make sure the mmcache.so

Re: [PHP] Any idea how this is done?

2004-09-23 Thread Mag
--- Marek Kilimajer [EMAIL PROTECTED] wrote: Mag wrote: Hi, I was just looking at the demo of Comus Thumbs at http://nibbi.net/scripts/comus_thumbs.php and I see he has an option there to lighted/darken/sharpen/resize/thumb images dynamically on the page (the image gets

Re: [PHP] Any idea how this is done?

2004-09-23 Thread Curt Zirzow
* Thus wrote Mag: --- Marek Kilimajer [EMAIL PROTECTED] wrote: Mag wrote: Hi, I was just looking at the demo of Comus Thumbs at http://nibbi.net/scripts/comus_thumbs.php and I see he has an option there to lighted/darken/sharpen/resize/thumb images dynamically

[PHP] Missing $_POST data from a Outlook Express email form

2004-09-23 Thread Eric Wood
This is bizarre. I send html forms (web orders) to my email client. From there I plug in extra info and submit it to a php script which launches IE or Firefox to see the results of the submit (writing data back to the ecommerce site). This used to work all the time and now nothing is POSTed.

Re: [PHP] Missing $_POST data from a Outlook Express email form

2004-09-23 Thread Curt Zirzow
* Thus wrote Eric Wood: This is bizarre. I send html forms (web orders) to my email client. From there I plug in extra info and submit it to a php script which launches IE or Firefox to see the results of the submit (writing data back to the ecommerce site). ... Did something cripple

[PHP] opensource php compiler

2004-09-23 Thread C.F. Scheidecker Antunes
Hello all, There's a compiler called Roadsend which gives you the ability to compile php scripts into binaries executables. That is nice but I wonder if there would be any other compiler that would do the job and be opensource. Does anyone know anything about it or could point me to resources

[PHP] Can you help ?

2004-09-23 Thread Dave Carrera
Hi List, Apologies First: I am sorry if this post is in any way or perceived as a spam post, it is NOT my intention. Message: I am a lone developer based in West London, UK, who is looking for like minded Php / MySql developers based in West London, UK. Why? Well currently I am involved with