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
- 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
- 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
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
- 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
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
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
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
- 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) {
>
9 matches
Mail list logo