[PHP] NuSOAP - HTTPS

2006-03-21 Thread Peter Lauri
Hi, I have installed the NuSoap and it works fine with small tests using HTTP. My real application needs to connect via HTTPS, and it does not work. It returns error that I need CURL or OpenSSL for it to work with HTTPS. I am not an expert in configuring PHP, I always get stuck. The website

Re: [PHP] no newline after ? in the resulting HTML

2006-03-21 Thread Rostislav Krasny
On Mon, 20 Mar 2006 17:51:32 -0600 (CST) [EMAIL PROTECTED] (Richard Lynch) wrote: On Sat, March 18, 2006 12:36 pm, Rostislav Krasny wrote: pHello World/p /body pHello World/p/body Why there is no newline afer pHello World/p ? Is it a PHP bug or the tutorial should be updated?

Re: [PHP] no newline after ? in the resulting HTML

2006-03-21 Thread Andrei
Really I think it would be loosing time documenting that you can put a new line after ?! I mean it's obvious that what's outside php tags will be printed rite? Andy Rostislav Krasny wrote: On Mon, 20 Mar 2006 17:51:32 -0600 (CST) [EMAIL PROTECTED] (Richard Lynch) wrote: On Sat, March 18,

Re: [PHP] no newline after ? in the resulting HTML

2006-03-21 Thread Rostislav Krasny
On Tue, 21 Mar 2006 10:38:47 +0200 [EMAIL PROTECTED] (Andrei) wrote: Really I think it would be loosing time documenting that you can put a new line after ?! I mean it's obvious that what's outside php tags will be printed rite? Andy You can put anything after ? but if you put a newline,

[PHP] Re: Retrieve large amounts of binary data from MySQL database in pieces

2006-03-21 Thread Barry
Michael Thomsen wrote: Hi, I was wondering if anyone knew how to retrieve large amounts of binary data from a MySQL database without having it loaded all at once into a PHP data structure. I'd like to be able to iterate over the result, pulling out 16kb or so of data at a time and feed it to the

Re: [PHP] NuSOAP - HTTPS

2006-03-21 Thread chris smith
On 3/21/06, Peter Lauri [EMAIL PROTECTED] wrote: Hi, I have installed the NuSoap and it works fine with small tests using HTTP. My real application needs to connect via HTTPS, and it does not work. It returns error that I need CURL or OpenSSL for it to work with HTTPS. I am not an expert in

[PHP] Re: dunk $25 shipped

2006-03-21 Thread Barry
2006-03-21 13:10:27 wrote: This is a kind business letter,if bothered you,pls send your email to us,we will sure cancled your email address from our email list. How stupid are you? You are Posting to a MAILING LIST, idiot ... www.loveinfashion.com email and msn: [EMAIL PROTECTED]

[PHP] Re: is there a guide for pda friendly web pages

2006-03-21 Thread Barry
Rick Lim wrote: is there a guide for pda friendly web pages. Yeah there is one. -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: is there a guide for pda friendly web pages

2006-03-21 Thread Matt Richards
Rick Lim wrote: is there a guide for pda friendly web pages. Yeah there is one. lol, would you like to tell us where its located please? -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Get class name in static method

2006-03-21 Thread Rafael
Yeap, that's the method we're using in PHP4, but when we tried to change to PHP5 we found out that the behaviour of debug_backtrace() had changed, and it's (was?) not even documented (well done, don't you think) And we haven't found any issue with this solution (...in PHP4)

RE: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Dan Parry
[snip] $conn=mysql_connect( );/*with the required parameters*/ if(!conn) { [/snip] You are testing conn in your if condition... should that not be $conn? Dan - Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
- Original Message - From: Thorsten Suckow-Homberg [EMAIL PROTECTED] To: sathyashrayan [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, March 21, 2006 6:00 PM Subject: Re: [PHP] Inserting data at runtime (php,mysql) The connection is successful but the data are not

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
- Original Message - From: Dan Parry [EMAIL PROTECTED] To: 'sathyashrayan' [EMAIL PROTECTED]; php-general@lists.php.net Sent: Tuesday, March 21, 2006 6:12 PM Subject: RE: [PHP] Inserting data at runtime (php,mysql) [snip] $conn=mysql_connect( );/*with the required parameters*/

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
Yes it is a error.Thanks. - Original Message - From: Dave Goodchild To: sathyashrayan Sent: Tuesday, March 21, 2006 6:16 PM Subject: Re: [PHP] Inserting data at runtime (php,mysql) Yes, but it should be $conn, not conn. There is no $ in front of the variable name...

Re: [PHP] Re: Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
- Original Message - From: João Cândido de Souza Neto [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, March 21, 2006 5:54 PM Subject: [PHP] Re: Inserting data at runtime (php,mysql) It gives you any error? No the data are not getting inserted. -- PHP General

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Robin Vickery
On 21/03/06, sathyashrayan [EMAIL PROTECTED] wrote: - Original Message - From: Dan Parry [EMAIL PROTECTED] To: 'sathyashrayan' [EMAIL PROTECTED]; php-general@lists.php.net Sent: Tuesday, March 21, 2006 6:12 PM Subject: RE: [PHP] Inserting data at runtime (php,mysql) [snip]

RE: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Dan Parry
conn denotes a constant where the value you are assigning is to the variable $conn [snip] $conn=mysql_connect( );/*with the required parameters*/ if(!conn) [/snip] Depending on your error level this may evaluate to TRUE creating a false positive Or am I wrong? Dan

Re: [PHP] Will PHP6 have threads (yet)?

2006-03-21 Thread David Tulloh
Daevid Vincent wrote: It would be fantastic if PHP 6 was multi-threaded so you could spin threads to do simultaneous tasks. Is there any plans for this? I think that this was last dicussed in December http://www.zend.com/zend/week/week266.php#Heading5, the conclusion was no. For simultaneous

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
- Original Message - From: Dan Parry [EMAIL PROTECTED] To: 'sathyashrayan' [EMAIL PROTECTED]; php-general@lists.php.net Sent: Tuesday, March 21, 2006 6:19 PM Subject: RE: [PHP] Inserting data at runtime (php,mysql) conn denotes a constant where the value you are assigning is to the

[PHP] Re: Inserting data at runtime (php,mysql)

2006-03-21 Thread João Cândido de Souza Neto
It gives you any error? sathyashrayan wrote: I have given a task to create a site which is a clone of www.onelook.com. As a first stage I have downloaded a list of English words (only words not meaning) in a text format. I have created a data structure in the mysql database. And wrote

[PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
I have given a task to create a site which is a clone of www.onelook.com. As a first stage I have downloaded a list of English words (only words not meaning) in a text format. I have created a data structure in the mysql database. And wrote the following code to insert data into the table

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Thorsten Suckow-Homberg
The connection is successful but the data are not getting inserted into the table. I need to insert all the words into the table. When I change the insert statement with one insert at a time, I can insert values to the database. For exampel: $qure = INSERT INTO dict VALUES (1,'apple'); Do

RE: [PHP] Accessing data posted from a different URL

2006-03-21 Thread Jay Blanchard
[snip] If the form is submitted from a web browser, the POSTed data IS available/visible (print_r) in the new web page. If the form--that is, any form--is submitted from an email client (any email client), the POSTed data IS NOT available/visible in the new web page. So... I can think of

[PHP] Re: PDFLib or some free solution?

2006-03-21 Thread Barry
[EMAIL PROTECTED] wrote: Hi, I have to create some flyers and invoices (simple stuff) in one my project. On php.net/pdf is mentioned PDFLib, but I know there is a free solution too. It's commercial and can't have PDFLib for free. My questions are: - Is really $450 for PDFLib worth comparing to

Re: [PHP] PDFLib or some free solution?

2006-03-21 Thread Pure Web Solution
Hi I have used fpdf quite a lot (http://www.fpdf.org) and have been really impressed with its performance. There are plenty of example scripts on their website and i think you can use it comercially for free although you will have to check that one out. Regards Pure Web Solution

RE: [PHP] Re: is there a guide for pda friendly web pages

2006-03-21 Thread Jay Blanchard
[snip] is there a guide for pda friendly web pages. Yeah there is one. lol, would you like to tell us where its located please? [/snip] On the Internet. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDFLib or some free solution?

2006-03-21 Thread afan
As I said in prev post, there is a problem with converting HTML to PDF: FAQ 19. Can I convert an HTML page to PDF with FPDF? Not real-world pages. But a GPL C utility does exist, htmldoc, which allows to do it and gives good results: http://www.htmldoc.org Does it has anything with building

Re: [PHP] Re: is there a guide for pda friendly web pages

2006-03-21 Thread Barry
Matt Richards wrote: Rick Lim wrote: is there a guide for pda friendly web pages. Yeah there is one. lol, would you like to tell us where its located please? oN tHe InterNeTz! Really... be more specific and probably we also be. Greets Barry -- Smileys rule (cX.x)C --o(^_^o)

[PHP] PDFLib or some free solution?

2006-03-21 Thread afan
Hi, I have to create some flyers and invoices (simple stuff) in one my project. On php.net/pdf is mentioned PDFLib, but I know there is a free solution too. It's commercial and can't have PDFLib for free. My questions are: - Is really $450 for PDFLib worth comparing to free solution? (I need for

Re: [PHP] Re: dunk $25 shipped

2006-03-21 Thread Barry
John Nichel wrote: Barry wrote: 2006-03-21 13:10:27 wrote: This is a kind business letter,if bothered you,pls send your email to us,we will sure cancled your email address from our email list. How stupid are you? You are Posting to a MAILING LIST, idiot ... I'm betting the bot isn't

Re: [PHP] PDFLib or some free solution?

2006-03-21 Thread Pure Web Solution
Results may well vary Depending on the complexity of the html pages, but have you tried using the example script 'HTML Conversion'? you could modify this/expand it to fit your needs. worth a try i would of thought. Pure Web Solution http://www.purewebsolution.co.uk PHP, MYSQL, Web Design Web

Re: [PHP] Re: dunk $25 shipped

2006-03-21 Thread John Nichel
Barry wrote: 2006-03-21 13:10:27 wrote: This is a kind business letter,if bothered you,pls send your email to us,we will sure cancled your email address from our email list. How stupid are you? You are Posting to a MAILING LIST, idiot ... I'm betting the bot isn't reading your reply. --

[PHP] session vars

2006-03-21 Thread João Cândido de Souza Neto
Hipeople. I've a system where i use session and all is working fine. But has something that don't work and i can't to find the cause. When a use the include function, the file included don't see the session vars. Anyone knows why it's happen? Thanks. --

Re: [PHP] session vars

2006-03-21 Thread tedd
Hipeople. I've a system where i use session and all is working fine. But has something that don't work and i can't to find the cause. When a use the include function, the file included don't see the session vars. Anyone knows why it's happen? Thanks. --

Re: [PHP] is there a guide for pda friendly web pages

2006-03-21 Thread tedd
is there a guide for pda friendly web pages. Rick: After all the ribbing (after all your's is a CSS question to a PHP list) -- but, you might try: http://www.w3.org/TR/css-mobile http://www.w3.org/2004/09/mwi-workshop-cfp.html http://www.webmonkey.com//04/12/index4a.html

Re: [PHP] session vars

2006-03-21 Thread Warren Vail
Sessions only have access to Global Vars. http://us3.php.net/manual/en/ref.session.php I understand it's because the local vars inside a function are free'd when you exit the function, and the actual post to the session record occurs during script wrappup operations, long after exiting the

RE: [PHP] Re: Accessing data posted from a different URL

2006-03-21 Thread tedd
[snip] Okay, I'm sorry. Dude, you touched a soft spot. It's important, to me, that people respect standards. The wealth of information and communication possibilities that exist today is, in no small part, fueled by the adoption of international standards. [/snip] That's cool. As far as web

[PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
João Cândido de Souza Neto wrote: Hipeople. I've a system where i use session and all is working fine. But has something that don't work and i can't to find the cause. When a use the include function, the file included don't see the session vars. Anyone knows why it's happen?

RE: [PHP] Re: session vars

2006-03-21 Thread Shaunak Kashyap
Where and how is $_SESSION[root] being initialized? Try outputting it's value right after it is initialized and see if that works successfully. Then try and output it's value right before the include(top.php) statement and see if that works successfully. Finally, try and output it inside

RE: [PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
Shaunak Kashyap wrote: Where and how is $_SESSION[root] being initialized? Try outputting it's value right after it is initialized and see if that works successfully. Then try and output it's value right before the include(top.php) statement and see if that works successfully.

[PHP] Re: Accessing data posted from a different URL

2006-03-21 Thread Norbert Wenzel
Manuel Lemos wrote: For instance, if you use method=post because XHTML specification says everything should be in lower case, you will have problems with some browsers and e-mail programs that only accept POST in upper case and fallback to GET when they find something else. i would call that a

Re: [PHP] Re: session vars

2006-03-21 Thread Chris Shiflett
João Cândido de Souza Neto wrote: I tried it yet, if a put a echo $_SESSION[root] before or after the include, it works fine, it doesn't work in the file top.php. Show us the code. What you're describing should not be possible. Chris -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
Chris Shiflett wrote: João Cândido de Souza Neto wrote: I tried it yet, if a put a echo $_SESSION[root] before or after the include, it works fine, it doesn't work in the file top.php. Show us the code. What you're describing should not be possible. Chris Here's the original message:

Re: [PHP] Re: PDFLib or some free solution?

2006-03-21 Thread Andy
I suggest also www.fpdf.org. You have there a lot of examples... Regards. - Original Message - From: Barry [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, March 21, 2006 4:26 PM Subject: [PHP] Re: PDFLib or some free solution? [EMAIL PROTECTED] wrote: Hi, I have to

[PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread jonathan
I'm interested in creating an xml doc from my php5/mysql 4.1 app. I'm using PHP's DOM functions to create the xml file. Some of the text fields now have well-formed html embedded in them. When I do a $dom-createElement('item_name', $clean_slot), it encodes the values to lt;bgt; for b. How

RE: [PHP] Re: Accessing data posted from a different URL

2006-03-21 Thread Jay Blanchard
[snip] [snip] Okay, I'm sorry. Dude, you touched a soft spot. It's important, to me, that people respect standards. The wealth of information and communication possibilities that exist today is, in no small part, fueled by the adoption of international standards. [/snip] That's cool. As far

Re: [PHP] Re: session vars

2006-03-21 Thread Chris Shiflett
João Cândido de Souza Neto wrote: Show us the code. ... Some codes ... That doesn't count. :-) You're describing a situation that I seriously doubt is reflected in your code. Reduce the problem to the simplest example you possibly can, and then show us the code. Chris -- PHP General

Re: [PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread Anthony Ettinger
saveHTML();? instead of saveXML(); On 3/21/06, jonathan [EMAIL PROTECTED] wrote: I'm interested in creating an xml doc from my php5/mysql 4.1 app. I'm using PHP's DOM functions to create the xml file. Some of the text fields now have well-formed html embedded in them. When I do a

Re: [PHP] is there a guide for pda friendly web pages

2006-03-21 Thread Anthony Ettinger
xsl-fo On 3/21/06, tedd [EMAIL PROTECTED] wrote: is there a guide for pda friendly web pages. Rick: After all the ribbing (after all your's is a CSS question to a PHP list) -- but, you might try: http://www.w3.org/TR/css-mobile http://www.w3.org/2004/09/mwi-workshop-cfp.html

Re: [PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
Chris Shiflett wrote: João Cândido de Souza Neto wrote: Show us the code. ... Some codes ... That doesn't count. :-) You're describing a situation that I seriously doubt is reflected in your code. Reduce the problem to the simplest example you possibly can, and then show us the

RE: [PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread Weber Sites LTD
Not sure how to directly help but have a look at these code examples that Use createElement, maybe you can get the idea from that. http://www.weberdev.com/AdvancedSearch.php?example=createElementsearchtype= examplesort=submit_date+descsearch=category=date=page=1secondary=Sear

RE: [PHP] Re: PDFLib or some free solution?

2006-03-21 Thread Brady Mitchell
-Original Message- [EMAIL PROTECTED] wrote: Hi, I have to create some flyers and invoices (simple stuff) in one my project. Could you please give me some directions? Take a look at http://ros.co.nz/pdf/. It hasn't been updated for awhile, but it works great as is. I'm using it

Re: [PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread Anthony Ettinger
...or you may have to decode the html entities first. On 3/21/06, Anthony Ettinger [EMAIL PROTECTED] wrote: saveHTML();? instead of saveXML(); On 3/21/06, jonathan [EMAIL PROTECTED] wrote: I'm interested in creating an xml doc from my php5/mysql 4.1 app. I'm using PHP's DOM functions to

RE: [PHP] PDFLib or some free solution?

2006-03-21 Thread Brady Mitchell
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 7:27 AM To: Pure Web Solution Cc: [EMAIL PROTECTED]; php-general@lists.php.net Subject: Re: [PHP] PDFLib or some free solution? As I said in prev post, there is a problem with

Re: [PHP] Re: PDFLib or some free solution?

2006-03-21 Thread Andy
I used this solution at the beginning. It seemed very flexible, but at the end it wasn't. And for 3 years there are no... updates made(I think). So... I switched to fpdf.org which is very nice and easy to use. Also additional classes are supported and they suit for a lot of needs. BUT if you

RE: [PHP] Re: Accessing data posted from a different URL

2006-03-21 Thread tedd
I agree, but no one is laying standards on M$ -- they do whatever the hell they want -- and that's one of the reasons there are so many differences between browsers, especially theirs. I understand why IE6 has about 60 percent of the users, but FireFox is gaining fast at 25 percent last month

RE: [PHP] Re: session vars

2006-03-21 Thread Shaunak Kashyap
-Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 11:26 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: session vars This code's exactly the one that produce the error. That is, in the line: a href=? echo

Re: [PHP] Re: PDFLib or some free solution?

2006-03-21 Thread Anas Mughal
ezPDF (http://www.ros.co.nz/pdf/) worked well for me so far. Sadly, the code has been updated for a while now! Here is a sample: http://216.120.247.247/prod/prayerScheduleAsPDF.php?zip=08902year=2006month=3 http://islamicvalley.com/prod/prayerScheduleAsPDF.php?zip=08902year=2006month=3 On

RE: [PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
Shaunak Kashyap wrote: -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 11:26 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: session vars This code's exactly the one that produce the error. That is, in the

RE: [PHP] Re: Accessing data posted from a different URL

2006-03-21 Thread Jay Blanchard
[snip] Yeah, and I still have the 3.5 inch disks of other browsers that preceded Netscape -- but, that's not the point. The point is that M$ will not bow down to w3c, or any other standard set, unless it's proved to them it's in their best interest to do so. As is it now, they still can rain

Re: [PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread jonathan
saveHTML() doesn't change the behavior. regarding decoding the entities, that would normally take place on the client but that is something that I have no control over. is there some way to set a global preserve entities when creating the document? ughh -jonathan On Mar 21, 2006,

RE: [PHP] Re: session vars

2006-03-21 Thread tedd
Hi: I hate this. Ok guy, don't fight with me. hehehe Follow's all code of files. Yeah ! Where's rodape.php ? If we're going to spend our time looking at your code, shouldn't you spend the time to provide all of it? tedd --

Re: [PHP] Re: PDFLib or some free solution?

2006-03-21 Thread Austin Denyer
Anas Mughal wrote: ezPDF (http://www.ros.co.nz/pdf/) worked well for me so far. Sadly, the code has been updated for a while now! I second the vote for ezPDF. I use it here, and it works great. Regards, Ozz. signature.asc Description: OpenPGP digital signature

[PHP] Advice updating MS Access data to remote MySQL host that only allows local access

2006-03-21 Thread Brian Anderson
I wonder if anyone has any ideas? As I can't just run an update locally and connect to the remote MySQL host, I was scheduling a periodic export of an access table to csv format, ftping it to the server, and then running an update script on the remote host (simplehost.com). It just seems

Re: [PHP] Re: session vars

2006-03-21 Thread John Nichel
João Cândido de Souza Neto wrote: Chris Shiflett wrote: João Cândido de Souza Neto wrote: Show us the code. ... Some codes ... That doesn't count. :-) You're describing a situation that I seriously doubt is reflected in your code. Reduce the problem to the simplest example you possibly

[PHP] Standalone PHP Web apps procmail interface

2006-03-21 Thread Reuben D. Budiardja
Hello, Does anyone know any standalone PHP web apps that can read/write/edit procmail filter ? Even if it only supports a subset of all the procmail capabilities, the app would be pretty useful to me. Mostly our users would just need to filter mails based on header to separate IMAP folders.

RE: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Brady Mitchell
-Original Message- I wonder if anyone has any ideas? As I can't just run an update locally and connect to the remote MySQL host, I was scheduling a periodic export of an access table to csv format, ftping it to the server, and then running an update script on the remote host

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Brian Anderson
Yeah, I thought of that, but how do I connect to a mdb file on a linux server that doesn't have odbc installed? Brady Mitchell wrote: -Original Message- I wonder if anyone has any ideas? As I can't just run an update locally and connect to the remote MySQL host, I was scheduling a

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Brian Anderson
The only other thing that I can think to do is to try locally write a .sql file and ftp that for updating because MS Excel format csv is making me want to kill myself. -Brian Brian Anderson wrote: Yeah, I thought of that, but how do I connect to a mdb file on a linux server that doesn't have

[PHP] Function-returning array { OR } declare array at top of functions file?

2006-03-21 Thread Michael Hulse
Hi, I just wanted to know if it is wrong, or non-standard, for me to set-up functions that just return an array... example: function vert_links_array(): function vert_links_array() { return array( '1' = array(S_MANCOM,'start.php?page=productsamp;

[PHP] Is there a way to get multiple values for a single input in a form submission?

2006-03-21 Thread mslemko
this is what I am trying to do: On a web form I might have a select input with multiple selections enabled, however I want to have access to the list within PHP after submission. select multiple='true' name='myselect' option value='1'1/option option value='2'2/option /select so when this

Re: [PHP] Is there a way to get multiple values for a single input in a form submission?

2006-03-21 Thread Warren Vail
Set the name of your field in html to be; name=myselect[] that way when the form is returned to you each selected value is returned to you, for example if you code $choices = $_POST[myselect]; choices will be an array containing the actual values selected when the form is submitted. hope

[PHP] PHP and Connection: Close

2006-03-21 Thread Jon Anderson
I've been looking at a problem with our software. It uses Flash with SOAP to connect to a PHP backend. It seems to work okay, except that at the TCP level, the client keeps initiating new connections for every soap request rather than using a single connection for multiple requests. One

[PHP] Re: Accessing data posted from a different URL

2006-03-21 Thread Manuel Lemos
Hello, on 03/21/2006 03:14 PM Norbert Wenzel said the following: Manuel Lemos wrote: For instance, if you use method=post because XHTML specification says everything should be in lower case, you will have problems with some browsers and e-mail programs that only accept POST in upper case and

Re: [PHP] Function-returning array { OR } declare array at top of functions file?

2006-03-21 Thread Michael Hulse
On Mar 21, 2006, at 2:35 PM, Michael Hulse wrote: Any suggestions? I am a self-taught php dude, so please don't laugh if this is a silly question. You know, the more I think about, the more I think I need to learn about PHP classes... Seems like I would just be able to define the array from

Re: [PHP] Function-returning array { OR } declare array at top of functions file?

2006-03-21 Thread Michael Hulse
On Mar 21, 2006, at 3:48 PM, Michael Hulse wrote: ... any good links for learning more about classes? This seems like a good tutorial to start with: http://www.phpfreaks.com/tutorials/48/0.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP and Connection: Close

2006-03-21 Thread Chris
Jon Anderson wrote: I've been looking at a problem with our software. It uses Flash with SOAP to connect to a PHP backend. It seems to work okay, except that at the TCP level, the client keeps initiating new connections for every soap request rather than using a single connection for multiple

Re: [PHP] Is there a way to get multiple values for a single input in a form submission?

2006-03-21 Thread tedd
this is what I am trying to do: On a web form I might have a select input with multiple selections enabled, however I want to have access to the list within PHP after submission. select multiple='true' name='myselect' option value='1'1/option option value='2'2/option /select so when this

Re: [PHP] PHP and Connection: Close

2006-03-21 Thread Chris Shiflett
Jon Anderson wrote: It seems to work okay, except that at the TCP level, the client keeps initiating new connections for every soap request rather than using a single connection for multiple requests. One possible reason for this is that the server sends a Connection: close HTTP header after the

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Chris
Brian Anderson wrote: Yeah, I thought of that, but how do I connect to a mdb file on a linux server that doesn't have odbc installed? Convert it: Search google for convert access to mysql and you'll find tons of results - some free, some not. -Original Message- I wonder if

Re: [PHP] PHP and Connection: Close

2006-03-21 Thread Jon Anderson
Chris wrote: That's the design of http - it's stateless. Each connection is treated separately and as such closes itself when it's finished. If you want to keep it open you'll need to create your own service that listens to a port and responds accordingly - which can be quite a lot of work.

Re: [PHP] PHP and Connection: Close

2006-03-21 Thread Chris
Jon Anderson wrote: Chris wrote: That's the design of http - it's stateless. Each connection is treated separately and as such closes itself when it's finished. If you want to keep it open you'll need to create your own service that listens to a port and responds accordingly - which can be

Re: [PHP] PHP and Connection: Close

2006-03-21 Thread Jon Anderson
Chris Shiflett wrote: Check the KeepAlive configuration directive in httpd.conf. Keep alives are definitely configured in the server - I can request scripts multiple times manually from a telnet client. It seems to be just SOAP requests in PHP that get mucked up - even if I send a Connection:

Re: [PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread Chris
jonathan wrote: I'm interested in creating an xml doc from my php5/mysql 4.1 app. I'm using PHP's DOM functions to create the xml file. Some of the text fields now have well-formed html embedded in them. When I do a $dom-createElement('item_name', $clean_slot), it encodes the values to

Re: [PHP] PHP and Connection: Close

2006-03-21 Thread Chris Shiflett
Jon Anderson wrote: Keep alives are definitely configured in the server - I can request scripts multiple times manually from a telnet client. In that case, I think a good next step would be to examine the HTTP request. One guess is that the request you type in manually with telnet is

Re: [PHP] PHP and Connection: Close

2006-03-21 Thread Chris Shiflett
Chris wrote: If you're doing an exit() or die() or the script stops executing that's like you closing the connection - so apache is going to close the connection (as it should). The connection Jon is talking about is the TCP connection, just in case that's not clear. I'm not sure what

Re: [PHP] PHP and Connection: Close

2006-03-21 Thread Chris
Chris Shiflett wrote: Chris wrote: If you're doing an exit() or die() or the script stops executing that's like you closing the connection - so apache is going to close the connection (as it should). The connection Jon is talking about is the TCP connection, just in case that's not clear.

Re: [PHP] What is the effect of --enable-memory-limit

2006-03-21 Thread Khai
This page does not explain the consequence of what may happen if my script indeed need more memory than what is set in php.ini . Will PHP / Apache / OS (Linux, Unix) terminate the request with a 500 internal server error ? Will the script be allowed to finished, and Apache/PHP gracefully

Re: [PHP] What is the effect of --enable-memory-limit

2006-03-21 Thread Chris
Khai wrote: This page does not explain the consequence of what may happen if my script indeed need more memory than what is set in php.ini . Will PHP / Apache / OS (Linux, Unix) terminate the request with a 500 internal server error ? Will the script be allowed to finished, and Apache/PHP

Re: [PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread jonathan
I understand why it is doing it but to be honest, if it's going in as well-formed xml then, it's a bigger problem having these values to be rendered via a 3rd-party stylesheet. Am I expected for them to convert back these entities? Really at that point, the only change that should take

Re: [PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread Chris
jonathan wrote: I understand why it is doing it but to be honest, if it's going in as well-formed xml then, it's a bigger problem having these values to be rendered via a 3rd-party stylesheet. Am I expected for them to convert back these entities? Really at that point, the only change that

Re: [PHP] PHP and Connection: Close

2006-03-21 Thread Jon Anderson
Chris Shiflett wrote: In that case, I think a good next step would be to examine the HTTP request. One guess is that the request you type in manually with telnet is HTTP/1.1, and the one being sent in your SOAP request is HTTP/1.0. You are actually quite correct... The requests are being sent

Re: [PHP] array_search function bugged?

2006-03-21 Thread Richard Lynch
On Mon, March 20, 2006 8:35 pm, je killen wrote: I really don't understand, though, why you are doing things the way you describe... I only want one image file for each distinct letter, no repeats because I can't put two or more files with the same name in the same dir. The images need to

Re: [PHP] array_search function bugged?

2006-03-21 Thread Richard Lynch
On Mon, March 20, 2006 8:47 pm, je killen wrote: I am using simple for loops. If I create and populate an array and test it with a print statement in a for loop, it prints out all the current values. It I again call it to print in a for loop in subsequent code it has exhibited a degraded

Re: [PHP] array_search function bugged?

2006-03-21 Thread Jim Lucas
Richard Lynch wrote: On Mon, March 20, 2006 8:35 pm, je killen wrote: I really don't understand, though, why you are doing things the way you describe... I only want one image file for each distinct letter, no repeats because I can't put two or more files with the same name in the

[PHP] Howto Execute PHP as script owner/group without CGI?

2006-03-21 Thread Mathijs
Hello there, I Want to know if it is possible to execute PHP(5) as the owner/group of the script it self. At the moment saved files get owner and group nobody. When i upload through ftp, it gets the normal owner and group nobody. Is there a way that i can set both owner and group to

[PHP] HTTPS with NuSOAP

2006-03-21 Thread Peter Lauri
Hi, I am trying to use a Web Service on the following endpoint https://webservices.netsuite.com/wsdl/v1_3_1/netsuite.wsdl. As seen in the url, it is under HTTPS. I have compiled PHP with CURL and verified that CURL is working. In the documentation for NuSOAP I can not find how I set the