|
Posted by Erwin Moller on 11/29/05 17:48
Mathijs wrote:
> 29 nov 2005 ta (Erwin Moller) shuo le:
>> If you have a few simple things to send by the client, just use POST.
>> If you have a huge page where you also display results that have some
>> correlation to the image, you might consider using a SESSION to store
>> the data in you use for imagegeneration.
>> In that way you avoid double calculations and database-queries.
>
> It's just a simple thing: a want to send a gamerecord to the image.php
> script and with that data, I want to draw a board.
>
> Currently, the image-script gets triggered by the <img src="image.php">
> construction? Don't I need an action (form) to 'post' variables?
Yes, you do, you are right.
You should use GET for simple stuff.
I don't think you should care too much about the 255 characters.
It is depends on the server if it can handle a big url, and any modern
webserver can do so these days.
I would advise you to just put the whole bunch of data after the url.
Regards,
Erwin Moller
>
> TIA,
> Mathijs.
Navigation:
[Reply to this message]
|