[PHP] New Session Variable unset doesn't work
Hi, I somehow cannot unset Session variables. If I set for example $_SESSION["error"]="formcheck" (the new style) and I want to unset it at the end of the page (unset($_SESSION["error"])), it's there again on the next page. Is there a special way to unset the new Session variables? I am using Windows 2000 Server + PHP4.2.0. Thanks in advance... Sascha Ragtschaa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Substr and HTML tags - Problem...
Hi, I got a small problem: I need to limit a teaser-text via substr($teaser,0,100). The Problem I now have is, if the last 4 string chars are a html tag like and this tag will be cut by the substr to something like that: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
AW: [PHP] Substr and HTML tags - Problem...
Thanks, found a way - the PHP function wordwrap does it just perfect (recognizes the tags, too) ... Sometimes it's just good to browse a little bit through PHP.net (*g*) Sascha Ragtschaa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Substr + Text + HTML - Problem
Hi, I still have one problem, which seems to be not solveable in a easy and smooth way: I have a text file like this: $text="This is a html extended textwhich needs to be cut after 100 chars"; Than I do a substring to limit it to only 100 words (teaser-format): $teaser_1=substr($text, 0, 100); $teaser_2="...[click here for more]"; The Output of $teaser_1 will sometimes be like this: "This is a html extended textwhich needs to be cut after 100 chars is displayed as http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Creating a installer...
Just curious to know if someone already has a approach on that... Are there any experiences on a installer for php projects? Sascha Ragtschaa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Digit Grouping Function
Hi, I have a small question? Does anyone know (or has written) a function about "digit grouping symbols", that means: when I have a value of 1000, it should print out like this: 1.000 The same when I have a value of 100, it should give 1.000.000 Does anyone know how to do it? Thanks in advance... Sascha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]