[PHP] problem with php and mail()

2005-09-23 Thread Marco Strullato
hi all, I have a problem sending mails with mail(): when this code runs: mail([EMAIL PROTECTED],ciao,ciao[EMAIL PROTECTED],%22ciao%22,%22ciao, From: marco marco@ [EMAIL PROTECTED] anotherexample.comhttp://anotherexample.com/ ); any email arrives: qmail tells @40004332b7d900edffbc delivery

[PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Frank Arensmeier
Hello list-members I have written a script which dynamically generates PDF documents (with PDFlib). The link to the PDF file is presented as a static link (thanks btw to Richard Lynch and his previous contributions to this list on the subject force download). It is redirected to the script

Re: [PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Philip Hallstrom
I have written a script which dynamically generates PDF documents (with PDFlib). The link to the PDF file is presented as a static link (thanks btw to Richard Lynch and his previous contributions to this list on the subject force download). It is redirected to the script via a htaccess file. If

Re: [PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Steve Lefevre
Philip Hallstrom wrote: We finally figured out that IE was beginning the download of the PDF itself, but if it downloaded more than about 1mb, it would pass it off to a helper application to do the rest. The thing was the helper application remade the request. But it wasn't passing along

Re: [PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Frank Arensmeier
These were all good suggestions, unfortunately none of them was able to solve my problem. I did a rather simple test to eliminate at least some of the possible causes. I changed the script in order to do three simple things: send a Content-type header, read an existing PDF document into a

Re: [PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Philip Hallstrom
These were all good suggestions, unfortunately none of them was able to solve my problem. I did a rather simple test to eliminate at least some of the possible causes. I changed the script in order to do three simple things: send a Content-type header, read an existing PDF document into a

[PHP] Problem with mysql_connect(...)

2005-09-19 Thread A T
Hello. I'm trying to connect to my MySQL server with mysql_connect(...). The server is up and running, and I'm running Apache with PHP properly installed. The code: $hleServer = mysql_connect($host, $user, $password) or die(Error: Database. Error code: 1. Contact the web master!); $host,

Re: [PHP] Problem w/ reading a txt file.

2005-09-13 Thread Burhan Khalid
[EMAIL PROTECTED] wrote: Problem w/ reading a txt file. The error I get is Warning: opendir(/home/pudlz/public_html ): failed to open dir: No such file or directory Here's my code:: $main = file('folders.txt'); $counter = count($main); for($i=0;$i$counter;$i++) { if

Re: [PHP] Problem with PEAR:SOAP [solved]

2005-09-13 Thread -k.
--- Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Install the HTTP_Request package. That did it. Anyone know why the SOAP package didn't complain about this when i installed it? -k. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

Re: [PHP] Problem w/ reading a txt file.

2005-09-13 Thread sub
: Tuesday, September 13, 2005 12:45 AM Subject: Re: [PHP] Problem w/ reading a txt file. [EMAIL PROTECTED] wrote: Problem w/ reading a txt file. The error I get is Warning: opendir(/home/pudlz/public_html ): failed to open dir: No such file or directory Here's my code:: $main

[PHP] Problem with PEAR:SOAP

2005-09-12 Thread -k.
I just installed the SOAP Pear package (version 0.9.1) when i try and: require_once('SOAP/Client.php'); i get the following errors: Warning: main(HTTP/Request.php): failed to open stream: No such file or directory in /usr/local/lib/php/SOAP/WSDL.php on line 27 Fatal error: main(): Failed

Re: [PHP] Problem with PEAR:SOAP

2005-09-12 Thread Jasper Bryant-Greene
-k. wrote: Fatal error: main(): Failed opening required 'HTTP/Request.php' (include_path='.:/usr/local/lib/php') in /usr/local/lib/php/SOAP/WSDL.php on line 27 Line 27 in WSDL.php is, as you might guess, require_once 'HTTP/Request.php'; I looked in /usr/local/lib/php/ and there is no HTTP

[PHP] Problem with POST reply

2005-09-12 Thread Dean Maunder
Hi, I am using PHP to post a request to a server which returns an XML document. We have no problems with the same service if we use a get request. Here is the result: HTTP/1.1 200 OK Date: Tue, 13 Sep 2005 02:01:53 GMT Server: Apache Set-Cookie:

[PHP] Problem w/ reading a txt file.

2005-09-12 Thread sub
Problem w/ reading a txt file. The error I get is Warning: opendir(/home/pudlz/public_html ): failed to open dir: No such file or directory Here's my code:: $main = file('folders.txt'); $counter = count($main); for($i=0;$i$counter;$i++) { if ($handle = opendir($main[$i])) {

[PHP] problem with multi field validation

2005-09-08 Thread Muthukumar
Hi All, Greetings. I am working on making php script with gets information from a file with five fields and load it on browser. # cat machines.log machine1:os:team1:member1:booked machine2:os:team1:member2:booked machine3:os:team1:: machine4:os:team1:: format is like machine:os:team:member

[PHP] Problem with Apache+Fedora Core 4 + PHP Installation

2005-09-06 Thread Feris Thia C.
Hi All, I'm using Fedora Core 4 (kernell 2.6.11-1.1369_FC4) and having problem when installing Apache + PHP... the configuration that I'm using : 1. Apache 2.0.54 ./configure --prefix=/usr/local/apache2 --enable-so make make install 2. PHP 4.3.1 ./configure

Re: [PHP] problem with the session and global variable

2005-09-03 Thread Tomás Rodriguez Orta
: Re: [PHP] problem with the session and global variable Hi there! I don't quite understand what you're trying to do here. Please send more code, then I might be able to help you... :-) /G @varupiraten.se - Original Message - From: Tomás Rodriguez Orta [EMAIL PROTECTED] To: php

[PHP] Problem with new extension

2005-09-02 Thread George Pitcher
Hi, I think that I may have messed up my php (v5.0.1). Earlier today, I downloaded the most recent extensions and replaced my php_pdf.dll (aug 2004)with the most recent (Mar 2005) - set the permissions to be the same as the other extensions - then restarted the machine. I'm now getting an

[PHP] problem with the session and global variable

2005-09-02 Thread Tomás Rodriguez Orta
Hello people. I have an problem very very complicate for me. I have some template in my web sitie, and a car buy, I want to show to the user what count of the books have in your car buy, but when I enter a new page in the other tampletae the variable take 1, why? In ache page I write the

Re: [PHP] problem with the session and global variable

2005-09-02 Thread Gustav Wiberg
:46 AM Subject: [PHP] problem with the session and global variable Hello people. I have an problem very very complicate for me. I have some template in my web sitie, and a car buy, I want to show to the user what count of the books have in your car buy, but when I enter a new page in the other

RE: [PHP] Problem With Inner Loop

2005-08-30 Thread Murray @ PlanetThoughtful
Hi, The following code is attempting to display a list of work types for all the users in my database. However it only loops through the inner loop once and I can't work out why, can anyone help here please? Thanks for your help table ?php include('application.php'); $staff_qid =

[PHP] Problem With Inner Loop

2005-08-29 Thread Shaun
Hi, The following code is attempting to display a list of work types for all the users in my database. However it only loops through the inner loop once and I can't work out why, can anyone help here please? Thanks for your help table ?php include('application.php'); $staff_qid =

Re: [PHP] Problem With Inner Loop

2005-08-29 Thread Jasper Bryant-Greene
Shaun wrote: Hi, The following code is attempting to display a list of work types for all the users in my database. However it only loops through the inner loop once and I can't work out why, can anyone help here please? table ?php include('application.php'); $staff_qid =

Re: [PHP] Problem with SimpleXML

2005-08-25 Thread Richard Lynch
On Wed, August 24, 2005 3:20 am, Uroš Gruber wrote: I have XML and I would like to set some values. I almost done the whole thing but have some problems when looping through some tags foo bar id=1 name=bar1 / bar id=2 name=bar2 / ... /foo I would like to set value for tag bar

[PHP] Problem with handling quotes after server upgrade

2005-08-25 Thread Vinayakam Murugan
Hi We have a content management system running for a client of ours. It was earlier on Debian and Apache 1.3 . Now they have moved to Redhat Ent and Apache 2. The PHP and MySQL versions are the standard packages available with Redhat Ent and the same version as before. However we can see that

RE: [PHP] Problem with handling quotes after server upgrade

2005-08-25 Thread Jay Blanchard
[snip] We have a content management system running for a client of ours. It was earlier on Debian and Apache 1.3 . Now they have moved to Redhat Ent and Apache 2. The PHP and MySQL versions are the standard packages available with Redhat Ent and the same version as before. However we can see

Re: [PHP] Problem with handling quotes after server upgrade

2005-08-25 Thread Vinayakam Murugan
http://www.php.net/magic_quotes Check the php.ini for the settings on magic_quotes Thanks, Jay. That was a lifesaver. -- Warm Regards ~~~ Vinayak

[PHP] Problem with SimpleXML

2005-08-24 Thread Uroš Gruber
Hi! I have XML and I would like to set some values. I almost done the whole thing but have some problems when looping through some tags foo bar id=1 name=bar1 / bar id=2 name=bar2 / ... /foo I would like to set value for tag bar in some loop and then export this back to XML. Is this

Re: [PHP] Problem with SimpleXML

2005-08-24 Thread Jordan Miller
Yes, simplexml can do this easily. See: http://www.php.net/simplexml Example 7. Setting values Data in SimpleXML doesn't have to be constant. The object allows for manipulation of all of its elements. ?php include 'example.php'; $xml = simplexml_load_string($xmlstr);

Re: [PHP] Problem appending values to an object

2005-08-23 Thread Richard Lynch
On Mon, August 22, 2005 10:04 am, David Pollack wrote: I have a database with two tables. One is a table of events and the other is a table of locations. I'm creating a google map with the table of locations and would like to list the events at each place. I'm using mambo and the following

[PHP] problem with ' or

2005-08-23 Thread George B
I made a script that posts data into a database but it has a problem whenever I enter a ' or a . How do I bypass this problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with ' or

2005-08-23 Thread Jasper Bryant-Greene
George B wrote: I made a script that posts data into a database but it has a problem whenever I enter a ' or a . How do I bypass this problem? If it is MySQL, use mysql_real_escape_string() [1]. If any other database, have a look in the PHP manual [2] for the relevant function, or as a last

Re: [PHP] problem with ' or

2005-08-23 Thread George B
Jasper Bryant-Greene wrote: George B wrote: I made a script that posts data into a database but it has a problem whenever I enter a ' or a . How do I bypass this problem? If it is MySQL, use mysql_real_escape_string() [1]. If any other database, have a look in the PHP manual [2] for the

Re: [PHP] problem with ' or

2005-08-23 Thread Jasper Bryant-Greene
George B wrote: Jasper Bryant-Greene wrote: George B wrote: I made a script that posts data into a database but it has a problem whenever I enter a ' or a . How do I bypass this problem? If it is MySQL, use mysql_real_escape_string() [1]. If any other database, have a look in the PHP

Re: [PHP] problem with ' or

2005-08-23 Thread George B
Jasper Bryant-Greene wrote: George B wrote: Jasper Bryant-Greene wrote: George B wrote: I made a script that posts data into a database but it has a problem whenever I enter a ' or a . How do I bypass this problem? If it is MySQL, use mysql_real_escape_string() [1]. If any other

[PHP] Problem appending values to an object

2005-08-22 Thread David Pollack
I have a database with two tables. One is a table of events and the other is a table of locations. I'm creating a google map with the table of locations and would like to list the events at each place. I'm using mambo and the following query to get the data... $query2 = SELECT

[PHP] Problem between php4.4 and mysql

2005-08-21 Thread Alex Scott
Hi there, I discovered that our website was not working properly today (To my horror). Hosted on redhat enterprise 4. I think that there is a problem with php 4.4 talking to Apache mysql 4.1 as the php pages which do not talk to the DB are working but other php pages are working. I

Re: [PHP] Problem between php4.4 and mysql

2005-08-21 Thread Burhan Khalid
Alex Scott wrote: Hi there, I discovered that our website was not working properly today (To my horror). Hosted on redhat enterprise 4. I think that there is a problem with php 4.4 talking to Apache mysql 4.1 as the php pages which do not talk to the DB are working but other php pages are

Re: [PHP] Problem between php4.4 and mysql

2005-08-21 Thread Alex Scott
On 21 Aug 2005, at 12:08, Alex Scott wrote: Thanks for reply, But just briefly, why should it have been working for the past month o.k? Kind regards, Alex. On 21 Aug 2005, at 11:34, Burhan Khalid wrote: Alex Scott wrote: Hi there, I discovered that our website was not working

Re: [PHP] Problem between php4.4 and mysql

2005-08-21 Thread Alex Scott
Also I am using mysql 4.1.12 and mysql Is designed to work with 4.1.13? Can anybody suggest to me how I might fix this problem please??? Alex. On 21 Aug 2005, at 12:23, Alex Scott wrote: On 21 Aug 2005, at 12:08, Alex Scott wrote: Thanks for reply, But just briefly, why should it have

[PHP] Problem mit PEAR-Package Log

2005-08-19 Thread Sabine
Hello to all, I want to use the PEAR-package Log (now on 4.3.10). I just have a few lines of code, copied from the documentation. And always, that means with every logger I tried, get Call to undefined function-errors. I can't see what ist that wrong. Has anybody else an idea? I just

Re: [PHP] Problem when encoding non-english into UTF-8

2005-08-16 Thread John Nichel
Wong HoWang wrote: Dear all, When I try to encode non-english char. such as big5 to UTF-8 with utf8_encode(), it always generate a wrong result, which is not readable. What can I do? Please help! http://us2.php.net/iconv -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL

[PHP] Problem with php.ini

2005-08-16 Thread Tim Boring
I'm having a problem with php-cli and php_mod reading my php.ini file. I've compiled php from source, during which process I set --with-config-file=/etc. Once the compile completed, I then copied php.ini-recommened to /etc/php.ini. After restarting Apache, I run phpinfo() and Configuration File

Re: [PHP] Problem with php.ini

2005-08-16 Thread John Nichel
Tim Boring wrote: I'm having a problem with php-cli and php_mod reading my php.ini file. I've compiled php from source, during which process I set --with-config-file=/etc. Once the compile completed, I then copied php.ini-recommened to /etc/php.ini. After restarting Apache, I run phpinfo() and

Re: [PHP] Problem with php.ini

2005-08-16 Thread Torgny Bjers
Tim Boring wrote: I'm having a problem with php-cli and php_mod reading my php.ini file. I've compiled php from source, during which process I set --with-config-file=/etc. Once the compile completed, I then copied php.ini-recommened to /etc/php.ini. After restarting Apache, I run phpinfo() and

[PHP] Problem using Metabase

2005-08-15 Thread Pablo Gosse
Hi, folks. I've recently decided to use Manuel's Metabase instead of ADOdb as ADOdb doesn't support transactions for MS Access, however I'm getting the following error when running the sample code: Fatal error: Class metabase_manager_odbc_class: Cannot inherit from undefined class

[PHP] Problem when encoding non-english into UTF-8

2005-08-15 Thread Wong HoWang
Dear all, When I try to encode non-english char. such as big5 to UTF-8 with utf8_encode(), it always generate a wrong result, which is not readable. What can I do? Please help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem when encoding non-english into UTF-8

2005-08-15 Thread Jasper Bryant-Greene
Wong HoWang wrote: Dear all, When I try to encode non-english char. such as big5 to UTF-8 with utf8_encode(), it always generate a wrong result, which is not readable. What can I do? From the manual [1]: utf8_encode -- Encodes an ISO-8859-1 string to UTF-8 You're using the wrong tool for

[PHP] Problem detecting HTTPS connection

2005-08-09 Thread Wee Keat
Hi all, I've been struggling to detect HTTPS connection for a shopping cart. I've used $_SERVER['SERVER_PORT'] to check for 443 and it kept on showing up as 80. Does anyone have any idea why this is happening? Is it the server config? I've called the server administrator and he said that it is

Re: [PHP] Problem detecting HTTPS connection

2005-08-09 Thread Marco Tabini
Hello Wee-- That's been discussed a few times on the list. For example: http://beeblex.com/lists/index.php/php.general/190410 Cheers, Marco On 8/9/05 8:59 PM, Wee Keat [EMAIL PROTECTED] wrote: Hi all, I've been struggling to detect HTTPS connection for a shopping cart. I've used

Re: [PHP] Problem detecting HTTPS connection

2005-08-09 Thread Wee Keat
Hi Marco, Thanks for taking the time to answer my questions. Marco Tabini wrote: That's been discussed a few times on the list. For example: http://beeblex.com/lists/index.php/php.general/190410 Yes. I'm truly aware of that and have tried it but to no avail. I've added the code provided in

Re: [PHP] Problem detecting HTTPS connection

2005-08-09 Thread Marco Tabini
On 8/9/05 10:30 PM, Wee Keat [EMAIL PROTECTED] wrote: Hi Marco, Thanks for taking the time to answer my questions. Marco Tabini wrote: That's been discussed a few times on the list. For example: http://beeblex.com/lists/index.php/php.general/190410 Yes. I'm truly aware of that and

Re: [PHP] Problem detecting HTTPS connection

2005-08-09 Thread Wee Keat
Marco Tabini wrote: Unfortunately, I can't seem to be able to connect to your server right now. What server software are you using? I have never heard of this approach not Info: --- Apache-AdvancedExtranetServer/2.0.50 Mandrakelinux/7.2.101mdk mod_ssl/2.0.50 OpenSSL/0.9.7d PHP/4.3.8 The

RE: [PHP] Problem installing in Win2003 Server SP1

2005-07-13 Thread Richard Lynch
On Tue, July 12, 2005 7:49 am, Grosz, Steve (IPG IT) said: I can see the .htm/.html file just fine. So, what settings should I be looking at for the problems with PHP? Are you using PHP as a CGI or as an ISAPI thingie? If it's CGI, then you want to run php.exe from MS-DOS and see what it

RE: [PHP] Problem installing in Win2003 Server SP1

2005-07-12 Thread Grosz, Steve (IPG IT)
I can see the .htm/.html file just fine. So, what settings should I be looking at for the problems with PHP? Steve -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 12:12 AM To: Grosz, Steve (IPG IT) Subject: Re: [PHP] Problem installing

Re: [PHP] Problem serializing a mysqli_result object.

2005-07-11 Thread Richard Lynch
On Thu, July 7, 2005 10:31 pm, Bjarke Freund-Hansen said: Richard Lynch wrote: On Thu, July 7, 2005 12:53 pm, Bjarke Freund-Hansen said: You can't serialize resource objects. Try: serialize($res-fetch_assoc()); I know I can serialize the array fetch_assoc returns, but I really need to

[PHP] Problem installing in Win2003 Server SP1

2005-07-11 Thread Grosz, Steve (IPG IT)
I have been trying for several days to get PHP 4.x installed on my Win2003 SP1 server. I am doing the manual (isapi) install. I modified my php.ini file, I think correctly. And added the extension into IIS6, pointing to the \php directory and the php4isapi.dll file. When I try to view a php

Re: [PHP] Problem serializing a mysqli_result object.

2005-07-08 Thread Jason Barnett
But why are you going to all of that trouble? What does the mysqli_result object have that you really need? If you just need the result set then you can fetch it as an assoc array and serialize that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Problem serializing a mysqli_result object.

2005-07-07 Thread Bjarke Freund-Hansen
Hi Evert|Collab wrote: You can't serialize resource objects. Try: serialize($res-fetch_assoc()); I know I can serialize the array fetch_assoc returns, but I really need to serialize a mysqli_result, so I can feed it to any function expecting a mysqli_result. Are there any alternative way

[PHP] Problem serializing a mysqli_result object.

2005-07-07 Thread Bjarke Freund-Hansen
Hi. I'm having a problem serializing a mysqli_result object, the serialized string contains only an empty object. The code is as following: $sql = new Mysqli(localhost, user, pass, database); $res = $sql-query(SELECT * FROM xxx WHERE `id` = 1); print_r($res-fetch_assoc()); echo \n .

Re: [PHP] Problem serializing a mysqli_result object.

2005-07-07 Thread Richard Lynch
On Thu, July 7, 2005 12:53 pm, Bjarke Freund-Hansen said: You can't serialize resource objects. Try: serialize($res-fetch_assoc()); I know I can serialize the array fetch_assoc returns, but I really need to serialize a mysqli_result, so I can feed it to any function expecting a

Re: [PHP] Problem serializing a mysqli_result object.

2005-07-07 Thread Bjarke Freund-Hansen
Richard Lynch wrote: On Thu, July 7, 2005 12:53 pm, Bjarke Freund-Hansen said: You can't serialize resource objects. Try: serialize($res-fetch_assoc()); I know I can serialize the array fetch_assoc returns, but I really need to serialize a mysqli_result, so I can feed it to any

[PHP] Problem with arrays

2005-06-24 Thread virtualsoftware
Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array ( [0] = 5 [1] = Books

[PHP] Problem with arrays

2005-06-24 Thread virtualsoftware
Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array ( [0] = 5 [1] = Books

[PHP] Problem with arrays

2005-06-24 Thread Jimmy jimmy hoo
Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array ( [0] = 5 [1] = Books

RE: [PHP] Problem with arrays

2005-06-24 Thread Mike Johnson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array (

[PHP] Problem with arrays

2005-06-24 Thread Fannehh DIFF
Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array ( [0] = 5 [1] = Books

Re: [PHP] Problem with arrays

2005-06-24 Thread Bob Winter
Mike Johnson wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, I have 2 arrays: Array ( [0] = Array ( [0] = 28 [1] = Music ) [1] = Array (

Re: [PHP] Problem with arrays

2005-06-24 Thread Josh Olson
for ($i = 0; $i count($array1); i++) $array1[$i][] = $array2[$i]; from kevin l'huillier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with arrays

2005-06-24 Thread Kevin L'Huillier
On 24/06/05, Josh Olson [EMAIL PROTECTED] wrote: for ($i = 0; $i count($array1); i++) $array1[$i][] = $array2[$i]; from kevin l'huillier That's basically what Mike wrote (only with array_push instead of []), and Bob improved upon. And they didn't mix the arrays up. I was only

[PHP] Problem with array

2005-06-17 Thread Ross
As with my previous post the problem is the pieces of the array can vary from 1 to 4 items. So pieces 3 and 4 are often undefined giving the 'undefined index' notice. All I really want to do is display the array pieces if they EXIST. But as they are inside a echo statement so I can't even to a

Re: [PHP] Problem with array

2005-06-17 Thread Rory Browne
Not sure if it works for numeric indices, but maybe you could replace $piece[3] with (array_key_exists(3, $piece) ? $piece[3] : ). If you want you could abstract that into a function, like function array_access_element($key, $srch_array, $def=){ return array_key_exists($key, $srch_array) ?

Re: [PHP] Problem with array

2005-06-17 Thread Rick Emery
Quoting Ross [EMAIL PROTECTED]: As with my previous post the problem is the pieces of the array can vary from 1 to 4 items. So pieces 3 and 4 are often undefined giving the 'undefined index' notice. All I really want to do is display the array pieces if they EXIST. But as they are inside a echo

RE: [PHP] Problem with array

2005-06-17 Thread Leila Lappin
: Friday, June 17, 2005 2:30 PM To: php-general@lists.php.net Subject: Re: [PHP] Problem with array Quoting Ross [EMAIL PROTECTED]: As with my previous post the problem is the pieces of the array can vary from 1 to 4 items. So pieces 3 and 4 are often undefined giving the 'undefined index' notice

[PHP] problem with IE and php

2005-06-08 Thread Philippe Reynolds
Hi all, I running two php web page...therefore the page name has the .php on the end. The first page contains a form with a submit button at the botton. That submit button actions the second .php page. When I use my firefox browser everything works fine. When I use Internet Explorer, the

Re: [PHP] problem with IE and php

2005-06-08 Thread tg-php
PHP doesn't really have anything to do with IE or Firefox working or failing to work, it's all about the HTML that PHP generates. What does your form tag look like? That's probably more the issue than your button or anything having to do with PHP. If you have no form tag, then the browsers

[PHP] problem between IE and PHP

2005-06-08 Thread Philippe Reynolds
Hi all, I'm having a little problem with the interaction between php and IE. I have two .php pages. The first contains a form with the standard submit button. However when I come to push the button, I get a ding sound (standard error sound) and it seems like the button is deactivated.

Re: [PHP] problem with IE and php

2005-06-08 Thread Philippe Reynolds
Hey, yeah I do have form tags. They are the following: form name=NAME method=GET action=Secondpage.php input... /form -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with IE and php

2005-06-08 Thread John Nichel
Philippe Reynolds wrote: Hi all, I running two php web page...therefore the page name has the .php on the end. The first page contains a form with a submit button at the botton. That submit button actions the second .php page. When I use my firefox browser everything works fine. When I use

Re: [PHP] problem with IE and php

2005-06-08 Thread Brent Baisley
Do you have a doctype as the first line of your web page? Standards and browser behavior have changed over the years and the doctype is how you specify which behavior (and bugs) you want the browser to adhere to. Usually when you see some really wierd behavior, it's because of an incorrect or

Re: [PHP] problem with IE and php

2005-06-08 Thread Philippe Reynolds
Acutally, I have just resolved my problem. I was using method=get in my form (which contains at least a hundred values to be passed back). This overloaded the address length and therefore could not and would not action the second page. I switch to method=post in my form (which does not pass

Re: [PHP] problem with IE and php

2005-06-08 Thread Richard Lynch
On Wed, June 8, 2005 11:01 am, Philippe Reynolds said: Acutally, I have just resolved my problem. I was using method=get in my form (which contains at least a hundred values to be passed back). This overloaded the address length and therefore could not and would not action the second page.

Re: [PHP] problem between IE and PHP

2005-06-08 Thread Richard Lynch
On Wed, June 8, 2005 7:53 am, Philippe Reynolds said: I'm having a little problem with the interaction between php and IE. I have two .php pages. Show us the page. The first contains a form with the standard submit button. However when I come to push the button, I get a ding sound

RE: [PHP] Problem With System Call

2005-05-20 Thread Kim Madsen
-Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 4:17 PM No. It's RedHat Fedora Core 3. And? (/etc/selinux/ ;-) It´s a thing that troubles a lot in Feodora3 installations -- Med venlig hilsen / best regards ComX Networks A/S Kim

[PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
I am having the strangest problem using system() or exec() or any variation. None of them work on the Fedora Core 3 system that was just loaded. The PHP is Version 4.3.9 with Apache 2.0.52, the default installation for Fedora Core 3. Everything in PHP works as expected except when trying a

[PHP] problem with multiple fields

2005-05-19 Thread Vinss
sorry for my poor english, i'll try to be understood so i want to represent an informatic parc but have a problem for example a pc can have 2 or more memory slot filled how to stock the different id in a list in my database and how extract it for the moment i just have an external key

RE: [PHP] Problem With System Call

2005-05-19 Thread Kim Madsen
-Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 9:10 AM I am having the strangest problem using system() or exec() or any variation. None of them work on the Fedora Core 3 system that was just loaded. The PHP is Version 4.3.9 with

Re: [PHP] problem with multiple fields

2005-05-19 Thread Tom Rogers
Hi, Thursday, May 19, 2005, 6:07:53 PM, you wrote: V sorry for my poor english, i'll try to be understood V so i want to represent an informatic parc but have a problem V for example a pc can have 2 or more memory slot filled how to stock V the different id in a list in my database and how

Re: [PHP] problem with multiple fields

2005-05-19 Thread Vinss
but in fact for example: pc reception have two memory module but i do the gestion of the individual pieces too for example in a table i have id name ref hs? 1 sdram256 22055 True 2 sdrram512 22056 True so i need to keep the informations of the reference too 2005/5/19, Tom Rogers [EMAIL

Re: [PHP] problem with multiple fields

2005-05-19 Thread Vinss
but don't worry it helps a bit just i don't see how to keep this ref. 2005/5/19, Vinss [EMAIL PROTECTED]: but in fact for example: pc reception have two memory module but i do the gestion of the individual pieces too for example in a table i have id name ref hs? 1 sdram256 22055 True

Re[2]: [PHP] problem with multiple fields

2005-05-19 Thread Tom Rogers
Hi, Thursday, May 19, 2005, 8:12:45 PM, you wrote: V but in fact for example: V pc reception have two memory module but i do the gestion of the individual V pieces too V for example in a table i have V id name ref hs? V 1 sdram256 22055 True V 2 sdrram512 22056 True V so i need to keep the

Re: [PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
No. It's RedHat Fedora Core 3. Michael On 5/19/05, Kim Madsen [EMAIL PROTECTED] wrote: -Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 9:10 AM I am having the strangest problem using system() or exec() or any variation. None

Re: [PHP] Problem With System Call

2005-05-19 Thread Brandon Ryan
I think what Kim is asking is, on your copy of RedHat Fedora Core 3, is are the SELinux security features enabled? On 5/19/05, Michael Stearne [EMAIL PROTECTED] wrote: No. It's RedHat Fedora Core 3. Michael On 5/19/05, Kim Madsen [EMAIL PROTECTED] wrote: -Original Message-

Re: [PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
I noticed that. I don't believe SELinux is installed. Is these known to disable system calls? Thanks, Michael On 5/19/05, Roger B.A. Klorese [EMAIL PROTECTED] wrote: On Thu, 19 May 2005, Michael Stearne wrote: No. It's RedHat Fedora Core 3. SElinux isn't a distribution -- it's a

Re: [PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
Yes, SELinux is enabled by default on Fedora Core 3. So What I did was: setsebool httpd_disable_trans true /etc/init.d/httpd restart That seems to work! It removed all SELinux enhancements to the httpd though. Michael On 5/19/05, Brandon Ryan [EMAIL PROTECTED] wrote: I think what Kim is

[PHP] Problem with an excel file generated with a PHP class

2005-05-16 Thread Jay Blanchard
Hi all, I am getting this error when generating an excel file blah.xls cannot be accessed. The file may be read-only, or you may be trying to access a read-only location. Or, the server the document is stored on may not be responding. I get this error if I click 'Open' in the dialog box, or if

[PHP] problem with file download konqueror-internet explorer

2005-05-16 Thread cima
hi all, i have the following code in a script whereby i send the filename to be downloaded. there is something that´s not working properly depending on the web browser (and probably the Operating system). now im working on php4,postrgesql,apache2 an mandrake 10 with Konqueror as my web browser.

[PHP] Problem with extending classes.

2005-05-13 Thread Shaw, Chris - Accenture
Hello, Been playing around with classes in php5, extending a base class and using a constructor etc.. But I seem to have a problem with getting the variables outside the class. In test1.txt, I cannot anything when I access the public variables for the class. In test2, when I make $contact into

RE: [PHP] Problem with extending classes.

2005-05-13 Thread Kim Madsen
-Original Message- From: Shaw, Chris - Accenture [mailto:[EMAIL PROTECTED] Sent: Friday, May 13, 2005 12:10 PM To: php-general@lists.php.net Subject: [PHP] Problem with extending classes. Have I missed something or is there bugs with extending classes in php5? Does this happen

[PHP] problem with my recursive function

2005-05-13 Thread p80
you can check it out there: http://www.hashmysql.org/paste/viewentry.php?id=249 also here it is: /*I'm trying to display messages on my forum recursively, each message can have answers, the id of the parent post is in parentmessageid, the problem is that it only displays post that don't have

<    5   6   7   8   9   10   11   12   13   14   >