I set up a simple form to save comments on my webpage, and after just one
day of going live, i'm getting weird comments up like this
declare @q varchar(8000) select @q =
0x57414954464F522044454C4159202730303A30303A313027 exec(@q)
I don't recognise this code - is this an attempt to do somethi
will set the element of ordinal number 0 and key ' 2' to 'dog'. To get
that value you would either ask for $array[0] or $array[' 2'].
thanks for all the comments so far, i'm not sure you are understanding what
I am asking for.
My problem is NOT knowing what is in the arrays, but how to ac
Hi all,
I've a problem thats been bothering me for a week now
I have an array $animals
keys and values like this
1 => cat
2 => dog
3 => mouse
4 => horse
I want to be able to access them using either a key or a pointer, however
the key/pointer will be a variable
without variables, if I want
Hi all,
I have a page that lets people upload images - they are then resized for use
throughout my site.
It all works fine, but I need to reduce the jpg size (without reducing image
size)
Is there a php function that lets you compress the jpg?
Thanks
Jules
--
PHP General Mailing List (
Hi all,
I solved this today. It seems odd.
If you define an action it DOES NOT work, but if you skip that entirely the
POST variables are sent!
so
works
doesn't work.
Why would this be?
thanks
Jules
- Original Message -
From: "julian haffegee" <[EMAIL PROTE
Hi Chris
print_r($_REQUEST); (is this what you mean by HTTP Request?)
print_r($_POST);
print_r($_GET);
all give Array()
its apache release 10327100 (is that what you mean?)
If I change the form method to GET works, and we get
REQUEST: Array ( [username] => aa [password] => aa )
_GET: Array (
Hi Richard
yes it happens in Netscape 7 too,
The thing is, it works in perl when I access the query string. But not in
php.
could it be a setting in php.ini?
Jules
- Original Message -
From: "Richard Davey" <[EMAIL PROTECTED]>
To: "julian haffegee" <[
Hi all,
I am having a nightmare accessing my POST variables. I can red them if I use
the GET method on my form, but POST is always blank
I have
while( list($key, $value) = each ($_POST)){
print "$key $value";
}
print "_REQUEST: "; print_r($_REQUEST);
print "_GET: "; print_r($_GET);
print "_PO
Hi all,
I have something thats been driving me mad for days
I have:
if ($where1 != '')
{
$whereArray = array_push($whereArray, $where1);
}
and I want to repeat for $where1 up to $where8
but rather than write it out 8 times, I'd rather use a loop
for ($i=1; $i<=8 i++)
{
if
Hi all,
I have been creating some dynamic images, with text. Some fonts seem to work
fine, but some give the right number of characters, but each character is
just a square box.
What's causing this. I know the fonts are there (there is an entirely
different error message when the fonts are not th
10 matches
Mail list logo