> select * from tracker where day='1' and month=' ".$month." ' XXX";
>
> XXX = but donot return values with the same value in the "sess_id" field
>
> what should XXX be ?
one line for each sess_id
select * from tracker where day='1' and month=' ".$month." ' group by
sess_id;
or one
http://www.php.net/manual/en/function.ord.php
Original Message Follows
From: "James Drabb" <[EMAIL PROTECTED]>
Hey *,
In C I can cast a char 'j' to an int and get it's ascii value. Is there a
funciton in PHP
to do this with a string containing a single char (i.e. "j")? I could writ
Hi,
I am interested in setting up PHP on my web server. I have a RH 7.3 Linux
server that is running apache v1.3.19 with Frontpage v5.0 extensions. Will
the installation of PHP affect my current server...meaning will it kill
anything (web server stop working). I just don't want to start anythin
The functions you want are ORD() and CHR(). Search for them in the manual.
-Kevin
- Original Message -
From: "James Drabb" <[EMAIL PROTECTED]>
To: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 12:57 PM
Subject: [PHP] Ascii Value
> Hey *,
>
> In C I can cast a
> or one line for each sess_id with only one row:
> select * from tracker where count(sess_id)=1 and day='1' and month='
> ".$month." ' group by sess_id;
sorry that was wrong!
correct:
select * from tracker where day='1' and month=' ".$month." ' group by
sess_id having count(sess_id)=1;
michi
Is it possible to use PHP sessions reliably?
I get very inconsistent results.
I register session vars after a password check.
I use session_start at the top of every file.
I watch the /tmp directory for session files.
Within a few random page transitions the session data inside the registered
vari
Hi,
>I am interested in setting up PHP on my web server. I have a RH 7.3 Linux
>server that is running apache v1.3.19 with Frontpage v5.0 extensions. Will
>the installation of PHP affect my current server...meaning will it kill
>anything (web server stop working). I just don't want to start a
I have experience similar "flakiness" using sessions but in every case
discovered that it was my code that was at fault. In fact this happened to
me recently while I was programming a fairly complex login script. I'd do
print_r($_SESSION) at the top of every page after session_start(); See if
y
Uh, Mr Flesh:
On Tue, Jun 18, 2002 at 05:54:21PM +0100, Septic Flesh wrote:
>
> for $day=1 until $day=31
> {
> count how many records (rows) there are in the tracker table,
> without counting rows that contain the same "user_id" value,
> when the day=$day.
> }
What have you tried so far?
Did y
i have some php files in /var/www/html/ and none of the php is working
properly.
all i've done so far is installed Linux Red Hat 7.2 and
php/mysql/apache is supposedly already installed with Redhat. How do I
get this stuff configured? Anyone have a nice link?
Thanks for the reply.
Will the install of PHP put the necessary lines in the httpd.conf file for
me? I looked in my conf file and see no references to php.
Thanks,
Chris
-Original Message-
From: Jerome Houston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 3:25 PM
To: [EMAIL PR
I want to set up a crontab using my hosts control panel, and when i go to
set one up there are boxes for how frequently you want the task to run, and
one labelled "Command".
Basically, I want to get a PHP script to run every set amount of time, so
what do I have to type in the "Command" box to ge
If you told RH to install PHP/MySQL/Apache then everything should be ok.
I forget the default document root, but what happens if you put a test.php
with this in it:
Other than that it should work out of the box, just make sure you get the
patches.
On Tue, 18 Jun 2002, Phil Schwarzmann w
See here: http://www.php.net/manual/en/function.virtual.php
"Chris Knipe" <[EMAIL PROTECTED]> wrote in message
news:064401c21654$310e4d40$[EMAIL PROTECTED]...
> Yeah, urgh, not exactly what I was hoping on, but I'll give executing perl
a
> try... I want to stay as far away as possible from mod_pe
Just for future reference, you don't actually need to put the 'echo'
before the phpinfo(). Calling phpinfo() by itself will print the
desired info.
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Tue, 18 Jun 2002 15:30:38 -0400 (EDT)
Scott <[EMAIL PROTE
Matthew:
On Tue, Jun 18, 2002 at 08:48:19PM +0100, Matthew Ward wrote:
>
> Basically, I want to get a PHP script to run every set amount of time, so
> what do I have to type in the "Command" box to get a PHP script to run?
If your script has the appropriate #! at the top, you can type in the pa
What do you mean by "appropriate #! at the top"?
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Matthew:
>
> On Tue, Jun 18, 2002 at 08:48:19PM +0100, Matthew Ward wrote:
> >
> > Basically, I want to get a PHP script to run every set am
On Mon, Jun 17, 2002 at 10:46:27AM -0400, Andre Dubuc wrote:
> I'm tryiing to append entries in a db textarea field 'rbook'. Everything
> works fine IF there is an existing entry. However, if no entries exist, it
> nothing is written to the db. (PostgreSQL 7.2)
I'm not familliar with PostgreSQL
On Mon, Jun 17, 2002 at 04:38:09PM -0500, Taylor York wrote:
> The problem is, I am doing this to an include file, so SCRIPT_FILENAME would
> just return the filename for the top file, not the include.
So, use __FILE__ and strip out the unneeded directories.
Also, please don't start multiple thr
Link:
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP] linux: how can I check if php/mysql is working properly?
i have so
He's referring to the script parser executable, ala:
#!/bin/sh
#!/usr/bin/perl
In this case, you'd need the PHP "cgi" version installed, and do your script
like this:
#!/usr/bin/php -q
Set the script to executable, then set up a crontab entry with the path to
the script.
On Tue, Jun 18, 2002 at 08:55:54PM +0100, Matthew Ward wrote:
> What do you mean by "appropriate #! at the top"?
When you write a script that you want to be executable, you put in the
pound bang at the top, telling the operating system which program to use
to run the script. So, for example, a
Is your version of PHP new enough to support the new $_SESSION[] array? If
it is not, use $HTTP_SESSION_VARS[].
> -Original Message-
> From: Leston Drake [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 12:29 PM
> To: Johnson, Kirk
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] ses
On Tue, Jun 18, 2002 at 12:40:40PM +0300, savaidis wrote:
>
> echo (' frameborder=0>');
Not that this is your problem, but rather a warning that you're heading in
a bad direction... iframes don't work in Netscape 4 (at least when
Java'Scrap is turned off).
--Dan
--
PHP classes
> $query = "select count(*) from users where "
You are asking for a count() in your query. This will always give you
one row returned with a count. If you really want to do this you should
probably have:
$query = "select count(*) as usercount from users where"
Then you can do your te
On Tue, Jun 18, 2002 at 01:31:16PM +0200, Knut Olsen-Solberg wrote:
> Many html-files contains php-code, and are written in
> MSWindows environment. Is it important to convert these textfiles to
> Unix format (line breaks with only ascii 10 instead of 13/10) when they
> are published?
No.
But, i
hi,
how can I call a php file from javascript?. Actually I want to call a php
file from flash without appear a web browser window(I used getURL function
but it use new or self window). so I will use fscommand and call php from
java.
thankyou.
--
PHP General Mailing List (http://www.php.net/)
Hail, BB:
On Tue, Jun 18, 2002 at 12:37:29PM +0100, BB wrote:
>
> Having finally found out how to pass the Environment vars onto PHP, I am
> stumpted to find that PHP wasn't reading them and putting them in their
> place (GET vars).
Why do you think environment variables would wind up in the ge
Hi Micheael:
On Tue, Jun 18, 2002 at 06:48:18PM +0200, [EMAIL PROTECTED] wrote:
>
> Any idea, how to synchronize functions in php???
What do you mean?
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.
On Tue, Jun 18, 2002 at 07:21:51PM +0200, Jens Lehmann wrote:
>
> class test
> {
> var $a = 2*10;
> }
>
> Of course I know why there's a parse error, but I don't
> know the reason why PHP doesn't allow this multiplication,
Because, that's why. :)
--Dan
--
PHP classes that
Thanks Dan,
In the interim, I solved my problem. As you said, the first query
needed to be INSERT (that I figured out after spending some 'thoughtful' time
with my beloved code :>, and I also eliminated the extra pg_connect. After
that, it still wouldn't work.
Looking at the mess from pgsql (
something similar to the synchronization of functions in java. Onle one
thread should be able to access that method. I guess you can use semaphores.
Even I am trying to find out how to do it in any other fashion.
Thanks in advance,
regards,
Puru
- Original Message -
From: "Analysis & Solu
Thanks for the code, I think I am getting there but an empty file gets
downloaded when I load the following script. See any problems?
I verified my server is setup to handle tar files with application/x-tar. I
also replaced ...
header("Content-Type: application/x-tar");
with
header("Content-
You can use lynx as a command, just like that :
"lynx http://username:password@localhost/secure/script.php";
Rémy Dufour
> I want to set up a crontab using my hosts control panel, and when i go to
> set one up there are boxes for how frequently you want the task to run,
and
> one labelled "Comma
I have a nice formatted PC & Linux Redhat 7.2 that I got at a local
retail store for $60.
All I want this PC to do is be a PHP/MySQL server and also be a FTP
server.
I've seen various complicated (complicated cause i'm new to linux)
detailed instructions to installed php/mysql/apache but
Simply install the appropriate rpms. apache, php, php-mysql, etc.
They are all on your cd.
-Rasmus
On Tue, 18 Jun 2002, Phil Schwarzmann wrote:
> I have a nice formatted PC & Linux Redhat 7.2 that I got at a local
> retail store for $60.
>
> All I want this PC to do is be a PHP/MySQL server an
All I saw all the RPMs, I tried to install them but I got errors for ALL
of the RPMs. Why do you think this is ?
Thanks for your help!!!
>>> Rasmus Lerdorf <[EMAIL PROTECTED]> 06/18/02 04:56PM >>>
Simply install the appropriate rpms. apache, php, php-mysql, etc.
They are all on your cd.
-Ra
Hi, if using the header command for attaching a file really prevents the
user from seeing the actual download link, is it really all that important
that the file is read from behind the document root if it is in a very hard
to guess directory?
"Martin Towell" <[EMAIL PROTECTED]> wrote in message
> -Original Message-
> From: Lee Doolan [mailto:[EMAIL PROTECTED]]
> Sent: 14 June 2002 01:25
>
> > "Miguel" == Miguel Cruz <[EMAIL PROTECTED]> writes:
>
> Miguel> Why does this:
>
> Miguel> $x = 3 + 5 * 7;
>
> Miguel> produce different results from this:
>
> Migue
> -Original Message-
> From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
> Sent: 14 June 2002 22:01
>
> So I'm trying to install PHP on win98 with Apache2.
>
> I got these nice instructions from...
>
> http://www.webmasterbase.com/article.php?pid=30&aid=525
>
> After I make the foll
> -Original Message-
> From: Zlutarch G. [mailto:[EMAIL PROTECTED]]
> Sent: 15 June 2002 00:54
>
> My session variables won't persist, could someone help me
> with this problem?
PHP version? (If <=4.0.6, $_SESSION doesn't exist.)
Which Web server? Version?
> I spent all day trying
> -Original Message-
> From: Stuart Dallas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 13, 2002 2:53 PM
> To: Phillip Perry
> Cc: Tim Ward; Martin Towell; Tom Rogers; Php
> Subject: Re[2]: [PHP] beginner in PHP
>
>
> On Thursday, June 13, 2002 at 7:44:39 PM, you wrote:
>
> > Yes,
Is there a way to disable the users ability to download images on public
pages. Or is this a Javascript capability?
~Steph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Lo all,
Does mysql_real_escape_string exist? I've seen it in the manual pages, and
to my understanding, it is the proper function to call on strings to escape
them before inserting them into a database...
I've used it as follows:
$text[1] = mysql_real_escape_string($text[1]);
$details
I've generally seen this done in JavaScript, by disabling the right mouse
button.
Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474
-Original Message-
From: Steph [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 4:14 PM
To: Php-Ge
>Does mysql_real_escape_string exist? I've seen it in the manual pages,
and
>to my understanding, it is the proper function to call on strings to
escape
>them before inserting them into a database...
mysql_real_escape_string() is only available in CVS version.
_
Mattias Eriksson
-
I am using PHP 4.1.2, which I assume supports the $_SESSION global array.
I've tried ...sigh... using $HTTP_SESSION_VARS, with the same result,
unfortunately.
At 02:12 PM 6/18/2002, you wrote:
>Is your version of PHP new enough to support the new $_SESSION[] array? If
>it is not, use $HTTP_SESS
I have made a table as shown below..
But when i open it in netscape in shows some blank space where i have used
tag.
Can anyone plz help me with this!!
-
cellpadding=0 cellspacing=0 height=25
width=100%>
Welcome
No, and no. Once served to the browser the image resides on the user's
computer. They can do whatever they want with it. The only thing you can
do is use Javascript to disable the user's right mouse button. However the
only effect this will have is to piss of your Windows clients, and your Mac
I have a web page which contains a form whose action is a php script.
Unfortunately, NONE of the form's variables are being passed when the form
is submitted.
For example: the submit button's name is 'submit', and the value is 'Add',
but in the receiving php script, $submit is empty, and so is
$
On Tue, Jun 18, 2002 at 02:42:38PM -0700, Anthony 'Crash' Ciarochi wrote:
>
> For example: the submit button's name is 'submit', and the value is 'Add',
> but in the receiving php script, $submit is empty, and so is
> $HTTP_POST_VARS["submit']
>
> register_globals is On
Your HTML is broken? Po
Renaldo:
On Tue, Jun 18, 2002 at 12:21:55PM -0800, Renaldo De Silva wrote:
>
> i want to get the names of all the variables the form has poster
> automatically.
> can that be done and if it can how?
while( list($key, $val) = each($_POST) ) {
echo "$key = $val\n";
}
--
PHP cl
Like someone else said, this applies if PHP is compiled as a cgi and you can
run it from the command line.
If it's a module, you have to load up your page through a web browser to run
it. So for your command, you can use
lynx --dump http://www.domain.com/whatever.php
providing you have lynx ins
If I get what you're saying:
$value) {
print "$name ($value)\n";
}
?>
-J
On Wed, 19 Jun 2002 08:21:55 +1200, Renaldo De Silva wrote:
> how can i get variables posted from a form without calling then
> distinctly.
>
> i want to get the names of all the variables the form has poster
> aut
> -Original Message-
> From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
> Sent: 17 June 2002 21:24
> To: 'Chris Knipe'; [EMAIL PROTECTED]
> Subject: RE: [PHP] substr?
>
>
> Here's another way of writing that code that may be easier to
> work with:
>
> $TestValues = array("072", "073", "082",
> -Original Message-
> From: Chris Knipe [mailto:[EMAIL PROTECTED]]
> Sent: 17 June 2002 09:28
>
> Is this right? It seems to me that substr is working in reverse?
>
> $string = "1234567890"; // Always numerical, always 10 chars.
> if (!substr($string, 0, -7) == "083") {
> echo "not 0
I've found that errors in the HTML syntax can cause similar problems. Check
your HTML for missing or out of place quotes.
-Kevin
- Original Message -
From: "Anthony 'Crash' Ciarochi" <[EMAIL PROTECTED]>
To: "Anthony 'Crash' Ciarochi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tues
Do you have an .htaccess file lying around that is changing the
register_globals setting? I think there was also a bug in the session
handling for one of the newer windows versions of PHP. You might check into
that, if it applies.
> -Original Message-
> From: Leston Drake [mailto:[EMAIL P
Need's whitespace..
- Original Message -
From: "Anil Garg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 3:34 PM
Subject: [PHP] table porblem in netscape!!
> I have made a table as shown below..
> But when i open it in netscape in shows some blank space wh
> -Original Message-
> From: Leston Drake [mailto:[EMAIL PROTECTED]]
> Sent: 18 June 2002 18:48
>
> I am unable to retrieve session variables on my local server.
[snp]
> On another server
> (http://www.lpsoftware.com/phptest/test5.php) it works as
> expected. But I can't figure out wh
At this point in the make I get this error related to --with-imap and
--with-ssl-imap ...I believe
Making all in .
make[1]: Entering directory `/usr/lib/php-4.2.1'
/bin/sh /usr/lib/php-4.2.1/libtool --silent --mode=link gcc -I.
-I/usr/lib/php-4.2.1/ -I/usr/lib/php-4.2.1/main -I/usr/lib/php-4.2.1
Anthony,
Can you create a very simple test case that demonstrates this problem
and post it? It might reveal something, because otherwise, I don't see a
cause for trouble with what you've described.
Chris
P.S. Please copy me in any replies if you want to make sure I see it.
Anthony 'Crash' Ci
Ok think I am all good now. Added ...
$fh = fopen("$download_file", "r");
then changed ...
passthru($download_file);
to
fpassthru($fh);
Thanks, again!
"Fargo Lee" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for the code, I think I am getting th
Hey Martin, could you send me the syntax for attaching a file? I'll be
doing something like this next week and this would come in handy.
Thanks,
-Ed
> -Original Message-
> From: Martin Towell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 17, 2002 5:58 PM
> To: 'Fargo Lee'; [EMAIL PR
Hi all!
Looking for a high quality, but fairly simple PHP/MySQL event calendar
program that is not so over-programmed [e.g. templated to death, api's that
sort of thing] as to be impossible to customize. Been through most
everything on Hotscripts, and found mainly problems. Client wants to buy a
You can place the file anywhere you like, as long as the script has read
access to it.
I suggested putting it outside the document root to make sure people don't
"accidentally" find it. I say "accidentally" because, if ppl are like me, I
like to probe around other ppl's site to see what hidden th
This is the code I use to send tiff images for download. It should work for
other file types too. Obviously, $buff is the actual contents of the file,
so you could use fpassthru() or echo's or what ever, this code was done when
I was first learning php and I used fread() to get $buff. (I should ch
I am in urgent need of help! (AGAIN)
Can anyone spot anything wrong with this query?
$sql = "UPDATE IGNORE customer SET forename = '$forename', surname =
'$surname', e-mail ='$email', company = '$company', homephone =
'$homephone', workphone = '$workphone', mobilephone = '$mobilephone',
addre
Hi all,
All of you, who have read any of the posts Ive made in the past, may
have noticed that Im really new to PHP and RDBM. Well, now I have the
chance of making a great web site and would like it to be my personal
signature in the future, so I would really like to do it right. Also, I
wou
you might need to place a space before WHERE
-Original Message-
From: Phil Reid [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 9:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP] URGENT
I am in urgent need of help! (AGAIN)
Can anyone spot anything wrong with this query?
$sql =
At this point in the make I get this error related to --with-imap and
--with-ssl-imap ...I believe
Making all in .
make[1]: Entering directory `/usr/lib/php-4.2.1'
/bin/sh /usr/lib/php-4.2.1/libtool --silent --mode=link gcc -I.
-I/usr/lib/php-4.2.1/ -I/usr/lib/php-4.2.1/main -I/usr/lib/php-4.2.1
G'day,
I'm using scripts that are using sessions. A user logs into a main page
with
a master list of database entries. They go to another page, add a new
database entry and it appears on the master list. The user adds another
database entry and upon going back to the master list, the new entr
try ifconfig -a ...
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 June 2002 3:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php server - ive installed linux red hat 7.2 now what?!?
okay, so I've installed linux red hat 7.2 and it's working well!
Do you have OpenSSL >= 0.9.5 installed?
If so, try putting the install dir in the configure:
--with-ssl-imap=/usr
-J
On Wed, 19 Jun 2002 11:51:15 +1200, Php User wrote:
> At this point in the make I get this error related to --with-imap and
> --with-ssl-imap ...I believe
>
> Making all in .
Try:
mysql_query($sql) or die (mysql_error());
Should give you an idea where the problem is.
Cheers,
-J
On Wed, 19 Jun 2002 11:32:39 +1200, Phil Reid wrote:
> I am in urgent need of help! (AGAIN)
>
> Can anyone spot anything wrong with this query?
>
> $sql = "UPDATE IGNORE customer SET f
> When working with Boolean expressions in this way, deMorgan's laws often
come in handy; these state that:
>
> !a AND !bis the same as !(a OR b)
> !a OR !b is the same as !(a AND b)
>
> Hope this helps!!
I don't know who this deMorgan dude is, but that rule is being wri
> local = '$local', city = '$city', postcode = '$postcode', id = '$id'";
> $sql .= "WHERE username='$username'";
This would be:
local = 'x', city = 'x', postcode = 'x', id = 'x'WHERE username='x'
Which is your fault.
> $sql .= "WHERE username='$username'";
needs to change to
> $sql .= " WHER
I'm not sure if this might be related to the problem you're having, but
Internet Explorer has a long history of poor cookie implementation, from
the browser allowing anyone to read cookies from any site (versions 4.0
- 6.0) to the browser not sending the cookie information in subsequent
reques
on 19/06/02 9:35 AM, César Aracena ([EMAIL PROTECTED]) wrote:
> b) An area where the students can read or download books, in order
> to avoid having to spend so much money in photocopies.
That will be illegal :)
Everything else sounds good.
Start with a decent user/member/login/session s
Thanks for the info Chris.
Its causing me some serious headaches. IE just refuses to release the old
information.
Best Regards
Bob (Coffee + Laptop = KABOOM!) Irwin
Server Admin & Web Programmer
Planet Netcom
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: "Bob Irwin
Hello I'm Korean PHPer.
I found a Strange problem with 'multipart/form-data'.
I made this script:
-- test.php --
--
It works good.
but when I modify it a little bit, problem occurs.
-- test.php (modified) --
--
I just inserted ' enctype="multip
Thanks on the quote. Actually, I am wondering about the legal concern
about publishing books in a site like this. It comes to my mind, that if
only registered students are able to search trough this site, it will be
just like an open University library. Of course the University would
hold at least
Got it! 'file_uploads' was Off in /etc/php.ini. That was stopping all
form variables from being passed from the file upload form
Thanks all!
AFC
"Anthony 'Crash' Ciarochi" <[EMAIL PROTECTED]> wrote in message
024e01c21711$111d2200$[EMAIL PROTECTED]">news:024e01c21711$111d2200$[EMAIL PROTECTE
I think I just solved this for myself!
Look in your /etc/php.ini for:
file_uploads = Off
...change it to
file_uploads = On
- AFC
"Seoz" <[EMAIL PROTECTED]> wrote in message
005601c2173a$1a25ebb0$764efea9@dreamfactory">news:005601c2173a$1a25ebb0$764efea9@dreamfactory...
Hello I'm Korean PHPe
Each to their own, but I believe sessions will make it easier for you to
"know" who they are from page to page, for example when they post into a
forum or ask a question, it's all based on their user id.
FWIW, photocopying more than 10% of a book is breech of copyright as well...
even if it was i
Put a space before WHERE and _ALWAYS_ use MySQL_error() with your
queries... you'll stop wasting your time and ours.
MySQL_query($query) or die("Error in Query: $query >> " .
MySQL_error());
Good idea to print out the query if you can, that way you know what's
actually being sent to MySQL.
---
Netscape tends to enforce html standards, while IE is lax and lets
things go.
You has to have something in it for it to be displayed.
The code is for a non-breaking space. I remember a long time ago having
this problem and I would put a period with the font color switched to
match the backgr
Had more of a look at the server side of things. It isn't even requesting
the page in IE (according to the server logs). It's like once it has a copy
of the page, it is completely ignoring the server copy. I have tested on
several different machines and on a few different networks (including th
Thanks again for the input. I also like using sessions instead of http
auth. I been working with it quite a lot lately, but I still don't know
how to do one thing and will need it with something like this. It would
help to keep track of each user (what he/she does), in order to make PHP
throw stat
No. Once you show the user the image, they can get it. You can make it
harder by disabling right click or whatever, but it's not going to stop
most people. The easiest way around all of that is to just click on the
image and drag it to the address bar. It gets around almost all of the
javascript n
Depends what you're protecting. If someone wants it bad enough, they'll
find it. It's like using a "really hard to guess password" and then
leaving your box open to the world to guess at...
---John Holmes...
> -Original Message-
> From: Fargo Lee [mailto:[EMAIL PROTECTED]]
> Sent: Tuesda
The only way I've found of doing this, is using thumbnails. Obviously it
doesn't serve all kinds of purposes, but no matter what kind of
protection you use, a user can simply "Save Web Page" and open the image
as local in the machine. The things about thumbnails, is that you show
the image but in
> For example, if I show the student: echo "Welcome &userid" at the
login
> script, when that student goes to some other page that is does not
holds
> the login script, it would print "Hi " instead of "Hi Whatevername".
How
> can I keep track of this things??? Cookies which I want to avoid???
N
That sounds like IE is just caching the page then and showing you the
same one previously displayed for that URL, at which time you were not
logged in.
As a small test, you might try including this PHP code at the top of
your scripts:
header("Expires: " . gmdate("D, d M Y H:i:s", time()) . "
this will work a treat 4 ya...
Cheers
> -Original Message-
> From: Anil Garg [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 5:35 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] table porblem in netscape!!
>
> I have made a table as shown below..
> But when i open it
Hi all. I'm having the same problem when developing a site with a flash
animation inside. Let's say I'm seeing the page, I change the flash
background color, save the flash animation again and refresh the page...
nothing happens.
I found out that is a problem of configuration of my IE. If I go to
I mentioned a couple in a previous email:
header("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
header("Cache-Control: Private");
Most HTTP headers with regards to caching are more intended to dictate
proxy behavior. For example, the header above specifying that
cache-control be pri
howdy
does any one know if it's possible to assign a dynamic watermark to am image
or place a watermark effect over a images so it looks like it's on the file
when it's not really?...with out going into layers hopefully ... for
example...
a user up loads a simple image to the site say in jp
The only ways would be:
1. dynamically add the water mark to the actual image (change the pixels) so
that the source file has a watermark.
2. add a css layer on top of the image that contains a watermark
Which brings me to the question, why don't you just add a watermark to each
image? If a c
Or, if the watermarks *must* be dynamically generated and visible, use
something like ImageMagik to lay something transparent over the image on the
fly. Wouldn't be exactly speedy, but would do the job. (I've seen this done
on a few sites before -- visible graphic watermark is customized for the
l
101 - 200 of 224 matches
Mail list logo