Re: [PHP] Using constructs like unset() in expressions like ()()

2004-12-16 Thread Ian Firla
Ciao Tomas, I'm not sure if I followed your question completely but do you mean to test a variable or an array element and unset it if it matches a certain type? If so, then maybe: http://it.php.net/is_int is_bool(), is_float(), is_numeric(), is_string(), is_array(), and is_object() will be

[PHP] fsockopen to own server

2004-12-16 Thread Doc
Hello. I'm having a problem with fsockopen and was wondering has anyone ever noticed a case where it will work from machine1 (dev machine) to machine2. But when the was placed onto machine2 it wouldn't work connecting to it's own ip address; when connecting via telnet it returns: Escape

Re: [PHP] Question in posting form-data

2004-12-16 Thread Erwin Kerk
Yao, Minghua wrote: Hi, all, I am testing how to post form-data to a host using the following code (test.php): ?php function PostToHost($host, $path, $name, $value) { // Test of posting form-data $fp = fsockopen($host,80); fputs($fp, POST

Re: [PHP] Re: Good and free encoder for PHP5

2004-12-16 Thread Greg Donald
On Thu, 16 Dec 2004 01:57:42 -0200, Manuel Lemos [EMAIL PROTECTED] wrote: The point is that old software versions that work on old environment versions do not need you to upgrade the environment version even the vendor deprecates the old version. Wrong. Security issues force upgrades.

Re: [PHP] Re: counting chars..

2004-12-16 Thread Sebastian
strlen is not accurate unless its a raw string, meaning just alpha chars, or numbers.. otherwise you should run trim, strip_tags and the likes first. - Original Message - From: M. Sokolewicz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 16, 2004 6:09 AM Subject: [PHP]

Re: [PHP] Possible to make $$ distributing PHP as Shareware?

2004-12-16 Thread Brent Baisley
I would say it depends on how much money your are looking to make. You're not going to get rich selling it as shareware, but you may build a user base. You could then try switching it to a commercial product. Just remember, if it's a commercial product, people will expect a certain level of

RE: [PHP] smtp server

2004-12-16 Thread Mike
Hi there.. I´m trying to use the mail function but I have a problem. I´m working in a LAN with more or less 30 pcs, that places inside a huge network, and I just can´t use the enterprise smtp server. How can i set a valid smtp server? I thought about installing some good-free smtp server

[PHP] How to distribute php codes safely?

2004-12-16 Thread Jonathan
Hi, Is there a replace to Zend encoder that I can use for free? Zend encoder is too expensive for a small fry developer like me. Thanks for your help. Jonathan Tang -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Database Framework

2004-12-16 Thread Jay Blanchard
[snip] Is there an on-going initiative as far as creating a PHP framework somewhat the same as .Net's framework implementation? Like for instance, the System.Data namespace where PHP developer can just create something like a DataAdapter which can connect to a datastore and fill a DataSet

Re: [PHP] smtp server

2004-12-16 Thread Jason Wong
On Thursday 16 December 2004 23:00, Mike wrote: If you're on any of the *nix'es, it's hard to go wrong with sendmail. I think you mean it's hard not to go wrong with sendmail ;-) -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design

[PHP] GD library with tiff images

2004-12-16 Thread [EMAIL PROTECTED]
hi, I am trying to write an image upload facility, which resizes the images, which I am obviously using the GD library for. Does anyone know if there are any functions I can use to read in images encoded in tiff image format? Cheers, Tom -- Working on webhosting Tel:01388 11 MTA

Re: [PHP] Database Framework

2004-12-16 Thread Jonel Rienton
that had been my intensions, just wanna make sure i'm not reinventing the wheel :) regards, http://jonel.road14.com -- I not know English well, but I know 7 computer languages. anonymous On Dec 16, 2004, at 7:29 AM, Jay

[PHP] Oversized file behaviour

2004-12-16 Thread [EMAIL PROTECTED]
Hello people. I am working on a file upload script, which has an upload limit of 2MB (set by directive in php.ini). when I try to upload a file that is larger than that it loads the page it is meant to but something strange happens to the $_POST data, it all seems to dissappear. can someone

Re: [PHP] smtp server

2004-12-16 Thread M. Sokolewicz
Jason Wong wrote: On Thursday 16 December 2004 23:00, Mike wrote: If you're on any of the *nix'es, it's hard to go wrong with sendmail. I think you mean it's hard not to go wrong with sendmail ;-) no, that means it's easy to go wrong with sendmail... I think Mike did mean that it's hard to go

Re: [PHP] Oversized file behaviour

2004-12-16 Thread Richard Lynch
[EMAIL PROTECTED] wrote: Hello people. I am working on a file upload script, which has an upload limit of 2MB (set by directive in php.ini). when I try to upload a file that is larger than that it loads the page it is meant to but something strange happens to the $_POST data, it all seems

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-16 Thread Raditha Dissanayake
Michael Leung wrote: Hi All, My problem is finally solved by totally off SELinux Security Policies. I told you so :-)) Thank you very verry much the helps from yours! I know this is not very safe solution, but at the leasy my script can work yours, Michael -- Raditha Dissanayake.

Re: [PHP] fsockopen to own server

2004-12-16 Thread Raditha Dissanayake
Doc wrote: Hello. I'm having a problem with fsockopen and was wondering has anyone ever noticed a case where it will work from machine1 (dev machine) to machine2. happens all the time :-) But when the was placed onto machine2 it wouldn't work connecting to it's own ip address; when connecting

Re: [PHP] GD library with tiff images

2004-12-16 Thread Richard Lynch
[EMAIL PROTECTED] wrote: I am trying to write an image upload facility, which resizes the images, which I am obviously using the GD library for. Does anyone know if there are any functions I can use to read in images encoded in tiff image format? As far as I know, the GD image functions of

Re: [PHP] Oversized file behaviour

2004-12-16 Thread Raditha Dissanayake
[EMAIL PROTECTED] wrote: Hello people. I am working on a file upload script, which has an upload limit of 2MB (set by directive in php.ini). when I try to upload a file that is larger than that it loads the page it is meant to but something strange happens to the $_POST data, it all seems to

RE: [PHP] Question in posting form-data

2004-12-16 Thread Richard Lynch
You also need to URLEncode the $value, either before you pass it in, or inside the function itself. Where did you get this PostToHost function?... Did you modify it? Cuz, like, I don't think this one is very good... Where did that content-disposition: come from? And virtually every FORM on

[PHP] Question

2004-12-16 Thread Dennis Yang
Hi, I'm using PHP 4.3.2 and using ODBC to connect to my Access database. I want to get the value from this query statement: select count(id) as quantity from danhmucdia. How can I get this value? How can I equalize this value into variable ? Thank you for reading my email. Dennis

Re: [PHP] Database Framework

2004-12-16 Thread Richard Lynch
Jonel Rienton wrote: Is there an on-going initiative as far as creating a PHP framework somewhat the same as .Net's framework implementation? Like for instance, the System.Data namespace where PHP developer can just create something like a DataAdapter which can connect to a datastore and fill

[PHP] GD, problem adding text to GIF images

2004-12-16 Thread Juan Nin
Hi, I'm adding text to images using the native gd in PHP 4.3.9 I have no problems with jpg images, but with gif ones, the colour of the text added to the image always results a dark grey The image itself and text are fine, but not the colour, which should be white.. Has anyone experienced this

RE: [PHP] Parse Error... how to fix?

2004-12-16 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 16 December 2004 17:39, GH wrote: Hi All... Got a problem... here is the error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in

Re: [PHP] Using constructs like unset() in expressions like ()()

2004-12-16 Thread Richard Lynch
Tomas Tintera wrote: Is there some construct, which evaluates any type of its parameter (like t_echo, t_unset) and returns some value with normal type (like 0)? What? I would like to unset a variable in an operation like ()?unset():() and I can not use if because if does not return normal

Re: [PHP] Parsing php in html with IIS

2004-12-16 Thread Richard Lynch
Eric Lindsey wrote: How do I configure my IIS server to parse a specific .html file for php code? I know how to do this on apache, but windows scares me :-) So far, all the answers assume he wants to have *ALL* .html files parsed as PHP. He only wants *ONE* *SPECIFIC* .html file

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread GH
I will try this when i get back to my other computer where development takes place the script format was originally started by an IDE that I am starting to add my code to ... so I will look at. On Thu, 16 Dec 2004 18:19:43 -, Ford, Mike [EMAIL PROTECTED] wrote: To view the terms under

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Brian Dunning
line 42 is: TITLE $language['program_name'] /TITLE\n . Try: 'TITLE'.$language['program_name'].'/TITLE' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Richard Lynch
GH wrote: Got a problem... here is the error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /var/www/html/ahrc_computerclub/ahrc_computerclub.php on line 42... I am not sure on how to fix it... line 42 is: TITLE $language['program_name'] /TITLE\n .

Re: [PHP] Question

2004-12-16 Thread Richard Lynch
Dennis Yang wrote: I'm using PHP 4.3.2 and using ODBC to connect to my Access database. I want to get the value from this query statement: select count(id) as quantity from danhmucdia. How can I get this value? How can I equalize this value into variable ? It's a query, just like any other

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Sam
GH wrote: Hi All... Got a problem... here is the error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /var/www/html/ahrc_computerclub/ahrc_computerclub.php on line 42... I am not sure on how to fix it... line 42 is: TITLE $language['program_name']

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Matthew Sims
Hi All... Got a problem... here is the error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /var/www/html/ahrc_computerclub/ahrc_computerclub.php on line 42... I am not sure on how to fix it... line 42 is: TITLE $language['program_name'] /TITLE\n

Re: Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread hitek
You are inside a function and not either passing the variable to the function or declaring it global within the function. In other words, as far as your function is concerned, the $language['program_name'] is empty. From: GH [EMAIL PROTECTED] Date: 2004/12/16 Thu PM 01:09:48 EST To: Marek

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Marek Kilimajer
GH wrote: However, I can not get any results into the title tags all three options are not displaying $language is in global scope, you need: function printHeader(){ global $language; More: http://sk2.php.net/manual/en/language.variables.scope.php On Thu, 16 Dec 2004 13:03:57 -0500, GH

RE: [PHP] Parse Error... how to fix?

2004-12-16 Thread Chris W. Parker
GH mailto:[EMAIL PROTECTED] on Thursday, December 16, 2004 10:10 AM said: However, I can not get any results into the title tags all three options are not displaying try: ?php echo pre; print_r($language['program_name']); echo /pre; ? If you don't see anything then

RE: [PHP] GD, problem adding text to GIF images

2004-12-16 Thread Vail, Warren
I believe that is the nature of GIF images, I seem to recall they were very compact but limited to a maximum of 16 colors (or 32 or some number like that[maybe 64]), fewer colors that JPEG. Anyone know exactly? Warren Vail -Original Message- From: Juan Nin [mailto:[EMAIL PROTECTED]

RE: [PHP] Parse Error... how to fix?

2004-12-16 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Thursday, December 16, 2004 10:46 AM said: TITLE $language['program_name'] /TITLE\n . #1. Get rid of the ''s around program_name. Those won't work inside of s. echo title{$language['program_name']}/title\n;

Re: [PHP] Re: Getting mail() to return false/0

2004-12-16 Thread Jason Wong
On Friday 17 December 2004 02:41, Richard Lynch wrote: There are better, easier to use and more secure alternatives to sendmail. True. Many of which require that you understand the basics of sendmail before you use them. Basics such as? You definitely need to know the basics of email (the

Re: [PHP] GD, problem adding text to GIF images

2004-12-16 Thread Greg Donald
On Thu, 16 Dec 2004 12:27:27 -0700, Vail, Warren [EMAIL PROTECTED] wrote: I believe that is the nature of GIF images, I seem to recall they were very compact but limited to a maximum of 16 colors (or 32 or some number like that[maybe 64]), fewer colors that JPEG. Anyone know exactly? gifs are

Re: [PHP] fsockopen to own server

2004-12-16 Thread Richard Lynch
Doc wrote: I'm having a problem with fsockopen and was wondering has anyone ever noticed a case where it will work from machine1 (dev machine) to machine2. But when the was placed onto machine2 it wouldn't work connecting to it's own ip address; when connecting via telnet it returns:

Re: [PHP] in_array w/statement

2004-12-16 Thread Matt M.
reason it seems to always be true, ... something i'm doing wrong? btw, i cannot add the in_array to the statement because if the $buddylist is empty it will generate errors because of the empty implode. you could add the is_array() check. $buddylist = preg_split('/( )+/',

Re: [PHP] smtp server

2004-12-16 Thread Yannick Warnier
Le jeu 16/12/2004 à 14:43, Pablo D Marotta a écrit : Hi there.. I´m trying to use the mail function but I have a problem. I´m working in a LAN with more or less 30 pcs, that places inside a huge network, and I just can´t use the enterprise smtp server. How can i set a valid smtp server? You

Re: [PHP] in_array w/statement

2004-12-16 Thread Sebastian
yeah, you're right though.. i had to use explode not implode eg, if(in_array($uname['uid'], explode(' ', trim($userinfo['buddylist'] so i ditched the preg_split() cheers. - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 16, 2004

[PHP] Re: Using constructs like unset() in expressions like ()()

2004-12-16 Thread Tomas Tintera
Thanks for your answers (you probably don't understand me). I am looking for some construct (or statement or function) which allows to do this: ?php (True==False) or (construct_i_am_looking_for(unset($a))); ? Note that the unset() has no return value (and so it can't be used as a part of other

RE: [PHP] Question in posting form-data

2004-12-16 Thread Yao, Minghua
Yes. I did modify the original since I need to send data to a program which takes only form-data. content-disposition: came from RFC 2388. I don't think the program can take application/x-www-form-urlencoded content. Further help needed. Thanks. -Minghua -Original Message- From:

[PHP] incompatibilities between php 4 and 5

2004-12-16 Thread adwin wijaya
Hi all, I am going to migrate my application to php 5. My application didnt use object so much. so, which area I need to be carefull about when I migrate to php 5. (if possible, could you give me the url that will explain about that) thx -- === Best Regards Adwin Wijaya

[PHP] Re: incompatibilities between php 4 and 5

2004-12-16 Thread Jason Barnett
Adwin Wijaya wrote: Hi all, I am going to migrate my application to php 5. My application didnt use object so much. so, which area I need to be carefull about when I migrate to php 5. (if possible, could you give me the url that will explain about that) thx Search the PHP.net or zend.com

[PHP] Re: web IDE

2004-12-16 Thread Jason Barnett
If you're looking for an easy-to-use IDE then Dreamweaver is a good choice even though it's not web-based. Given what you've said about how new you are to all of this it would probably be worth your money to purchase it. For something that is PHP-based there are PEAR packages you might use,

[PHP] Re: pspell on w32

2004-12-16 Thread Jason Barnett
Please do not post the same question twice within a few minutes! This is an active list; just wait for a day or two. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Delete files from the server

2004-12-16 Thread Jay Blanchard
[snip] I have uploaded some pictures and thumbnails using a PHP form into a particular directory. I would like to be able to select the name of the picture and then chose to delete that picture and its thumbnail from the server using another form. The name of the picture is in the MySQL database.

Re: [PHP] Re: Good and free encoder for PHP5

2004-12-16 Thread Manuel Lemos
Hello, on 12/16/2004 02:10 AM Matthew Weier O'Phinney said the following: You *do* make valid points about making needless upgrade -- if no security vulnerabilities exist, the application works fine, and you don't need features from the new version, there really is no reason to upgrade. But when a

[PHP] pspell on w32

2004-12-16 Thread php
I can't instantiate new instances of the pspell library. I've got the latest w32 binaries installed and the latest english dictionary installed to c:\aspell. I've got aspell and aspell\bin added to the system environment path. I've got the aspell.dll in the system32 folder. Permissions look

[PHP] Re: Using constructs like unset() in expressions like ()()

2004-12-16 Thread Tomas Tintera
Thanks for your answers (you probably don't understand me). I am looking for some construct (or statement or function) which allows to do this: ?php (True==False) or (construct_i_am_looking_for(unset($a))); ? Note that the unset() has no return value (and so it can't be used as a part of other

Re: [PHP] How to distribute php codes safely?

2004-12-16 Thread Jonathan
Thanks Travis, Actually, I did search thru google but only found free trial encoder that will termiate say 30 days for Zend Encoder, 3 days for phppro, etc. Will check out the rssoftlab enconder and feedback here. Thanks for your help. Cheers, Jonathan Travis Conway [EMAIL PROTECTED] wrote

[PHP] I got the mail form blues! HTML/POST/mail() question - Also request for style suggestions

2004-12-16 Thread Monique Verrier
Hi! I have an html string stored in $message. I submit the form to a subroutine and the value in $message is lost. All the other variables come into feedback.php just fine. I would love any help. This is a new language for me so any suggestions for streamlining my code would also be much

[PHP] File Locking during *other* file operations

2004-12-16 Thread Gerard Samuel
Im talking about file locking during deleting, and moving files. Is it possible to perform file locking for these file operations? If so, can you provide psuedo code. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: I got the mail form blues! HTML/POST/mail() question - Also request for style suggestions

2004-12-16 Thread David Robley
On Fri, 17 Dec 2004 14:32, Monique Verrier wrote: Hi! I have an html string stored in $message. I submit the form to a subroutine and the value in $message is lost. All the other variables come into feedback.php just fine. I would love any help. This is a new language for me so any

[PHP] Miami PHP groups?

2004-12-16 Thread Josh
Any computer groups or resources for learning PHP in the Miami area? I am new here ... trying to learn PHP... would like to meet other people doing the same. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Buffering

2004-12-16 Thread Lorderon
Richard Lynch [EMAIL PROTECTED] wrote in message: I need to store chunks of output into files. Which output and why? any output of the program that goes to php://stdout.. if from echo, print, var_dump, code breaking, etc... why? cuz I want to get chunks of output into variables to make a cache

[PHP] upload file warning

2004-12-16 Thread yangshiqi
I got a php waring when I upload my file: Warning: MAX_FILE_SIZE of 20 bytes exceeded - file [imgpath=mz-n10.pdf] not saved in Unknown on line 0 In the form I write like these: input type='hidden' name='MAX_FILE_SIZE' value=20 input type='file' name='imgpath' And my

[PHP] Re: upload file warning

2004-12-16 Thread M. Sokolewicz
Yangshiqi wrote: I got a php waring when I upload my file: Warning: MAX_FILE_SIZE of 20 bytes exceeded - file [imgpath=mz-n10.pdf] not saved in Unknown on line 0 that seems like a very descriptive warning to me... In the form I write like these: input type='hidden'

Re: [PHP] I got the mail form blues! HTML/POST/mail() question - Also request for style suggestions

2004-12-16 Thread Ryan King
On Dec 16, 2004, at 10:02 PM, Monique Verrier wrote: Hi! I have an html string stored in $message. I submit the form to a subroutine and the value in $message is lost. All the other variables come into feedback.php just fine. I would love any help. This is a new language for me so any

[PHP] Re: counting chars..

2004-12-16 Thread M. Sokolewicz
Louie Miranda wrote: ?php $string = function yes good; $display = count_chars($string); echo $display; ? i know this is wrong, but how can i count chars used here? strlen() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Buffering

2004-12-16 Thread Lorderon
Hi, Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Lorderon wrote: What I want to do is catch the output buffer, but do not delay the buffer It occurs to me that maybe you should tell us WHY you want this, because there could be existing alternatives outside the

Re: [PHP] Buffering

2004-12-16 Thread Jason Wong
On Thursday 16 December 2004 19:25, Lorderon wrote: I need to store chunks of output into files. I can get the chunk output by using ob_get_contents(), but after calling ob_start() the output is only buffered and not sent till flushing. The delay from echoing to flushing is exactly what I

[PHP] smtp server

2004-12-16 Thread Pablo D Marotta
Hi there.. I´m trying to use the mail function but I have a problem. I´m working in a LAN with more or less 30 pcs, that places inside a huge network, and I just can´t use the enterprise smtp server. How can i set a valid smtp server? I thought about installing some good-free smtp server on my own

Re: [PHP] How to distribute php codes safely?

2004-12-16 Thread Travis Conway
Well a simple search on Google for PHP Encoder brougt back these: http://www.ioncube.com/ $199 http://www.rssoftlab.com/downloads.php - Appears to be Free I am sure there are more. Check http://freshmeat.net for a good Open Source product. Also try http://www.sourceforge.net. As always check

RE: [PHP] Question in posting form-data

2004-12-16 Thread Yao, Minghua
Thanks. I changed fputs($fp, $value\n); to fputs($fp, $name=$value\n); But I still got the same message. -Minghua -Original Message- From: Erwin Kerk [mailto:[EMAIL PROTECTED] Sent: Thu 12/16/2004 6:30 AM To: Yao, Minghua Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Question in posting

Re: [PHP] smtp server

2004-12-16 Thread Jason Wong
On Thursday 16 December 2004 22:43, Pablo D Marotta wrote: Please note that this has nothing to do with PHP. I´m trying to use the mail function but I have a problem. I´m working in a LAN with more or less 30 pcs, that places inside a huge network, and I just can´t use the enterprise smtp

Re: [PHP] smtp server

2004-12-16 Thread Richard Lynch
Pablo D Marotta wrote: Hi there.. I´m trying to use the mail function but I have a problem. I´m working in a LAN with more or less 30 pcs, that places inside a huge network, and I just can´t use the enterprise smtp server. How can i set a valid smtp server? If you have Microsoft licensing

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread GH
Ok... thank you. On Thu, 16 Dec 2004 19:02:37 +0100, Marek Kilimajer [EMAIL PROTECTED] wrote: GH wrote: Hi All... Got a problem... here is the error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread GH
However, I can not get any results into the title tags all three options are not displaying On Thu, 16 Dec 2004 13:03:57 -0500, GH [EMAIL PROTECTED] wrote: Ok... thank you. On Thu, 16 Dec 2004 19:02:37 +0100, Marek Kilimajer [EMAIL PROTECTED] wrote: GH wrote: Hi All... Got

[PHP] Parse Error... how to fix?

2004-12-16 Thread GH
Hi All... Got a problem... here is the error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /var/www/html/ahrc_computerclub/ahrc_computerclub.php on line 42... I am not sure on how to fix it... line 42 is: TITLE $language['program_name'] /TITLE\n .

Re: [PHP] Re: Getting mail() to return false/0

2004-12-16 Thread Richard Lynch
Jason Wong wrote: On Thursday 16 December 2004 01:49, Richard Lynch wrote: You now have the joy of diving into sendmail documentation. Have fun. :-^ There are better, easier to use and more secure alternatives to sendmail. True. Many of which require that you understand the basics of

[PHP] in_array w/statement

2004-12-16 Thread Sebastian
Hi, I cannot solve this problem,. sorry if this looks confusing,. i have a form and don't want to set the variable if the in_array is true.. the code works, up until i add the last !$buddy in the statement, for some reason it seems to always be true, ... something i'm doing wrong? btw, i cannot

Re: [PHP] in_array w/statement

2004-12-16 Thread Jason Wong
On Friday 17 December 2004 02:33, Sebastian wrote: I cannot solve this problem,. sorry if this looks confusing,. It is ... i have a form and don't want to set the variable if the in_array is true.. the code works, up until i add the last !$buddy in the statement, for some reason it seems to

[PHP] Delete files from the server

2004-12-16 Thread Steve Marquez
Greetings everyone, I have uploaded some pictures and thumbnails using a PHP form into a particular directory. I would like to be able to select the name of the picture and then chose to delete that picture and its thumbnail from the server using another form. The name of the picture is in the

[PHP] web IDE

2004-12-16 Thread Malcolm Mill
Hi list, Sorry to repeat, but I thought I'd try give a clear idea of what I wanted to do with my last question entitled 'php ide scripts' to see if anyone else has done this and can direct me to or send me some 'beginners' files I can use. What I want to do is create a program I can run on my

[PHP] Pspell on win32 platform

2004-12-16 Thread Ethan Nelson
I can't instantiate new instances of the pspell library. I've got the latest w32 binaries installed and the latest english dictionary installed to c:\aspell. I've got aspell and aspell\bin added to the system environment path. I've got the aspell.dll in the system32 folder. Permissions look

Re: [PHP] Delete files from the server

2004-12-16 Thread Matt M.
I have uploaded some pictures and thumbnails using a PHP form into a particular directory. I would like to be able to select the name of the picture and then chose to delete that picture and its thumbnail from the server using another form. try the manual my man http://us2.php.net/unlink --