Re: [PHP] XHTML 1.1 + php sessions = :(

2005-02-18 Thread Your Name
Thank you very much for that solution however I need something slitely 
different.  This is a CMS for distribution... not everybody that's 
going to use it can go in and edit the config files.  I've heard of a 
command called ini_set(); which temporarily changes it just for the 
script.  Would you mind letting me know how to use ini_set(); with the 
use only sessions command?  Thank-you very very much!


> On Wed, 2005-02-16 at 19:07, b1nary Developement Team wrote:
> > Hi there guys... First time caller here ;).
> > 
> > I'm currently developing a content management system.  One of it's 
> > features is that it's going to be completely standards compliant 
(XHTML 
> > 1.1).
> > 
> > I'm having some troubles however, and they come in the form of 
> > sessions.  When I use session_start(), it throws the PHPSESSID 
into the 
> > URL of all of my links and form actions and what not.  This is a 
problem 
> > because in my forms it throws in a hidden input, which doesn't 
validate 
> > right, plus they don't use & insteand of just &.  Is there any 
way 
> > to stop a session from being passed through the URL?
> > 
> 
> Sure enable session.use_only_cookies in php.cfg and cookies will be
> used. nothing in the page sent to the browser at all as far as I 
know.
> 
> http://us4.php.net/session
> 
> Bret
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 

-- 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] I have a mail in text plain, how i can imap_fetchstructure() ?

2005-07-13 Thread Your Name
Hello,

I have a list of mails taken from my old host in cPanel

Now i want read this messages, and they are in text plain.

Wath i can do ?

I submit each message to me BD MySQL, but when i do this:[PHPNET]SELECT
* FROM mails WHERE...[/PHPNET] And
after[PHPNET]imap_fetchstructure($mail);[PHPNET]This only ERROR.

Say:

Warning: imap_fetchstructure(): supplied argument is not a valid imap
resource in /home...

AND [PHPNET]imap_fetchstructure($mail,0);[PHPNET]Is =
AND [PHPNET]imap_fetchstructure($mail,1);[PHPNET]Is =

How i can read this mail in MySQL or textfile ?
The point is do imap_fetchstructure() becouse some mails have Files.

Thanks.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php