Re: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-03-22 Thread Stan F
to thousands of decent free ones. --- wbr Stan F -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] http referer

2005-02-26 Thread Stan F
- Original Message - From: "Sebastian" <[EMAIL PROTECTED]> To: Sent: Saturday, February 26, 2005 8:31 PM Subject: [PHP] http referer > ok, so i made a file manager and i need to prevent people from linking > directly to files that do not come from another part of the site. > > i know i

Re: [PHP] Difficulty with SQL LIKE clause

2005-02-26 Thread Stan F
- Original Message - From: "David Freedman" <[EMAIL PROTECTED]> To: Sent: Friday, February 25, 2005 11:27 PM Subject: [PHP] Difficulty with SQL LIKE clause > When I use this query in PHP it works, and I get all things with the YEAR of > 1977, as I expected. > > $query= "SELECT * FROM my

Re: [PHP] Preventing execution without inclusion

2005-01-14 Thread Stan F
ndex.php just before any inclusion define( '__INDEX__', true ); # in other files if( !defined( '__INDEX__' ) ) die( 'You cannot execute this script' ); Sorry if I didn't get u the right way, I'm too tired.. WBR Stan F > > As of yet, it has elude

Re: [PHP] Php error with MySql

2005-01-07 Thread Stan F
- Original Message - From: "Wil" <[EMAIL PROTECTED]> To: Sent: Thursday, January 06, 2005 9:35 PM Subject: [PHP] Php error with MySql > I get the following error > > Warning: mysql_num_rows(): supplied argument is not a valid MySQL result > resource in /home/wilmail/public_html/elblog.p

Re: [PHP] bargraph gd not working

2004-12-13 Thread Stan F
the code cuz without it it's not so easy to help. > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > HTH Stan F -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: If...Or...Else

2004-07-24 Thread Stan F
Operations OR and || have different execution priorities. I'd prefer "||" as it's "more important" so not so many parentheses needed to ensure the order of interpretation is exactly what u need. - Original Message - From: "Tularis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday

Re: [PHP] Nested If...Else...

2004-07-24 Thread Stan F
Try this: echo ""; print_r( variable_you_wanna_track ); echo ""; The output will be easy-readable. Or try var_dump(). This helps maintaining scripts in more pleasant way. - Original Message - From: "Robb Kerr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 24, 2004 8:49

Re: [PHP] Very weird issue....

2004-07-20 Thread Stan F
- Original Message - From: "Alex Shi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 21, 2004 1:39 AM Subject: [PHP] Very weird issue > Hi all, > > Please take a look at following very simple script; > > #!/usr/bin/php -q > echo "Hello, world!\n"; > if (!$tty) { >