RE: [PHP] Problem on Instalation ~ several module failed to load

2006-01-04 Thread Bagus Nugroho
Sent: Friday, December 09, 2005 10:31 PM To: php-general@lists.php.net Subject: RE: [PHP] Problem on Instalation ~ several module unable to download here is my last list of module which bale to load and unable to load excerpt php.ini extension=php_mbstring.dll ;extension

Re: [PHP] Problem with fopen and sending POST vars

2005-12-20 Thread Silvio Porcellana [tradeOver]
Barry wrote: Hello everyone! I have a problem sending POST vars via fopen. It was possible for me to send some xml data but that's all. Anyone know how to send POST vars? Big probleme here is also that i have to connect via SSL. cURL can be your friend... http://php.net/curl

Re: [PHP] problem: pgsql (unicode) = php5 = HTML (iso-8859-1)

2005-12-20 Thread David Grant
Michelle, Michelle Konzack wrote: Please can anyone tell me the right META (???) Tag to get Motilla right to UNICODE? Try: meta http-equiv=Content-Type content=text/html; charset=UTF-8 Cheers, David -- David Grant http://www.grant.org.uk/ -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] problem: pgsql (unicode) = php5 = HTML (iso-8859-1)

2005-12-20 Thread Jochem Maas
Michelle Konzack wrote: Hello, my PostgreSQL stores all data in UNICODE and now if I connect via Webbrowser to my Database my webpages are detected as ISO-8859-1. For each Page I must select View-Character Encoding-Unicode (UTF8). Please can anyone tell me the right META (???) Tag to get

Re: [PHP] Problem with fopen and sending POST vars

2005-12-20 Thread Barry
Silvio Porcellana [tradeOver] wrote: Barry wrote: I have a problem sending POST vars via fopen. It was possible for me to send some xml data but that's all. Anyone know how to send POST vars? Big probleme here is also that i have to connect via SSL. cURL can be your friend...

Re: [PHP] Problem with fopen and sending POST vars

2005-12-20 Thread tg-php
There are a couple examples of manually sending POST data via fsockopen() on: http://us2.php.net/manual/en/function.fsockopen.php Basically the stucture is the same as URL GET variables but you have to send the header data manually and set content-type to application/x-www-form-urlencoded.

RE: [PHP] Problem on Instalation ~ several module unable to downl oad

2005-12-17 Thread Bagus Nugroho
[mailto:[EMAIL PROTECTED] Sent: Sat 10-Dec-2005 04:14 To: Bagus Nugroho; php-general@lists.php.net Subject: RE: [PHP] Problem on Instalation ~ several module unable to downl oad [snip] Yes, all requested module is put on same folder which module which succesfully load. But, I don't understand

Re: [PHP] Problem: Distortion while saving text file.

2005-12-14 Thread David Grant
Could it be the other way around, i.e. Windows is stripping slashes, and Linux is not? How does $contents come to exist in the script? Check for any difference in your ini files for magic_quotes_runtime. Cheers, David Grant Janne Miettunen wrote: What could be wrong when this is transformed:

RE: [PHP] Problem on Instalation ~ several module unable to download

2005-12-09 Thread Bagus Nugroho
here is my last list of module which bale to load and unable to load excerpt php.ini extension=php_mbstring.dll ;extension=php_bz2.dll extension=php_cpdf.dll ;extension=php_curl.dll extension=php_dba.dll extension=php_dbase.dll extension=php_dbx.dll ;extension=php_exif.dll

RE: [PHP] Problem on Instalation ~ several module unable to downl oad

2005-12-09 Thread Jay Blanchard
[snip] here is my last list of module which bale to load and unable to load excerpt php.ini extension=php_mbstring.dll ;extension=php_bz2.dll extension=php_cpdf.dll ;extension=php_curl.dll extension=php_dba.dll extension=php_dbase.dll extension=php_dbx.dll

RE: [PHP] Problem on Instalation ~ several module unable to download

2005-12-09 Thread Bagus Nugroho
From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Fri 09-Dec-2005 22:36 To: Bagus Nugroho; php-general@lists.php.net Subject: RE: [PHP] Problem on Instalation ~ several module unable to download [snip] here is my last list of module which bale to load and unable to load excerpt php.ini

RE: [PHP] Problem on Instalation ~ several module unable to downl oad

2005-12-09 Thread Jay Blanchard
[snip] It's done ... But it was create errror like this PHP Startup: unable to load dynamic library 'c:\php\ext\php_mysqli.dll' - The specified module could not found. I was re-check to ensure php_mysqli.dll is on c:\php\ext and used from same source... [/snip] Any of the modules that you want

RE: [PHP] Problem on Instalation ~ several module unable to download

2005-12-09 Thread Bagus Nugroho
:06 To: Bagus Nugroho; Jay Blanchard; php-general@lists.php.net Subject: RE: [PHP] Problem on Instalation ~ several module unable to download [snip] It's done ... But it was create errror like this PHP Startup: unable to load dynamic library 'c:\php\ext\php_mysqli.dll' - The specified module

RE: [PHP] Problem on Instalation ~ several module unable to downl oad

2005-12-09 Thread Jay Blanchard
[snip] Yes, all requested module is put on same folder which module which succesfully load. But, I don't understand why they say the module is not found? [/snip] What operating system are you using? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Problem on Instalation ~ several module unable to downl oad

2005-12-09 Thread Jay Blanchard
[snip] Yes, all requested module is put on same folder which module which succesfully load. But, I don't understand why they say the module is not found? What operating system are you using? {/snip] Sorry, found the original post. Can you send the snippet for the php.ini where you set the

Re: [PHP] Problem with Frames and Sessions

2005-11-29 Thread Brent Baisley
Frames are just nested windows, the server can't tell the difference between a page requested from a frame or a separate window and you should treat them as such. So if your frame was created before a session was created, it's not part of the session. On Nov 28, 2005, at 6:52 PM, Shaun

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Łukasz Hejnak
Hello again, here's some more extra info on my case that came out while Suhas Pharkute was helping me find a resolution: So the safe-mode is off, that's for sure, I turned it off at compile stage. I delete the file after each run of the script, the folder where the script is located has 777

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Brian V Bonini
On Sun, 2005-11-20 at 05:44, Łukasz Hejnak wrote: Hello again, here's some more extra info on my case that came out while Suhas Pharkute was helping me find a resolution: So the safe-mode is off, that's for sure, I turned it off at compile stage. I delete the file after each run of the

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Łukasz Hejnak
Brian V Bonini napisał(a): You are saying: From the CLI you can write to a file all day long, no prob. Yes, the shell command php test.php works fine when executed as root (any other user has the same problem as from the web) From the web, if the file does not exist it is created, however, no

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Curt Zirzow
On Sun, Nov 20, 2005 at 03:38:56PM +0100, ukasz Hejnak wrote: Brian V Bonini napisa�(a): You are saying: From the CLI you can write to a file all day long, no prob. Yes, the shell command php test.php works fine when executed as root (any other user has the same problem as from the web) From

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Suhas
This is not a disk usage as it works when script is run from terminal as su\ Suhas On 11/20/05, Curt Zirzow [EMAIL PROTECTED] wrote: On Sun, Nov 20, 2005 at 03:38:56PM +0100, ukasz Hejnak wrote: Brian V Bonini napisa�(a): You are saying: From the CLI you can write to a file all day long,

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Curt Zirzow
On Sun, Nov 20, 2005 at 09:26:15AM -0700, Suhas wrote: This is not a disk usage as it works when script is run from terminal as su\ root can break the 100% barrier, it usually can get around 110%. [EMAIL PROTECTED]:/tmp df -h /tmp Filesystem SizeUsed Avail Capacity Mounted on

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Suhas
thanks, never thought about that. Suhas On 11/20/05, Curt Zirzow [EMAIL PROTECTED] wrote: On Sun, Nov 20, 2005 at 09:26:15AM -0700, Suhas wrote: This is not a disk usage as it works when script is run from terminal as su\ root can break the 100% barrier, it usually can get around 110%.

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Brian V Bonini
On Sun, 2005-11-20 at 09:38, Łukasz Hejnak wrote: Brian V Bonini napisał(a): You are saying: From the CLI you can write to a file all day long, no prob. Yes, the shell command php test.php works fine when executed as root (any other user has the same problem as from the web) From the web,

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Łukasz Hejnak
Brian V Bonini napisał(a): What does 'df -h' say on your system? !!! The simplest of all is the most unforseen.. Wow. that's it ;) I NEVER EVEN Imagined to check for that, in fact that _IS_ the thing. I feel so totaly stupid right now, I checked everything except this, although I think the

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-19 Thread Łukasz Hejnak
Hello again, some extra info on my case: the fwrite is completely fine, when fopen is in 'a' mode! Thus leading to a temporary workaround like this: $file = /wwwroot/file $countt = explode(., fread(fopen($file,r), filesize($file))); $count=$countt[1]; $count++; $handle=fopen($file,a);

Re: [PHP] Problem with Regexp

2005-10-31 Thread Richard Heyes
Yannick Mortier wrote: Hello, I have the string: trtdimg src=http://www.runescape.com/img/hiscores/attack.gif; valign=bottom width=16 height=16 //tdtdnbsp;/tdtda href=hiscoreuser.cgi?username=zezimacategory=1 class=cAttack/a/tdtd align=right4/tdtd align=right99/tdtd

Re: [PHP] Problem with Regexp

2005-10-31 Thread Richard Lynch
On Mon, October 31, 2005 9:27 am, Yannick Mortier wrote: trtdimg src=http://www.runescape.com/img/hiscores/attack.gif; valign=bottom width=16 height=16 //tdtdnbsp;/tdtda href=hiscoreuser.cgi?username=zezimacategory=1 class=cAttack/a/tdtd align=right4/tdtd align=right99/tdtd

Re: [PHP] Problem with Regexp

2005-10-31 Thread Yannick Mortier
Richard Heyes schrieb: Yannick Mortier wrote: Hello, I have the string: trtdimg src=http://www.runescape.com/img/hiscores/attack.gif; valign=bottom width=16 height=16 //tdtdnbsp;/tdtda href=hiscoreuser.cgi?username=zezimacategory=1 class=cAttack/a/tdtd align=right4/tdtd

RE: [PHP] Problem reading SimpleXML array NOT SOLVED but NO LONGER A PROBLEM

2005-10-25 Thread George Pitcher
Subject: Re: [PHP] Problem reading SimpleXML array Richard, I'm guessing you haven't played with simpleXML ... (apologies inadvance for any/all mistakes :-) chances are the var_dump() pointer you gave (which under normal circumstances would be spot on) will probably lead to more confusion

Re: [PHP] Problem reading SimpleXML array

2005-10-24 Thread Richard Lynch
On Mon, October 24, 2005 3:50 am, George Pitcher wrote: Hi, I'm having a problem reading an xml feed. This is my object: SimpleXMLElement Object ( [Header] = SimpleXMLElement Object ( [ID] = FX12GB [Test] = false [Name] = Foreign Exchange

Re: [PHP] Problem reading SimpleXML array

2005-10-24 Thread Jochem Maas
Richard, I'm guessing you haven't played with simpleXML ... (apologies inadvance for any/all mistakes :-) chances are the var_dump() pointer you gave (which under normal circumstances would be spot on) will probably lead to more confusion. to put it lightly SimpleXML doesn't lend itself to

Re: [PHP] Problem with special chars.

2005-10-14 Thread Jochem Maas
Erfan Shirazi wrote: Hi all I have some problems when I make a string containing the following Malmö, Asunción to capital letters and then save it to a file. I use the following to make it to capital letters: $msg = mb_strtoupper($msg, HTML-ENTITIES); ^- you

Re: [PHP] Problem with special chars.

2005-10-14 Thread Erfan Shirazi
The problem is if I don't specify and encoding even an echo() on the string shows strange chars when I have made a mb_strtoupper() on the string. With HTML-ENTITIES at least it looked ok when you made an echo() but when saved in file it looks bad. Does anybody now what I can do in order to

Re: [PHP] Problem with special chars.

2005-10-14 Thread Jochem Maas
Erfan Shirazi wrote: The problem is if I don't specify and encoding even an echo() on the specify a different encoding if you don't want html entities. string shows strange chars when I have made a mb_strtoupper() on the string. With HTML-ENTITIES at least it looked ok when you made an

Re: [PHP] Problem with special chars.

2005-10-14 Thread Erfan Shirazi
I have tried every encoding which could be found in: http://www.php.net/manual/en/ref.mbstring.php But nothing seems to work, I don't have any problems displaying the funny chars in the browsers, there are some encodings which works fine for that, the problem is when I save it to a file using

Re: [PHP] Problem with Javascript:...submit()

2005-10-13 Thread Jasper Bryant-Greene
Johan Grobler wrote: while ($row = mysql_fetch_array($sql_result)) { echoForm name=\.$row['LITERATURE_title'].\ action=\searchlit.php\ method=\post\ font face=\arial\ size=\2\ a href=\javascript:.$row['LITERATURE_title']..submit();\ .$row['LITERATURE_title']. - .$row['res_fname'].

Re: [PHP] Problem with Javascript:...submit()

2005-10-13 Thread Minuk Choi
I'm just taking a wild guess... but I'm guessing that if you set a name with spaces, it'll be replaced with _(underscore). A couple of ways around this is to 1) figure out a way to assign a one-word name for all your books(e.g. Code, ID number, etc.) 2) generate a hash code(e.g.

Re: [PHP] Problem with Javascript:...submit()

2005-10-13 Thread Stephen Leaf
On Thursday 13 October 2005 01:13 am, Johan Grobler wrote: while ($row = mysql_fetch_array($sql_result)) { echoForm name=\.$row['LITERATURE_title'].\ action=\searchlit.php\ method=\post\ font face=\arial\ size=\2\ a href=\javascript:.$row['LITERATURE_title']..submit();\

Re: [PHP] Problem with Javascript:...submit()

2005-10-13 Thread Jochem Maas
Stephen Leaf wrote: On Thursday 13 October 2005 01:13 am, Johan Grobler wrote: while ($row = mysql_fetch_array($sql_result)) { echoForm name=\.$row['LITERATURE_title'].\ action=\searchlit.php\ method=\post\ font face=\arial\ size=\2\ a href=\javascript:.$row['LITERATURE_title']..submit();\

Re: [PHP] Problem w/ Hidden Input Fields

2005-10-11 Thread Jochem Maas
Jason Ferguson wrote: Jochem, Thanks for the response. I actually solved the problem a few days ago... I'm suprised this message never went out to the list until today. I actually WANTED one to override the other in this case. The user should be able to choose one of the default radio buttons

RE: [PHP] Problem w/ Hidden Input Fields

2005-10-11 Thread Kim Madsen
Hello -Original Message- From: Jason Ferguson [mailto:[EMAIL PROTECTED] Sent: Sunday, October 09, 2005 5:55 PM To: php-general@lists.php.net Subject: [PHP] Problem w/ Hidden Input Fields I have a input type=hidden field with a value 86 characters long. Here is the entire form:

Re: [PHP] Problem w/ Hidden Input Fields

2005-10-10 Thread Jochem Maas
hi Jason, Jason Ferguson wrote: I have a input type=hidden field with a value 86 characters long. Here is the entire form: form name=frmWizard id=frmWizard method=post action= table tr

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

2005-09-26 Thread Frank Arensmeier
Hello. For your information: It seems to me that the misbehaviour of Explorer is neither related to the PHP script itself, nor it is related to the PDF file created by the script. The basic problem is that Apache is actually sending a header with a 404 - file not found status code message.

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

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

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

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

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

2005-09-02 Thread Gustav Wiberg
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-general@lists.php.net Sent: Saturday, September 03, 2005

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 =

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

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

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

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

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

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

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

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

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

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

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

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 (

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

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

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

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

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

<    2   3   4   5   6   7   8   9   10   11   >