[PHP] Re: objects in session

2004-03-14 Thread Nick F
You can use serialize() to convert an object (or array) into a string, and store that into the session. To get back it's original value, use unserialize(). ?PHP $my = new stdClass; $my-name = 'nick'; $my-comp = 'slow'; $store_this = serialize($my); // $store_this has value: //

Re: [PHP] how to convert array into integer

2004-03-14 Thread Raditha Dissanayake
Oh yes! why did i forget that one? :-( Firman Wandayandi wrote: Hi Kenneth, You can implode an array first, and convert it to integer, see below. $number = (int) implode('', $yourarray); Good Luck, Firman - Original Message - From: Kenneth [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [PHP] Regarding PHP Installation on linux

2004-03-14 Thread Raditha Dissanayake
Please refer to the installation guide. [EMAIL PROTECTED] wrote: Hi, I am installing php alone on linux system where apache is already installed. I couldn't find make command during installation. Could anybody solve my problem. thanks Balaji Confidentiality Notice The information contained

[PHP] PHP5: ext/dom: Namespaces

2004-03-14 Thread Vivian Steller
hello, once again a post about the tricky namespaces. I played with the following functions concerning namespaces: domdocument-createElementNS domdocument-createAttributeNS domelement-setAttributeNS domelement-getAttributeNS (domelement-hasAttributeNS) as i found out the behavior of some

[PHP] Re: [PHP-DEV] PHP5: ext/dom: Namespaces

2004-03-14 Thread Derick Rethans
Don't crosspost to two irrelevant lists, please Derick On Sun, 14 Mar 2004, Vivian Steller wrote: hello, once again a post about the tricky namespaces. I played with the following functions concerning namespaces: domdocument-createElementNS domdocument-createAttributeNS

Re: [PHP] Installation of 4.3.4

2004-03-14 Thread edwardspl
If I want to install php with the following function on Fedora Core 1 System : DOM XML, FTP, Gettext, IMAP, LDAP, MCAL, Mcrypt, MySQL, PostgreSQL, XML, GD, MM and MS-SQL 2000 Then which special configure commands ( parameters ) must be compiled with php ? Many thank for your help ! Edward.

Re: [PHP] Installation of 4.3.4

2004-03-14 Thread Jason Wong
On Sunday 14 March 2004 19:48, [EMAIL PROTECTED] wrote: If you're going to be asking questions, do take the time to read any answers. If I want to install php with the following function on Fedora Core 1 System DOM XML, FTP, Gettext, IMAP, LDAP, MCAL, Mcrypt, MySQL, PostgreSQL, XML, GD, MM

[PHP] memory_limit doesn't work (4.3.3, Mac OS X)

2004-03-14 Thread Adam Nohejl
Hi, I have php 4.3.3 on Mac OS X and it doesn't respect the value of memory_limit in php.ini. When I try get_cfg_var(memory_limit) it returns the correct value. But I can allocate as much memory as I want... Is it a bug or is it possible that I'm doing something wrong? Thanks for any idea

Re: [PHP] .sit download problems

2004-03-14 Thread Brian Dunning
Not sure if this will solve your problem, but try tossing in a Content-Length header so the browser knows how long of a file to look for. This helped - I can see the correct file length now in the download window. But now the problem is a little different. I can download .zip files with any

Re: [PHP] memory_limit doesn't work (4.3.3, Mac OS X)

2004-03-14 Thread Jason Wong
On Sunday 14 March 2004 22:22, Adam Nohejl wrote: I have php 4.3.3 on Mac OS X and it doesn't respect the value of memory_limit in php.ini. When I try get_cfg_var(memory_limit) it returns the correct value. But I can allocate as much memory as I want... Did you compile php with

Re: [PHP] Installation of 4.3.4

2004-03-14 Thread edwardspl
Just the following configure commands ( parameters ) is good for work ? ./configure --with-apxs2 --with-pear=/usr/share/pear --with-openssl --with-dom --with-dom-xslt --with-dom-exslt --with-gd --with-gettext --with-iconv --with-ldap --with-mcrypt --with-mhash --with-mysql --with-mm --with-xmlrpc

[PHP] Re: servers in php

2004-03-14 Thread Comex
On Sat, 13 Mar 2004 19:06:38 -0500, Comex [EMAIL PROTECTED] wrote: I was wondering how to go about making a server in PHP that would accept multiple connections..in windows, so I can't use forks. I'd need to call the program from itself but I don't know how the listening works. I found an

Re: [PHP] Installation of 4.3.4

2004-03-14 Thread Jason Wong
On Sunday 14 March 2004 23:38, [EMAIL PROTECTED] wrote: Please do not top-post. Just the following configure commands ( parameters ) is good for work ? ./configure --with-apxs2 --with-pear=/usr/share/pear --with-openssl --with-dom --with-dom-xslt --with-dom-exslt --with-gd --with-gettext

[PHP] Mail

2004-03-14 Thread Will
Hello All, I am having a problem with sending a reply from a form. It is giving me a 550 error: There is no valid sender in any header line. My form is: ? include (inc/setup.php); // Mail reply to Orginial poster $recipient .= [EMAIL PROTECTED], $_POST[email]\n; $mailheaders .= To:

php-general Digest 14 Mar 2004 19:31:17 -0000 Issue 2646

2004-03-14 Thread php-general-digest-help
php-general Digest 14 Mar 2004 19:31:17 - Issue 2646 Topics (messages 180379 through 180395): Re: gd installation problem 180379 by: Firman Wandayandi Re: how to convert array into integer 180380 by: Firman Wandayandi 180381 by: Five 180383 by: Raditha

Re: [PHP] Mail

2004-03-14 Thread Jason Davidson
Check the manual to be sure, but it appears that you have the arguments for the mail function in the wrong order . mail(to, subject, msg, headers) ... i beleive is the correct order. Jason Will [EMAIL PROTECTED] wrote: Hello All, I am having a problem with sending a reply from a form. It

RE: [PHP] Mail

2004-03-14 Thread Will
Thank you very much!!! That was it ~WILL~ -Original Message- From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 14, 2004 2:40 PM To: Will Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Mail Check the manual to be sure, but it appears that you have the arguments for the

[PHP] User denided function

2004-03-14 Thread nblanco
Hi, Is it posible to use a user funcion in a Select statement? I need to return from a Database the sum of the less two of three columns. For example, if the data were 67, 86,53 I must return, in a single field, the sum of 53+67. I'm using OBDC over a MS Access Database in PHP. Thanks in

[PHP] XML architecture question

2004-03-14 Thread Jabro
Hi List, hope somebody here can help me out here. For a new page I'm designing I see one problem coming up. As I need to generate varius outputs such as HTML or PDF I think going over XML isn't a bad idea. I create one XSL for my output and change the XML for Customer A or B behind it. Now how do

Re: [PHP] Classes Objects.

2004-03-14 Thread Marco Schuler
Hi Am So, 2004-03-14 um 03.55 schrieb Elliot J. Balanza: Anybody knows a good on line tutorial for objects classes on PHP. Sure! Google is your friend or http://www.phppatterns.com/index.php/link/category/1/ for example. -- Regards Marco -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Web based php development tool

2004-03-14 Thread Marco Schuler
Hi Am So, 2004-03-14 um 00.34 schrieb Joseph Ross Lee: Anybody here who could recommend a web based php dev tool for editing php sources online? Thanks! I'm having a hard time finding a nice one. Thanks in advance guys! I have seen such a tool some time ago. Just don't remember its name.

Re: [PHP] XML architecture question

2004-03-14 Thread Ray Hunter
On Sun, 2004-03-14 at 13:17, Jabro wrote: Hi List, hope somebody here can help me out here. For a new page I'm designing I see one problem coming up. As I need to generate varius outputs such as HTML or PDF I think going over XML isn't a bad idea. I create one XSL for my output and change

[PHP] [Q] PHP code embedded in html files - What happens?

2004-03-14 Thread Michael T. Peterson
When the following file, tmp.htm, is executed no output is produced. html head titleTest/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body ?php echo 'phello world/p'; ? /body /html However, when the name of the file is changed to tmp.php the expected output,

Re: Re[4]: [PHP] Scripts creating files and folders into un/grp Nobody on Apache

2004-03-14 Thread Jay
thanks... i've passed these suggestions on to my host... it seems to have partially convinced them that the problem is not my scripts but possibly instead the installation's fault / cPanel's fault. well it's progress at least :P Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL

[PHP] Re: [Q] PHP code embedded in html files - What happens?

2004-03-14 Thread Jeffrey Lee
Hi Michael, In my understanding, web server will involve php interpreter when the file extension is specify. Say, if a web server is configured to involve php interpreter when the extension is php, then when the request file is php, the php file's content will be interpreted. So, I think your

[PHP] Anyway to access a class variable without using a return function?

2004-03-14 Thread Terence
Hi List, I have a class with a constructor that sets the variables and I currently use functions to return each one. When using alot of variables in the constructor i tend to have many return functions. Is there a way to access the constructor variables without using a return function? This is

Re: [PHP] Re: [Q] PHP code embedded in html files - What happens?

2004-03-14 Thread EastLothianDirectory
Try naming your file temp.php instead of temp.html -- START CODE -- ? $message = Hello World; ? html body ? echo $message; ? /body html END CODE - Regards, Chris --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: [Q] PHP code embedded in html files - What happens?

2004-03-14 Thread EastLothianDirectory
I missed out the 'slash' at the /html Original Message From: EastLothianDirectory Date: Mon 3/15/04 2:35 To: [EMAIL PROTECTED] Subject:Re: [PHP] Re: [Q] PHP code embedded in html files - What happens? Try naming your file temp.php instead of

Re: [PHP] [Q] PHP code embedded in html files - What happens?

2004-03-14 Thread Steve Edberg
At 6:01 PM -0800 3/14/04, Michael T. Peterson wrote: When the following file, tmp.htm, is executed no output is produced. html head titleTest/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body ?php echo 'phello world/p'; ? /body /html However, when the name of

Re: [PHP] Anyway to access a class variable without using a return function?

2004-03-14 Thread Tom Rogers
Hi, Monday, March 8, 2004, 3:42:30 PM, you wrote: T Hi List, T I have a class with a constructor that sets the variables and I currently T use functions to return each one. When using alot of variables in the T constructor i tend to have many return functions. Is there a way to access T the

[PHP] Behind the scenes coding?

2004-03-14 Thread Dustin Wish with INDCO Networks
I have been looking everywhere for any tips or tutorials on posting to separate websites and parsing the return values for input into a mysql db. I understand parsing html pages, but not how to post to a form on a different site and once the values are returned parse and redirect. I have read

Re: [PHP] Behind the scenes coding?

2004-03-14 Thread Jason Wong
You have started a new thread by taking an existing posting and replying to it while you changed the subject. That is bad, because it breaks threading. Whenever you reply to a message, your mail client generates a References: header that tells all recipients which posting(s) your posting refers

Re: [PHP] Behind the scenes coding?

2004-03-14 Thread Ryan A
Hehehe, this is pretty good, 3rd or 4th time I have read this exact email. I'm guessing Jason has this saved and waits for someone to do this then copies and pastes! Cheers, -Ryan You have started a new thread by taking an existing posting and replying to it while you changed the subject.

[PHP] behind the scenes coding?

2004-03-14 Thread Dustin Wish with INDCO Networks
I have been looking everywhere for any tips or tutorials on posting to separate websites and parsing the return values for input into a mysql db. I understand parsing html pages, but not how to post to a form on a different site and once the values are returned parse and redirect. I have read