[PHP] getting rid of NOTICE

2004-10-07 Thread Roger Thomas
I have this short script (below) that does checking whether a userid has an associated jpegPhoto in an LDAP database. The script is working fine but gave a 'Notice' msg bcos I made error_reporting to report all errors. Notice: Undefined index: jpegphoto in test.php on line 34 Question: How do

Re: [PHP] getting rid of NOTICE

2004-10-07 Thread zareef ahmed
--- Roger Thomas [EMAIL PROTECTED] wrote: I have this short script (below) that does checking whether a userid has an associated jpegPhoto in an LDAP database. The script is working fine but gave a 'Notice' msg bcos I made error_reporting to report all errors. Notice: Undefined index:

[PHP] PHP with IMAP support

2004-10-07 Thread Timothy Johnson
Not sure if this is the right place to post this, but I am trying to get PHP installed with IMAP support. It says that I need to install using the --with-imap=/dir but how do I do that with Gentoo? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] AutoLogin

2004-10-07 Thread Petar Nedyalkov
On Thursday 07 October 2004 07:57, Sagar C Nannapaneni wrote: BlankHi all, I have a website which has a login form with username and password. How can i login into that website providing the username and pwd from the php script. I know that this can be done...but wonder how. The website uses

Re: [PHP] Is it possible??

2004-10-07 Thread Petar Nedyalkov
On Thursday 07 October 2004 08:26, Sagar C Nannapaneni wrote: BlankThis may sound strange..but is there a way out??? I need to know where the client moves from my page. Even using frames...like my page will b in the top frame of the page and the user can browse his stuff in the lower

Re: [PHP] Newsgroups Space

2004-10-07 Thread Petar Nedyalkov
On Wednesday 06 October 2004 22:53, Joe Crawford wrote: i know this isn't completely related to php but i am creating a web based news reader in php, how much disk space do you think i need to run my own local news server? depends on the number of external news sources you'll import ;-) --

Re: [PHP] pdf_open_pdi_page

2004-10-07 Thread Hendrik Schmieder
Matt M. schrieb: *Fatal error*: PDFlib error: [2016] PDF_open_pdi: PDF import (PDI) not supported in this configuration in *d:\worksheet-server\wss\html\pdf\test2.php* on line *7* I could be wrong but I think you need a special license for this functionality. Do you have a source for your

[PHP] [PHP5] How to knwo object class name in a function called statically ?

2004-10-07 Thread Frédéric Hardy
Hello - I have this code : abstract class foo { private __construct() {} public static getInstance() { static $instance = null; if (is_null($instance) == false) return $instance; else { $class = __CLASS__; return new $class(); }

Re: [PHP] getting rid of NOTICE

2004-10-07 Thread Roger Thomas
I dont know how to explain this but when you work with an ldap attribute, they are case sensitive. jpegPhoto was what the schema was written with. However when you retrieve that into PHP, you accessed them with all lower case. So accessing userPassword attribute in ldap will become userpassword

[PHP] PHP and Lotus Notes

2004-10-07 Thread Terence
Hi List, I googled a bit but didnt get much. Are there tools other than the ones on the PHP website (which are EXPERIMENTAL) that can be used to access the Lotus notes framework, such as databases / tables / data from PHP. Any tips out there for integration issues. Our company is looking at

[PHP] SOMETIMES, my SID gets embedded in the URL ???

2004-10-07 Thread PHPDiscuss - PHP Newsgroups and mailing lists
he problem is that SOMETIMES, my SID gets embedded in the URL, although at the begining of every page I have this code: ini_set(session.use_only_cookies, 1); session_set_cookie_params(60*60); session_start(); session_register(blabla); if (!$_SESSION[logged_in]) session_destroy(); etc, etc; So

Re: [PHP] How to implement mass emailing?

2004-10-07 Thread RaTT
Hi, you can create a mailscript to run seperartly in the background, so when a administrator wishes to send a mass mail, it writes the content to a database and then executes a stand alone mailing script eg: exec(' php phpmailscript.php logflile.txt '); use the to run the script in the

Re: [PHP] SOMETIMES, my SID gets embedded in the URL ???

2004-10-07 Thread Marek Kilimajer
PHPDiscuss - PHP Newsgroups and mailing lists wrote: he problem is that SOMETIMES, my SID gets embedded in the URL, although at the begining of every page I have this code: ini_set(session.use_only_cookies, 1); The above sets sessionuse_only_cookies to 1. I did not miss a dot, session and

Re: [PHP] getting rid of NOTICE

2004-10-07 Thread Marek Kilimajer
Roger Thomas wrote: I dont know how to explain this but when you work with an ldap attribute, they are case sensitive. jpegPhoto was what the schema was written with. However when you retrieve that into PHP, you accessed them with all lower case. So accessing userPassword attribute in ldap will

Re: [PHP] SOMETIMES, my SID gets embedded in the URL ???

2004-10-07 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Wow, thank you, it was so obvious! Marek Kilimajer wrote: PHPDiscuss - PHP Newsgroups and mailing lists wrote: he problem is that SOMETIMES, my SID gets embedded in the URL, although at the begining of every page I have this code: ini_set(session.use_only_cookies, 1); The above sets

Re: [PHP] getting rid of NOTICE

2004-10-07 Thread M. Sokolewicz
Marek Kilimajer wrote: Roger Thomas wrote: I dont know how to explain this but when you work with an ldap attribute, they are case sensitive. jpegPhoto was what the schema was written with. However when you retrieve that into PHP, you accessed them with all lower case. So accessing

[PHP] Re: [PHP5] How to knwo object class name in a function called statically

2004-10-07 Thread M. Sokolewicz
Frédéric hardy wrote: Hello - I have this code : abstract class foo { private __construct() {} public static getInstance() { static $instance = null; if (is_null($instance) == false) return $instance; else { $class = __CLASS__; return new

Re: [PHP] Re: [PHP5] How to knwo object class name in a function called statically

2004-10-07 Thread Marek Kilimajer
M. Sokolewicz wrote: Frédéric hardy wrote: Hello - I have this code : abstract class foo { private __construct() {} public static getInstance() { static $instance = null; if (is_null($instance) == false) return $instance; else { $class =

Re: [PHP] Re: [PHP5] How to knwo object class name in a function

2004-10-07 Thread M. Sokolewicz
Marek Kilimajer wrote: M. Sokolewicz wrote: Frédéric hardy wrote: Hello - I have this code : abstract class foo { private __construct() {} public static getInstance() { static $instance = null; if (is_null($instance) == false) return $instance; else {

Re: [PHP] Regular Expression - highlighting

2004-10-07 Thread Aidan Lister
Hi Michael, Thanks very much for the assistance, I'll have to investigate further! Kind Regards, Aidan Lister Michael Sims [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Aidan Lister wrote: Hello list, I'm pretty terrible with regular expressions, I was wondering if someone

[PHP] Set up cron using PHP

2004-10-07 Thread Sheni R. Meledath
Hello: We need to set up a cron to send an automated email at regular intervals. For this I need to execute a PHP file which retrieves the required information to be mailed. On my virtual server PHP is loaded as a module. Could you please let me know how can I execute a PHP file from

Re: [PHP] Set up cron using PHP

2004-10-07 Thread Petar Nedyalkov
On Thursday 07 October 2004 13:17, Sheni R. Meledath wrote: Hello: We need to set up a cron to send an automated email at regular intervals. For this I need to execute a PHP file which retrieves the required information to be mailed. On my virtual server PHP is loaded as a module.

Re: [PHP] getting rid of NOTICE

2004-10-07 Thread Robin Vickery
On Thu, 7 Oct 2004 14:04:00 +0800, Roger Thomas [EMAIL PROTECTED] wrote: I have this short script (below) that does checking whether a userid has an associated jpegPhoto in an LDAP database. The script is working fine but gave a 'Notice' msg bcos I made error_reporting to report all errors.

Re: [PHP] How to implement mass emailing?

2004-10-07 Thread Marco Tabini
Well, you do have a number of options. First, as someone suggested, you can write a CLI script that doesn't depend on a web browser being connected to run. That's probably the best solution overall, because you have the most control over what happens. You can even trigger it indirectly through

Re: [PHP] Set up cron using PHP

2004-10-07 Thread M. Sokolewicz
Petar Nedyalkov wrote: On Thursday 07 October 2004 13:17, Sheni R. Meledath wrote: Hello: We need to set up a cron to send an automated email at regular intervals. For this I need to execute a PHP file which retrieves the required information to be mailed. On my virtual server PHP is

Re: [PHP] pdf_open_pdi_page

2004-10-07 Thread Matt M.
Do you have a source for your assumption ? to use pdi you need PDFlib Personalization Server (PPS) http://www.pdflib.com/products/pdflib/pps.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Set up cron using PHP

2004-10-07 Thread Petar Nedyalkov
On Thursday 07 October 2004 15:32, M. Sokolewicz wrote: Petar Nedyalkov wrote: On Thursday 07 October 2004 13:17, Sheni R. Meledath wrote: Hello: We need to set up a cron to send an automated email at regular intervals. For this I need to execute a PHP file which retrieves the

[PHP] Muti-Dimensional Array Help Please

2004-10-07 Thread Nick Wilson
hello all, I have some text files in a directory that contain newline delimited IP addresses. Here is what i would like to do with them, and what i have achieved so far: I read the files into a multi-dimensional array like: (pseudo code) array(IP_blocks) = ( File_number[1] = array('ip1',

Re: [PHP] Set up cron using PHP

2004-10-07 Thread M. Sokolewicz
Petar Nedyalkov wrote: [snip] Your way is better for cronjob use, mine is better if the user needs to deploy the script not only as a cronjob. [/snip] I agree ;) [snip] This workaround is fine, but I think using lynx or any similar browser can save the rm -f part. [/snip]yes... but wouldn't you

[PHP] Re: Muti-Dimensional Array Help Please

2004-10-07 Thread M. Sokolewicz
Nick Wilson wrote: hello all, I have some text files in a directory that contain newline delimited IP addresses. Here is what i would like to do with them, and what i have achieved so far: I read the files into a multi-dimensional array like: (pseudo code) array(IP_blocks) = ( File_number[1] =

Re: [PHP] How to implement mass emailing?

2004-10-07 Thread Tumurbaatar S.
Thank you, all! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Muti-Dimensional Array Help Please

2004-10-07 Thread Ed Lazor
-Original Message- From: Nick Wilson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 6:40 AM To: php-general Subject: [PHP] Muti-Dimensional Array Help Please hello all, I have some text files in a directory that contain newline delimited IP addresses. Here is what i

Re: [PHP] Re: Muti-Dimensional Array Help Please

2004-10-07 Thread Nick Wilson
* and then M. Sokolewicz declared However, if it does matter, then I suggest a different way. This would Yes, it does matter, a *lot* ;-) I have to hit each machine in order, choosing an IP from that machine and using it do 'do_stuff()' order them by their 2nd index, not the first

Re: [PHP] Set up cron using PHP

2004-10-07 Thread Petar Nedyalkov
On Thursday 07 October 2004 16:27, M. Sokolewicz wrote: Petar Nedyalkov wrote: [snip] Your way is better for cronjob use, mine is better if the user needs to deploy the script not only as a cronjob. [/snip] I agree ;) [snip] This workaround is fine, but I think using lynx or any

[PHP] Page cannot be displayed after form submission

2004-10-07 Thread Philip Thompson
Hi all. I have a form that calls the same page whenever it is submitted. It does some error-checking to make sure that all the appropriate fields were filled in by the user. So, if there's an error, it stays on the same page and lets the user know what they need to fill in. However, I get

Re: [PHP] Re: Muti-Dimensional Array Help Please

2004-10-07 Thread M. Sokolewicz
Nick Wilson wrote: * and then M. Sokolewicz declared However, if it does matter, then I suggest a different way. This would Yes, it does matter, a *lot* ;-) I have to hit each machine in order, choosing an IP from that machine and using it do 'do_stuff()' order them by their 2nd index, not

Re: [PHP] Set up cron using PHP

2004-10-07 Thread Alexandru E. Ungur
/* sender: M. Sokolewicz date: Thu, Oct 07, 2004 at 02:32:17PM +0200 */ ... You can call this as follows: * * * * * * wget http://www.example.net/scripts/bin/mail.php?user=apass=b ; rm -f ./mail.php The first part will call the server via an http connection to run the script

Re: [PHP] Muti-Dimensional Array Help Please

2004-10-07 Thread Nick Wilson
* and then Ed Lazor declared It looks like you're hading in the right direction. You've grabbed an array of each file. Then cycle through that array and read data from each file. The fread function will allow you to pull data from each file line by line, so you can store each line in an

Re: [PHP] Re: Muti-Dimensional Array Help Please

2004-10-07 Thread Matt M.
$max = ($max = count($ips) ? $max : count($ips)); if ($max = count($ips)) { $max = $max; } else { $max = count($ips); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] anonymous from address using mail()

2004-10-07 Thread sagar
Hi all, I'm using mail([EMAIL PROTECTED],$subject,$message,$mail_from); But i get an email with a from address as anonymous@myserver.com I want to show the from address to be like From : Sagar plzz help me out /sagar

[PHP] FW: PHP posting confirmation for denis.gerasimov@vekos.ru

2004-10-07 Thread Denis Gerasimov
Hello all, Sorry, that is wrong mailing list, but... :-) Can anybody hint me what is this anti-spam filter (see forwarded email below)? We all are to tired of spam, so that could be a very good solution. Is it vilter-spamd (see headers) or I am wrong? Thank you. Best regards, Denis

Re: [PHP] Page cannot be displayed after form submission

2004-10-07 Thread Marek Kilimajer
Philip Thompson wrote: Hi all. I have a form that calls the same page whenever it is submitted. It does some error-checking to make sure that all the appropriate fields were filled in by the user. So, if there's an error, it stays on the same page and lets the user know what they need to fill

Re: [PHP] pdf_open_pdi_page

2004-10-07 Thread Hendrik Schmieder
Matt M. schrieb: Do you have a source for your assumption ? to use pdi you need PDFlib Personalization Server (PPS) http://www.pdflib.com/products/pdflib/pps.html I was on that page. There's nothing which comes close to your assumption. with best regards Hendrik -- PHP General Mailing

[PHP] session_save_path

2004-10-07 Thread Al
My virtual host eliminated the common session tmp folder which forces me to set up one in my area. I'm trying to come up with the best, considering: Custom php.ini; resisting because having to make certain it is always in sync with host's changes. Tried adding to htaccess: php_value

Re: [PHP] Referencing a constant class variable

2004-10-07 Thread Chris Boget
A work around I've used in the past has been to use a keyed array such as: $MyEnums = array( is = This, at = That, er = Other ); Only problem is that the above doesn't address my need (which I included in a subsequent post and probably should have included in my initial post). In order to

[PHP] mcrypt install question

2004-10-07 Thread Ed Lazor
PHP is installed from rpm's. Is it possible to install mcrypt / libmcrypt from rpm and enable it in PHP without having to recompile? Thanks, Ed

Re: [PHP] session_save_path

2004-10-07 Thread John Holmes
Al wrote: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a server error 500. Try putting quotes around the path and this should work, providing your ISP allows .htaccess files. I'm guessing that session_save_path has

Re: [PHP] mcrypt install question

2004-10-07 Thread Greg Donald
On Thu, 7 Oct 2004 08:37:19 -0700, Ed Lazor [EMAIL PROTECTED] wrote: PHP is installed from rpm's. Is it possible to install mcrypt / libmcrypt from rpm and enable it in PHP without having to recompile? I was able to gain this functionality with Suse 9.1. I don't know about other distros

[PHP] RE: displaying blob images from a mssql db

2004-10-07 Thread Jensen, Kimberlee
Most often, when people are storing an binary file in a db, they are storing the absolute path to the file on the file system instead. So it should be as simple as extracting the file path from the database, using the copy() function to copy that file from the original file path to a location

Re: [PHP] anonymous from address using mail()

2004-10-07 Thread Greg Donald
On Thu, 7 Oct 2004 20:29:25 +0530, sagar [EMAIL PROTECTED] wrote: I'm using mail([EMAIL PROTECTED],$subject,$message,$mail_from); But i get an email with a from address as anonymous@myserver.com I want to show the from address to be like From : Sagar plzz help me out What is $mail_from

Re: [PHP] FW: PHP posting confirmation for denis.gerasimov@vekos.ru

2004-10-07 Thread Greg Donald
On Thu, 7 Oct 2004 19:18:21 +0400, Denis Gerasimov [EMAIL PROTECTED] wrote: Can anybody hint me what is this anti-spam filter (see forwarded email below)? We all are to tired of spam, so that could be a very good solution. Is it vilter-spamd (see headers) or I am wrong? I never heard of

RE: [PHP] anonymous from address using mail()

2004-10-07 Thread Ed Lazor
$mail_from = From: Sagar; -Original Message- Hi all, I'm using mail([EMAIL PROTECTED],$subject,$message,$mail_from); But i get an email with a from address as anonymous@myserver.com I want to show the from address to be like From : Sagar plzz help me out /sagar -- PHP

RE: [PHP] session_save_path

2004-10-07 Thread Ed Lazor
Can you do an .htaccess solution? If so, you could probably just set session save path with PHP_VALUE in the .htaccess file -Original Message- From: Al [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 8:25 AM To: [EMAIL PROTECTED] Subject: [PHP] session_save_path My

Re: [PHP] pdf_open_pdi_page

2004-10-07 Thread Matt M.
I was on that page. There's nothing which comes close to your assumption. sorry, wrong link you dont need PDFlib+PDI. Is that the license that you have? here is an assumption. I assumed you would read the pdflib manual, did you see? Note All functions described in this section require

RE: [PHP] mcrypt install question

2004-10-07 Thread Ed Lazor
Did you install it and PHP automatically recognized things or did you have to enable something in php.ini and restart? I checked the php.ini file on the server and there's nothing mycrypt or crypt. -Original Message- On Thu, 7 Oct 2004 08:37:19 -0700, Ed Lazor [EMAIL PROTECTED]

Re: [PHP] session_save_path

2004-10-07 Thread Al
John Holmes wrote: Al wrote: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a server error 500. Try putting quotes around the path and this should work, providing your ISP allows .htaccess files. I'm guessing that

Re: [PHP] mcrypt install question

2004-10-07 Thread Greg Donald
On Thu, 7 Oct 2004 09:10:22 -0700, Ed Lazor [EMAIL PROTECTED] wrote: Did you install it and PHP automatically recognized things or did you have to enable something in php.ini and restart? I checked the php.ini file on the server and there's nothing mycrypt or crypt. It appears to 'just work'

[PHP] Help with Array Sorting Please

2004-10-07 Thread Nick Wilson
Hi, If you scroll up the list you'll see another thread of mine, this is related. The reason for a new thread is that i've made a lot of progress but the old was getting really confusing.. Here's the scoop: I have an array like this: 123 = 1 // each value may have few or many duplicate

Re: [PHP] pdf_open_pdi_page

2004-10-07 Thread Matt M.
sorry, wrong link you dont need PDFlib+PDI. Is that the license that you have? I mean you do need -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session_save_path

2004-10-07 Thread Al
Ed Lazor wrote: Can you do an .htaccess solution? If so, you could probably just set session save path with PHP_VALUE in the .htaccess file Note, from my original message: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a

Re: [PHP] session_save_path

2004-10-07 Thread Al
John Holmes wrote: Al wrote: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a server error 500. Try putting quotes around the path and this should work, providing your ISP allows .htaccess files. I'm guessing that

[PHP] performance: large includes vs small includes with lots of reads

2004-10-07 Thread Hans H. Anderson
I'm trying to tweak my server a bit and wonder if it is better to have a large include file, say 20-40 kb with 15 user-defined functions, of which maybe 3 or 4 are used on any given page, or to have each function in it's own file and include (disk access/read) them only as needed. Is it

[PHP] Regular expression

2004-10-07 Thread Alawi Albaity
How can I grap number written in specifec place in html I try this : preg_match_all(/ TR TD bgColor=#e4e4e4 PBtest:\/B\/P\/TD TD P(*[0-9])\/P\/TD\/TR TR/,$html,$match);

Re: [PHP] performance: large includes vs small includes with lots of reads

2004-10-07 Thread Greg Donald
On Thu, 7 Oct 2004 11:41:10 -0500 (CDT), Hans H. Anderson [EMAIL PROTECTED] wrote: I'm trying to tweak my server a bit and wonder if it is better to have a large include file, say 20-40 kb with 15 user-defined functions, of which maybe 3 or 4 are used on any given page, or to have each function

[PHP] Interrupting instantiation

2004-10-07 Thread Chris Boget
In PHP4, is there any way to interrupt instantiation of an object? For example, by returning NULL as the return value of the class constructor so that the variable you are assinging the object to is, instead, null? Here's what I'm trying to do: class MyClass { function MyClass() { return

[PHP] Send files before the php script executes

2004-10-07 Thread Ruben Duarte
Hi, Anybody knows if is posible in Linux with PHP to do upload of several files sending the data before that php script executes. Now in my server you do the upload (with html,form, multipart ...) and first all the files are upload and them the php script is executed. The idea is the next: In

[PHP] Re: How to implement mass emailing?

2004-10-07 Thread Manuel Lemos
Hello, On 10/07/2004 02:45 AM, Tumurbaatar S. wrote: The scenario is: 1. Site administrator logs into his admin page and writes some message on a form. 2. After clicking submit the web script should broadcast this message to several hundred subscribers. And I'm wonder how to implement this on PHP.

Re: [PHP] Regular expression

2004-10-07 Thread Hans H. Anderson
Alawi, You should get some sort of nothing to repeat error. Try moving the * to a + and putting it after the [0-9]. I'm not sure that the * is picking up anything, because it's not preceded by anything. It could be that your $html doesn't match quite right, too (tabs and newlines differ from

Re: [PHP] How to implement mass emailing?

2004-10-07 Thread Manuel Lemos
Hello, On 10/07/2004 09:24 AM, Marco Tabini wrote: Finally, you will need a fast mailing mechanism. mail() is not your only option--you can interface directly with any mailer through SMTP or pipes, for example--but in my experience, you don't need to go any further to make things work properly.

Re: [PHP] session_save_path

2004-10-07 Thread Jordi Canals
For all you're talking about, It looks like your hosting provider is running PHPsuExec. So, PHP is now running as CGI and .htaccess does not work anymore to setup PHP values or flags (Will fire a 500 internal server error). Instead, you have to use a custom php.ini fle. (just write in this custom

[PHP] Problem with a while loop

2004-10-07 Thread Richard Kurth
I am having a problem with a while loop if I put in a number with 0's in front of it it converts the number two the first whole number. such as 1 would be 1 02200 would be 2200. Then it starts the count down starting with that number. How can I make it not remove the 0's in front of the

[PHP] code not working...help?

2004-10-07 Thread Matthew
Hi guys im pretty new at this and cant seem to get this going I want the code to query the database for the number of messages posted within the last month this is the code i have but its not working... I might even have it all wrong, can someone point me in the right direction? $lastmonth =

Re: [PHP] Interrupting instantiation

2004-10-07 Thread Simas Toleikis
Chris Boget wrote: In PHP4, is there any way to interrupt instantiation of an object? class Test { function Test() { $this = NULL; // Object destroyed by php gc } } $hello = new Test; // $hello = NULL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] $HTTP_POST_VARS

2004-10-07 Thread Pahlevanzadeh Mohsen
Dears,I need to my program is waitting while $HTTP_POST_VARS change Please guide me.. = -DIGITAL SIGNATURE--- ///Mohsen Pahlevanzadeh Network administrator programmer My home phone is: +98213810146 My email address is

Re: [PHP] Send files before the php script executes

2004-10-07 Thread Greg Donald
On 7 Oct 2004 09:17:26 -0700, Ruben Duarte [EMAIL PROTECTED] wrote: Anybody knows if is posible in Linux with PHP to do upload of several files sending the data before that php script executes. Now in my server you do the upload (with html,form, multipart ...) and first all the files are

Re: [PHP] Problem with a while loop

2004-10-07 Thread djoseph
The following script would look like this when run 1 2 3 4 I needed it to look like this 1 2 3 You're going to want to use printf or sprintf to format the numbers. example: printf( %05d, $i ); this would print out your number, then left fill it will the zeros you

Re: [PHP] Re: How to implement mass emailing?

2004-10-07 Thread Greg Donald
On Thu, 07 Oct 2004 14:03:34 -0300, Manuel Lemos [EMAIL PROTECTED] wrote: You need to call set_time_limit(0); to let the script run for as long as needed. I found ignore_user_abort() to be very helpful with mail scripts as well, especially if someone else will doing the mailing, or a shell

Re: [PHP] Regular expression

2004-10-07 Thread Greg Donald
On Thu, 7 Oct 2004 12:12:10 -0500 (CDT), Hans H. Anderson [EMAIL PROTECTED] wrote: It could be that your $html doesn't match quite right, too (tabs and newlines differ from $html to the regular expression). So I tried this with success: The 's' modifier will assist with matching across

[PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread lists
Hi List, My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki type site because of versioning. Can anyone point me to resources about versioning and inherent strengths and reliability of PHP? Thanks.

Re: [PHP] Help with Array Sorting Please

2004-10-07 Thread djoseph
I have an array like this: 123 = 1 // each value may have few or many duplicate values 321 = 1 543 = 2 432 = 2 // like here, more 2's than 1's see? 566 = 2 568 = 2 999 = 3 878 = 3 444 = 3 Now, the keys are not the issue. What i would really like, is for that array, to end up

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
Hi List, My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki type site because of versioning. Can anyone point me to resources about versioning and inherent strengths and reliability of PHP?

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
Hi List, My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki type site because of versioning. Can anyone point me to resources about versioning and inherent strengths and reliability of PHP?

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Greg Donald
On Thu, 7 Oct 2004 11:44:32 -0700, lists [EMAIL PROTECTED] wrote: My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki type site because of versioning. Well, I can't dispute a person's opinion as far

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matt M.
My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki type site because of versioning. :) real sites use iis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re[2]: [PHP] Problem with a while loop

2004-10-07 Thread Richard Kurth
Hello djoseph, Thursday, October 7, 2004, 11:34:22 AM, you wrote: The following script would look like this when run 1 2 3 4 I needed it to look like this 1 2 3 dtrc You're going to want to use printf or sprintf to format the numbers. dtrc example: printf( %05d, $i );

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread John Nichel
lists wrote: Hi List, My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki type site because of versioning. Can anyone point me to resources about versioning and inherent strengths and reliability of

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread John Nichel
Matthew Sims wrote: snip The following sites have been known to use PHP: snip www.insight.com (is a publicly traded fortune 1000 company. The site is 90% PHP) snip Insight now uses CF. It was a political change, not one agreed on by the techies. -- John C. Nichel ÜberGeek KegWorks.com

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
lists wrote: Hi List, My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki type site because of versioning. Can anyone point me to resources about versioning and inherent strengths and reliability

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Gareth Williams
Oh please. Not even as a joke. On 7 Oct 2004, at 21:07, Matt M. wrote: My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki type site because of versioning. :) real sites use iis -- PHP General Mailing

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Greg Donald
On Thu, 07 Oct 2004 15:16:51 -0400, John Nichel [EMAIL PROTECTED] wrote: Insight now uses CF. It was a political change, not one agreed on by the techies. I don't know much about CF at all. Was it because of the shopping cart capabilities of CF? I read somewhere that was a top reason to use

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
Matthew Sims wrote: snip The following sites have been known to use PHP: snip www.insight.com (is a publicly traded fortune 1000 company. The site is 90% PHP) snip Insight now uses CF. It was a political change, not one agreed on by the techies. -- John C. Nichel The list is

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Jennifer Goodie
-- Original message from Matthew Sims : -- www.thewb.com (uses PHP for the interactive areas such as message boards, polls, etc.) Up until September 2003 I was the developer for PHP applications for this site. To the best of my knowledge the message board is the

RE: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Vail, Warren
Once heard someone say the same about wiki sites. 8-) Warren Vail -Original Message- From: lists [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 11:45 AM To: [EMAIL PROTECTED] Subject: [PHP] general research question (maybe a little OT, sorry) Hi List, My boss recently

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread John Nichel
Greg Donald wrote: On Thu, 07 Oct 2004 15:16:51 -0400, John Nichel [EMAIL PROTECTED] wrote: Insight now uses CF. It was a political change, not one agreed on by the techies. I don't know much about CF at all. Was it because of the shopping cart capabilities of CF? I read somewhere that was a

[PHP] Re: [PEAR] $HTTP_POST_VARS

2004-10-07 Thread Justin Patrin
On Thu, 7 Oct 2004 11:19:23 -0700 (PDT), Pahlevanzadeh Mohsen [EMAIL PROTECTED] wrote: Dears,I need to my program is waitting while $HTTP_POST_VARS change Please guide me.. Sorry, that question doesn't make any sense. The POST vars only change during a script run if your script

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread Matthew Sims
Hi List, My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki type site because of versioning. Can anyone point me to resources about versioning and inherent strengths and reliability of PHP?

Re: [PHP] general research question(thanks!)

2004-10-07 Thread lists
Thanks for all the great replies. I will have fun preparing this particular report. -dg On Oct 7, 2004, at 1:00 PM, Matthew Sims wrote: Hi List, My boss recently called PHP good for hobbyists but REAL sites have to be done with Microsoft technologies. He wants to use Sharepoint for a wiki

[PHP] Re: [PEAR] $HTTP_POST_VARS

2004-10-07 Thread Robert Cummings
On Thu, 2004-10-07 at 15:50, Justin Patrin wrote: Sorry, that question doesn't make any sense. The POST vars only change during a script run if your script changes them. Also, you should be using the $_POST superglobal unstead of $HTTP_POST_VARS. Please try to rephrase your question. Just a

Re: [PHP] Problem with a while loop

2004-10-07 Thread Janet Valade
Richard Kurth wrote: I am having a problem with a while loop if I put in a number with 0's in front of it it converts the number two the first whole number. such as 1 would be 1 02200 would be 2200. Then it starts the count down starting with that number. How can I make it not remove the 0's

Re: [PHP] general research question(thanks!)

2004-10-07 Thread Matthew Sims
Thanks for all the great replies. I will have fun preparing this particular report. -dg It can be difficult to show support for Open Source software when up against proprietary software when proprietary has the backing of money to offer assistance. With Open Source, when something goes

  1   2   >