Re: [PHP] auto include?

2004-08-13 Thread Jonathan Hadddad
Is there any reason why values I attempt to set in .htaccess wouldn't work? this is what I have: php_value auto_prepend /Users/jhaddad/Sites/oldirtyhaddad.com/public_html/connection.php php_value include_path .:/Users/jhaddad/Sites/oldirtyhaddad.com/libraries is there a server variable that

Re: [PHP] unexpected T_VARIABLE

2004-08-13 Thread Curt Zirzow
* Thus wrote Dustin Krysak: Hi there, I am working with a script that I found online to export a SQL statement (results) to an excel file., now everytime i run the script, i get the error: Parse error: parse error, unexpected T_VARIABLE in /var/www/html/siteadmin/mysql_export/export.php

Re: [PHP] Securing Forms???

2004-08-13 Thread Gerard Samuel
Chris Shiflett wrote: You might find these resources helpful: http://education.nyphp.org/phundamentals/PH_spoofed_submission.php http://shiflett.org/talks/oscon2004/php-security/36 Hope that helps. Thanks. These are doable.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] looking for a good FormMail PHP script

2004-08-13 Thread Juan Nin
Hi I'm looking for a good FormMail PHP script which beheaves like Matt Wright's FormMail.pl script (but lacks it's exploitable problems :) I found several on the net, but didn't like them too much... any recommendations? Thanks in advance, Juan -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] auto include?

2004-08-13 Thread Ed Lazor
Yea, it depends on whether your server allows you to put settings in .htaccess. Try putting an invalid command in there like NotAValidDirective and test to see if your pages stop working and whether you get a log error saying that the htaccess file includes an invalid command. -Ed

Re: [PHP] auto include?

2004-08-13 Thread Jonathan Hadddad
is there anything that would show up in phpinfo() that would tell me if that feature is disabled? Jon On Aug 13, 2004, at 7:10 PM, Ed Lazor wrote: Yea, it depends on whether your server allows you to put settings in .htaccess. Try putting an invalid command in there like NotAValidDirective and

[PHP] Combined Production + Development Hosting

2004-08-13 Thread Watty
I am beginning to host my own website, but I also develop other websites. I have no budget for new equipment so I need to do both production and development hosting on one system. I run Linux with apache, php + mysql. I need a way to essentially hosting two versions of PHP, 4 + 5, reading two

[PHP] Re: Combined Production + Development Hosting

2004-08-13 Thread Hannes Magnusson
On Sat, 14 Aug 2004 00:43:26 +0100 [EMAIL PROTECTED] (Watty) wrote: I am beginning to host my own website, but I also develop other websites. I have no budget for new equipment so I need to do both production and development hosting on one system. I run Linux with apache, php + mysql. I need

RE: [PHP] auto include?

2004-08-13 Thread Ed Lazor
Nope, at least not that I know of. We're dealing more with Apache issues than PHP issues. That's why I'd use the approach outlined below. -Original Message- is there anything that would show up in phpinfo() that would tell me if that feature is disabled? Jon On Aug 13, 2004, at

[PHP] String compare of 7 text strings

2004-08-13 Thread Brent Clements
I wanted to see if anyone has an easier way to do this. The end result is this: I need to compare 7 different text strings(which are in an array). They should all be the same, if they are not the same, a message should be outputted saying they weren't. How would one do this outside of using a

Re: [PHP] String compare of 7 text strings

2004-08-13 Thread Brent Clements
Let me rephase my question in my previous email: I'd like to compare 7 strings(which are in an array). Each string should be the same, if they are not, a message should be outputted. How would one do this outside of using a huge if/then statement? Thanks, Brent - Original Message -

Re: [PHP] String compare of 7 text strings

2004-08-13 Thread Hannes Magnusson
sort ( $array ); if ( $array[ 0 ] !== $array[ count ( $array )-1 ] ) { // Not all fields in the array are the same... } On Fri, 13 Aug 2004 21:10:50 -0500 [EMAIL PROTECTED] (Brent Clements) wrote: Let me rephase my question in my previous email: I'd like to compare 7 strings(which are in

Re: [PHP] php+iptables

2004-08-13 Thread Joel n.solanki
Great ..I will surely do what u told me. This really sounds good to work on. I will start implementing this in 1 or 2 days. Can i contact youi personally if i need little help ? Regards and thank for your help Joel On Thu, 2004-08-12 at 21:20, Robby Russell wrote: On Thu, 2004-08-12 at 01:31,

RE: [PHP] String compare of 7 text strings

2004-08-13 Thread Ed Lazor
Nice solution =) -Original Message- sort ( $array ); if ( $array[ 0 ] !== $array[ count ( $array )-1 ] ) { // Not all fields in the array are the same... } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2