Re: [PHP] Text area with an echo command

2003-10-18 Thread John Nichel
Will wrote: John, I have that script: $sql = UPDATE $table_name5 SET care_id = '$_POST[care_id]', date = '$_POST[date]', common = '$_POST[common]', notes = '$_POST[notes]' WHERE notes_id ='$_POST[notes_id]'; $result = @mysql_query($sql,$conn) or die(mysql_error());

Re: [PHP] Text area with an echo command

2003-10-18 Thread John Nichel
Will wrote: Eugene, Thank You much :) I really appreciate it!!! Will PS: I am curious on other guys and gals would do this code. The way php allows for including of files, I tend to try and keep my html and php seperate...but that's just personal. The method Eugene suggested is also fine

Re: [PHP] windows user_name

2003-10-18 Thread Burhan Khalid
Becoming Digital wrote: I don't believe so. It would depend entirely on the browser settings, too, so even if it's possible, I certainly wouldn't build an app around that idea. Actually, it is possible, but only under some very restrictive settings. For example, php has to be running as a ISAPI

Re: [PHP] PHP/MySQL/Server not working

2003-10-18 Thread conbud
magic_quotes_gpc is on, I dont use addslashes ConbuD Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Are the variables quoted out by php setting magic_quotes_gpc or do you have to use addslashes in your code? conbud wrote: Hey, just a quick question, I have a form

Re: [PHP] PHP SESSSION Not Behaving

2003-10-18 Thread [-^-!-%-
Yep. Tried it with IE / NS / and Mozilla Firebird. Same problem. =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia. On Sat, 18 Oct 2003, Marek Kilimajer wrote: Did you try it with another

[PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread [-^-!-%-
Yep. It's me again. 96 hours into the battle, and SESSIONS are still winning. I've written my login script and is now getting the following error. Please advise. Warning: open(/tmp/sess_a690c089dead297c95034d9fe243f860, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning:

[PHP] sorting

2003-10-18 Thread Wang Feng
Greetings, // code snips starts ?php $info = array(large, blue, 18.00); sort($info); list($first, $second, $third) = $info; echo $first, br; echo $second, br; echo $third, br; ? / code snips ends

Re: [PHP] Login system

2003-10-18 Thread Burhan Khalid
[EMAIL PROTECTED] wrote: Okay, here is what i want: [snip!] Forget about what you want. Here's what you need: http://www.php.net/manual/en/ref.session.php http://www.phpclasses.org/goto/browse.html/class/21.html http://www.devarticles.com/art/1/639

Re: [PHP] PHP SESSSION Not Behaving

2003-10-18 Thread Marek Kilimajer
And did you try a simple example that demonstrates this problem? [-^-!-%- wrote: Yep. Tried it with IE / NS / and Mozilla Firebird. Same problem. =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia.

[PHP] Using two XSLT stylesheets

2003-10-18 Thread rich
I'm working on a read only database. I have the data encoded as XML and am writing the queries using XSLT stylesheets. The only way I can find (being, of course, restricted to XSLT 1.0 on PHP) of executing the required queries requires two stylesheets. The generates a result tree which needs to

Re: [PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread Burhan Khalid
[-^-!-%- wrote: Yep. It's me again. 96 hours into the battle, and SESSIONS are still winning. I've written my login script and is now getting the following error. Please advise. Warning: open(/tmp/sess_a690c089dead297c95034d9fe243f860, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Re: [PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread James Kaufman
On Sat, Oct 18, 2003 at 03:44:31PM +0300, Burhan Khalid wrote: [-^-!-%- wrote: Yep. It's me again. 96 hours into the battle, and SESSIONS are still winning. I've written my login script and is now getting the following error. Please advise. Warning:

Re: [PHP] Filemanager v1.0

2003-10-18 Thread Becoming Digital
This John H guy sounds like a dick. Someone should boot him. He can't help it. After all, he is military... Edward Dudlik Those who say it cannot be done should not interrupt the person doing it. wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU - Original Message - From: CPT

[PHP] Loop Question

2003-10-18 Thread Jed R. Brubaker
Hi! I am trying to loop through two different database calls with two for statements, one embedded in the other. for ($i; $i $codeset_rows; $i++) { $codeset_row = $this-database-fetch_array($codeset_query); $codesys_query = $this-database-query(select

Re: [PHP] Loop Question

2003-10-18 Thread Robert Cummings
See changes below. Cheers, Rob. On Sat, 2003-10-18 at 14:57, Jed R. Brubaker wrote: Hi! I am trying to loop through two different database calls with two for statements, one embedded in the other. for ($i; $i $codeset_rows; $i++) for ($i = 0; $i $codeset_rows; $i++)

Re: [PHP] Loop Question

2003-10-18 Thread Jed R. Brubaker
Well duh. Thanks so much! Robert Cummings [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] See changes below. Cheers, Rob. On Sat, 2003-10-18 at 14:57, Jed R. Brubaker wrote: Hi! I am trying to loop through two different database calls with two for statements, one embedded in

Re: [PHP] Using two XSLT stylesheets

2003-10-18 Thread Ray Hunter
xslt_process($xh, 'library.xml', 'simple-search-get-results.xsl', -- 'results.xml', NULL, $params); $data = xslt_process($xh, 'results.xml', -- 'simple-search-display-results.xsl', NULL, NULL, NULL); What happens when you do the above...what is the var_dump of data? -- BigDog -- PHP

[PHP] Dealing with session expiry

2003-10-18 Thread Radek Zajkowski
I have some pages that use sessions to call out certain elements in the layouts. It allows user to decide how should their pages look for the duration of their visit. Unfortunately whenever a user leaves their browser idle past the expity time of the session on their next click pages fall apart

Re: [PHP] Dealing with session expiry

2003-10-18 Thread Zilvinas
Hello, Why are you saving such information into a session? Sessions are for temporary information. Use cookies or database, if you are doing what you are saying :) There should be no harm. Bye. I have some pages that use sessions to call out certain elements in the layouts. It allows user

Re: [PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread [-^-!-%-
That would be one solution, but I am on a shared hosting server. I cannot change the folder permissions. I've asked tech support to look into this. Does anyone know where I can get a class that will save the session vars to mysql? =P e p i e D e s i g n s www.pepiedesigns.com Providing

Re: [PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread Duncan Hill
That would be one solution, but I am on a shared hosting server. I cannot change the folder permissions. I've asked tech support to look into this. Does anyone know where I can get a class that will save the session vars to mysql? I ended up modifying the example of a postgres handler to

RE: [PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread Javier Muniz
Look at on_session_save_handler in the manual, I believe there is an example there on how to do this. If not google it, many examples of this exist... So many that I don't think it's worth spamming this list with my own examples. -Javier -Original Message- From: [-^-!-%- [mailto:[EMAIL

RE: [PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread Javier Muniz
Err, make that session_set_save_handler :) -Original Message- From: Javier Muniz [mailto:[EMAIL PROTECTED] Sent: Saturday, October 18, 2003 4:27 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] SESSION Not behaving II: permission denied(13) Look at on_session_save_handler in the manual, I

Re: [PHP] best way to use session vars?

2003-10-18 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): Hi, all -- Well, now that I have to change my code around, I suppose I should learn the best way, if there is one in particular, to manage sessions. Should I use $_SESSION for everything or should I use session_start and session_register and

Re: [PHP] Using two XSLT stylesheets

2003-10-18 Thread rich
Ray Hunter wrote: xslt_process($xh, 'library.xml', 'simple-search-get-results.xsl', -- 'results.xml', NULL, $params); $data = xslt_process($xh, 'results.xml', -- 'simple-search-display-results.xsl', NULL, NULL, NULL); What happens when you do the above...what is the var_dump of data?

[PHP] 4.3.1 for Debian Woody?

2003-10-18 Thread Joel Konkle-Parker
Does anyone have, or know where to get, a Debian Woody package for PHP 4.3.1? I've checked apt-get.org, but nobody seems to have that version. Thanks in advance. -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [+1 662-518-1636] E-mail[EMAIL PROTECTED] -- PHP General Mailing List

php-general Digest 19 Oct 2003 01:31:31 -0000 Issue 2363

2003-10-18 Thread php-general-digest-help
php-general Digest 19 Oct 2003 01:31:31 - Issue 2363 Topics (messages 166616 through 166630): Re: SESSION Not behaving II: permission denied(13) 166616 by: James Kaufman 166624 by: [-^-!-%- 166625 by: Duncan Hill 166626 by: Javier Muniz 166627 by:

[PHP] apache httpd + PHP authentication

2003-10-18 Thread news.php.net
Hello, httpd v1.3.27, php v4.3.0. I have a web page I wish to restrict access. I prefer to use the standard apache httpd authentication with .htaccess and password file. This method does not seem to work with PHP. A parser is called every time a page is accessed. If no page is defined,

Re: [PHP] apache httpd + PHP authentication

2003-10-18 Thread Chris Shiflett
--- news.php.net [EMAIL PROTECTED] wrote: I have a web page I wish to restrict access. I prefer to use the standard apache httpd authentication with .htaccess and password file. This method does not seem to work with PHP. This method is independent of the type of resource being used, so it

[PHP] Changing permissions

2003-10-18 Thread zavaboy
Ok, I have a installer that only works if the directory that's being installed to has public writing permissions. I tried chmod() on the directory, but I get a error. How can I make it so my installer can write in a directory with the incorrect writing permissions? Thanks! -- - Zavaboy [EMAIL

[PHP] webppliance include - aaargh!

2003-10-18 Thread pan
Anyone know how to get include to work with a webppliance web site? If (web-server:document-root = x){ switch(include-dir){ case 'below document-root: !---php.include works--- break; case 'above document-root': !---php-include failes--- break; default: !---intense frustration

Re[2]: [PHP] SESSION Not behaving II: permission denied(13)

2003-10-18 Thread Tom Rogers
Hi, Sunday, October 19, 2003, 7:35:23 AM, you wrote: That would be one solution, but I am on a shared hosting server. I cannot change the folder permissions. I've asked tech support to look into this. Does anyone know where I can get a class that will save the session vars to mysql?

[PHP] Choosing a CMS?

2003-10-18 Thread Joel Konkle-Parker
I'm looking for an open source PHP/MySQL CMS that I can use as the backend to my website. My site consists of multiple quasi-independent sections, each with its own subdomain, that should be able to function as seperate sites. The range in style from blogs to articles to file libraries, but

Re: [PHP] Re: Yes!!! BTML v1.0 is here!!!

2003-10-18 Thread Curt Zirzow
* Thus wrote Comex ([EMAIL PROTECTED]): Bas: That tags? It should not be used anyway... what??? Yes, i think that you want to know the structure of the BTML-file: bttag=btml /bttag bttag=title Title of the page /bttag bttag=text Here any valid HTML-MARKUP br /bttag

Re: [PHP] RESOLVED, sort of -- Re: [PHP] where is my session data on my new server?

2003-10-18 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): Hi, all -- It appears that the change from 4.2.3 to 4.3.4rc1 was not something that got broken but instead something that got fixed. Oh, yay. But what do I do now? Hmmm... I'm catching up in emails a little late but using $_SESSION[] access

Re: [PHP] windows user_name

2003-10-18 Thread Curt Zirzow
* Thus wrote Burhan Khalid ([EMAIL PROTECTED]): Becoming Digital wrote: I don't believe so. It would depend entirely on the browser settings, too, so even if it's possible, I certainly wouldn't build an app around that idea. Actually, it is possible, but only under some very

Re: [PHP] What's a good regex to validate an email address? ;)

2003-10-18 Thread Curt Zirzow
* Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]): From: Jeremy Russell [EMAIL PROTECTED] Will get nearly everything that resembles an email address. Holy crap, batman... did you even read the original message? lol.. I'm more curious as how this topic got into this thread. Curt

Re: [PHP] Filemanager v1.0

2003-10-18 Thread Curt Zirzow
* Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]): From: Ryan A [EMAIL PROTECTED] and another thing, don't ask John H for help (or sarcastic comments)... that too is reserved just for me. You have been warned This John H guy sounds like a dick. Someone should boot him. /kick

[PHP] Darken and lighten color?

2003-10-18 Thread Leif K-Brooks
I'm looking for a nice alithogram to darken and lighten a color by a certain ammount. I know this isn't strictly a PHP question, but I'm doing it in PHP and there isn't anywhere better to ask. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it

Re: [PHP] Darken and lighten color?

2003-10-18 Thread Chris Shiflett
--- Leif K-Brooks [EMAIL PROTECTED] wrote: I'm looking for a nice alithogram to darken and lighten a color by a certain ammount. Maybe you mean algorithm? :-) To lighten, increase RGB values by 10% each. To darken, decrease RGB values by 10% each. Maybe replace 10 with whatever the certain

Re: [PHP] Darken and lighten color?

2003-10-18 Thread Leif K-Brooks
Chris Shiflett wrote: --- Leif K-Brooks [EMAIL PROTECTED] wrote: I'm looking for a nice alithogram to darken and lighten a color by a certain ammount. Maybe you mean algorithm? :-) Yep. My ability to spell decreases 5% every 15 minutes after 12AM. To lighten, increase RGB values by

[PHP] Re: PHP/MySQL/Server not working

2003-10-18 Thread conbud
Hey, Also the webhost only allows us database direct database connection using phpMyadmin, I did notice that on the table that stores the info, it keep getting an error after someone is posting the form. The error says something about Overhead: 275 bytes, Is this just an MySQL limitation that is

Re: [PHP] Darken and lighten color?

2003-10-18 Thread Becoming Digital
But what do I do with something like 40,40,255? What happens to the 255? You just have to leave it at 255. That's what Illustrator does. Edward Dudlik Those who say it cannot be done should not interrupt the person doing it. wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU -

Re: [PHP] Darken and lighten color?

2003-10-18 Thread Leif K-Brooks
Becoming Digital wrote: You just have to leave it at 255. That's what Illustrator does. Hmm, seems to work, thanks. Note to self: try before you ask. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent

Re: [PHP] Choosing a CMS?

2003-10-18 Thread Becoming Digital
You can try a templating system like Smarty or FastTemplate, but I'm not too fond of either. I've recently begun exploring InterJinn, written by our own Robert Cummings, and I'm quite fond of how it works. You'll need to spend some time going over the documentation but I think it's