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

2006-03-22 Thread chris smith
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 'myuser-groupname',

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

2006-03-22 Thread Mathijs
chris smith wrote: 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

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

2006-03-22 Thread chris smith
On 3/22/06, Mathijs [EMAIL PROTECTED] wrote: chris smith wrote: 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

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

2006-03-22 Thread Mathijs
chris smith wrote: On 3/22/06, Mathijs [EMAIL PROTECTED] wrote: chris smith wrote: 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

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

2006-03-22 Thread chris smith
On 3/22/06, Mathijs [EMAIL PROTECTED] wrote: chris smith wrote: 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

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

2006-03-22 Thread Mathijs
chris smith wrote: On 3/22/06, Mathijs [EMAIL PROTECTED] wrote: chris smith wrote: 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

Re: [PHP] HTTPS with NuSOAP

2006-03-22 Thread Angelo Zanetti
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 soapclient to

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

2006-03-22 Thread chris smith
On 3/22/06, Mathijs [EMAIL PROTECTED] wrote: chris smith wrote: On 3/22/06, Mathijs [EMAIL PROTECTED] wrote: chris smith wrote: 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

[PHP] PHP 4.3.11, question about classes

2006-03-22 Thread Michael Hulse
Hi, I am just learning about classes. My server is running PHP 4.3.11 Example code: class testing { var $what; } $linkGenClass = new testing(); $linkGenClass-what = 'hi'; echo $linkGenClass-what; Why does the constructor require the ()? I have seen many examples via google that do

[PHP] Reading data from SELECT in PHP

2006-03-22 Thread Lorca
Hello friends, I've create a form containing a SELECT under JavaScript, where the user decide all list's elements. My problem is how can I get all list's elements on PHP. Using $-POST[] I only get the selected option. With my most sincere thanks. Lorca -- PHP General Mailing List

RE: [PHP] Reading data from SELECT in PHP

2006-03-22 Thread Dan Parry
Maybe use Jacascript to create and populate hidden inputs? They will show up in the $_POST array then HTH Dan - Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk -Original Message- From: Lorca [mailto:[EMAIL

Re: [PHP] PHP 4.3.11, question about classes

2006-03-22 Thread chris smith
On 3/22/06, Michael Hulse [EMAIL PROTECTED] wrote: Hi, I am just learning about classes. My server is running PHP 4.3.11 Example code: class testing { var $what; } $linkGenClass = new testing(); $linkGenClass-what = 'hi'; echo $linkGenClass-what; Why does the constructor

Re: [PHP] PHP 4.3.11, question about classes

2006-03-22 Thread Michael Hulse
Hi Chris! Thanks for all the great answers, I really appreciate all of your help. I am browsing the link you gave me now. I only have one question: On Mar 22, 2006, at 4:09 AM, chris smith wrote: You're calling a method (which is a function inside a class). You can't call a regular function

[PHP] problem

2006-03-22 Thread Simone O'Brien
Hi, I have set up a message board and we cannot log out or do anything on the page at all. We cannot use it at all. http://myminiaturegoats.com/forum3/index.php?action=logout;sesc=331181faba9b2783a9506ad21068fb8b Database Error Please try again. If you come back to this error

Re: [PHP] PHP 4.3.11, question about classes

2006-03-22 Thread chris smith
On 3/22/06, Michael Hulse [EMAIL PROTECTED] wrote: Hi Chris! Thanks for all the great answers, I really appreciate all of your help. I am browsing the link you gave me now. I only have one question: On Mar 22, 2006, at 4:09 AM, chris smith wrote: You're calling a method (which is a

Re: [PHP] problem

2006-03-22 Thread chris smith
On 3/22/06, Simone O'Brien [EMAIL PROTECTED] wrote: Hi, I have set up a message board and we cannot log out or do anything on the page at all. We cannot use it at all. http://myminiaturegoats.com/forum3/index.php?action=logout;sesc=331181faba9b2783a9506ad21068fb8b Database Error

Re: [PHP] [SOLVED] PHP 4.3.11, question about classes

2006-03-22 Thread Michael Hulse
On Mar 22, 2006, at 4:33 AM, chris smith wrote: Sorry for the confusion :) Not at all. :) I am stoked to be finally learning about OOP/classes/objects in PHP... the tutes you sent are very helpful. Many thanks for you help, I really appreciate it. ;) Nice site btw, great info, cool

Re: [PHP] problem

2006-03-22 Thread Kevin Kinsey
Simone O'Brien wrote: Hi, I have set up a message board and we cannot log out or do anything on the page at all. We cannot use it at all. http://myminiaturegoats.com/forum3/index.php?action=logout;sesc=331181faba9b2783a9506ad21068fb8b Database Error Please try again. If you come

Re: [PHP] Reading data from SELECT in PHP

2006-03-22 Thread tedd
Hello friends, I've create a form containing a SELECT under JavaScript, where the user decide all list's elements. My problem is how can I get all list's elements on PHP. Using $-POST[] I only get the selected option. With my most sincere thanks. Lorca Lorca: Yes, a SELECT only returns one

[PHP] Re: Regarding your class: POP/IMAP to RSS

2006-03-22 Thread Vedanta Barooah
hi Niek! i was not actually handling multipart messages, good you pointed it out... the class does something for multipart messages as off now... atleast it trashes them off (check for the new version at the site) http://www.phpclasses.org/browse/package/2977.html well i am too lazy to decode

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

2006-03-22 Thread Rory Browne
suexec for the perl/cgi or anything_else/cgi for that matter. suphp for PHP. If speed is an issue, then you may like to consider suexec and fastcgi. On 3/22/06, chris smith [EMAIL PROTECTED] wrote: On 3/22/06, Mathijs [EMAIL PROTECTED] wrote: chris smith wrote: On 3/22/06, Mathijs [EMAIL

[PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Todd Cary
Is there a way to create a Window that is like the Help or Popup type windows one can create with JavaScript? I have an event calendar and I want the link for the event to go to a PHP page, but I want the page to be on top and have focus with a Close button. The PHP page will have some PHP

RE: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Jay Blanchard
[snip] Is there a way to create a Window that is like the Help or Popup type windows one can create with JavaScript? I have an event calendar and I want the link for the event to go to a PHP page, but I want the page to be on top and have focus with a Close button. The PHP page will have some

RE: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Jay Blanchard
[snip] Is there a way to create a Window that is like the Help or Popup type windows one can create with JavaScript? I have an event calendar and I want the link for the event to go to a PHP page, but I want the page to be on top and have focus with a Close button. The PHP page will have some

[PHP] pulling in template file in var and populating vars?

2006-03-22 Thread blackwater dev
I have a chunk of html data that I want to output for each iteration through a db result while($result){ $list.=file_get_contents(my_template_file.php); } return $list; The template file looks like this: table tr td?php echo $result[name];?/td /tr /table I basically want

Re: [PHP] pulling in template file in var and populating vars?

2006-03-22 Thread John Nichel
blackwater dev wrote: I have a chunk of html data that I want to output for each iteration through a db result while($result){ $list.=file_get_contents(my_template_file.php); } return $list; The template file looks like this: table tr td?php echo $result[name];?/td /tr

RE: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread tedd
Jay said: There are several ways to pass variables back and forth using JavaScriptbut this is not the list for that :) Can you point me to a list that does? I don't think there is a php - javascript list. Personally, I think that posting a way to allow php to communicate with

RE: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Brady Mitchell
Personally, I think that posting a way to allow php to communicate with javascript OR any other language is relevant for a php-general list, don't you think? To use the value of a PHP variable in javascript, you create a javascript variable and then echo the value of the php variable. For

[PHP] Error loading module php_mapscript.so (zend_hash_internal_pointer_reset_ex)

2006-03-22 Thread Fósforo
Hi, I just have compiled a module for my webserver, added it to httpd.conf, but apache gives me an error when i try to start it: [EMAIL PROTECTED]:/var/www/html/laget/servlet# apachectl configtest Syntax error on line 241 of /etc/apache/httpd.conf: Cannot load

Re: [PHP] Error loading module php_mapscript.so

2006-03-22 Thread Chris
Fósforo wrote: Hi, I just have compiled a module for my webserver, added it to httpd.conf, but apache gives me an error when i try to start it: [EMAIL PROTECTED]:/var/www/html/laget/servlet# apachectl configtest Syntax error on line 241 of /etc/apache/httpd.conf: Cannot load

Re: [PHP] Error loading module php_mapscript.so (zend_hash_internal_pointer_reset_ex)

2006-03-22 Thread Robert Cummings
On Wed, 2006-03-22 at 18:47, Fósforo wrote: Hi, I just have compiled a module for my webserver, added it to httpd.conf, but apache gives me an error when i try to start it: [EMAIL PROTECTED]:/var/www/html/laget/servlet# apachectl configtest Syntax error on line 241 of

Re: [PHP] pulling in template file in var and populating vars?

2006-03-22 Thread Jim Lucas
blackwater dev wrote: I have a chunk of html data that I want to output for each iteration through a db result while($result){ $list.=file_get_contents(my_template_file.php); } return $list; The template file looks like this: table tr td?php echo $result[name];?/td /tr

Re: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Todd Cary
Thank you! Very helpful indeed! Todd Jay Blanchard wrote: [snip] Is there a way to create a Window that is like the Help or Popup type windows one can create with JavaScript? I have an event calendar and I want the link for the event to go to a PHP page, but I want the page to be on top

RE: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Jay Blanchard
[snip] Personally, I think that posting a way to allow php to communicate with javascript OR any other language is relevant for a php-general list, don't you think? [/snip] Hm... maybe that is what I provided an example of how to make them work together. :) Lighten up. -- PHP General

Re: [PHP] Reading data from SELECT in PHP

2006-03-22 Thread Jim Lucas
tedd wrote: Hello friends, I've create a form containing a SELECT under JavaScript, where the user decide all list's elements. My problem is how can I get all list's elements on PHP. Using $-POST[] I only get the selected option. With my most sincere thanks. Lorca Lorca: Yes, a SELECT only

[PHP] mail link problem with php echo statement

2006-03-22 Thread Mark
How can i make this email from a database a hyperlink so it doesnt show the email address--i have tried many things but i keep getting errors. At the moment it just shows the email (no link) thanks ?php //get comp_id $query = mysql_query(SELECT * FROM comps WHERE name = '$comp_name');

Re: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Todd Cary
Gosh darn! That really works!! Many thanks! Though I may be still playing around with the PHP code, a demo might be seen at http://209.204.172.137/calendar/php/showmonth.php Todd Brady Mitchell wrote: Personally, I think that posting a way to allow php to communicate with javascript OR

Re: [PHP] pulling in template file in var and populating vars?

2006-03-22 Thread clive
You could also look at using a templating engine like Smarty for instance. clive blackwater dev wrote: I have a chunk of html data that I want to output for each iteration through a db result while($result){ $list.=file_get_contents(my_template_file.php); } return $list; The template

Re: [PHP] mail link problem with php echo statement

2006-03-22 Thread Chris
Mark wrote: How can i make this email from a database a hyperlink so it doesnt show the email address--i have tried many things but i keep getting errors. At the moment it just shows the email (no link) thanks ?php //get comp_id $query = mysql_query(SELECT * FROM comps WHERE name =

Re: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Mike Rondeau
I'd like to echo that statement! Mike - Original Message - From: Todd Cary To: php-general@lists.php.net Sent: Wednesday, March 22, 2006 5:49 PM Subject: Re: [PHP] Creating a Window without JavaScript that is on top Thank you! Very helpful indeed! Todd Jay

Re: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Todd Cary
How do I get the var into a php variable in the destination window? Todd Brady Mitchell wrote: Personally, I think that posting a way to allow php to communicate with javascript OR any other language is relevant for a php-general list, don't you think? To use the value of a PHP variable in

Re: [PHP] Creating a Window without JavaScript that is on top

2006-03-22 Thread Todd Cary
Problem solved Todd Todd Cary wrote: How do I get the var into a php variable in the destination window? Todd Brady Mitchell wrote: Personally, I think that posting a way to allow php to communicate with javascript OR any other language is relevant for a php-general list, don't you

[PHP] Atrributes and NuSOAP

2006-03-22 Thread Peter Lauri
Hi, I have been trying to find a simple example of how to add attributes to the requests, but after two days search I can not find an example. The $param is easy to create if it does not contain any attributes. This is what I want to create, but the internalId is giving me troubles: