[PHP] Preparing site content for RSS XML feed

2006-02-02 Thread Murray @ PlanetThoughtful
Hi All, I currently generate a simple rss.xml file for syndication from my site, containing nothing more than the subject of the post and a link to the article on my site. I'd like to syndicate the the actual content of each of the posts, but as I understand it RSS / XML is somewhat

Re: [PHP] Preparing site content for RSS XML feed

2006-02-02 Thread Dan Rossi
would enclosing in the cdata work ? On 02/02/2006, at 7:11 PM, Murray @ PlanetThoughtful wrote: Hi All, I currently generate a simple rss.xml file for syndication from my site, containing nothing more than the subject of the post and a link to the article on my site. I'd like to syndicate

[PHP] Re: Preparing site content for RSS XML feed

2006-02-02 Thread Brice
On 2/2/06, Murray @ PlanetThoughtful [EMAIL PROTECTED] wrote: Hi All, I currently generate a simple rss.xml file for syndication from my site, containing nothing more than the subject of the post and a link to the article on my site. I'd like to syndicate the the actual content of each of

[PHP] Re: Preparing site content for RSS XML feed

2006-02-02 Thread James Benson
Murray @ PlanetThoughtful wrote: Hi All, I currently generate a simple rss.xml file for syndication from my site, containing nothing more than the subject of the post and a link to the article on my site. I'd like to syndicate the the actual content of each of the posts, but as I

Re: [PHP] Validating Radio Buttons in two directions

2006-02-02 Thread Barry
HiFi Tubes wrote: Here's the solution I came up with for checking the columns to varify only one in a column is selected (without using JavaScript) in a matrix of radio buttons consisting of 4 columns and 4 rows. Doing this was complicated by the fact that some rows did not have to be answered.

Re: [PHP] Validating Radio Buttons in two directions

2006-02-02 Thread Barry
Barry wrote: Now time to go back into an array: $colorarray = explode ( , $colorstring); Next I count how many times particular values show up in an array: $colorvalues = array_count_values ($colorarray); *Note: This gives me an array with how many times each value shows up. So if the user

Re: [PHP] PHP6 Roadmap

2006-02-02 Thread Zareef Ahmed
Hi, Please visit http://www.php.net/~derick/meeting-notes.html - Original Message - From: Yannick Warnier [EMAIL PROTECTED] To: PHP General List php-general@lists.php.net Sent: Wednesday, February 01, 2006 11:02 AM Subject: [PHP] PHP6 Roadmap Hello, Is a roadmap for PHP6

[PHP] How to get a network drive name

2006-02-02 Thread Ibrahima TALL
Hi everybody ! I would need a help in php or a portable javascript solution (for several browsers). My problem is : i have no solution about how to get a network drive name. For exemple, getting COMMON in COMMON(X:). The only solution i saw was using activeX controls with javascript but the

[PHP] mail() and Return-Path header

2006-02-02 Thread Søren Schimkat
Hi Guys I'm using the mail function for sending mail, and I would like to specify the Return-Path header, but it would seem that PHP or Apache is modyfying the header. This is the simple code: mail('[EMAIL PROTECTED]', 'Subject', 'Message', From: [EMAIL PROTECTED]: [EMAIL PROTECTED]); .. but

[PHP] Re: How to get a network drive name

2006-02-02 Thread Barry
Ibrahima TALL wrote: Hi everybody ! I would need a help in php or a portable javascript solution (for several browsers). My problem is : i have no solution about how to get a network drive name. For exemple, getting COMMON in COMMON(X:). The only solution i saw was using activeX controls

[PHP] Getting The Document Root

2006-02-02 Thread Jeremy Privett
I'm looking for a method that would be able to extract the user's true document root (e.g. /home/jeremy/public_html/) so that I can use it for some filesystem scanning functions. I'm trying to avoid hard-coding supported document roots in favor of being able to dynamically detect it, but

[PHP] Re: mail() and Return-Path header

2006-02-02 Thread Barry
Søren Schimkat wrote: Hi Guys I'm using the mail function for sending mail, and I would like to specify the Return-Path header, but it would seem that PHP or Apache is modyfying the header. This is the simple code: mail('[EMAIL PROTECTED]', 'Subject', 'Message', From: [EMAIL PROTECTED]:

Re: [PHP] Getting The Document Root

2006-02-02 Thread Silvio Porcellana [tradeOver]
Jeremy Privett wrote: I'm looking for a method that would be able to extract the user's true document root (e.g. /home/jeremy/public_html/) so that I can use it for some filesystem scanning functions. I'm trying to avoid hard-coding supported document roots in favor of being able to

Re: [PHP] Re: How to get a network drive name

2006-02-02 Thread Ibrahima TALL
Hi barry and thanks for your response ! Your solution seems to be restrictive for me and for my application clients because in such situation, they will be obligated to have a config file in which they must define all the network drive names and to update it whenever a new drive is mapped. i

Re: [PHP] Re: How to get a network drive name

2006-02-02 Thread Barry
Ibrahima TALL wrote: Hi barry and thanks for your response ! Your solution seems to be restrictive for me and for my application clients because in such situation, they will be obligated to have a config file in which they must define all the network drive names and to update it whenever a

Re: [PHP] Re: mail() and Return-Path header

2006-02-02 Thread Søren Schimkat
Quoting Barry [EMAIL PROTECTED]: Søren Schimkat wrote: Hi Guys I'm using the mail function for sending mail, and I would like to specify the Return-Path header, but it would seem that PHP or Apache is modyfying the header. This is the simple code: mail('[EMAIL PROTECTED]',

RE: [PHP] How to get a network drive name

2006-02-02 Thread Jim Moseby
Hi everybody ! I would need a help in php or a portable javascript solution (for several browsers). My problem is : i have no solution about how to get a network drive name. For exemple, getting COMMON in COMMON(X:). The only solution i saw was using activeX controls with

Re: [PHP] Getting The Document Root

2006-02-02 Thread Jeremy Privett
[EMAIL PROTECTED] wrote: the DOCUMENT_ROOT server variable (available to php/perl in the standard methods for getting these) will give you the server's document root. in php, look at the output of: phpinfo() Original Message Date: Thursday, February 02, 2006

Re: [PHP] Getting The Document Root

2006-02-02 Thread Barry
Jeremy Privett wrote: No, what I'm looking for is the root of the document root, if that makes any sense. not at all ^_^ -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Getting The Document Root

2006-02-02 Thread Jim Moseby
No, what I'm looking for is the root of the document root, if that makes any sense. How about $_SERVER['DOCUMENT_ROOT']? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to get a network drive name

2006-02-02 Thread Ibrahima TALL
- Original Message - From: Jim Moseby [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, February 02, 2006 2:34 PM Subject: RE: [PHP] How to get a network drive name Hi everybody ! I would need a help in php or a portable javascript solution (for several browsers).

Re: [PHP] mail() and Return-Path header

2006-02-02 Thread Richard Heyes
Søren Schimkat wrote: Hi Guys I'm using the mail function for sending mail, and I would like to specify the Return-Path header, but it would seem that PHP or Apache is modyfying the header. This is the simple code: mail('[EMAIL PROTECTED]', 'Subject', 'Message', From: [EMAIL PROTECTED]:

RE: [PHP] How to get a network drive name

2006-02-02 Thread Jim Moseby
Nothing about PHP 'runs' in the browser. In other words, you can probably get all the information you want about the SERVER's network drive names, and display that on the user's browser, Ok, so in php, how can i get the netowok drive names i mapped on the server and to

Re: [PHP] Wysiwyg editors?

2006-02-02 Thread Angelo Zanetti
also www.solmetra.com check it out,the product is called SPAW.ciao John Nichel wrote: William Stokes wrote: Hello, Once again no PHP question... snip Well, at least you warned me so that I could stop reading now. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] How to get a network drive name

2006-02-02 Thread Barry
Ibrahima TALL wrote: - Original Message - From: Jim Moseby [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, February 02, 2006 2:34 PM Subject: RE: [PHP] How to get a network drive name Hi everybody ! I would need a help in php or a portable javascript solution (for

Re: [PHP] Getting The Document Root

2006-02-02 Thread Jeremy Privett
George Pitcher wrote: Jeremy, I think I lead you down the wrong path with my last reply. have a look at $_ENV['ORIG_PATH_TRANSLATED'] which, on my WinXP Apache2 box gives 'C:\Apache\Apache2\htdocs\testsite\phpinfo.php'. Is that what you are after? George I think my original message may

Re: [PHP] How to get a network drive name

2006-02-02 Thread Ibrahima TALL
- Original Message - From: Barry [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, February 02, 2006 3:16 PM Subject: Re: [PHP] How to get a network drive name Ibrahima TALL wrote: - Original Message - From: Jim Moseby [EMAIL PROTECTED] To:

RE: [PHP] How to get a network drive name

2006-02-02 Thread Jim Moseby
i have already tryed this command barry, in fact the name of the volume is different from the name of a network drive. A volume concerns a partition i think For exemple, you can define many drives, let say COMMON1(X:), COMMON2(Y:) in the DISK(C:). In this situation, the volume name

Re: [PHP] How to get a network drive name

2006-02-02 Thread Barry
Ibrahima TALL wrote: i have already tryed this command barry, in fact the name of the volume is different from the name of a network drive. A volume concerns a partition i think For exemple, you can define many drives, let say COMMON1(X:), COMMON2(Y:) in the DISK(C:). In this situation, the

Re: [PHP] How to get a network drive name

2006-02-02 Thread Ibrahima TALL
- Original Message - From: Jim Moseby [EMAIL PROTECTED] To: 'Ibrahima TALL' [EMAIL PROTECTED]; php-general@lists.php.net Sent: Thursday, February 02, 2006 3:41 PM Subject: RE: [PHP] How to get a network drive name i have already tryed this command barry, in fact the name of the

RE: [PHP] How to get a network drive name

2006-02-02 Thread Shaw, Chris - Accenture
snip i have already tryed this command barry, in fact the name of the volume is different from the name of a network drive. A volume concerns a partition i think For exemple, you can define many drives, let say COMMON1(X:), COMMON2(Y:) in the DISK(C:). In this situation, the volume

Re: [PHP] Validating Radio Buttons in two directions

2006-02-02 Thread tedd
I am rather amused by the fact that the experts were too busy telling me what to do (even when I said JavaScript was not to be used)instead of actually helping me learn and come up with a solution. But, then, I suppose this problem was too simple for them. I was tempted to not post my

Re: [PHP] How to get a network drive name

2006-02-02 Thread Ibrahima TALL
- Original Message - From: Jim Moseby [EMAIL PROTECTED] To: 'Ibrahima TALL' [EMAIL PROTECTED]; Jim Moseby [EMAIL PROTECTED]; php-general@lists.php.net Sent: Thursday, February 02, 2006 3:59 PM Subject: RE: [PHP] How to get a network drive name The NET USE command gives many infos

Re: [PHP] Re: How to get a network drive name

2006-02-02 Thread John Nichel
Ibrahima TALL wrote: snip Turn off your return reciepts request please. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to get a network drive name

2006-02-02 Thread Jim Moseby
The Distant column is the UNC name of the X: notation, but on my computer this X: letter is in fact IBRAHIMA(X:) named. You can do it by mapping a network driver on your desktop, then do a right click to rename it, so you can give the name you want. For example the X: becomes

Re: [PHP] Getting The Document Root

2006-02-02 Thread John Nichel
Jeremy Privett wrote: George Pitcher wrote: Jeremy, I think I lead you down the wrong path with my last reply. have a look at $_ENV['ORIG_PATH_TRANSLATED'] which, on my WinXP Apache2 box gives 'C:\Apache\Apache2\htdocs\testsite\phpinfo.php'. Is that what you are after? George I think

[PHP] Re: Solution [PHP] mail() and Return-Path header

2006-02-02 Thread Peppy
Thanks Richard. That worked great. - Original Message - From: Richard Heyes [EMAIL PROTECTED] To: Søren Schimkat [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Thursday, February 02, 2006 8:02 AM Subject: Re: [PHP] mail() and Return-Path header Søren Schimkat wrote: Hi Guys

[PHP] Reomended steps when updating libraries

2006-02-02 Thread Federico Petronio
Hello, I write you for advice in the better way to update libraries that PHP depends on. For instance, I need to update libpng in a system with Apache 2.0.55 and PHP 4.4.1. I downloaded and compiled libpng. Now I need to install it and that will overwrite files needed by libphp4.so that is at

Re: [PHP] How to get a network drive name

2006-02-02 Thread Ibrahima TALL
- Original Message - From: Jim Moseby [EMAIL PROTECTED] To: 'Ibrahima TALL' [EMAIL PROTECTED]; Jim Moseby [EMAIL PROTECTED]; php-general@lists.php.net Sent: Thursday, February 02, 2006 4:22 PM Subject: RE: [PHP] How to get a network drive name The Distant column is the UNC name of

RE: [PHP] How to get a network drive name

2006-02-02 Thread Jim Moseby
The NET USE command gives many infos about the network drives by the name of the drive is not given. See the Net Use output in the joined file of this message tat Local Distant R,seau --

RE: [PHP] How to get a network drive name

2006-02-02 Thread Jim Moseby
Is there anything you can type at the command line to see the drive name info you want? 'LABEL' perhaps? If not, I do not know of any way to get what you are looking for. LABEL and VOL give the name of the volume (ie of the partition), but not the drive name. Thanks much

Re: [PHP] Getting The Document Root

2006-02-02 Thread Jeremy Privett
John Nichel wrote: $_SERVER['DOCUMENT_ROOT'] http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server Nope. I've already tried that... $_SERVER['DOCUMENT_ROOT'] contains /home/jeremy/public_html/test/ ... All I want is to the public_html part. -- Jeremy Privett [

Re: [PHP] Getting The Document Root

2006-02-02 Thread Joe Henry
you could try pathinfo() http://us3.php.net/pathinfo On Feb 2, 2006, at 8:59 AM, Jeremy Privett wrote: John Nichel wrote: $_SERVER['DOCUMENT_ROOT'] http://www.php.net/manual/en/ reserved.variables.php#reserved.variables.server Nope. I've already tried that... $_SERVER['DOCUMENT_ROOT']

Re: [PHP] Getting The Document Root

2006-02-02 Thread John Nichel
Jeremy Privett wrote: John Nichel wrote: $_SERVER['DOCUMENT_ROOT'] http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server Nope. I've already tried that... $_SERVER['DOCUMENT_ROOT'] contains /home/jeremy/public_html/test/ ... All I want is to the public_html part.

Re: [PHP] How to get a network drive name

2006-02-02 Thread Ibrahima TALL
- Original Message - From: Jim Moseby [EMAIL PROTECTED] To: 'Ibrahima TALL' [EMAIL PROTECTED]; php-general@lists.php.net Sent: Thursday, February 02, 2006 4:44 PM Subject: RE: [PHP] How to get a network drive name Is there anything you can type at the command line to see the drive

RE: [PHP] Wysiwyg editors?

2006-02-02 Thread Mark Steudel
Doesn't look like SPAW is XHTML complient, just doing a 10 second glance at the html it generates. -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 4:21 AM To: John Nichel Cc: php-general@lists.php.net Subject: Re: [PHP] Wysiwyg editors?

Re: [PHP] Getting The Document Root

2006-02-02 Thread Jeremy Privett
John Nichel wrote: Jeremy Privett wrote: John Nichel wrote: $_SERVER['DOCUMENT_ROOT'] http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server Nope. I've already tried that... $_SERVER['DOCUMENT_ROOT'] contains /home/jeremy/public_html/test/ ... All I want is to

Re: [PHP] How to get a network drive name

2006-02-02 Thread John Nichel
Ibrahima TALL wrote: snip *plonk* -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Getting The Document Root

2006-02-02 Thread tedd
I think my original message may have been confusing. I'll give a better example: I have a path: /home/jeremy/public_html/test/test.php What I want off of the path is just the root of the user's document root (e.g. where he stores all his publically viewable files): /home/jeremy/public_html/

[PHP] File permissions do not seem to be my friend

2006-02-02 Thread Brian Dunning
I have a script that scans an images folder and creates a thumbnail for each and writes it to a new subfolder. Runs fine on my development box. But I'm using a new host that I'm unfamiliar with (servage.net), and when I run the script I get the following error. I set the permissions on the

Re: [PHP] File permissions do not seem to be my friend

2006-02-02 Thread David Grant
Brian, This is a php.ini setting, so a FS permissions problem. The sysadmin needs to disable safe mode on your behalf. David Brian Dunning wrote: I have a script that scans an images folder and creates a thumbnail for each and writes it to a new subfolder. Runs fine on my development box.

Re: [PHP] File permissions do not seem to be my friend

2006-02-02 Thread Brian Dunning
On Feb 2, 2006, at 9:21 AM, David Grant wrote: This is a php.ini setting, so a FS permissions problem. The sysadmin needs to disable safe mode on your behalf. Assuming this hosting company prefers to keep safe mode on, is there no way my scripts can create files? -- PHP General Mailing

[PHP] Unique Names for Variable in Loop

2006-02-02 Thread Albert Padley
I must be brain dead today since I can't get my syntax correct. Simple MySQL query to return a list of last_name. No problem. Each last name returned needs to be assigned to a unique variable like name1, name2, name3, etc. Somebody just kick me in the right direction. Thanks. Al Padley

Re: [PHP] Hide email addresses from spam bots

2006-02-02 Thread David Dorward
tedd wrote: B) to read it via text contained within your web site. C) Run it through a regular HTML parser. And where does the HTML parser get it's text to parse if not from the web site? I was distinguishing between greping text looking for something that looked like an email address and

RE: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Jim Moseby
I must be brain dead today since I can't get my syntax correct. Simple MySQL query to return a list of last_name. No problem. Each last name returned needs to be assigned to a unique variable like name1, name2, name3, etc. How about $names[1], $names[2], $names[3]? JM -- PHP

RE: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Jim Moseby
I must be brain dead today since I can't get my syntax correct. Simple MySQL query to return a list of last_name. No problem. Each last name returned needs to be assigned to a unique variable like name1, name2, name3, etc. How about $names[1], $names[2], $names[3]? JM To

RE: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Programmer
$x = 0; my_name_array = array(); While($row=mysql_fetch_array($result)) { my_name_array[$x] = $row[last_name]; } Jeremy Schreckhise -Original Message- From: Albert Padley [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 1:15 PM To: php-general@lists.php.net

RE: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Programmer
Oops you might want to increment $x++ after the assignment. -Original Message- From: Programmer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 1:49 PM To: 'Albert Padley'; php-general@lists.php.net Subject: RE: [PHP] Unique Names for Variable in Loop $x = 0;

Re: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Albert Padley
Yes, that's it. Thanks for the swift kick. AP On Feb 2, 2006, at 12:37 PM, Jim Moseby wrote: I must be brain dead today since I can't get my syntax correct. Simple MySQL query to return a list of last_name. No problem. Each last name returned needs to be assigned to a unique variable like

Re: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 1:15 pm, Albert Padley wrote: I must be brain dead today since I can't get my syntax correct. Simple MySQL query to return a list of last_name. No problem. Each last name returned needs to be assigned to a unique variable like name1, name2, name3, etc. Somebody just

RE: [PHP] php4 vs. php5

2006-02-02 Thread Jim Moseby
Hey there... I am setting up a new test server for one of my clients to use, and I am curious if there is a reason to go with php4.xx over php5.xx, or the other way around. I would think that I would want to go with the newest one, but my client requested that 4.xx be installed.

RE: [PHP] php4 vs. php5

2006-02-02 Thread Programmer
The only complaint I have with 5 is that the mysql libraries are not bundled with the new version. However, there are a lot of third party bundles such as apache friends. Jeremy Schreckhise -Original Message- From: Grae Wolfe - PHP [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02,

Re: [PHP] php4 vs. php5

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 1:18 pm, Grae Wolfe - PHP wrote: Hey there... I am setting up a new test server for one of my clients to use, and I am curious if there is a reason to go with php4.xx over php5.xx, or the other way around. I would think that I would want to go with the newest one,

Re: [PHP] File permissions do not seem to be my friend

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 11:20 am, Brian Dunning wrote: I have a script that scans an images folder and creates a thumbnail for each and writes it to a new subfolder. Runs fine on my development box. But I'm using a new host that I'm unfamiliar with (servage.net), and when I run the script I

[PHP] Excell to CSV Date Calculations

2006-02-02 Thread Ray Hauge
Hello all, I have a script that takes a CSV file in as data and does some updates to the DB accordingly. Some of those values are dates. When I save the spreadsheet in Open Office to a CSV file, the dates are saved as the internal date format of Open Office. I need to figure out a way to

Re: [PHP] File permissions do not seem to be my friend

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 11:34 am, Brian Dunning wrote: On Feb 2, 2006, at 9:21 AM, David Grant wrote: This is a php.ini setting, so a FS permissions problem. The sysadmin needs to disable safe mode on your behalf. Assuming this hosting company prefers to keep safe mode on, is there no

Re: [PHP] Excell to CSV Date Calculations

2006-02-02 Thread Ray Hauge
On Thursday 02 February 2006 01:38 pm, Ray Hauge wrote: Hello all, I have a script that takes a CSV file in as data and does some updates to the DB accordingly. Some of those values are dates. When I save the spreadsheet in Open Office to a CSV file, the dates are saved as the internal

Re: [PHP] Re: mail() and Return-Path header

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 7:23 am, Barry wrote: Søren Schimkat wrote: Hi Guys I'm using the mail function for sending mail, and I would like to specify the Return-Path header, but it would seem that PHP or Apache is modyfying the header. This is the simple code: mail('[EMAIL

Re: [PHP] Getting The Document Root

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 7:14 am, Jeremy Privett wrote: I'm looking for a method that would be able to extract the user's true document root (e.g. /home/jeremy/public_html/) so that I can use it for some filesystem scanning functions. I'm trying to avoid hard-coding supported document roots

Re: [PHP] Getting The Document Root

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 9:59 am, Jeremy Privett wrote: John Nichel wrote: $_SERVER['DOCUMENT_ROOT'] http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server Nope. I've already tried that... $_SERVER['DOCUMENT_ROOT'] contains /home/jeremy/public_html/test/ ... All I

Re: [PHP] Re: How to get a network drive name

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 7:30 am, Barry wrote: Ibrahima TALL wrote: Hi barry and thanks for your response ! Your solution seems to be restrictive for me and for my application clients because in such situation, they will be obligated to have a config file in which they must define all the

Re: [PHP] How to get a network drive name

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 8:44 am, Ibrahima TALL wrote: i have already tryed this command barry, in fact the name of the volume is different from the name of a network drive. A volume concerns a partition i think For exemple, you can define many drives, let say COMMON1(X:), COMMON2(Y:) in

RE: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Miles Thompson
No need to subscript them, my_name_array[] will work just fine. Miles At 03:49 PM 2/2/2006, Programmer wrote: $x = 0; my_name_array = array(); While($row=mysql_fetch_array($result)) { my_name_array[$x] = $row[last_name]; } Jeremy Schreckhise -Original Message- From:

Re: [PHP] Running snippets from within PHP

2006-02-02 Thread Richard Lynch
On Tue, January 31, 2006 9:41 pm, Eli wrote: How can I run non-PHP code snippets from within PHP? For example: Is it possible to include a C++ code snippet within PHP and run it as it was a regular include? I know there's a solution using exec() and such, but I want to run the snippets like

Re: [PHP] mail sending issues...

2006-02-02 Thread Richard Lynch
On Mon, January 30, 2006 8:51 pm, Richard Schilling wrote: I've been troubleshooting mail for a couple of days and searching every mail list archive/documentation/etc I could find. Hoping someone can help me troubleshoot my mail sending problem. I can't get the PHP mail function to send

Re: [PHP] wiki question

2006-02-02 Thread Richard Lynch
On Mon, January 30, 2006 1:56 pm, Jay Blanchard wrote: I have been searching for a PHP wiki that will allow me to use and ODBC connection to a MS_SQL server database. Does anyone know if such an animal exists? If no such thing exists, look for the Wiki that supports the most databases, and

Re: [PHP] PHP hosting with multiple domains?

2006-02-02 Thread Richard Lynch
Maybe look for reseller acccounts and become your own reseller for all the sub-accounts. Or find somebody who gives enough HD space for your biggest accounts that you don't care about sharing. On Mon, January 30, 2006 11:34 am, [EMAIL PROTECTED] wrote: I know every month or so someone asks

Re: [PHP] Re: How to get a network drive name

2006-02-02 Thread Miles Thompson
At 09:30 AM 2/2/2006, Barry wrote: Ibrahima TALL wrote: Hi barry and thanks for your response ! Your solution seems to be restrictive for me and for my application clients because in such situation, they will be obligated to have a config file in which they must define all the network drive

Re: [PHP] Embed XHTML code using PHP's XSLT processor

2006-02-02 Thread Markus Fuchs
Björn Bartels wrote: Moin, moin... Moin. :-) I'm only 99% sure but I think in this line... xsl:apply-templates select=node() ...node() returns CDATA which drops those unnessasary whitespaces and cr/lf's... Okay, we're almost there, I guess. ;-) I still need your help, though. If I

Re: [PHP] Hide email addresses from spam bots

2006-02-02 Thread tedd
David: Your points are well taken. I was impressed by your javascript answer. It seems to me that there should be something that could circumvent the CAPTCHA problem. I haven't played around with cron, but could the CAPTCHA key be provided via a timed sequence? For a human viewer, they

Re: [PHP] Help retrieving an HTML array

2006-02-02 Thread Richard Lynch
On Wed, February 1, 2006 3:06 pm, John Nichel wrote: I also don't _have_ to declare variables, don't _have_ to call mysql_close, etc, but that doesn't make it a good practice. The above 'standard' is pretty and all, but how many browsers out there are 100% standards compliant? Quoting will

Re: [PHP] PHP hosting with multiple domains?

2006-02-02 Thread Russell Jones
Host-Gator has a fantastic, cheap reseller program, although you aren't sharing space within 1 account. My real recommendation would be ServerPronto though. $29.95/mo for a dedicated with 40gig space. It works great for me, and you can host all the domains you want. You will have to learn how to

[PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-02 Thread Brad Kowalczyk
Grae Wolfe - PHP wrote: Hey there... I am setting up a new test server for one of my clients to use, and I am curious if there is a reason to go with php4.xx over php5.xx, or the other way around. I would think that I would want to go with the newest one, but my client requested that 4.xx be

[PHP] Configure question

2006-02-02 Thread PHP
Hi, I have php5 and apache2.2. In this directive: IfModule php5_module php_admin_flag engine on php_admin_flag register_globals on php_admin_flag file_uploads on AddType application/x-httpd-php .php .php4 .php3 .phtml /IfModule the register globals and file uploads options are

Re: [PHP] Configure question

2006-02-02 Thread David Tulloh
try using php_flag, php_admin_flag as some restrictions on which files it can be used in. David PHP wrote: Hi, I have php5 and apache2.2. In this directive: IfModule php5_module php_admin_flag engine on php_admin_flag register_globals on

[PHP] Re: php4 vs. php5

2006-02-02 Thread Tim Burgan
Hi Brad Kowalczyk wrote: Almost all php4 code will run as expected on php5 (but not the the other way around) and the benefits of php5 are many. I'm wondering if you can outline, or direct me to a resource that explicitly notes the benefits of php5 over php4. Thanks Tim --

Re: [PHP] Hide email addresses from spam bots

2006-02-02 Thread Gerry Danen
tedd, I don't find your implementation hard to read. There are implementations where zeros and Ohs are used and it typically takes several tries to get it right. http://www.nals2007.org/ shows how I just captured a single image and then hid the email address. I'd like to see a spambot reap that

Re: [PHP] Re: php4 vs. php5

2006-02-02 Thread Paul Novitski
At 04:09 PM 2/2/2006, Tim Burgan wrote: I'm wondering if you can outline, or direct me to a resource that explicitly notes the benefits of php5 over php4. They've got everything you need at php.net:* Appendix B. Migrating from PHP 4 to PHP 5 http://php.net/manual/en/migration5.php * to

Re: [PHP] Re: php4 vs. php5

2006-02-02 Thread Keith Proctor
I need to add two numbers together, unfortunately one of them is a string that starts with a character. I'd like to convert a string such as 'x5' to the number 5. Don't care about it's final type as that isn't the hard part. :) I can't find a function to do this. I looked in the math

Re: [PHP] PHP5 Build - test.php not working

2006-02-02 Thread Tod Thomas
Richard Lynch wrote: On Mon, January 30, 2006 8:08 pm, Tod Thomas wrote: I just built phpV5.1.2 with the same options I used to build php4: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache/bin/apxs --with-mysql=/opt/mysql --disable-cgi --with-zlib After make install I had libphp5.so

[PHP] Extracting numeric from string [WAS: Re: php4 vs. php5]

2006-02-02 Thread Paul Novitski
At 04:52 PM 2/2/2006, Keith Proctor wrote: I need to add two numbers together, unfortunately one of them is a string that starts with a character. I'd like to convert a string such as 'x5' to the number 5. Keith, You could chop characters off the front until you've got a numeric:

Re: [PHP] PHP5 Build - test.php not working - Solved

2006-02-02 Thread Tod Thomas
Tod Thomas wrote: I just built phpV5.1.2 with the same options I used to build php4: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache/bin/apxs --with-mysql=/opt/mysql --disable-cgi --with-zlib After make install I had libphp5.so in the ./apache/modules directory as expected. I

[PHP] Ajax+ PHP Map

2006-02-02 Thread blackwater dev
I have a client who wants to add some searching capabilities to their site. We want the searches to be cool so need to somehow provide a map of the state broken down by counties and allow people to search for items within that certain county. I wanted to do something cool with Ajax and PHP but

Re: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Ligaya Turmelle
or you can forget about keeping track of the indexes and just use array_push or the even simpler $names[]=$row['lastname']; Jim Moseby wrote: I must be brain dead today since I can't get my syntax correct. Simple MySQL query to return a list of last_name. No problem. Each last name returned

Re: [PHP] PHP hosting with multiple domains?

2006-02-02 Thread Marc G. Fournier
http://www.hub.org ... we offer everything you are describing, standard on all accounts ... On Mon, 30 Jan 2006, [EMAIL PROTECTED] wrote: I know every month or so someone asks What's a good web hosting company to use for my PHP projects?.. I have most of the responses archived and have

Re: [PHP] How to get a network drive name

2006-02-02 Thread Gerry Danen
Please define network drive name. There are drive letters, volume labels and share names. What exactly are you looking for? Gerry On 2/2/06, Ibrahima TALL [EMAIL PROTECTED] wrote: Hi everybody ! I would need a help in php or a portable javascript solution (for several browsers). My

[PHP] variables in PHP

2006-02-02 Thread suresh kumar
hi, In my project i assigned name of the text field as 'loginform'.but i got error msg like 'Undefined variable' then i changed the name as 'hiddenfield' but same error.any one having idea reply me. A.suresh

Re: [PHP] variables in PHP

2006-02-02 Thread Angelo Zanetti
suresh kumar wrote: hi, In my project i assigned name of the text field as 'loginform'.but i got error msg like 'Undefined variable' then i changed the name as 'hiddenfield' but same error.any one having idea reply me. POST the code so we can see exactly whats going on... -- PHP

[PHP] multisession download

2006-02-02 Thread Shu Hung (Koala)
Hello, I have a little strange question. Let say if I have a file /home/user/somefile.jpg I wanted to output this file from script, I wrote a little script: ?php // open and pass the file out $handle =