I was wondering if anyone knew of a drop-in replacement function for
session_decode(). I am having problems with the session_decode() function
populating the $_SESSION array with bogus or corrupt entries. I'm using PHP
4.3.0.
Thanks in advance.
Uchendu Nwachukwu
www.unnndunn.com
--
Try simply changing '$HTTP_GET_VARS' to '$_GET'.
so..
$start = isset($_GET['s']) ? $_GET['s'] : '';
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
"Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
00
Simply do the same thing in the other script. Create a session named
'testsess' and register the variable (under the same name) to it. That
variable will auttomatically take up the it was set to previously.
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
&qu
ext through nl2br() to add the tags,
and run it through strtr("\"", "'") to change the double-quotes to single
quotes.
You'll also want to run the text through addslashes() before you submit it
to the database - to prevent people from passing commands to the da
what that does.
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
"Phil Powell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am now getting the following errors on every page:
>
> Warning: Cannot send sessio
--
Welcome .
Click here to continue.
--
Hope that helps! Check out http://www.php.net/manual/en/ref.session.php for
more info
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
"Phil Powell" <[EMAIL P
I may be wrong on this one, and someone please correct me if I am, but I
believe you can't store objects in a session variable. That might be the
problem.
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
"Erik Price" <[EMAIL PROTECTED]> wrote in mes
Is there anyway I can use server-side imagemaps with PHP? I want to build an
application that lets people click on a picture, and have the coordinates of
the click on the picture be stored in a database. I've searched www.php.net
and it makes no mention of it.
TIA.
--
Uchendu Nwac
Try this:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} whatever.yoursite.com
RewriteCond %{REQUEST_URI} !path/to/desination/folder/
RewriteRule ^(.*)$ path/to/destination/folder/$1 [L]
That should do it.
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com
the script completes successfully and reports "Picture
uploaded successfully". But when I go to see if the files are there, the
thumbnail file is missing. Only the picture file appears where it should.
I have checked, re-checked and checked again for typos or other errors in
the file or
Not the dimensions. Of course I knew that.
I want the file size, as in 'how many bytes'. GetImageSize() doesn't do
that.
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
"Kurt Lieber" <[EMAIL PROTECTED]> wrote in message
E169xrH-0001ED-0
Is there any easy way to get the filesize of an image on a remote server?
Please tell me there is! TIA
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
ed by the URL, as if
they were submitted through a form using HTTP GET, and they are designed to
be used like that.
My problem is, if I don't define those variables in the URL when I run
gallery.php, PHP will come back with 'Undefined Variable' errors. Is there
any way I can prevent
13 matches
Mail list logo