Ryan A wrote:
> Hey, I have a old htpasswd file with a lot of logins in this format:
>
> test:dGRkPurkuWmW2 (test:test) test1:dGlAW3zdxeAG2 (test1:test1)
>
> now I have a login form what takes a POST "user" and a POST "pw"...
> but if you look at my above first example login.. the username and
>
Alain Roger wrote:
> I know how to do that for 1 picture. But i want to display the pictures as
> thumbnail... so several pictures on the same PHP pages, with some texts.
Seems to me that Matt's suggestion is perfectly applicable. You could
simple add tags as necessary, each with the call to the
Lewis Kapell wrote:
> We are already using the Content-type header (I should have mentioned
> that in my first message).
Hmmm. So you have a PHP script that sets the mimetype correctly and
then outputs straight PDF data, but the user's browser does not accept
it as a PDF because the extension of
How about this instead, Mike?
"%s"-Omniversalism.com',
$fortune[0]
);
// some more code
?>
MySQL is implemented in random code, so it can probably perform this
operation faster, and this code is much cleaner. You may want to move
away from mysql since it's essentially deprecated. I have switch
jekillen wrote:
> for($i = 0; $i < $flen; $i++) // now it works
> {
>array_push($edata, $_POST["a_$z"]);
>print $_POST["a_$z"].''; // prints all values.
>$z++;
> };
I recommend you consider changing your loop to:
for ($
Lewis Kapell wrote:
> http://www.mydomain.com/mypage.php/phonypage.pdf
>
> In this example there is a PHP script called mypage.php which serves
> up a PDF. Putting the extra text at the end of the URL makes it
> appear to the user's browser that the URL ends with '.pdf' rather
> than '.php'. We
Sancar Saran wrote:
> $mail="
>
>
> Title
> ".$data."
>
>
> Html content
>
> ";
I stopped being a designer quite a long time ago, and I never learned
how to compose HTML e-mail because I think it's a blight. I do,
however, work with some talented designers, and they (and Google)
Brad Bonkoski wrote:
> I think the best way to do this would be to set an onClick (Javascript)
> event handler for each of the links, and then use AJAX style stuff to
> send the information to PHP on the server side, then PHP can log the
> link that was clicked, and keep track of the most clicked l
Tim wrote:
> Now moving on into other aspects of security :P I was thinking of a way to
> secure my login inputs the best way possible.
[...]
Maybe I'm missing something, but why not simply inspect and clean input
to ensure that it's always properly escaped and safe to send to your
database? It s
Haydar Tuna wrote:
> 1) If you protect your site from SQL Injection, you must replace all quote
> and blank character in your form data. (with string functions)
A better approach is data inspection. For example, if you know a field
should only ever contain letters, you can use ctype_alpha() to c
Brad Bonkoski wrote:
> How do you move from one page to the other? You have to pass the
> session along, I believe..
> Something like:
> $s = SID; // session contant
> page2.php?$s
You only need to pass the session identifier in the query string if you
aren't using cookies. By default, sessions
11 matches
Mail list logo