[PHP] i'm beginner and i couldn't solve the problem

2004-12-08 Thread Mecnun
I'm usin php, apache and mysql on my computer. I have run some scripts. so i'm sure i installed them correctly. One of my script don't run properly, also it doesnt give error. I'm trying to send some data to my database by using a form. The database can get the auto incremented number but

[PHP] mail with attachment

2004-12-08 Thread Dre
Hi, I'm trying to send a mail with attachment, using mail() fucntion .. the mail is sent with the attached file, but when I open my mail box to check the mail I sent using my script, I find the normal text contents and the attachment displayed as text too !!! ex. if I attached a document, it will

Re: [PHP] i'm beginner and i couldn't solve the problem

2004-12-08 Thread Sagar C Nannapaneni
$sql = INSERT INTO testTable values ('', '$_POST[testField]'); should be $var = $_POST[testField]; $sql = INSERT INTO testTable values ('', '$var'); /sagar - Original Message - From: Mecnun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 4:23 PM Subject:

Re: [PHP] php editor or php IDE for linux with autocompletion

2004-12-08 Thread [EMAIL PROTECTED]
Steve Brown wrote: Eclipse: http://www.eclipse.org/ PHPEclipse: http://www.phpeclipse.de/ What about Eclipse? Did anyone make it work? How does it compare to Kdevelop? I tried to install it, unsuccesfully, on Mandrake 10.1 CE. Apparently, one library is missing (but the library does not

Re: [PHP] (Quanta) php editor or php IDE for linux with autocompletion

2004-12-08 Thread [EMAIL PROTECTED]
Jason Wong wrote: What version of quanta are you using? Autocompletion was available quite a while ago. I am using Quanta 3.2.3, and php auto completion does not work. How do you activate it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] (Quanta) php editor or php IDE for linux with autocompletion

2004-12-08 Thread Jason Wong
On Wednesday 08 December 2004 19:49, [EMAIL PROTECTED] wrote: Jason Wong wrote: What version of quanta are you using? Autocompletion was available quite a while ago. I am using Quanta 3.2.3, and php auto completion does not work. How do you activate it? I think I may have misunderstood

Re: [PHP] (Quanta) php editor or php IDE for linux with autocompletion

2004-12-08 Thread [EMAIL PROTECTED]
Jason Wong wrote: I think I may have misunderstood what you mean by auto-completion. What Quanta does is auto-complete words that you *already* have in the document. Not really. With HTML / XHTML Quanta does auto complete words, tags, properties, attributes which are in the DTD. Or am I

Re: [PHP] (Quanta) php editor or php IDE for linux with autocompletion

2004-12-08 Thread Raditha Dissanayake
[EMAIL PROTECTED] wrote: Jason Wong wrote: I think I may have misunderstood what you mean by auto-completion. What Quanta does is auto-complete words that you *already* have in the document. Not really. With HTML / XHTML Quanta does auto complete words, tags, properties, attributes which

[PHP] Pear libraries

2004-12-08 Thread eric LUDINART
hi, I search a package with all available libraries PEAR in on pack ... for manual update ... thanks. eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] i'm beginner and i couldn't solve the problem

2004-12-08 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 08 December 2004 11:29, Sagar C Nannapaneni wrote: $sql = INSERT INTO testTable values ('', '$_POST[testField]'); should be $var = $_POST[testField]; $sql = INSERT INTO

[PHP] Re: PEAR performance/overhead

2004-12-08 Thread Joshua Beall
David Dickson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I was told that PEAR has too much overhead to be considered for a large scale site. Does any one feel the same? Is this an outrageous comment? I would like to hear comments from people who are using PEAR, or people who

[PHP] Re: PHP Security

2004-12-08 Thread Joshua Beall
Greg Donald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The other day a post came across one of those mailing lists discussing PHP security. One of the posters was describing how insecure PHP's file upload functionality is and went on to explain a simple method of attaching

[PHP] Re: OT Re: Desparate

2004-12-08 Thread Peter Lauri
I have looked there, did not find what I wanted :) Know of any open MySQL newsgroup? Java newsgroup? /Peter David Robley [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] On Wed, 8 Dec 2004 16:31, Peter Lauri wrote: Best groupmember, I just moved to Bangkok and have a huge

Re: [PHP] how to display the content step by step

2004-12-08 Thread Brent Baisley
As far as I know, there is no reliable way to force a browser to display data before the whole page is downloaded. A browser won't display information contained in an open tag, like a table. Once the tag is closed, the browser may display part of the data, but this depends on the browser. IE

Re: [PHP] Drawing checkboxes

2004-12-08 Thread Brent Baisley
If I have to pass name/value pairs to a function or anything else, I always use an multidimensional associative array (that's a mouthful). Using a string delimiter is too unreliable and probably slower. Something like this: $checkBoxList[] =

Re: [PHP] (Quanta) php editor or php IDE for linux with autocompletion

2004-12-08 Thread Jason Wong
On Wednesday 08 December 2004 20:09, [EMAIL PROTECTED] wrote: Jason Wong wrote: I think I may have misunderstood what you mean by auto-completion. What Quanta does is auto-complete words that you *already* have in the document. Not really. With HTML / XHTML Quanta does auto complete

[PHP] Re: mail with attachment

2004-12-08 Thread Manuel Lemos
Hello, Dre wrote: I'm trying to send a mail with attachment, using mail() fucntion .. the mail is sent with the attached file, but when I open my mail box to check the mail I sent using my script, I find the normal text contents and the attachment displayed as text too !!! ex. if I attached a

Re: [PHP] (Quanta) php editor or php IDE for linux with autocompletion

2004-12-08 Thread [EMAIL PROTECTED]
Jason Wong wrote: So are you looking to auto-complete (X)HTML tags or are you looking to auto-complete PHP keywords/functions? What is your question? We need to auto-complete PHP words and functions INDIPENDENTLY of the fact that they are present or not in the page. For instance if one

[PHP] Sessions problem

2004-12-08 Thread Dre
Hi, I need to make sessions work in my local machine .. I'm using Apache 2.0.49 on WINDOWS XP PRO. my php.ini sessions section is session.save_handler = files session.save_path = C:\php4\tmp session.use_cookies = 1 session.name = PHPSESSID session.auto_start = 1 session.cookie_lifetime = 0

[PHP] Re: mail with attachment

2004-12-08 Thread Dre
Thanks Manuel, I will check the class and here is the code of the mail sending script //== ?php $att_name = $_POST['att']; echo $att_name; $att_size = filesize($att_name); $handle= fopen($att_name, r); $file = fread($handle,

Re: [PHP] Sessions problem

2004-12-08 Thread Raditha Dissanayake
Dre wrote: Hi, I need to make sessions work in my local machine .. I'm using Apache 2.0.49 on WINDOWS XP PRO. my php.ini sessions section is session.save_handler = files session.save_path = C:\php4\tmp A common problem is that this path is not writable by the webserver please check for that.

[PHP] PHP extensions with EasyPHP 1-7

2004-12-08 Thread Michel Gangloff
I try to use some PHP extensions with EasyPHP 1.7 on Windows XP I have checked the path for extensions in the php.ini file ; it is correct But when I want do add some extensions , some work well , and others don't (they are in the same directory ) I get the following message : Unable to load

Re: [PHP] PEAR performance/overhead

2004-12-08 Thread Ryan King
On Dec 7, 2004, at 12:34 PM, David Dickson wrote: I was told that PEAR has too much overhead to be considered for a large scale site. Does any one feel the same? Is this an outrageous comment? I would like to hear comments from people who are using PEAR, or people who have considered PEAR but

RE: [PHP] i'm beginner and i couldn't solve the problem

2004-12-08 Thread Chris W. Parker
Ford, Mike mailto:[EMAIL PROTECTED] on Wednesday, December 08, 2004 5:18 AM said: $sql = INSERT INTO testTable values ('', '$_POST[testField]'); should be $var = $_POST[testField]; $sql = INSERT INTO testTable values ('', '$var'); Nope -- the original is functionally identical to

Re: [PHP] PHP extensions with EasyPHP 1-7

2004-12-08 Thread Richard Lynch
Michel Gangloff wrote: I try to use some PHP extensions with EasyPHP 1.7 on Windows XP I have checked the path for extensions in the php.ini file ; it is correct But when I want do add some extensions , some work well , and others don't (they are in the same directory ) I get the

RE: [PHP] i'm beginner and i couldn't solve the problem

2004-12-08 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 08 December 2004 16:58, Chris W. Parker wrote: Ford, Mike mailto:[EMAIL PROTECTED] on Wednesday, December 08, 2004 5:18 AM said: $sql = INSERT INTO testTable values

Re: [PHP] i'm beginner and i couldn't solve the problem

2004-12-08 Thread Richard Lynch
Mecnun wrote: I'm usin php, apache and mysql on my computer. I have run some scripts. so i'm sure i installed them correctly. One of my script don't run properly, also it doesnt give error. I'm trying to send some data to my database by using a form. The database can get the auto incremented

Re: [PHP] Re: PHP Security

2004-12-08 Thread Greg Donald
On Wed, 8 Dec 2004 08:42:50 -0500, Joshua Beall [EMAIL PROTECTED] wrote: Can you also provide a link to the relevant message in the mailing list archive? I would like to read this myself. http://seclists.org/lists/security-basics/2004/Dec/0080.html -- Greg Donald Zend Certified Engineer

Re: [PHP] ini_set doesn't work

2004-12-08 Thread Richard Lynch
Mukasa Assey Alfred wrote: Try ini_set(memory_limit, -1); Maybe the quotes on -1 will help, but memory_limit should also have quotes. On Wed, 8 Dec 2004, Joerg P wrote: hello, what do I have to change in php.ini, to allow thr ini_set(memory_limit,-1); command? It doesn't work in my

Re: [PHP] how to display the content step by step

2004-12-08 Thread Richard Lynch
yangshiqi wrote: Just like many applications, I want to display my main content table a sector after a sector, may be row ater row. Is there a specific *WEB* application you are thinking of that does this? Because while many desktop applications may do this, web applications have very little

Re: [PHP] Sessions problem

2004-12-08 Thread Dre
if u can give me an instance of a writable path it would be great. and yes the data do not get saved and I can not run any thing that depends on sessions as they do not get registered Raditha Dissanayake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dre wrote: Hi, I need to make

Re: [PHP] PHP Security

2004-12-08 Thread Richard Lynch
Greg Donald wrote: The other day a post came across one of those mailing lists discussing PHP security. One of the posters was describing how insecure PHP's file upload functionality is and went on to explain a simple method of attaching exploit code to the end of a jpeg or other image

Re: [PHP] Php in Cgi

2004-12-08 Thread Richard Lynch
Peter Law wrote: I am learning Php and have a web site host where scripts have to be in the cgi-bin. What is put in the original web page to call a script from the cgi-bin? The info from the web host is below. Something like this may be useful to you: Make two files. Name one of them:

[PHP] Security Question with my password protected login script...

2004-12-08 Thread Ian Gray
Hello all, I have the following script called login.inc which I include at the beginning of each page on my customer control panel. Basically it checks to see if a session has been created with user details and if it has it carries on with the rest of the page and if not the login screen is

[PHP] stupid question about a class

2004-12-08 Thread Richard Kurth
I have a stupid question but I can not figure it out I am using a class that creates the select statement for mysql. I am ale to add all the data with out any problem. But when I run the class to get the results. I can only see the results by running echo in front of the call to the class . echo

Re: [PHP] Drawing checkboxes

2004-12-08 Thread Richard Lynch
The problem is this. The Values are formatted like this... value1|value2|value3...etc... I use the strstr() function to check against the $default so I can check it if so. Well it works great..BUT, lets say the product has a category of Coffee Pots, but the one of the values available is

RE: [PHP] stupid question about a class

2004-12-08 Thread Stefan
In your class function you should move your query to a variable e.g. $query Then: return $query; And in your main program: $whatever = $q-getQuery(); __ Stefan -Ursprüngliche Nachricht- Von: Richard Kurth [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 8. Dezember 2004 19:21 An:

RE: [PHP] i'm beginner and i couldn't solve the problem

2004-12-08 Thread Richard Lynch
Chris W. Parker wrote: Ford, Mike mailto:[EMAIL PROTECTED] on Wednesday, December 08, 2004 5:18 AM said: $sql = INSERT INTO testTable values ('', '$_POST[testField]'); should be $var = $_POST[testField]; $sql = INSERT INTO testTable values ('', '$var'); Nope -- the original is

Re: [PHP] Re: PHP Security

2004-12-08 Thread Richard Lynch
Greg Donald wrote: On Wed, 8 Dec 2004 08:42:50 -0500, Joshua Beall [EMAIL PROTECTED] wrote: Can you also provide a link to the relevant message in the mailing list archive? I would like to read this myself. http://seclists.org/lists/security-basics/2004/Dec/0080.html Everything described

Re: [PHP] PHP Security

2004-12-08 Thread Rory Browne
There are times when one needs to parse a file that ends in .jpg (or .jpeg) as PHP. Specifically, broken browsers (various versions of IE) that ignore Content-type: headers and use the URL to determine the MIME type will not correctly display a URL such as:

Re: [PHP] PHP Security

2004-12-08 Thread Richard Lynch
Rory Browne wrote: There are times when one needs to parse a file that ends in .jpg (or .jpeg) as PHP. Specifically, broken browsers (various versions of IE) that ignore Content-type: headers and use the URL to determine the MIME type will not correctly display a URL such as:

[PHP] fread()

2004-12-08 Thread Russell P Jones
Is there any way to use fread() or a similar function to read a section of a document NOT starting at the beginning... for example, I can read the first 1000 bytes of a document with fread($doc, 1000); Is there any way to read the second 1000 bytes? perhaps, fread($doc, 1000, 2000); who

RE: [PHP] Magic Quotes Issue

2004-12-08 Thread Tim Owens
Shaun wrote: function db_query($query) { if(!magic_quotes_gpc()){ $qid = mysql_query(addslashes($query)); } else { $qid = mysql_query($query); } return $qid; } But this adds too many slashes! Has anyone come to a better solution regarding this? I believe you should be

RE: [PHP] null as function argumnent?

2004-12-08 Thread Michael Sims
Bas Jobsen wrote: Hi, I want to use a ?: statement. If not true de default function argument have to be used. How to do this ? function test($test='default') { echo $test; } test(($value==1)?'no default':null); What do i have to pass instead of null to get default print? Try

[PHP] null as function argumnent?

2004-12-08 Thread Bas Jobsen
Hi, I want to use a ?: statement. If not true de default function argument have to be used. How to do this ? function test($test='default') { echo $test; } test(($value==1)?'no default':null); ? What do i have to pass instead of null to get default print? Tnx, Bas -- PHP General Mailing

Re: [PHP] Security Question with my password protected login script...

2004-12-08 Thread Richard Lynch
Ian Gray wrote: Hello all, My question is, how secure is this? I have the password, username etc in a MYSQL database but I haven't encrypted it (don't know how) The MySQL 'password' function at http://mysql.com would work. For something that is portable to non MySQL systems, you can use

Re: [PHP] stupid question about a class

2004-12-08 Thread Richard Lynch
Richard Kurth wrote: I have a stupid question but I can not figure it out I am using a class that creates the select statement for mysql. I am ale to add all the data with out any problem. But when I run the class to get the results. I can only see the results by running echo in front of the

[PHP] Populating forms in MMEX (Mail EX)

2004-12-08 Thread Jason Manaigre
Hi everyone, apparently I've come across a situation which should be simple, but I'm not sure where to start. I've configured a mailing script (MMEX) on my site and all work just fine. But what I can't figure out is how to prepopulate my registration form. On this page

RE: [PHP] fread()

2004-12-08 Thread Justin Palmer
I believe that fread uses the handle pointer from when it was opened so... None of the code is tested, I just typed it in. class FileReader { //private var $handle; function FileReader($filePath) { $this-handle = fopen($filePath,'r'); }

Re: [PHP] Security Question with my password protected login script...

2004-12-08 Thread John Holmes
Richard Lynch wrote: Ian Gray wrote: My question is, how secure is this? I have the password, username etc in a MYSQL database but I haven't encrypted it (don't know how) The MySQL 'password' function at http://mysql.com would work. For something that is portable to non MySQL systems, you can use

[PHP] How to make a PHP Socket client crash-proof?

2004-12-08 Thread René Fournier
Hi all, I have a Socket Client that connects to a Server. (It is not multi-socket or multi-anything.) It is VERY simple. How it works: 0. CLIENT connects to SERVER. 1. CLIENT waits for incoming data. 2. If there is no data for a while, CLIENT sends a ping to the SERVER. 3. If the SERVER

[PHP] For Loop

2004-12-08 Thread R. Van Tassel
I have a question about the following code: ** $months_arr = array(JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC); $months_arr_length = count($months_arr); for($i = 0; $i = $months_arr_length; $i++){ echo $months_arr[1]. br /; }

[PHP] Installing Apache and PHP from scratch

2004-12-08 Thread Don
Hi, Have been using RedHat and Fedora Systems. When I install the OS, Apache is usually installed already and I download PHP and install manually. I'd like to install Apache itself but not sure what configuration to use. Is there a command similar to the phpinfo() command that can tell me how

[PHP] Pass mysql array into SESSION?

2004-12-08 Thread Jerry Swanson
I want to pass an array from one page to excell generation page. I tried to pass through session($_SESSION['sql'] = $var). But value is not set. The array is actually $result = mysql_query($query); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Implementing database cache.

2004-12-08 Thread Bruno B B Magalhães
Hi again guys, does anybody have am idea of witch are the required functions to implement a database query cache? I have a very nice and fast database layer, witch I use in all my projects (about 19 sites and a lot of others hot-sites and systems like intranet and extranets). Here is my idea

Re: [PHP] For Loop

2004-12-08 Thread Gareth Williams
What happens is (if I understand it correctly): First, PHP sets $i to equal 0, and then immediately sets $i to $months_arr_length. Every time the loop executes, it resets $1 to $months_arr_length, so you are stuck in an infinite loop. The reason behind this is you are using assignment equals

Re: [PHP] For Loop

2004-12-08 Thread hitek
$i = $months_arr_length is an assignment, not a comparison, so it will always evaluate to true, and you are setting your counter var to 12 every time the loop runs, that's why it runs infinitely. From: R. Van Tassel [EMAIL PROTECTED] Date: 2004/12/08 Wed PM 04:41:00 EST To: 'PHP general'

Re: [PHP] Implementing database cache.

2004-12-08 Thread John Holmes
Bruno B B Magalhes wrote: Hi again guys, does anybody have am idea of witch are the required functions to implement a database query cache? What database are you using? I think most of the common ones already have a cache built into them that you'd just have to enable. That'd be the best

Re: [PHP] Installing Apache and PHP from scratch

2004-12-08 Thread Greg Donald
On Wed, 8 Dec 2004 17:04:26 -0500, Don [EMAIL PROTECTED] wrote: Have been using RedHat and Fedora Systems. When I install the OS, Apache is usually installed already and I download PHP and install manually. I'd like to install Apache itself but not sure what configuration to use. Is there a

Re: [PHP] Re: PHP Security

2004-12-08 Thread Chris Shiflett
--- Greg Donald [EMAIL PROTECTED] wrote: http://seclists.org/lists/security-basics/2004/Dec/0080.html Most of this is actually true. The one statement that is unclear is the following: There are two kinds of flaws : - flaws inherent to the php langage itself, as seen before, in file

Re: [PHP] PHP Security

2004-12-08 Thread Chris Shiflett
--- Richard Lynch [EMAIL PROTECTED] wrote: There are times when one needs to parse a file that ends in .jpg (or .jpeg) as PHP. I can't think of any, unless it's prove that you can do it. :-) Specifically, broken browsers (various versions of IE) that ignore Content-type: headers and use the

Re: [PHP] Re: PHP Security

2004-12-08 Thread Chris Shiflett
--- Richard Lynch [EMAIL PROTECTED] wrote: I personally think that if you can't upload your images outside your web tree then, in fact, your server admin is at fault for not providing you a directory structure that allows that. Good security requires cooperation from both admin and Programmer.

Re: [PHP] Implementing database cache.

2004-12-08 Thread Bruno B B Magalhães
I am using mysql with cache results enable, but as every addicted I want more and more... course I have to benchmark it to see if its worth... Regards, Bruno B B Magalhes On Dec 8, 2004, at 8:34 PM, John Holmes wrote: Bruno B B Magalhes wrote: Hi again guys, does anybody have am idea of witch

Re: [PHP] For Loop

2004-12-08 Thread Travis Conway
try for($i=0;$i$months_arr_length;$i++) look at it as this: for(i as starting point; till i is what? greater than my length; increment i how? by 1) { HTH Trav - Original Message - From: R. Van Tassel [EMAIL PROTECTED] To: 'PHP general' [EMAIL PROTECTED] Sent: Wednesday, December 08,

[PHP] help me split chars w/o spaces by 2... like: 2004

2004-12-08 Thread Louie Miranda
Help me split chars w/o spaces by 2... like: 2004 How can i make it? first: 20 second: 04 Im working on this.. # begin code $year_split = date(Y); $chars = preg_split('//', $year_split, -1, PREG_SPLIT_NO_EMPTY); # end code But it splits the whole 2004 string.. Array ( [0] = 2

[PHP] Re: mail with attachment

2004-12-08 Thread Manuel Lemos
Hello, Dre wrote: Thanks Manuel, I will check the class and here is the code of the mail sending script //== ?php $att_name = $_POST['att']; echo $att_name; $att_size = filesize($att_name); $handle= fopen($att_name, r); $file

RE: [PHP] help me split chars w/o spaces by 2... like: 2004

2004-12-08 Thread Tyler Replogle
have you tride using chop() ? # begin code $year_split = date(Y); $chars = chop($year_split); $chars[0] // = 2 $chars[1] // = 0 $chars[2] // = 0 $chars[3] //= 4 # end code I hope that will help From: Louie Miranda [EMAIL PROTECTED] Reply-To: Louie Miranda [EMAIL PROTECTED] To: [EMAIL

[PHP] Re: Implementing database cache.

2004-12-08 Thread Manuel Lemos
Hello, Bruno b b magalhães wrote: does anybody have am idea of witch are the required functions to implement a database query cache? I have a very nice and fast database layer, witch I use in all my projects (about 19 sites and a lot of others hot-sites and systems like intranet and extranets).

Re: [PHP] Pass mysql array into SESSION?

2004-12-08 Thread Marek Kilimajer
Jerry Swanson wrote: I want to pass an array from one page to excell generation page. I tried to pass through session($_SESSION['sql'] = $var). But value is not set. The array is actually $result = mysql_query($query); did you call session_start() at the beginning of your scripts? Is the query

Re: [PHP] help me split chars w/o spaces by 2... like: 2004

2004-12-08 Thread Robby Russell
On Thu, 2004-12-09 at 09:55 +0800, Louie Miranda wrote: Help me split chars w/o spaces by 2... like: 2004 How can i make it? first: 20 second: 04 Im working on this.. # begin code $year_split = date(Y); $chars = preg_split('//', $year_split, -1, PREG_SPLIT_NO_EMPTY); # end

Re: [PHP] help me split chars w/o spaces by 2... like: 2004

2004-12-08 Thread Louie Miranda
?php $hello2 = chop($year_split); echo $hello2; ? outputs: 2004 Whats the correct syntax for it? The manual said.. This function is an alias of rtrim(). and: rtrim (PHP 3, PHP 4 ) rtrim -- Strip whitespace from the end of a string On Wed, 08 Dec 2004 18:11:19 -0800, Tyler Replogle

[PHP] Close all open tags in HTML text

2004-12-08 Thread Matt Palermo
I am allowing users to imput HTML code into a textarea. After they input this, I wany to output their HTML to the browser. In order for the document to be safe, I need to close all open HTML tags that have been left open by the user, along with any open comments. Is there a way to take an

Re: [PHP] Close all open tags in HTML text

2004-12-08 Thread Raditha Dissanayake
Matt Palermo wrote: I am allowing users to imput HTML code into a textarea. After they input this, I wany to output their HTML to the browser. In order for the document to be safe, I need to close all open HTML tags that have been left open by the user, along with any open comments. Is there

[PHP] login.php

2004-12-08 Thread badlya badlu
Hi All This is my first mail to php mailing list. i want to create one login.php program in linux. i want this page to go the ldap server for authentication. how should i do it. thanks in advance. badlya __ Do you Yahoo!? Read only the mail

[PHP] about installing php

2004-12-08 Thread satya bharti
sir, I am using Red Hat Linux 8.0, and tried many times to install apache 2.0 and php4.0 many times, the message comes that apache and php has installed on my system. when i execute a php program through my web brouser it shows blank. what causes this and how can I solve this problem? plz

RE: [PHP] login.php

2004-12-08 Thread Warren Vail
You can find lots of information on your own by reading the manual, always a good place to start. Try http://us2.php.net/manual/en/ref.ldap.php Google is another source. good luck, Warren -Original Message- From: badlya badlu [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08,

[PHP] Re: Installing Apache and PHP from scratch

2004-12-08 Thread David Robley
On Thu, 9 Dec 2004 08:34, Don wrote: Hi, Have been using RedHat and Fedora Systems. When I install the OS, Apache is usually installed already and I download PHP and install manually. I'd like to install Apache itself but not sure what configuration to use. Is there a command similar

Re: [PHP] about installing php

2004-12-08 Thread Janet Valade
satya bharti wrote: sir, I am using Red Hat Linux 8.0, and tried many times to install apache 2.0 and php4.0 many times, the message comes that apache and php has installed on my system. when i execute a php program through my web brouser it shows blank. what causes this and how can I solve this

: [PHP] Pass mysql array into SESSION?

2004-12-08 Thread yangshiqi
Yes. And also look at your php.ini, if the session's name and path is not set , You must set it above session_start(); Like : session_name('test'); session_save_path(/homes/eric/temp); session_start(); ... -- : Marek Kilimajer [mailto:[EMAIL PROTECTED] : 2004129 10:15 : Jerry Swanson

: [PHP] Close all open tags in HTML text

2004-12-08 Thread yangshiqi
May be you could use a iframe to ensure your own page much safer, despite show the users' inputs is very dangerous. -- : Raditha Dissanayake [mailto:[EMAIL PROTECTED] : 2004129 12:26 : [EMAIL PROTECTED] : Re: [PHP] Close all open tags in HTML text Matt Palermo wrote: I am allowing