[PHP] PHP 5.3.8, 5.3.9RC2 & 5.4.0RC2 handler for Apache 2.3.15

2011-11-26 Thread Steffen
The module php5apache2_3.dll for Apache 2.3.15 with PHP version 5.4.0RC2, 5.3.9RC2 and 5.3.8 now available. See http://www.apachelounge.com/viewtopic.php?p=19861 Steffen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Windows Apache 2.4.1 handlers available for 5.2, 5.3 and 5.4

2012-02-25 Thread Steffen
The Apache 2.4 modules php5apache2_4.dll for PHP 5.2, 5.3 and 5.4 are available at: http://www.apachelounge.com/ Steffen

[PHP] Need some help with array sorting

2002-09-12 Thread Will Steffen
Ahem *tap* *tap* is this thing on? Hi everyone, my name is Will and I've been addicted to php for 3 months and 21 days... *grin* I'm hitting a bit of a brick wall in a current project - the answer is probably quite simple, but I'm still newish to php and coding in general so bear with me: I hav

RE: [PHP] Re: Cry for help

2002-09-12 Thread Will Steffen
Heh - I know how you feel. I'm an ex network tecchie fighting my way through a career change to web developer - spent some time messing with various scripting tools and so forth, but never really had any formal coding experience until I hit php - if you want some advice on learning php mine is sp

RE: [PHP] Re: Cry for help

2002-09-12 Thread Will Steffen
Heh good so you're not a complete n00b then :P Luckily I had a fairly decent grounding in html and css as well when I got going - I'm just putting the finishing touches on my first serious project atm using OO style php which made the learning curve about 10 times steeper as I had no previous exp

RE: [PHP] Need some help with array sorting

2002-09-13 Thread Will Steffen
? Thanks Will > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 13 September 2002 08:41 AM > To: [EMAIL PROTECTED] > Cc: timo stamm; Will Steffen > Subject: Re: [PHP] Need some help with array sorting > > > Hi Will, > > >

RE: [PHP] a href...

2002-09-13 Thread Will Steffen
Use & a href="bug_detail_user.php?id=$id&reporter_id=$reporter_id" Some reading around post methods and passing data between scripts might be in order to familarize yourself with all the syntax etc. Hope this helps --Will > -Original Message- > From: Meltem Demirkus [mailto:[EMAIL PRO

RE: [PHP] can you get the name of an object from within it's own class?

2002-09-17 Thread Will Steffen
Hehe why break your brain- give the class an id property - then you can have a getid method and do something like this $id = $this->getid(); $this->fpLog = fopen("$id.log","w+"); get_object_vars only seems to return properties so its not gonna help you. I'm currently working on an object thang

[PHP] Problems with PDF_open_gif

2001-03-21 Thread Steffen Wieschalla
ealtiv and absolute paths and the permissions are ok. Can someone tell me what I'm doing wrong? Thx :) Ciao Steffen --- +---+ | Steffen Wieschalla| | e-mail: [

[PHP] pdflib

2001-03-27 Thread Steffen Wieschalla
Hi! Is there any possibility to import an existing pdf file in PHP 4.0.4pl1 (pdflib 3.0.3) to modify it? Thanks in advance! Ciao Steffen --- +---+ | Steffen Wieschalla

Re: [PHP] preg_replace();

2007-02-02 Thread Steffen Ebermann
This always works for me: if (preg_match_all("!\"(.+)\"!sU", $var, $match)) { for ($i=0; $i Hi all, > > I want replace the "|" (pipe) and the " " (space) chars where are between " > (double-quotes) by an underscore "_" with the preg_replace(); funtction. > > Can someone help me to find the c

Re: [PHP] preg_replace(); [solved]

2007-02-02 Thread Steffen Ebermann
Maybe you just mistyped that, but this would *probably* also match on s="" or bar="", cause [ and ] are metacharacters. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace();

2007-02-02 Thread Steffen Ebermann
On Fri, Feb 02, 2007 at 09:01:38PM +0100, Steffen Ebermann wrote: > > $new = preg_replace("!\|| !", "_", $old); Heyha, the mail's subject gone obsolete. preg_replace isn't necessary at all. Better use: $new = str_replace(array ("|","

Re: [PHP] Regex Mixtake

2007-02-03 Thread Steffen Ebermann
You have to use preg_match_all() if (preg_match_all("!\"(.+)\"!sU", $var, $match)) On Sat, Feb 03, 2007 at 12:36:59PM -0500, Manolet Gmail wrote: > Hi, i have a problem using regex, i want to get all the text between " " > > so i try this... > > $subject = 'menu "Archer?",-,"Chief?",L_Menu2,

Re: [PHP] Regex Mixtake

2007-02-03 Thread Steffen Ebermann
I don't know, but http://php.net/manual/en/function.ereg.php says "Note: preg_match(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to ereg()." On Sat, Feb 03, 2007 at 01:58:50PM -0500, Manolet Gmail wrote: > anyway, PCRE is better that ereg?

Re: [PHP] Regex Mixtake

2007-02-03 Thread Steffen Ebermann
Side note: $exp = explode('"', $var); foreach ($exp as $key => $val) if ($key%2!=0) $arr[] = $val; var_dump($arr); works without regular expressions. -- Steffen On Sat, Feb 03, 2007 at 12:36:59PM -0500, Manolet Gmail wrote: > Hi, i have a problem using regex, i wan

Re: [PHP] what do i need to disable

2007-02-08 Thread Steffen Ebermann
It's more secure to begin with converting the string using htmlentities() and reconverting allowed tags afterwards. See http://alistapart.com/articles/secureyourcode http://alistapart.com/articles/secureyourcode2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] what do i need to disable

2007-02-08 Thread Steffen Ebermann
By using something like $var = preg_replace( "!<(i|b|small|big|code)>(.+)!isU", "<\\1>\\2", $var); you can accomplish a solution where only closed tags will be reconverted. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LOL, preg_match still not working.

2007-02-17 Thread Steffen Ebermann
As far as I tested, the regular expression works how it is intended to work. Maybe this a touch easier to read line do it for you: elseif (preg_match('|[EMAIL PROTECTED]&*();:_. /\t-]|', $comment)) On Sat, Feb 17, 2007 at 09:27:59AM -0500, Beauford wrote: > Hi, > > I previously had some

Re: [PHP] LOL, preg_match still not working.

2007-02-17 Thread Steffen Ebermann
Addendum: I encountered a problem when the string contains linebreaks. Maybe adding \n\r into the brackets fixes your problem. On Sat, Feb 17, 2007 at 09:27:59AM -0500, Beauford wrote: > Hi, > > I previously had some issues with preg_match and many of you tried to help, > but the same problem s

Re: [PHP] LOL, preg_match still not working.

2007-02-17 Thread Steffen Ebermann
It's 6.2 but PHP 4.4.4. Basically, I'm not getting any error. The expression just don't match. I don't know if it should or not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] registered globals on localhost (apache)

2007-02-22 Thread Steffen Ebermann
n my localhost? http://php.net/manual/en/ini.php#ini.list Below you can find a table explaining the PHP_INI_*-values. Also you should use php_flag to set a boolean configuration directive. http://php.net/manual/en/configuration.changes.php#configuration.changes.apache -- Steffen -- PHP General

Re: [PHP] Is it possible to disable eval()?

2007-08-16 Thread Steffen Ebermann
On Thu, Aug 16, 2007 at 09:50:30PM +0800, hshh wrote: > I try to disable eval() function in php script, but > failed. In php.ini disable_functions=eval is not work, > but other functions. > So, is it possible to disable eval()? Thanks. It don't work because eval() isn't a function. The Suhosin p

Re: [PHP] [pcre] backreferences to all matches of a repeated subexpression

2007-08-02 Thread Steffen Ebermann
use preg_split() instead. Seems to work as intended. Hope I could help. Regards Steffen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Move and rename help...

2007-08-08 Thread Steffen Ebermann
ntain any number or @ you cold use otherwise Regards Steffen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Control GET data

2006-06-06 Thread Steffen Mazanek
Hello, I want to provide two input text fields lastname and firstname and if the user pushes the submit button the generated url should be ...?name=firstname_lastname. Is this possible and how? Thank you for helping a php newbie. Steffen Mazanek -- Hermann-Löns-Straße 3 53840 Troisdorf

Re: [PHP] Create a new $_COOKIE["PHPSESSID"] in PHP4.3.1

2005-09-08 Thread Steffen Stollfuß
$path = session_save_path(); } @unlink($path . $tz .'sess_'. $sess_id ); } */ --- PGP Public Key: www.rt31x-tutorial.de/php/Steffen Stollfuss_pub.asc ---