[PHP] Mail system with folders?

2002-09-11 Thread Leif K-Brooks
I'm designing a site, and I want to put mail with folders on it. Fairly simply, but I'm not sure what to do for the default folders. I want to have three precreated folders: inbox, trash, and sent. I'm not sure about the best way to do these. Any ideas? -- PHP General Mailing List

[PHP] Re: mysql_insert_id

2002-09-11 Thread Erwin
Clemson Chan wrote: Hi guys, I never can get mysql_insert_id? Is this broken with PHP4? Please let me know if you can get it to work. or work around. It works here, but it returns only an ID if the table in which you add a record has a AutoIncrement column, because it will returns the value

[PHP] connection with bibit (XML)

2002-09-11 Thread Wilbert Enserink
Hi all, I am trying to set up a connection between my site and a payment system (bibit). Does anybody know some good URL's which can help set up the connection and parse all XML messages. I'm sure this must have been done before...so there should be no reason to invent the wheel again. thx.

[PHP] Re: Dependent Dropdown Boxes

2002-09-11 Thread lallous
Hi, Try to learn many things from the test code i created below: http://lgwm.org/ozone/dynatable.htm Good luck, Elias Roger Lewis [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The Situation: I'm trying to create a pair of dynamic dropdown boxes where the

[PHP] not passing arguments from HTTP GET?

2002-09-11 Thread Mark Setzer
Hi all, I am running PHP 4.2.2 on Apache 1.3.26 under MacOS X 10.2. My scripts' functionality seems to have gone amok, and while I am not sure this is the fault of php directly, I was hoping someone could help me track down the problem. Basically, if I have a script that I pass arguments to

Re: [PHP] header() problem!!!!

2002-09-11 Thread Jim lucas
This is not a bug. This is just one of many differances between the big browser war. With Netscape (not sure which versions), the attachment thing I found is required. But with IE it kills the browser. ? define('MSIE', (preg_match(/msie/i, $_SERVER['HTTP_USER_AGENT])?1:0));

[PHP] sessions nightmare

2002-09-11 Thread Chris
Greetings, I am a new user to php and sessions and for the life of me I cannot figure this out I want to be able to have a user login (which is completed), they goto a search page (completed), and search for a particular item (completed). A page will display all the links for the

Re: [PHP] sessions nightmare

2002-09-11 Thread John Wards
I can't see anything sticking out...but why have you done this... $test2Url = test2.php?PHPSESSID= . session_id( ); You don't need to do this. Try doing this $test2Url = test2.php; Your server might be set up to use a different name for sessions John Wards SportNetwork.net - Original

[PHP] Re: Help, Parse error caused by quotes andapostrophes in function, How do I fix this?

2002-09-11 Thread lallous
try this: exec('convert picture.jpg -font Arial-Bold -pointsize 20 -fill red -gravity southeast -draw text 10,10 \'my text to add to picture\' text-overlay.jpg'); when you start with a single quote - you have to end with a single quote while escaping (using \) all its occurences in the used

[PHP] Re: sessions nightmare

2002-09-11 Thread lallous
I use JavaScript cookie to accomplish what you're doing in your case: script function setCookie(name, value, expires, path, domain, secure) { var curCookie = name + = + escape(value) + ((expires) ? ; expires= + expires.toGMTString() : ) + ((path) ? ; path= + path : ) +

[PHP] Re: sessions nightmare

2002-09-11 Thread Erwin
I want to be able to have a user login (which is completed), they goto a search page (completed), and search for a particular item (completed). A page will display all the links for the items searched for (completed). What I want out of sessions is to when they click on the link for a

Re: [PHP] Strore Data in File

2002-09-11 Thread Marek Kilimajer
You may use either dBase ( http://www.php.net/manual/en/ref.dbase.php ) or http://www.php.net/manual/en/ref.dba.php Ram K wrote: Hi I want to store the data of a table in a file and read that file just as one would read a table. For e.g. I have a table t_data with cols

[PHP] Re: sessions nightmare

2002-09-11 Thread Philippe Saladin
Your variable in session is called Item, so session_register(SESSION) is wrong. It should be session_register(Item). But, as you use directly the new syntax ($_SESSION) to affect the variable, you don't need session_register. The variable Item will be automatically registered when you write

Re: [PHP] Questions regarding inserting and updating data into aMySQL db

2002-09-11 Thread Marek Kilimajer
mysql_insert_id() will tell you the number of last auto_increment insert, you can use this, but you must keep it using session on the server side for security reasons. But better solution be to use session or hidden fields in your forms to pass the values from page to page and insert them at

[PHP] PHP as a tool for developing enterprise systems.

2002-09-11 Thread Scott Houseman
Dear all. I have just had a discussion in which it was said that PHP cannot be used to develop a *true* enterprise system. In light of this, I would be very interested to hear you comments/opinions/arguments on: 1. What would you consider to be a true enterprise system? 2.Is his statement

[PHP] header question

2002-09-11 Thread Meltem Demirkus
Hi , I want to know if there is any way to send data in header(Location:login.php) .I know how to send like this a href=\login.php?id=$ID\ but I need to use header and I dont know howto do this?... thanks alot meltem demirkus -- PHP General Mailing List (http://www.php.net/) To

[PHP] Sending Attachements through php email form

2002-09-11 Thread Heidi Belal
Hi, I was wondering if anybody could tell me the best way and how to code sending an attachement with an email form. I want the user to be able to browse and select the file he wants to attach, and i want the reciepent to be able to see the file that has been attached with the email.

Re: [PHP] header question

2002-09-11 Thread Chris Wesley
On Wed, 11 Sep 2002, Meltem Demirkus wrote: I want to know if there is any way to send data in header(Location:login.php) .I know how to send like this a href=\login.php?id=$ID\ but I need to use header and I dont know howto do this?... header( Location: login.php?id=${ID} );

[PHP] Sessions problem and unsettling Session variables

2002-09-11 Thread David Russell
Hi all, I have a problem... I have 3 pages in a search mechanism. Page 1 (Search.php) unsets all related session variables. It then displays a form which allows the user to specify search criteria. Submission sends us to Page 2 Page 2 (generateListSQL.php) Sets up the basic database search

RE: [PHP] not passing arguments from HTTP GET?

2002-09-11 Thread Jay Blanchard
[snip] I am running PHP 4.2.2 on Apache 1.3.26 under MacOS X 10.2. My scripts' functionality seems to have gone amok, and while I am not sure this is the fault of php directly, I was hoping someone could help me track down the problem. Basically, if I have a script that I pass arguments to on a

[PHP] PHP, ask questions

2002-09-11 Thread Ralf Bengl
hallo ..., my name is ralf and i read the comments from the last weeks about download a file with php on http://www.php.net/manual/en/function.header.php. i tryed a few of this examples, but i have still a problem with downloading a file, i.e. a ms-word file or a pdf-file or something else: i

[PHP] How to pass null as value?

2002-09-11 Thread Chuck PUP Payne
I know this may have been asked a thousand times but how do you pass null on to a page as a value. Let say in a field where you have a yes and no. Null needs to equal no. Is this more mysql? Can it be done in php? Chuck Payne Magi Design and Support -- PHP General Mailing List

RE: [PHP] How to pass null as value?

2002-09-11 Thread Jon Haworth
Hi Chuck, how do you pass null on to a page as a value. Let say in a field where you have a yes and no. Null needs to equal no. Pass from where? If it's a checkbox on a form, just use isset() to test for the existence of the variable: true means it's ticked, false means it isn't. If

[PHP] Unable to flush output

2002-09-11 Thread PHP
Hi all, Until yesterday i was running Apache/2.0.36 (Unix) mod_ssl/2.0.36 OpenSSL/0.9.6c PHP/4.2.1 and was able to flush script output to browser (using flush() ), before the script stops executing. I upgraded to Apache/2.0.40 (Unix) mod_ssl/2.0.40 OpenSSL/0.9.6g PHP/4.2.3 and on the same

RE: [PHP] PHP as a tool for developing enterprise systems.

2002-09-11 Thread Jay Blanchard
[snip] I have just had a discussion in which it was said that PHP cannot be used to develop a *true* enterprise system. In light of this, I would be very interested to hear you comments/opinions/arguments on: 1. What would you consider to be a true enterprise system? [/snip] Here is one

Re: [PHP] header question

2002-09-11 Thread Krzysztof Dziekiewicz
On Wed, 11 Sep 2002, Meltem Demirkus wrote: I want to know if there is any way to send data in header(Location:login.php) .I know how to send like this a href=\login.php?id=$ID\ but I need to use header and I dont know howto do this?... header( Location: login.php?id=${ID} ); What

[PHP] basilix

2002-09-11 Thread sonjaya
I have installed basilix 1.1.0 , I have imap too also php support for imap but why every I get to basilix always get error like this: xx.xx.xx.xx - - [12/Sep/2002:19:09:45 -0400] GET index.php?testCookie=1 HTTP/1.1 302 5 looping until I stop the browser .. any one how to solve this problem.

Re: [PHP] Sending Attachements through php email form

2002-09-11 Thread Justin French
Hi, I'm not aware of any existing code/samples for this, but the individual components you need to break it down into are pretty straight forward: 1. Learn about forms, validation of user input, and in particular file uploads (which there is a perfect library of working code in the manual:

[PHP] Image Upload

2002-09-11 Thread Sascha Braun
Hi Freaks, I got a problem to solve. This script i wrote seems to have an failure but I don't know why. The Error Message is telling me, that I don't have the permission to do the action I want to do. I thought it has some to do with my windows apache installation, but on linux its the same

Re: [PHP] Apache compile

2002-09-11 Thread William Allmendinger
I deleted the entire source upacked again then did the new compile for the apache module. I have the approprate lines in the httpd.conf file to load the php modules. I just did httpd-l and made sure that the module is loaded. And the cgi iss for local scripting on the server only and I do have

[PHP] Image upload

2002-09-11 Thread Sascha Braun
Please Excuse, the code must look like this: if(!file_exists('../images/upload_tmp')) { $dir = '../images/upload_tmp'; mkdir($dir); chmod($dir, 0777); $path = dirname($PATH_TRANSLATED).$dir.'/'; for ($i = 0; $i 10; $i++) { switch($i) { case $i: $source =

Re: [PHP] Unable to flush output

2002-09-11 Thread Marek Kilimajer
Didn't you enable some apache extentions, like compression. PHP wrote: Hi all, Until yesterday i was running Apache/2.0.36 (Unix) mod_ssl/2.0.36 OpenSSL/0.9.6c PHP/4.2.1 and was able to flush script output to browser (using flush() ), before the script stops executing. I upgraded to

Re: [PHP] PHP, ask questions

2002-09-11 Thread Marek Kilimajer
Make sure you are not outputing anything besides the headers and actual content of the file, you may also try looking at the downloaded file if there are any php errors and/or warnings. Ralf Bengl wrote: hallo ..., my name is ralf and i read the comments from the last weeks about download a

[PHP] upload

2002-09-11 Thread Sascha Braun
This is the original code: ? if(!file_exists('../images/upload_tmp')) { $dir = '../images/upload_tmp'; mkdir($dir); chmod($dir, 0777); $path = dirname($PATH_TRANSLATED).$dir.'/'; for ($i = 0; $i 10; $i++) { switch($i) { case 0: $source = $image1;

[PHP] Upload

2002-09-11 Thread Sascha Braun
This is the Error Message: value of $source : C:\WINNT\TEMP\php98.tmp Error: 0 Warning: Unable to open '' for reading: Permission denied in C:\Webverzeichnis\docs\living_sports\living_sports\lsadmin\includes\image.handling.inc.php on line 129

[PHP] Comments in code

2002-09-11 Thread Gerard Samuel
I just started writing comments in my code for use with phpdocumentor. And Im beginning to wonder if too many comments is a *bad* thing. I was wondering about file size, but dont think that can be avoided, and php's parser speed. Nothing bad, just looking to see what others have to say about it.

RE: [PHP] Comments in code

2002-09-11 Thread Jay Blanchard
[snip] I just started writing comments in my code for use with phpdocumentor. And Im beginning to wonder if too many comments is a *bad* thing. I was wondering about file size, but dont think that can be avoided, and php's parser speed. Nothing bad, just looking to see what others have to say

[PHP] question

2002-09-11 Thread Meltem Demirkus
Hi, I am working on a process which turn to the previous page when the user enter something wrong in the form on a page .But I also want to warn the user with an error message on this page ...I know using heder : location but I couldn't add the message ... can anybody help me ? How can I add

Re: [PHP] question

2002-09-11 Thread John Wards
pass the message as a variable header:location.php?message=$message - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 2:31 PM Subject: [PHP] question Hi, I am working on a process which turn to the previous page

Re: [PHP] Unable to flush output

2002-09-11 Thread PHP
I do not have compression in apache - Original Message - From: Marek Kilimajer [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 3:38 PM Subject: Re: [PHP] Unable to flush output Didn't you enable some apache extentions, like compression. PHP wrote:

[PHP] Re:[PHP]question

2002-09-11 Thread Meltem Demirkus
Thanks ...But I know this way about carrying data from one page to another.. I want this message to be seen on the page without my doing anythingand I cant do that?.. - Original Message - From: John Wards [EMAIL PROTECTED] To: Meltem Demirkus [EMAIL PROTECTED]; [EMAIL PROTECTED]

Re: [PHP] question

2002-09-11 Thread Miles Thompson
Julie Meloni to the rescue again - http://www.thickbookcom, you'll find a tutorial on custom error messages. In fact, after working on that you may rethink your approach. Miles Thompson At 04:31 PM 9/11/2002 +0300, Meltem Demirkus wrote: Hi, I am working on a process which turn to the previous

Fw: [PHP] Re:[PHP]question

2002-09-11 Thread Meltem Demirkus
I think because of my bad english I made you misunderstand..I ment this : for example when a person miss an input to fill on the from and then press the submit button I want him to be back to the same form page with a special message that I entered (something like :you left . place

[PHP] Displaying value different from actual value

2002-09-11 Thread Dave Rosenberg
I'm not sure this is possible, but here's what I'd like to do: I know that in order for a set of records from MySQL to display in numerical order on a web page, you need to make the column type Integer, but here's my situation: I'm creating a database of contracts that my organization has.

RE: [PHP] Displaying value different from actual value

2002-09-11 Thread Jay Blanchard
[snip] I'm not sure this is possible, but here's what I'd like to do: I know that in order for a set of records from MySQL to display in numerical order on a web page, you need to make the column type Integer, but here's my situation: I'm creating a database of contracts that my organization

[PHP] Re: mysql query

2002-09-11 Thread bill
function mysql_one_element($query, $element) { // quickly returns just one element from a query $one=mysql_query($query); // add error checking here if you wish $r=mysql_fetch_array($one); $thisvalue=$r[$element]; return($thisvalue); } $row=mysql_one_element(select euro from

Re: Fw: [PHP] Re:[PHP]question

2002-09-11 Thread Support @ Fourthrealm.com
Meltem, You're much better off to use JavaScript to perform the form validation. This way, when the user clicks on the Submit button, JavaScript can make sure that values are filled in, or that they are within range, and can then pop up a message advising them of any errors, and that they

Re: [PHP] Displaying value different from actual value

2002-09-11 Thread Dave Rosenberg
Thanks Jay. How would that work into something like: printf(bTotal Budget:/b $%sbr\n, mysql_result($result,0,budget)); or printf(trtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/td/trtr\n, $myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7], $myrow[10]); Thanks, Dave Jay

RE: [PHP] Re: mysql query

2002-09-11 Thread David Buerer
Look into the LIMIT command, it will limit the number of rows in the result set to the number you specify -Original Message- From: bill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 7:10 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: mysql query function

[PHP] Re: Fw: Questions regarding inserting and updating data into a MySQL db

2002-09-11 Thread bill
comments below Axis Computers wrote: - Original Message - From: Axis Computers To: [EMAIL PROTECTED] ; PHPSent: Tuesday, September 10, 2002 4:51 PMSubject: Questions regarding inserting and updating data into a MySQL db Hi,I'm developing a web application that uses forms for user

[PHP] Multiple user session management confusion?

2002-09-11 Thread Ian Thurlbeck
Dear All We are testing a multi-user quiz system with PHP session management. Everything has been fine until we tested the system with about 12 users... Each user gets an individual instantiation of some questions and they type in some answers and submit them for marking. To remember the

Re: [PHP] Re:[PHP]question

2002-09-11 Thread John Wards
oh missed something out... function your_form_html($var_1=null, $var_2=null){ global $message echo $message; ?etc... This will print out your form again with the variables the user submited plus the message. Is this what you need? John I think it only prints out the message .. am I wrong?

RE: [PHP] Displaying value different from actual value

2002-09-11 Thread Jay Blanchard
[snip] Thanks Jay. How would that work into something like: printf(bTotal Budget:/b $%sbr\n, mysql_result($result,0,budget)); or printf(trtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/t dtd%s/td/trtr\n, $myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7], $myrow[10]); [/snip] You

[PHP] ucwords()?

2002-09-11 Thread Tommi Virtanen
Hi! I'll try to convert field first char to upper by using ucwords(). Well, this doesn't seem to work correct. Well maybe error came, because that characteres are not standard (they are special characterers, finnish language). Example: $work_text = perhepäivähoitaja; $work_text = ucwords

RE: [PHP] ucwords()? and åäö

2002-09-11 Thread Ville Mattila
I can't say correct answer to this, but want also notify that strtoupper() -function doesn't affect to those special charters å, ä and ö that are very common in Finnish language. Ville -Original Message- From: Tommi Virtanen [mailto:[EMAIL PROTECTED]] Sent: 11. syyskuuta 2002 17:14 To:

RE: [PHP] Re: Dependent Dropdown Boxes

2002-09-11 Thread Roger Lewis
Thanks Elias, I took a look at the code and there are indeed many things to learn; however, it's all in js. I'm trying to have php write the js, but I don't know enough about arrays and manipulating their elements. Roger -Original Message- From: lallous [mailto:[EMAIL PROTECTED]] Sent:

[PHP] basic voting

2002-09-11 Thread Justin French
Hi, I'm looking to implement very basic like it | hate it voting for a product on a site, but I'd like to implement some simple (or not so simple) ways of ensuring people don't vote over and over and over. 1. I could set a cookie. Sure, they could delete the cookie and re-vote though, and

[PHP] Re: mysql query

2002-09-11 Thread bill
Ooops, for clarity, I shouldn't have named the result of the function row but euro. It should be: $euro=mysql_one_element(select euro from brandstofprijzen where id=2, euro); Bill wrote: function mysql_one_element($query, $element) { // quickly returns just one element from a query

Re: [PHP] Re:[PHP]question

2002-09-11 Thread John Wards
Meltem, Your english is very good but you have lost me :) could you explain more slowly John - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: John Wards [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 3:32 PM Subject: Re: [PHP] Re:[PHP]question then it is

RE: [PHP] basic voting

2002-09-11 Thread David Buerer
Justin, you've just asked for a way to restrict the possible number of votes from any one person to 1, however, you don't want to find out anything about that person! Although I certainly understand your position, you either have to get from them some information specific to the person, like,

Re: [PHP] header() problem!!!!

2002-09-11 Thread Henrik Hudson
I have not had any problems on IE 6 with this. The code I am using on numerous scripts looks like this: header(Content-Disposition: attachment; filename=$filename); header(Content-Type: application/octet-stream); fpassthru($filehandle); fclose($filehandle); Maybe the the combination of using

RE: [PHP] Re: mysql query

2002-09-11 Thread David Buerer
sorry bill, i misunderstood your question. I thought you wanted to only return one row, not just get one value. Given my new understanding, I would do something like this which is only a slight variant on what you did $result = mysql_query(select euro from brandstofprijzen where id=2) or die

Re: [PHP] basic voting

2002-09-11 Thread Justin French
on 12/09/02 12:12 AM, David Buerer ([EMAIL PROTECTED]) wrote: Justin, you've just asked for a way to restrict the possible number of votes from any one person to 1, however, you don't want to find out anything about that person! I'd consider that a restriction to getting lots of votes in a

Re: [PHP] basic voting

2002-09-11 Thread Adam Williams
Most sites log by IP but if its the IP of a firewall, it would only be one vote from everyone behind the firewall. Adam On Thu, 12 Sep 2002, Justin French wrote: Hi, I'm looking to implement very basic like it | hate it voting for a product on a site, but I'd like

[PHP] is php4.2 supported on freebsd-4.2

2002-09-11 Thread Anil Garg
Hi, i am using php.4.1.2. on freebsd 4.2 i want to upgrade from 4.1.2 to 4.2.2... The problem is: 1. Is php 4.2.2 supported on freebsd-4.2 ? 2. Can this happen that after upgrade(of php).some code doesnt work on 4.2.2 which was working on 4.1.2. thanx and regards anil -- PHP General

RE: [PHP] basic voting

2002-09-11 Thread James E Hicks III
How bout this for just a little better than IP logging. ? if (getenv(HTTP_X_FORWARDED_FOR)){ $internalip=getenv(HTTP_X_FORWARDED_FOR); } if (getenv(REMOTE_ADDR)){ $externalip=getenv(REMOTE_ADDR); } echo $externalip.-.$internalip; ? -Original Message- From: Adam Williams

RE: [PHP] basic voting

2002-09-11 Thread David Buerer
Since you haven't divulged your task, I'm guessing from comments that receving 24 votes from faked emails is a really bad thing. In that case you have no choice but to thoroughly authenticate your users! Hey, at least it's not a complicated thing to do, just kind of pain on everyones end.

[PHP] IPlanet Webserver

2002-09-11 Thread Chris Boget
Do any of you guys have experience setting PHP up with the IPlanet webserver? We are trying it out (for a client) and we can't seem to get to so that PHP gets the POST or GET variables passed from a form and would like to talk with someone who's had experience working with or around this

RE: [PHP] is php4.2 supported on freebsd-4.2

2002-09-11 Thread MET
I'm guessing that pages requiring passing data isn't working correctly right? If so here's what you do. cd php-4.2.2 ./configure (whatever options you want here) make make install make clean (add the appropriate lines to your httpd.conf file, the ones you have from 4.1.2 should be

[PHP] Illegal characters in HTML form element names.

2002-09-11 Thread Jared Williams
Hi, The HTML standard defines the set of characters that are valid in form element names. It does not include [ or ] and yet this seems to be the only way to get a set of form elements grouped into an array for server side processing. Why doesnt PHP do (Perl/ASP) automatically create an

[PHP] Session Vars problem

2002-09-11 Thread Krispi
Hi, I have a problem when registering Session variables. Let me describe. I have 2 files. In the first one initialization is done and some session registering. The second one is my main application. If I call a method from the first file in my main file , variables are not registered. I use

Re: [PHP] question

2002-09-11 Thread Adam Williams
I just wanted to chime in here and say that Julie Meloni's books are awesome. I have PHP Essentials and her Teach yourself PHP in 24 hours book. I plan to buy her PHP Fast and Easy 2nd edition very soon. Adam On Wed, 11 Sep 2002, Miles Thompson wrote: Julie Meloni to

[PHP] Re: IPlanet Webserver

2002-09-11 Thread Neophyte
If PHP is setup and working fine and simply not getting POST or GET vars, it can depend on the PHP version you have installed. but the $HTTP_POST_VARS and $HTTP_GET_VARS should work on any version of PHP4. If your still having trouble and using those arrays then im unsure as to what else could

Re: [PHP] Mail() function problem

2002-09-11 Thread Alva Chew
Hi, does that mean I can do nothing about it? Alva Pekka Saarinen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... At 9/10/2002, you wrote: Hi Everyone, I did a simple test with this script: ?php mail([EMAIL PROTECTED], test, this is a test mail); echo

Re: [PHP] IPlanet Webserver

2002-09-11 Thread Henrik Hudson
Make sure you're accessing your variables correctly as well. Remember, register_globals is now off by default, so you can't just access POST and GET vars by variable name, but insterad use $_POST[varname] or $_GET[varname] On Wednesday 11 September 2002 10:42, Chris Boget wrote: Do any of you

[PHP] PHP And Apache

2002-09-11 Thread Glenn
Can anyone tell me if the latest version of PHP works with the latest Apache web server? When I try to build the server it says its not, but I wondered if there were any patches or changes I could make for them to work properly? Thanks, glenn -- PHP General Mailing List

Re: [PHP] PHP And Apache

2002-09-11 Thread Rasmus Lerdorf
Use the latest Apache 1.3.x and the latest PHP. Works just fine. Apache 2.0.x is a completely different beast. -Rasmus On Wed, 11 Sep 2002, Glenn wrote: Can anyone tell me if the latest version of PHP works with the latest Apache web server? When I try to build the server it says its not,

[PHP] Need PHP programmer ASAP..

2002-09-11 Thread Michael Plasse
Hello, I need a PHP programmer ASAP to help with site updates on large childrens webiste. Please reply to: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP help needed

2002-09-11 Thread Michael Plasse
Hello, I need a PHP programmer to assist me with updates to childrens website. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP And Apache

2002-09-11 Thread Glenn
ok then... thanks Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Use the latest Apache 1.3.x and the latest PHP. Works just fine. Apache 2.0.x is a completely different beast. -Rasmus On Wed, 11 Sep 2002, Glenn wrote: Can anyone tell me

[PHP] Re: Sending Attachements through php email form

2002-09-11 Thread Manuel Lemos
Hello, On 09/10/2002 11:07 AM, Heidi Belal wrote: Hi, I was wondering if anybody could tell me the best way and how to code sending an attachement with an email form. I want the user to be able to browse and select the file he wants to attach, and i want the reciepent to be able to see

[PHP] PHP and Special Characters

2002-09-11 Thread Rick King
Apache: 1.3.23 PHP: 4.1.2 Hello PHP Guru's! I have created a simple web form. When the form is complete and submitted, the results are emailed to an email account. But I have noticed that the ' character is escaped. Example: John O\ 'Connor, instead of getting John O'Connor. Is this a problem

Re: [PHP] PHP and Special Characters

2002-09-11 Thread Adam Williams
use stripslashes() or turn on magic quotes in php.ini On Wed, 11 Sep 2002, Rick King wrote: Apache: 1.3.23 PHP: 4.1.2 Hello PHP Guru's! I have created a simple web form. When the form is complete and submitted, the results are emailed to an email account. But I have noticed that the '

[PHP] is php-4.2.3 a stable version?

2002-09-11 Thread Anil Garg
Hi, i am using freebsd4.2 I couldnt find if the latest php-versiono 4.2.3 a stable version ?? i mean shall i use 4.2.2 or 4.2.3 ? thanx and regards anil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help with making an xslt class

2002-09-11 Thread Geoff
I am trying to make a class to process xslt transformations. Here is the class: class xslTransformer extends makexml{ var $xh; function xslTransformer($xslfile) { $this-xh = xslt_create(); $result=xslt_process($this-xh,$this-xmlstr,$xslfile); //errors

RE: [PHP] is php-4.2.3 a stable version?

2002-09-11 Thread MET
PHP 4.2.3 is mainly fixes to 4.2.2 but yes it is stable and a suggested update. ~ Matthew -Original Message- From: Anil Garg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 2:46 PM To: [EMAIL PROTECTED] Subject: [PHP] is php-4.2.3 a stable version? Hi, i am using

RE: [PHP] help with making an xslt class

2002-09-11 Thread Brian V Bonini
Isn't this what the salbatron library is for? -Original Message- From: Geoff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 2:52 PM To: php list Subject: [PHP] help with making an xslt class I am trying to make a class to process xslt transformations. Here is

[PHP] How do I upgrade my version of PHP?

2002-09-11 Thread Monty
I've downloaded the patch file for 4.2.2 to 4.2.3 from the PHP website, but, not sure what to do with this file. I have a Linux 7.x server. Can anyone tell me how to patch my version of PHP or point me to a source that explains how this is done? Thanks! -- PHP General Mailing List

Re: [PHP] Mail system with folders?

2002-09-11 Thread Leonid Mamtchenkov
Dear Leif K-Brooks, Once you wrote about [PHP] Mail system with folders?: I'm designing a site, and I want to put mail with folders on it. Fairly simply, but I'm not sure what to do for the default folders. I want to have three precreated folders: inbox, trash, and sent. I'm not sure

RE: [PHP] help with making an xslt class

2002-09-11 Thread Geoff
I am using the sablotron xslt library I just want to make a class to minimize the code I need to write and make it easier to maintain. When I do it like so: // create XSLT processor $xh = xslt_create(); // call xslt processor // Process the document $result =

[PHP] Query result to an array

2002-09-11 Thread Christian Ista
Hello, A query return x rows, by rows there are 4 fields. I'd like to put the result in an array, a 2 dimensions array. Could you tell me how to do that ? Bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Query result to an array

2002-09-11 Thread Zak Greant
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On September 11, 2002 14:12, Christian Ista wrote: Hello, A query return x rows, by rows there are 4 fields. I'd like to put the result in an array, a 2 dimensions array. Could you tell me how to do that ? Something like this may work for

Re: [PHP] Displaying value different from actual value

2002-09-11 Thread Zak Greant
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On September 11, 2002 07:57, Dave Rosenberg wrote: I'm not sure this is possible, but here's what I'd like to do: I know that in order for a set of records from MySQL to display in numerical order on a web page, you need to make the column type

[PHP] cookie problem...

2002-09-11 Thread rtrt
we are using apache 1.3.12 server, php 4.2.3 on linux. Before, we didn't write cookies.txt on harddisk. We changed some configuration in httpd.conf like. We disabled mod_proxy module and then cookie had been wrote. But now, we are not reading cookie variables from cookies.txt (Netscape). I konw

Re: [PHP] ucwords()? and åäö

2002-09-11 Thread Zak Greant
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here is a quick replacement script* for ucwords() that can be made to handle accented characters or interesting casing rules. It is a bit uppercase happy - - uppercasing any letter that comes after a non-letter character. *(Taken from the PHP

RE: [PHP] Query result to an array

2002-09-11 Thread Christian Ista
while( $temp = mysql_fetch_row($mysql_result_handle) ) { $array[] = array( 'key0' = array( 'keya' = $temp[0], 'keyb' = $temp[1], ), 'key1' = array( 'keya' = $temp[2],

[PHP] open_basedir without safe mode?

2002-09-11 Thread Ville Mattila
Hi there, I was wondering if there is a possibility to get open_basedir preferences (also set via .htaccess) active in a server running not PHP in open_basedir. I should create a small home site space for some users with PHP equipped, but I don't like to put safe mode on as there are some other

[PHP] Re: How do I upgrade my version of PHP?

2002-09-11 Thread nicos
You should use the patch command, feel free to man patch. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Monty [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] I've downloaded the patch file for 4.2.2 to 4.2.3 from the PHP

Re: [PHP] Query result to an array

2002-09-11 Thread Zak Greant
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On September 11, 2002 15:05, Christian Ista wrote: while( $temp = mysql_fetch_row($mysql_result_handle) ) { $array[] = array( 'key0' = array( 'keya' = $temp[0], 'keyb' = $temp[1],

Re: [PHP] open_basedir without safe mode?

2002-09-11 Thread Rasmus Lerdorf
safe mode and open_basedir are completely separate. On Thu, 12 Sep 2002, Ville Mattila wrote: Hi there, I was wondering if there is a possibility to get open_basedir preferences (also set via .htaccess) active in a server running not PHP in open_basedir. I should create a small home site

  1   2   >