nsr81
09-27-2001, 03:24 PM
Is there a way to pass a 0-255 char long string to a page without sending it in the URL
.
Basically, I'm trying to make an PHP/MySQL image gallery. first page opens up the database and retrieved all the info such as file address, title and comments. then it encodes and show the thumbnails in such a way that clicking on it will open up a new windows which will show title, picture and comment respectively. My problem is that some pictures have comments pretty long, but no more than 255 chars. I could send it using encodeurl() and "asdf.php?string=encoded_string" but I'm really resisting this idea considering the length of my comment string.
Any help would be appreciated.
And on a separate issue, is there a limit on the length of arguments(strings) passed to JavaScript functions.
nsr81.
.
Basically, I'm trying to make an PHP/MySQL image gallery. first page opens up the database and retrieved all the info such as file address, title and comments. then it encodes and show the thumbnails in such a way that clicking on it will open up a new windows which will show title, picture and comment respectively. My problem is that some pictures have comments pretty long, but no more than 255 chars. I could send it using encodeurl() and "asdf.php?string=encoded_string" but I'm really resisting this idea considering the length of my comment string.
Any help would be appreciated.
And on a separate issue, is there a limit on the length of arguments(strings) passed to JavaScript functions.
nsr81.