Re: [PHP] how 2 open File Browser window in PHP

2006-01-17 Thread Aaron Koning
Please attempt to search www.php.net first for this information. A search for 'file uploads' reveals what you want: http://ca.php.net/features.file-upload Aaron On 1/16/06, suresh kumar [EMAIL PROTECTED] wrote: hi, i dont know exact PHP code for how 2 open file browser window to

Re: [PHP] how 2 open File Browser window in PHP

2006-01-17 Thread Jochem Maas
Aaron Koning wrote: Please attempt to search www.php.net first for this information. you use 'please' after the 3th or 4th 'give me the code, it's very urgent'? Are you related to the dalai lama per chance? ;-) A search for 'file uploads' reveals what you want:

[PHP] PHP and LDAP...

2006-01-17 Thread David BERCOT
Hi, I'm new on this list and with PHP. But I am a old web developer (with ASP). I'm looking for verifying a username/password in Active Directory with a LDAP request... I have this error : Warning: ldap_search() [function.ldap-search]: Search: Operations error in /var/www/ldap.html on line 69 I

Re: [PHP] PHP and LDAP...

2006-01-17 Thread Adrian Bruce
David I found this resource usefull when authenticating users against LDAP, its easy to set up and use. http://adldap.sourceforge.net/ Ade David BERCOT wrote: Hi, I'm new on this list and with PHP. But I am a old web developer (with ASP). I'm looking for verifying a username/password in

Re: [PHP] PHP and LDAP...

2006-01-17 Thread David BERCOT
David I found this resource usefull when authenticating users against LDAP, its easy to set up and use. http://adldap.sourceforge.net/ OK. I have some problems but the most important point (verifying if a user can be authenticated) works well !!! Now, I have to adapt the script because I

[PHP] Using GPG in Safe Mode

2006-01-17 Thread emil
Hello, My ISP have php set for safe mode. And now I'm trying to run gpg from php. Basically I'm trying to run this from exec(): echo testar testar | /usr/local/bin/gpg --homedir /home/myuser/ .gnupg -a --always-trust --batch --no-secmem-warning -e -u Test Test [EMAIL PROTECTED] .com -r Test

Re: [PHP] Using GPG in Safe Mode

2006-01-17 Thread Edwin Barrios
Hi emil ! If you are using gnupg comand line, there is not way on PHP-safe mode. The only way that i know to wrap around this problem it's install pecl extension package calls gnupg (http://pecl.php.net/package/gnupg). This extension use libgpgme that bind all gnupg comand line options, then it

[PHP] Re: Re: Re: HAPPY NEW YEAR!!

2006-01-17 Thread Michelle Konzack
Am 2006-01-06 13:39:41, schrieb Zareef Ahmed: France is so late ? ;) I was working from Friday to Thuesday in Karlsruhe/Germany. ;-) Greetings Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter,

[PHP] Re: Re: Re: HAPPY NEW YEAR!!

2006-01-17 Thread Michelle Konzack
Am 2006-01-06 13:49:18, schrieb John Nichel: Zareef Ahmed wrote: France is so late ? ;) A little too much wine during the celebration. They're just now waking up. :-) Unfortunatly I do not drink alcohol because I am muslim. John C. Nichel IV Programmer/System Admin (ÜberGeek)

Re: [PHP] need help arranging files!

2006-01-17 Thread tedd
Hmm, I just set-it-up on my server: http://www.ambiguism.com/php/readDirSort.php Seems to work for me. Code: -snip- Hth! Cheers, Micky Micky: Worked great for me -- no problems whatsoever! Thanks. tedd --

[PHP] RE: header data being inserted into message

2006-01-17 Thread ET Support
Hello all, I am having a problem using PHP's mail function to send mail via BCC to multiple recipients. Here's my code; -- $get_emails = pg_exec($dbh,SELECT email FROM mailing_list WHERE conf = 1); $count = pg_numrows($get_emails); $bcc_count = $envelope_count

Re: [PHP] Validating Radio Buttons in two directions

2006-01-17 Thread tedd
How do I assure that only one color is ranked at any one value? I hope my question makes sense. Any help will be appreciated. Thanks in advance. HiFi Tubes HiFi: I understand your problem, you don't want the user to pick a color such that it ranks the same as another color (i.e., only one

Re: [PHP] Validating Radio Buttons in two directions

2006-01-17 Thread John Nichel
tedd wrote: How do I assure that only one color is ranked at any one value? I hope my question makes sense. Any help will be appreciated. Thanks in advance. HiFi Tubes HiFi: I understand your problem, you don't want the user to pick a color such that it ranks the same as another color

Re: [PHP] Validating Radio Buttons in two directions

2006-01-17 Thread Austin Denyer
On Tue, 17 Jan 2006 10:45:01 -0500 John Nichel [EMAIL PROTECTED] wrote: Huh? Maybe I'm just not awake this morning and not understanding what you're trying to explain, but if you're using *radio* buttons, only *one* of the same name can be checked at any give time. ie: input type=radio

Re: [PHP] Best way to do this: www.domain.com?page=var

2006-01-17 Thread tg-php
If you can't set a new 'default page' on your server, using a header('Location: ...') will simulate the same thing. I believe the web server sends an error 302 (like a 404 when page isn't found) for saying that a page has moved and redirect the browser automatically to the new page. So like I

Re: [PHP] Validating Radio Buttons in two directions

2006-01-17 Thread John Nichel
Austin Denyer wrote: On Tue, 17 Jan 2006 10:45:01 -0500 John Nichel [EMAIL PROTECTED] wrote: Huh? Maybe I'm just not awake this morning and not understanding what you're trying to explain, but if you're using *radio* buttons, only *one* of the same name can be checked at any give time. ie:

Re: [PHP] how 2 open File Browser window in PHP

2006-01-17 Thread Richard Correia
I think you need to take a close look at http://http://www.weberdev.com/ You can locate a cool file upload script at * http://www.weberdev.com/get_example-3923.html* Thanks Richard On 1/17/06, suresh kumar [EMAIL PROTECTED] wrote: hi, i dont know exact PHP code for how 2 open file

Re: [PHP] need help arranging files!

2006-01-17 Thread Richard Correia
You can locate a good directory reading script at http://www.weberdev.com/get_example-1456.html Thanks, Richard On 1/17/06, Nicholas Couloute [EMAIL PROTECTED] wrote: I need to know how to arrange files alphabetically in my directory when I display it on the browser! I have it display the

Re: [PHP] RE: header data being inserted into message

2006-01-17 Thread Richard Correia
Hey, You can use the readymase mailer class from http://www.weberdev.com/get_example-462.html and http://www.weberdev.com/get_example-3724.html Thanks Richard On 1/17/06, ET Support [EMAIL PROTECTED] wrote: Hello all, I am having a problem using PHP's mail function to send mail via BCC

Re[2]: [PHP] Best way to do this: www.domain.com?page=var

2006-01-17 Thread Steve Clay
Tuesday, January 17, 2006, 10:54:21 AM, [EMAIL PROTECTED] wrote: If you can't set a new 'default page' on your server, using a header('Location: ...') will simulate the same thing. Not really. Sending a Location: header says, this page is temporarily moved and the browser has to send a 2nd

Re: [PHP] Best way to do this: www.domain.com?page=var

2006-01-17 Thread Richard Correia
I think you can do it using Location header. There is no need to use refresh. get more info at http://www.weberdev.com/Manuals/PHP/function.header.html Thanks Richard Correia On 1/17/06, Michael Hulse [EMAIL PROTECTED] wrote: Hello, What would be the best way to get a page variable like

Re: [PHP] Validating Radio Buttons in two directions

2006-01-17 Thread tedd
On Tue, 17 Jan 2006 10:45:01 -0500 John Nichel [EMAIL PROTECTED] wrote: Huh? Maybe I'm just not awake this morning and not understanding what you're trying to explain, but if you're using *radio* buttons, only *one* of the same name can be checked at any give time. ie: input type=radio

Re: Re[2]: [PHP] Best way to do this: www.domain.com?page=var

2006-01-17 Thread Richard Correia
Hey Steve, I know it can be done easily using apache rewrite rules. Since this user may not know it, I suggested location header. Rich On 1/17/06, Steve Clay [EMAIL PROTECTED] wrote: Tuesday, January 17, 2006, 10:54:21 AM, [EMAIL PROTECTED]: If you can't set a new 'default page' on your

Re: [PHP] Site down?

2006-01-17 Thread Marc G. Fournier
On Tue, 17 Jan 2006, Dotan Cohen wrote: I just noticed that http://www.io.org/~rasmus is down. Anybody else remember this site? Ya, I used to own it *way way* back ... that goes back to '92, the company was sold in '95 ... not sure how long the domain was active after that, but looking at

Re: Re[2]: [PHP] Best way to do this: www.domain.com?page=var

2006-01-17 Thread Michael Hulse
Wow, thanks for all the great advice everyone! Very good info... all of your suggestions have been very helpful. I appreciate it. • I would have never thought to just require() the page... good idea. :) • Still checking out server options... waiting for info from client on that tip. • Mod

[PHP] Help with regular expressions

2006-01-17 Thread Carl Furst
Ok I am so stumped.. I'm doing something stupid and I can't figure it out.. Here's the code: ?php $eml = '[EMAIL PROTECTED]ceo'; if (strpos($eml, ' ')) echo yep, there are spaces\n; //does strpos see the spaces? echo preg_replace('/\s/', '', $eml); //WTF? Preg_replace

Re: [PHP] Help with regular expressions

2006-01-17 Thread John Nichel
Carl Furst wrote: Ok I am so stumped.. I'm doing something stupid and I can't figure it out.. Here's the code: ?php $eml = '[EMAIL PROTECTED]ceo'; if (strpos($eml, ' ')) echo yep, there are spaces\n; //does strpos see the spaces? echo preg_replace('/\s/', '', $eml);

[PHP] Re: Using GPG in Safe Mode

2006-01-17 Thread emil
Hi Edwin! Thanks for the tips but my ISP hasn't given me root. I'm very sad to hear gpg from cli won't work under safe mode. Are there any 100% php implementations of GPG I could use? (because I guess that is the only way that is left?) /Emil If you are using gnupg comand line, there is not

Re: [PHP] need help arranging files!

2006-01-17 Thread Michael Hulse
On Jan 17, 2006, at 7:09 AM, tedd wrote: Worked great for me -- no problems whatsoever! Sweet, thanks for checking... glad someone got it working. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] need help arranging files!

2006-01-17 Thread Nicholas Couloute
Weberdev.com is a nice site! On Tue, 17 Jan 2006 11:34 am, Richard Correia wrote: You can locate a good directory reading script at http://www.weberdev.com/get_example-1456.html Thanks, Richard On 1/17/06, Nicholas Couloute [EMAIL PROTECTED] wrote: I need to know how to arrange files

[PHP] generate database driven web pages

2006-01-17 Thread Bing Du
Hello everyone, Here is what I want to accomplish. Query the backend database and generate a page listing all the staff members in table format that has name, title, phone and office address. Staff name should be a link. Clicking the link should query the database again and use the

Re: [PHP] generate database driven web pages

2006-01-17 Thread John Nichel
Bing Du wrote: Hello everyone, Here is what I want to accomplish. Query the backend database and generate a page listing all the staff members in table format that has name, title, phone and office address. Staff name should be a link. Clicking the link should query the database again and

Re: [PHP] Help with regular expressions

2006-01-17 Thread Al
John Nichel wrote: Carl Furst wrote: Ok I am so stumped.. I'm doing something stupid and I can't figure it out.. Here's the code: ?php $eml = '[EMAIL PROTECTED]ceo'; if (strpos($eml, ' ')) echo yep, there are spaces\n; //does strpos see the spaces? echo

Re: [PHP] generate database driven web pages

2006-01-17 Thread Adi
you can also make it a hidden form variable that is updated dynamically when a 'staff' member is clicked before form subimmion. generated staff link: a href=javascript:sendForm(?echo $staffID;?); javascript: function sendForm(staffID) { document.myform.staffID.value = staffID;

RE: [PHP] Help with regular expressions

2006-01-17 Thread php-mail
General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ NOD32 1.1369 (20060117) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Help with regular expressions

2006-01-17 Thread Al
Al wrote: John Nichel wrote: Carl Furst wrote: Ok I am so stumped.. I'm doing something stupid and I can't figure it out.. Here's the code: ?php $eml = '[EMAIL PROTECTED] ceo'; if (strpos($eml, ' ')) echo yep, there are spaces\n; //does strpos see the spaces?

[PHP] PHP CGI Security

2006-01-17 Thread Tim Traver
Hi all, ok, I have come up with an architecture to offer PHP to customers as a CGI, and want to get some opinions to make sure I'm not missing any glaring holes... I've decided to use suPHP to fork off PHP CGI scripts as the user and group. It seems to work pretty well, and I have tweaked

[PHP] FW: error de php!

2006-01-17 Thread Miguel Guirao
Hi list! I'm migrating to a new server, the old was: -Apache/2.0.46 (Unix) y PHP/4.3.2 -MySQL 4.0.13 -Solaris 8 The following script used to run nicely in the old sever, but now that I migrated the script to a new server with Apache/2.0.54 (Unix Solaris 9), PHP/5.0.5 and MySQL 5.0.18. I got the

[PHP] mcrypt

2006-01-17 Thread emil
Hello, Since I'm running php under safe mode and the gpglib extension is not installed in php at my isp gpg seems to be unavalible for me. Are there anything else I can use with public/private keys that is as safe/solid/hard to crack as gpg? The mcrypt extension is installed if that helps, or

Re: [PHP] Using aliases to have an email trigger a php script

2006-01-17 Thread Sean Lerner
Hey Everyone, Thanks for your help. It was the absolute path I needed for the toronto.txt file. Sean On 1/14/06, Sean Lerner [EMAIL PROTECTED] wrote: Hello, I'd like an email received to [EMAIL PROTECTED] to trigger a php script. I've configured the following: in

Re: [PHP] Re: Using GPG in Safe Mode

2006-01-17 Thread comex
If you are using gnupg comand line, there is not way on PHP-safe mode. I think it's possible to create a shell script that the PHP script can call and get around safe_mode that way. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Validating Radio Buttons in two directions

2006-01-17 Thread HiFi Tubes
Thanks to all of you who responded. Yes, I am doing the grid --basically 100 radio buttons, that is ten comments that must be ranked from 1 to 10. Thanks so much Tedd for the JavaScript. I will keep that snippet for use and study to improve my JS skills. Unfortunately I should have said that

Re: [PHP] Validating Radio Buttons in two directions

2006-01-17 Thread HiFi Tubes
Oops I should have said Austin not John below. Austin, could you or someone point my in the direction of how to do this in PHP? Thanks so much. HiFi Tubes On 1/17/06, HiFi Tubes [EMAIL PROTECTED] wrote: Thanks to all of you who responded. Yes, I am doing the grid --basically 100 radio

[PHP] PHP load to high on server

2006-01-17 Thread Albert
Hi I am running SuSE 9.2 (Kernel 2.6.8-24-default) with Apache 2.0.50 and PHP 4.3.8 (as an Apache module) on a Celeron 900 with 304MB RAM. This machine is used for testing. We have made some changes to our PHP application and now the machine is having trouble serving the pages. Apache is

Re: [PHP] generate database driven web pages

2006-01-17 Thread Gerry Danen
Bing, I think I have implemented at http://www.arls-lilies.org/h/board.php what you are looking for. If so, let me know. On 1/17/06, Bing Du [EMAIL PROTECTED] wrote: Hello everyone, Here is what I want to accomplish. Query the backend database and generate a page listing all the staff