Re: [PHP] Question on mysql_fetch_object()

2004-10-22 Thread Jason Wong
On Saturday 23 October 2004 13:05, Walter Wojcik wrote: > I am trying to write a script that checks a table for a value in MySQL. It > opens the table and queries it fine but if my query returns nothing i have > no way of testing to see if it returned anything. I have tried testing for > "false"

[PHP] Question on mysql_fetch_object()

2004-10-22 Thread Walter Wojcik
I am trying to write a script that checks a table for a value in MySQL. It opens the table and queries it fine but if my query returns nothing i have no way of testing to see if it returned anything. I have tried testing for "false" and "" and ! $result in a if statement but i don't know what

[PHP] Re: Referring Page

2004-10-22 Thread Ben
Trying to go the other way now - and maybe this isn't a PHP issue, but help would be appreciated anyway Is there a way to block the referring page information, so that if I send someone to a site, that site doesn't see what page sent the visitor to them? Looking at this from a marketing sta

Re: [PHP] Session management

2004-10-22 Thread Curt Zirzow
* Thus wrote Herman Scheepers: > Hi > > I am a PHP newbie from a Java/C/Oracle background. I > cannot seem to get session management with PHP > working. > > > #echo 1; > > $old = ini_set('session.use_cookies', 0); > > session_start(); > $username = $_REQUEST["username"]; > session_r

Re: [PHP] compileproblem gd into php4.3.9 under gentoo

2004-10-22 Thread Curt Zirzow
* Thus wrote Patrick Fehr: > > For the definition of some needed graphical functions, > I depend on gd compiled into php. > As I am using a linux gentoo2.6.8.1 box, I use portage for that kind. > I emerge'd php again, but with the USE-Flag +gd set, this seemed to work. > > But still the function

Re: [PHP] mysql and the PHP transition from 4 to 5.

2004-10-22 Thread Curt Zirzow
* Thus wrote Nick Lane-Smith: > Hello php-list, > > I'm curious to why default mysql support was dropped from PHP 5? It was due to the changes in the mysql license. Due to the changes the PHP Team decided not to enable mysql by default. MySQL had modified there license but it was too late, the

Re: [PHP] MySQL scalability...

2004-10-22 Thread Curt Zirzow
* Thus wrote Kevin Grigorenko: > > > > begin 666 hitcounter.doc Please dont post attatchments, put the file up on weberver instead and just reference it here. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: MySQL scalability...

2004-10-22 Thread Kevin Grigorenko
"Kevin Grigorenko" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > Now, I just found out after implementing this whole solution locally that > when I uploaded to the server, the PHP safe_mode options are on, and > non-overwritable. Therefore, fopen() doesn't even work! >

Re: [PHP] MySQL scalability...

2004-10-22 Thread Kevin Grigorenko
"John Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Kevin Grigorenko wrote: > > > Unfortunately, for some security > > issues, I cannot get to the Apache statistics for the site, so I have to > > create my own solution. > > I recommend you find a better host that gives you a

Re: [PHP] MySQL scalability...

2004-10-22 Thread John Holmes
Kevin Grigorenko wrote: Unfortunately, for some security issues, I cannot get to the Apache statistics for the site, so I have to create my own solution. I recommend you find a better host that gives you access to the raw logs and/or doesn't have safe_mode on. -- ---John Holmes... Amazon Wishli

RE: [PHP] Redirect then error message to user

2004-10-22 Thread Graham Cossey
I think what Brent is suggesting is a single script that will handle the display and processing of all 5 form 'pages'. The code below is just to give an idea of how I think the 'flow' could go, don't go copying the code and expect anything (positive) to happen !! if(!$_POST['step'] || $_POST['ste

[PHP] Customer is looking for packages as follows

2004-10-22 Thread The Doctor
A customer of mine is looking for the below package/requirements on a BSD/OS 4.3.1 running apache-ssl with perl 5.8.5 and php 4.3.9 Sorry for the delay getting back to you. Here are the requirements: 1. Form Content Security. (FormmailEncoder/Decoder) As I understand it, on a secure website th

Re: [PHP] $_FILES Not Populating On File Upload

2004-10-22 Thread Rick Fletcher
ApexEleven wrote: I've googled the question and found no answer that has fixed my problem. I also searched this list to try and find the answer to no avail. My problem is that after my form submits data to another script the $_FILES global returns nothing but "array()" when I try to "print_r()" it.

RE: [PHP] COPY with PostgreSQL

2004-10-22 Thread Robert Fitzpatrick
On Fri, 2004-10-22 at 14:55, Jay Blanchard wrote: > [snip] > I am using COPY for PostgreSQL and having problems... > [/snip] > > So, is this a PHP problem, or a PostgreSQL problem? If I took the file it is trying to COPY into PostgreSQL and psql to bring it in on the server directly, no issues.

AW: [PHP] Serial Communication

2004-10-22 Thread Ulrik Witschass
Thanks for the many great replies, since at the moment the project is based on PHP4, I will try if the filesystem functions provide what I need. Opening the port and sending doesn't seem to be a problem, I'll try it out tonight. If for some reason it doesnt provide the functionality I need, I will

Re: [PHP] Redirect then error message to user

2004-10-22 Thread Stuart Felenstein
Brent - Thank you I will try that method. Can you elaborate more on below. I take it to mean you have one page/script that your pages are going to do all the checks. This form is 5 pages long. So I chose session variables just to keep it neat and "maybe", more secure. Stuart --- Brent Baisl

Re: [PHP] Redirect then error message to user

2004-10-22 Thread Brent Baisley
You can pass the error in the redirect URL: header("Location: http://www.xx.com/page1.php?errmsg=You missed some stuff") On your main page you just check if there is an errmsg to be displayed: if(isset($_GET['errmsg'])) { echo $_GET['errmsg']; } That a simplified version obviously. Bu

Re: [PHP] Redirect then error message to user

2004-10-22 Thread Stuart Felenstein
The only problem I'm having here is that if a user goes backwards, the error from the session variable will show up. I put an unset $.. underneath the echo but that seems to have no effect. Stuart --- Stuart Felenstein <[EMAIL PROTECTED]> wrote: > See below: > --- Jason Wong <[EMAIL PROTECT

Re: [PHP] Redirect then error message to user

2004-10-22 Thread Stuart Felenstein
See below: --- Jason Wong <[EMAIL PROTECTED]> wrote: > What are you trying to do here? > Is 'Page1' == TestMulti4a.php? > Are you trying to display $_SESSION['er'] as set in > Page2? > If so why are you assigning $_POST['er'] to > $_SESSION['er']? All you need to > do is echo $_SESSION['er']. >

Re: [PHP] COPY with PostgreSQL

2004-10-22 Thread Greg Donald
On Fri, 22 Oct 2004 14:34:39 -0400, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote: > I am using COPY for PostgreSQL and having problems now that the incoming > file contains more than approx 1500 lines. Is this an issue anyone is > aware of? Lot's of files over 1000 lines have worked fine, but after

Re: [PHP] COPY with PostgreSQL

2004-10-22 Thread John Nichel
Jay Blanchard wrote: [snip] Why does it matter??? Just answer the ding-dang question. ;) [/snip] Easy there Kemosabe', someone might mistake you for someone who wants to help! *goes back to lurking* -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List

RE: [PHP] COPY with PostgreSQL

2004-10-22 Thread Jay Blanchard
[snip] Why does it matter??? Just answer the ding-dang question. ;) [/snip] Easy there Kemosabe', someone might mistake you for someone who wants to help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Redirect then error message to user

2004-10-22 Thread Stuart Felenstein
Sorry, all fixed now! Thank you for the help! Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirect then error message to user

2004-10-22 Thread Jason Wong
On Saturday 23 October 2004 02:38, Stuart Felenstein wrote: > This isn't working: > Page2 (after page1 has been posted): > >else >{ > $_SESSION['er'] = 'Please make sure to fill in all 3 > corresponding values .'; If you want keep changes to any session variables (so that they're

Re: [PHP] COPY with PostgreSQL

2004-10-22 Thread John Nichel
Jay Blanchard wrote: [snip] I am using COPY for PostgreSQL and having problems... [/snip] So, is this a PHP problem, or a PostgreSQL problem? Why does it matter??? Just answer the ding-dang question. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing L

RE: [PHP] COPY with PostgreSQL

2004-10-22 Thread Jay Blanchard
[snip] I am using COPY for PostgreSQL and having problems... [/snip] So, is this a PHP problem, or a PostgreSQL problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] currency

2004-10-22 Thread Matt M.
> > What is the best way to output 38884 as $38,884.00? > > > > > > number_format() or http://us2.php.net/money_format -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] currency

2004-10-22 Thread John Nichel
Perry, Matthew (Fire Marshal's Office) wrote: What is the best way to output 38884 as $38,884.00? Use the manual Luke... http://us4.php.net/number_format -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] $_FILES Not Populating On File Upload

2004-10-22 Thread ApexEleven
I've googled the question and found no answer that has fixed my problem. I also searched this list to try and find the answer to no avail. My problem is that after my form submits data to another script the $_FILES global returns nothing but "array()" when I try to "print_r()" it. I coppied the sc

Re: [PHP] currency

2004-10-22 Thread Marek Kilimajer
Perry, Matthew (Fire Marshal's Office) wrote: What is the best way to output 38884 as $38,884.00? number_format() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] currency

2004-10-22 Thread Perry, Matthew (Fire Marshal's Office)
What is the best way to output 38884 as $38,884.00?

RE: [PHP] Redirect then error message to user

2004-10-22 Thread Stuart Felenstein
This isn't working: Page2 (after page1 has been posted): else { $_SESSION['er'] = 'Please make sure to fill in all 3 corresponding values .'; header("Location: http://www.x.com/TestMulti4a.php"; ); exit; } } Page1: Opening after session_start $_SESSION['er']

[PHP] COPY with PostgreSQL

2004-10-22 Thread Robert Fitzpatrick
I am using COPY for PostgreSQL and having problems now that the incoming file contains more than approx 1500 lines. Is this an issue anyone is aware of? Lot's of files over 1000 lines have worked fine, but after getting a file over 1800 I began having problems. I have broke the file down to a appro

Re: [PHP] Redirect then error message to user

2004-10-22 Thread Jason Wong
On Saturday 23 October 2004 01:25, Stuart Felenstein wrote: > I'm not quite sure how to get an error message to > print out after a redirect. I know it's possible. It's not possible. Think about it. How *can* you print something out when you've already told the browser to go somewhere else? BTW

RE: [PHP] Redirect then error message to user

2004-10-22 Thread Stuart Felenstein
Now why didn't I think of that ! Thank you Jay! Stuart --- Jay Blanchard <[EMAIL PROTECTED]> wrote: > [snip] >{ > header("Location: > http://www.xx.com/page1.php"; > ); > print "You have errors"; > exit; >} > > } > [/snip] > > You either need to carry info about the

RE: [PHP] Redirect then error message to user

2004-10-22 Thread Jay Blanchard
[snip] { header("Location: http://www.xx.com/page1.php"; ); print "You have errors"; exit; } } [/snip] You either need to carry info about the error in a session variable or url string or something...above your redirect happens before any error can be sent to the browser

[PHP] Redirect then error message to user

2004-10-22 Thread Stuart Felenstein
I'm not quite sure how to get an error message to print out after a redirect. I know it's possible. Now page1 moves to page2, check below is on page2 If I leave it on page2 (without redirect), it prints error to user fine. Once it redirects no print. I also tried leaving it on form1, at the top

[PHP] RE: Redirect - was Question: Simpler loop

2004-10-22 Thread Stuart Felenstein
I put the loop at the top of the next page, before any output to the browser: http://www.2soon2show.com/TestMulti4a.php"; ); print "You have errors"; } } ?> Before I added the redirect the print worked (and yes it doesn't belong in that part of the loop) Now the redirect is working , but

[PHP] Looping through results of pg_meta_data()

2004-10-22 Thread Ken Tozier
I'm trying to build an html table using the results from pg_meta_data() but none of the access functions seem to work. I am getting results but just can't seem to do anything with them. Here's what I'm using to verify that results are being returned: $connstring = "dbname=pub_status user=postgre

Re: [PHP] Serial Communication

2004-10-22 Thread M. Sokolewicz
You can also use the DIO extension (built-in as of PHP 5.0.0). using dio_open, dio_read, dio_write and dio_close you can do a lot of magical things ;) http://www.php.net/manual/en/ref.dio.php Greg Donald wrote: On Fri, 22 Oct 2004 18:11:43 +0200, Ulrik Witschass <[EMAIL PROTECTED]> wrote: Hello L

Re: [PHP] Serial Communication

2004-10-22 Thread Marek Kilimajer
Ulrik Witschass wrote: Hello List, I am searching information about serial communication with PHP on Windows machines. I want to communicate with a colorimeter via a COM-Port, using a PHP-GTK application. Can anybody point me into the right direction (a webpage, a PHP class/function, a PHP-GTK list

Re: [PHP] Serial Communication

2004-10-22 Thread Greg Donald
On Fri, 22 Oct 2004 18:11:43 +0200, Ulrik Witschass <[EMAIL PROTECTED]> wrote: > Hello List, > > I am searching information about serial communication with PHP on Windows > machines. There's a simple example on this page: http://www.php.net/function.fopen Search for 'SERIAL'. -- Greg Donald Z

RE: [PHP] Question: Simpler loop

2004-10-22 Thread Stuart Felenstein
Yes, I think that will work, as soon as I can figure out where on the page it should go. On error should post to itself, on success it moves to next page. I put the loop on top and am getting an invalid argument for the foreach. Stuart --- "Ford, Mike" <[EMAIL PROTECTED]> wrote: > In which case

[PHP] Serial Communication

2004-10-22 Thread Ulrik Witschass
Hello List, I am searching information about serial communication with PHP on Windows machines. I want to communicate with a colorimeter via a COM-Port, using a PHP-GTK application. Can anybody point me into the right direction (a webpage, a PHP class/function, a PHP-GTK list) where I can find i

Re: [PHP] Thanks but problem Again! (MySQL & PHP database script PLEASE)

2004-10-22 Thread Matthew Sims
> Thank you for two of you. Im amazed how quick the replys were. Very > pleased. > When I simply inserted the PHP sentense, it worked. > But as I turned off register_globals, > and changed as Matthew suggested, it looked like this: > > Warning: mysql_num_rows(): supplied argument is not a valid MyS

[PHP] Re: adding a new property to an object instance

2004-10-22 Thread Matthew Weier O'Phinney
* Skrol29 <[EMAIL PROTECTED]>: > It's seems to be allowed to add a new property (a member ?) to an object > instance in both PHP 4 and 5. > For example: > ** > class Test { > var $Prop1 = 'anything'; > } > $MyObj = new Test; > $MyObj->Prop2 = 'hello'; > ***

Re: [PHP] Trying to Integrate PHP 4.3.4 w/ JDK 1.5.0

2004-10-22 Thread raditha dissanayake
Andrew Hauger wrote: Thanks Raditha. Unfortunately, I am still having problems. I am new to building extensions, and now my problem is an error during the java extension build process. I got the message : configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL Sorry haven't seen this p

[PHP] adding a new property to an object instance

2004-10-22 Thread Skrol29
Hello, It's seems to be allowed to add a new property (a member ?) to an object instance in both PHP 4 and 5. For example: ** class Test { var $Prop1 = 'anything'; } $MyObj = new Test; $MyObj->Prop2 = 'hello'; ** But I can't found any documentatio

RE: [PHP] Question: Simpler loop

2004-10-22 Thread Graham Cossey
Yep, Mike's solution is simpler. It's getting late on Friday and the brain is starting to slow down. (That's my excuse anyway...) [snip] > > > > Is there a simpler way / shorter way to check > > conditions to do this ? > > So, the entry is valid only if all three are non-blank? > > In which ca

RE: [PHP] Question: Simpler loop

2004-10-22 Thread Graham Cossey
Slightly simpler: foreach(...) { $count = 0; if ($skill != '') $count++; if ($skys[$key] != '') $count++; if ($slus[$key] != '') $count++; if $count < 3 echo 'Invalid'; else echo 'Valid'; } Graham > -Original Message- > From: Stuart Felenstein [mailto:[EMA

RE: [PHP] Question: Simpler loop

2004-10-22 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 22 October 2004 15:34, Stuart Felenstein wrote: > I have rows of input fields > Each row contains 3 fields. The user must fill out > the entire row (all 3 fields) for things to

RE: [PHP] Re-compiling PHP

2004-10-22 Thread Robby Russell
On Fri, 2004-10-22 at 09:26 -0400, Mike R wrote: > > > > find the mysql-devel package that matches the version you are running. > > > > tip: download apt from freshrpms.net > > > > http://ftp.freshrpms.net/pub/freshrpms/redhat/7.3/apt/ > > > > install the rpm for apt... then run: > > apt-get u

Re: [PHP] Trying to Integrate PHP 4.3.4 w/ JDK 1.5.0

2004-10-22 Thread Andrew Hauger
Thanks Raditha. Unfortunately, I am still having problems. I am new to building extensions, and now my problem is an error during the java extension build process. I got the message : configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL when I ran phpize in the ext/java directory. I

Re: [PHP] Question: Simpler loop

2004-10-22 Thread Marek Kilimajer
Stuart Felenstein wrote: I have rows of input fields Each row contains 3 fields. The user must fill out the entire row (all 3 fields) for things to work right. I want to generate an error in case they have only filled in 1 or 2 of the boxes. Thinking I might use something like this: foreach($ski

[PHP] Question: Simpler loop

2004-10-22 Thread Stuart Felenstein
I have rows of input fields Each row contains 3 fields. The user must fill out the entire row (all 3 fields) for things to work right. I want to generate an error in case they have only filled in 1 or 2 of the boxes. Thinking I might use something like this: foreach($skills as $key => $skill)

Re: [PHP] Multiple permisions, different sessions.

2004-10-22 Thread Silvio Porcellana
Hi Pablo it really depends on what you want to do. I mean, if you want a hierarchy of users (like: guest, normal, administrator, root) or you wnat to limit certain users to an "area" of your site and certain others to another area (no hierarchy here, just "fences"). Anyway, in both cases I sugge

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread franco bevilacqua
Christian Stocker wrote: On Fri, 22 Oct 2004 10:44:48 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: Christian Stocker wrote: On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: Hello, I have a question regarding the html_dump_mem function. I build an xml tree wit

RE: [PHP] Re-compiling PHP

2004-10-22 Thread Mike R
> On Thu, 2004-10-21 at 16:05 -0400, Mike R wrote: > > > On Thu, 21 Oct 2004 15:35:09 -0400, Mike R > > > <[EMAIL PROTECTED]> wrote: > > > > Even after re-compiling with the location of the mysql > headers, it still > > > > won't work. :\ > > > > > > > > Pretty discouraging. What version of PHP

Re: [PHP] Multiple permisions, different sessions.

2004-10-22 Thread Brian V Bonini
On Fri, 2004-10-22 at 09:05, Pablo D Marotta wrote: > Hi, I´m developing an intranet on Apache-PHP-Mssql. > I need to know if there´s any way of managing users to have access to specific > areas inside my site, and at the same time, managing other users, giving them > permision to acces other areas

Re: [PHP] Thanks but problem Again! (MySQL & PHP database script PLEASE)

2004-10-22 Thread Ramil Sagum
sorry, M. Sokolewicz, everyone, reposting in english :) (previous post had some japanese text.) >Arigato thank you. It was my pleasure. This is your problem: > Bad query: You have an error in your SQL syntax near 'and Tit like and Aut > like and Auty like ' at line 4 The SQL query you forme

[PHP] Multiple permisions, different sessions.

2004-10-22 Thread Pablo D Marotta
Hi, I´m developing an intranet on Apache-PHP-Mssql. I need to know if there´s any way of managing users to have access to specific areas inside my site, and at the same time, managing other users, giving them permision to acces other areas only, because all of the codes and information I´ve found (

RE: [PHP] Simple Time Question

2004-10-22 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 22 October 2004 11:53, David Robley wrote: > On Fri, 22 Oct 2004 03:51, Mike Ford wrote: > > > To view the terms under which this email is distributed, please go > > to http://d

Re: [PHP] Thanks but problem Again! (MySQL & PHP database script PLEASE)

2004-10-22 Thread Dan McCullough
Its been awhile since I did any PHP but I would look at if you need to excape some of those double quote or encapsulate your sql in a single quote. Sugimoto <[EMAIL PROTECTED]> wrote:Thank you for two of you. Im amazed how quick the replys were. Very pleased. When I simply inserted the PHP sente

[PHP] Serializing objects with protected members

2004-10-22 Thread Francisco M. Marzoa Alonso
Hi, I'm trying to wrote my own serialization routines and I've found a previsible problem: protected members are not visible to my serialization routine. This is ok and it should be as is, but I've seen that PHP's serialize function have access to that members anyway, so the question is: Is the

RE: [PHP] Simple Time Question

2004-10-22 Thread David Robley
On Fri, 22 Oct 2004 03:51, Mike Ford wrote: > To view the terms under which this email is distributed, please go to > http://disclaimer.leedsmet.ac.uk/email.htm > > > > On 21 October 2004 18:01, Robert Cummings wrote: > Believe me, I have researched this extensively -- you will find that the >

[PHP] PHP CLI Forking Problem

2004-10-22 Thread John McKerrell
Hi, We've got a script setup that forks a number of child processes, using pcntl_fork. When a child finishes we capture the SIGCHLD, do pcntl_wait, and then fork of another child. This has worked fine in one script but now using exactly the same forking code in another script has resulted in pro

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread Christian Stocker
On Fri, 22 Oct 2004 10:44:48 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: > Christian Stocker wrote: > > On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua > > <[EMAIL PROTECTED]> wrote: > > > >> Hello, > >>I have a question regarding the html_dump_mem function. I build an xml > >>tree w

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread franco bevilacqua
Christian Stocker wrote: > On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua > <[EMAIL PROTECTED]> wrote: > >> Hello, >> I have a question regarding the html_dump_mem function. I build an xml >> tree with HTML tags. When I dump it, I expect that my brother interpret >> HTML tag procduced by th

Re: [PHP] Question: Validation on select boxes and lists.

2004-10-22 Thread M. Sokolewicz
Stuart Felenstein wrote: I just remembered something (smacks myself in the head) In both my multi select and select menus I use dynamic options (meaning the options available come from a table. So: Table for states would look like this: +--+---+ | StateID | State [Label

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread franco bevilacqua
Christian Stocker wrote: On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: Hello, I have a question regarding the html_dump_mem function. I build an xml tree with HTML tags. When I dump it, I expect that my brother interpret HTML tag procduced by the dump. But the du

RE: [PHP] Question: Validation on select boxes and lists.

2004-10-22 Thread Stuart Felenstein
I just remembered something (smacks myself in the head) In both my multi select and select menus I use dynamic options (meaning the options available come from a table. So: Table for states would look like this: +--+---+ | StateID | State [Label| +--+-

Re: [PHP] DOMXML html_dump_mem question

2004-10-22 Thread Christian Stocker
On Fri, 22 Oct 2004 09:07:46 +0200, franco bevilacqua <[EMAIL PROTECTED]> wrote: > Hello, > I have a question regarding the html_dump_mem function. I build an xml > tree with HTML tags. When I dump it, I expect that my brother interpret > HTML tag procduced by the dump. But the dump produce only

Re: [PHP] Thanks but problem Again! (MySQL & PHP database script PLEASE)

2004-10-22 Thread M. Sokolewicz
Ramil Sagum wrote: On Fri, 22 Oct 2004 16:13:07 +0900, Sugimoto <[EMAIL PROTECTED]> wrote: Thank you for two of you. dou itashimashite. This is your problem: Bad query: You have an error in your SQL syntax near 'and Tit like and Aut like and Auty like ' at line 4 The SQL query you formed may hav

Re: [PHP] Thanks but problem Again! (MySQL & PHP database script PLEASE)

2004-10-22 Thread Ramil Sagum
On Fri, 22 Oct 2004 16:13:07 +0900, Sugimoto <[EMAIL PROTECTED]> wrote: > Thank you for two of you. dou itashimashite. This is your problem: > Bad query: You have an error in your SQL syntax near 'and Tit like and Aut > like and Auty like ' at line 4 The SQL query you formed may have an invalid

[PHP] Apache2 + PHP problem

2004-10-22 Thread Marco Stranieri
    Marco Stranieri Net.Software Division NETHOUSE S.p.A. C.so Re Umberto I, 57 - 10128 Torino - Italy Tel. +39-011-227.227 - Fax +39-011-227.228 http://www.nethouse.it - mailto:[EMAIL PROTECTED] Il presente messaggio non costituisce un impegno contrattuale tra NETHOUSE S.p.

[PHP] Apache2 + PHP problem

2004-10-22 Thread Marco Stranieri
Hi, I’ve a problem when I start apaci on my server:   [EMAIL PROTECTED] bin]$ ./apachectl start Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: undefined symbol: ap_block_alarms   The conf

[PHP] DOMXML html_dump_mem question

2004-10-22 Thread franco bevilacqua
Hello, I have a question regarding the html_dump_mem function. I build an xml tree with HTML tags. When I dump it, I expect that my brother interpret HTML tag procduced by the dump. But the dump produce only a text with my html tag. Does someone knows how to do HTML interpretation with using D

Re: [PHP] Session management

2004-10-22 Thread Tom Rogers
Hi, Friday, October 22, 2004, 4:10:50 PM, you wrote: HS> Hi HS> I am a PHP newbie from a Java/C/Oracle background. I HS> cannot seem to get session management with PHP HS> working. HS>#echo 1; HS> $old = ini_set('session.use_cookies', 0); HS> session_start(); HS> $username = $_REQUES

RE: [PHP] Sessions question

2004-10-22 Thread Reinhart Viane
Owkee here goes: * Removing the foreach loop only supplied me with not being able to log in. But again I dunnot think this is the problem. The variables are stored correctly. At certain times the user_id sessions were just swapped... * Now I've seen that session_register('email');