[PHP] Drop in replacement for session_decode() ?

2003-02-09 Thread Uchendu Nwachukwu
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 --

Re: [PHP] 4.2 new GLOBALS question

2002-04-26 Thread Uchendu Nwachukwu
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

[PHP] Re: how to use session data in other php scripts

2002-04-26 Thread Uchendu Nwachukwu
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

[PHP] Re: Callin PHP gurus...figure this out

2002-04-26 Thread Uchendu Nwachukwu
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

[PHP] Re: How to create, name and start PHP sessions

2002-04-18 Thread Uchendu Nwachukwu
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

[PHP] Re: How to create, name and start PHP sessions

2002-04-18 Thread Uchendu Nwachukwu
-- 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

[PHP] Re: superglobal var names can't access object methods?

2002-04-16 Thread Uchendu Nwachukwu
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

[PHP] Server-side imagemaps?

2002-04-16 Thread Uchendu Nwachukwu
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

[PHP] Re: what do i put in .htaccesss to achieve this

2002-04-16 Thread Uchendu Nwachukwu
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

[PHP] I'm having trouble handling POST file uploads... HELP!

2001-12-28 Thread Uchendu Nwachukwu
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

Re: [PHP] Getting the filesize of an image?

2001-11-30 Thread Uchendu Nwachukwu
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

[PHP] Getting the filesize of an image?

2001-11-30 Thread Uchendu Nwachukwu
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

[PHP] 'Undefined Variable' help...

2001-09-04 Thread Uchendu Nwachukwu
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