AW: [PHP] sessions not working when page redirects
Hi there, Try to add the session_id(); into the redirection: header("Location: ../admin/include/B.php?PHPSESSID=" . session_id() ); Works for me though... Greetings, -Ron -Ursprüngliche Nachricht- Von: Angelo Zanetti [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 10. August 2004 13:51 An: [EMAIL PROTECTED] Betreff: [PHP] sessions not working when page redirects Hi all, Im having a slightly weird problem with my session variables. when on a certain page call it "A", I register a session variable and assign it a value. I then test if it is registered successfully and has the correct value on the same page, that works no problem. After that page "A" redirects to page "B": header("Location: ../admin/include/B.php"); After this I do the exact same test on page "B" to test for successful registration and value and I get that the session variable is not registered. on page "B" I do have session_start(); at the top. I even do 2 tests to on the session variable: if (session_is_registered("myvar")) and if (isset($_SESSION["myvar"])) and they both tell me that the session variable is not registered. what could be causing the sesssion variable not to be remembered from page to page. I am using register_globals=on; any ideas/comments? Thanks Angelo Disclaimer This e-mail transmission contains confidential information, which is the property of the sender. The information in this e-mail or attachments thereto is intended for the attention and use only of the addressee. Should you have received this e-mail in error, please delete and destroy it and any attachments thereto immediately. Under no circumstances will the Cape Technikon or the sender of this e-mail be liable to any party for any direct, indirect, special or other consequential damages for any use of this e-mail. For the detailed e-mail disclaimer please refer to http://www.ctech.ac.za/polic or call +27 (0)21 460 3911 -- 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] Safari 2.0.4 / PHP 4.3.7 / Apache 2.0.44 Isuue with HTTP Headers
Hi everyone, got a really strange thing going on on a client website, the website outputs the whole http headers after every 2nd reload in safari, also in FF on Windows, but only after much much more relaods...here is a scrrenshot: http://www.waldhaeusl.com/downloads/bug/http_header.png any ideas what the problem could be, i checked if there are any used socket connections, but nothing there...maybe an apache issue ? any help is appreciated... thank you, -Ron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
AW: [PHP] Storing text with carriage returns in MySQL
Hi Andrew, I'm also saving html input from textarea fields into my msql DB...but try to use the filed type TEXT instead of LONGTEXT that it should work fine. Greetings, Ron -Ursprüngliche Nachricht- Von: Andrew Wood [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. Juli 2004 21:19 An: php-gen Betreff: [PHP] Storing text with carriage returns in MySQL I'm trying to use PHP to read text from an HTML textarea form field and store in in MySQL using the longtext data type but it's cutting off everything after the first carriage return. I suspect I need to iterate through the text looking for CRs then do something? But I don't know what. Can anyone offer any pointers? Thanks -- 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] PHP5 Install Version (Win32)
Hello List, Does anybody got some information if there will be a Win32 Install Version of PHP5 like it exists for 4.3.8 ? Kind Regards, -Ron **Disclaimer: everything I post, will post and have posted, is subject to change without reason; any errors in logic, math or spelling is to assumed to be on purpose. By flaming me, you admit you are wrong. The poster of this message takes no responsibility for any deaths, sicknesses, annoyences, pains or pregnancies as a result of this post.** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
AW: [PHP] Sending the output of a web page to a printer
Hi there, AFAIK a printer via PHP can only be used on a Windows Platform and not under a Unix System... But when you just want so send a Command via PHP than maybe exec(); or system(); might fit your needs... Regards, -Ron -Ursprüngliche Nachricht- Von: Vern [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 21. Juli 2004 18:17 An: [EMAIL PROTECTED] Betreff: [PHP] Sending the output of a web page to a printer Hey all... I have a new one I haven't encounter before. I need to send the output of a web page to a printer on a schedule (obviously I'll use a cron job for scheduling) and am wondering if I can do this through php. I know you can use the command line lpr in SSH but can I use PHP do do it? Thanks -- 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
Re: [PHP] mp3 parsing
Hi, maybe this wil help you...i made this some time ago... Titel: " . $title . "" . "Band: " . $band . "" . "Album: " . $album . "" . "Jahr: " . $year . "" . "Kommentar: " . $comment . ""; fclose( $value ); } ShowID3( "test.mp3", "" ); ?> Regards, Ron Am Mittwoch, 17. November 2004 01:58 schrieb Ryan King: > Anyone out there have a way to read the header info out of an mp3 file? > I'm able to parse out the id3 tags, but am having trouble finding a way > to read the header info. The info I'm trying to get is the playtime and > bitrate. > > thanks, > ryan -- pgp9hzPkvKAq5.pgp Description: PGP signature