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
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
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
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
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
?
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,
>
>
>
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
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
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: [
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
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
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
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 ("|","
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,
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?
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
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
By using something like
$var = preg_replace(
"!<(i|b|small|big|code)>(.+)\\1>!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
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
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
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
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
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
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
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
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
$path = session_save_path();
}
@unlink($path . $tz .'sess_'. $sess_id );
}
*/
---
PGP Public Key: www.rt31x-tutorial.de/php/Steffen Stollfuss_pub.asc
---
27 matches
Mail list logo