Richard Lynch wrote:
> On Thu, December 6, 2007 2:44 am, Rolf_ wrote:
>> I have a problem working with shmop_open() in a Solaris environment.
>> The
>> following cli-script works fine, except shmod_open returns a warning
>> 'unable
>> to attach or create shared memory segment':
>>
>> > $sem = "/tmp
On Dec 3, 2007 12:18 AM, Bill <[EMAIL PROTECTED]> wrote:
> Do failed tests mean I absolutely should NOT install. Or is it normal to
> have a few fails? Try two different versions, all have some failure.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.
On Nov 29, 2007 5:18 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Nov 29, 2007 7:56 AM, Peter Smit <[EMAIL PROTECTED]> wrote:
>
> >
> >
> >
> > On Nov 27, 2007 11:43 PM, Peter Smit <[EMAIL PROTECTED]> wrote:
> > > Hello,
> >
On Nov 27, 2007 11:43 PM, Peter Smit <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've got quite a strange problem with the curl library.
>
> The following code does output Content||\Content instead of
> Content|example.orgoutput|\Content
>
> $c = curl_init("h
;;);
$file = "/tmp/phptest".rand()."";
touch($file);
$st = fopen($file, "r+");
curl_setopt($c, CURLOPT_FILE, $st);
if(!curl_exec($c)) die ("error: ".curl_error($c));
rewind($st);
echo "Content|".htmlspecialchars(stream_get_contents($st))."|/Conten
Jochem Maas wrote:
> Kiketom wrote:
>> Hi all.
>> Yesterday i have looking for the overloading members
>>
>> Member overloading
>> void __set ( string name, mixed value )
>> mixed __get ( string name )
>>
>> As an example i put this code:
>>
>> class foo
>> {
>> private $ID;
>> private $Nam
>
> I was all ready to jump on Point #6 to disagree until I read the
> next paragraph, updating that with the correct information. PHP can
> find out the OS of the system on which the browser is running.
>
Strictly speaking, PHP can only find out what the browser tells it - that
includes th
Lester Caine wrote:
> Peter Ford wrote:
>> I've tried to use Eclipse PDT, and it's just generally horrible - the
>> All-in-one
>> has no Subversion support and no SSH support for deploying to the server
>> properly. The debugging support worked well on the wind
I've tried to use Eclipse PDT, and it's just generally horrible - the All-in-one
has no Subversion support and no SSH support for deploying to the server
properly. The debugging support worked well on the windows version, but I
couldn't get it to work from Linux (with the same web server...)
And th
Hulf wrote:
> Just wondering if anyone uses an IDE and if so what ones?
>
> Ta,
>
> H.
Quanta+, with KDESVN for version management...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ford, Mike wrote:
> On 06 November 2007 12:57, Christoph Boget wrote:
>
>> Consider the following test code:
>
> [...snip...]
>
>> Running that I found that
>>
>> if( isset( $myArray[$key] ))
>>
>> is faster than
>>
>> if( array key exists( $key, $myArray ))
>>
>> is faster than
>>
>> if( $myAr
You could try using exec to set up an "AT" job with a short delay which will
then run 'net apache restart' - I'm not a total windows guru so I can't give you
the exact recipe...
Something like exec('AT 12:00 "net apache restart"');
Check the documentation on the AT command...
One possible extra
Oh, and by the way, remember that the array that file() returns also will
contain the newline. Add the flag FILE_IGNORE_NEW_LINES if you don't want
them.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon
Your array that you get from the file() will contain the -Original Message-
> From: magoo [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 23, 2007 3:52 PM
> To: php-general@lists.php.net
> Subject: [PHP] file() ignores PHP tags
>
> Hi NG!
>
> I wanna output several kinds of ascii fil
No, turn Magic Quotes off :)
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 23, 2007 3:1
compiling it on their machine and changing their
environment.
So is there any nice solution with php pre compiled and that the files are
just in a tar ball or similar, so that the php cli can be used?
Best regards,
Peter Lauri
<http://www.dwsasia.com/> www.dwsasia.com - compa
ogging suggestion is a great idea, but not realistic given
the amount of times this function is called.
Thank you for your help! I'll update the list with my findings.
-ec
From: "Nathan Nobbe" <[EMAIL PROTECTED]>
To: "Peter Pan" <[EMAIL PROTECTED]>
CC: php
Peeps,
I'm having an issue where throwing Exceptions are displaying a blank page
even though the Exception is being caught in a try...catch statement. This
is happening on our production server where warnings, errors, exceptions,
etc. are not to be displayed to the user. The assumption is th
Using array_pop wouldn't do it, as it just removes the last element.
You could use unset() for the rows you don't want to keep.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
> -Ori
Hi,
In many apps the messages comes as STDERR, so try:
exec("svn update 2>&1", $out);
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
> -Original Message-
> From: Manol
Check the error from mysqli:
http://fi.php.net/manual/en/function.mysqli-error.php
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
> -Original Message-
> From: Nathaniel Hall [mailto:
Check www.php.net/json
You can use the encode function there.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
> -Original Message-
> From: Otto Wyss [mailto:[EMAIL PROTECTED]
> Sent
ssible.
>
> Tijnema
[Peter Lauri - DWS Asia]
Having these tools is probably not illegal. But using them illegally is
illegal :) Could you send me some more info "off-list" about this. Knowing
how to use these tools will probably help me making my sites more secure, am
I not
s you're not only storing if the user has
> authenticated, also storing a username?
>
> And if that's not the case, then you could authenticate by creating a
> cookie where it says authenticated = yes, and you're authenticated...
>
> Tijnema
>
> --
> PHP Gene
write instruction of apache, or what ever
> > instructionyour web server has.
>
> Um...guess I will have to check with our hosting company about this.
> Thanks.
>
> - Ben
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.
//or equivalent in AdoDB
$i=1;
while(...) {
if($i==$count) {
//Do the stuff for the last one
} else {
//Do the rest of the stuff here
}
$i++;
}
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web
> die("Invalid filename.");
>
>$path = '/var/www/';
>$full = $path . $file;
>
>header('Content-type: application/pdf');
>header("Content-Length: " . filesize($full));
>header('Content-disposition: attachment; filena
ver, that array_keys is not recursive.
>
> foreach is recursive??? thanks.
>
> --
[Peter Lauri - DWS Asia]
foreach is NOT recursive :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
DON'T commit suicide mate :)
What if you one day move the path? ;)
> -Original Message-
> From: Rahul Sitaram Johari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 29, 2007 9:54 PM
> To: Peter Lauri; PHP
> Subject: Re: [PHP] Show Filename using Wildcards
>
quot;$1",
$file);
/Peter
> -Original Message-
> From: Rahul Sitaram Johari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 29, 2007 9:49 PM
> To: Peter Lauri; PHP
> Subject: Re: [PHP] Show Filename using Wildcards
>
>
> Peter,
>
> Believe it or not, but
Is php safe mode on or off?
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
> -Original Message-
> From: Nathan Ziarek [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 29, 2007 9:30 PM
al chars. What I need is something that can pull up
> all
> 515515515*.ext
>
> Can I do this in PHP?
>
> Thanks!
>
[Peter Lauri - DWS Asia]
Hi,
Assuming you are on a linux you could try:
exec("find /the/path/to/the/place/where/you/should/start/searching -type f
> type="checkbox">test message
> value="4" type="checkbox">test message
> value="5" type="checkbox">test message
> value="6" type="checkbox">test message
> value="7" type="checkbox&q
On Monday 26 March 2007 19:49:48 Erik Jones wrote:
> Yep, take this to the mod_rewrite forums @ http://www.modrewrite.com/
> as this is a php list :)
Thanks. This solved it for me:
http://forum.modrewrite.com/viewtopic.php?p=10796#10796
/Peter
--
PHP General Mailing List (http://www.p
Not pure Ajax, but it is Javascipt: [EMAIL PROTECTED]
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
> -Original Message-
> From: bruce [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 1
>
> Thank you! I did not know about the ucwords() functions, and it
> does not need the string set to lower case.
>
> Now to create a filter that returns only numbers (e.g. "a1234z"
> -> "1234") and the same for non-numbers.
>
[Peter Lauri
Is your system time correct?
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
> -Original Message-
> From: Jake McHenry [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 12, 2007 6:10 PM
> >
> > Hi
> > I'd like to ask you for the help
> > I'm using Squirellmail with plugin Shared calendar. This is simple
> > nice plugin written by Paul Lesniewski But I found the bug in this
> > plugin. The bug seems to be related with variable and memory.
> > The scripts are really slow and so
Hi
I'd like to ask you for the help
I'm using Squirellmail with plugin Shared calendar. This is simple nice
plugin written by Paul Lesniewski
But I found the bug in this plugin. The bug seems to be related with
variable and memory.
The scripts are really slow and sometimes takes 20-30 seconds und
>
> I'm not promising this is how it actually works; this is just a theory.
>
[Peter Lauri - DWS Asia]
I will take a look at that tomorrow; right now it is 1am and time for bed :)
I will keep you updated on that one to inform you if your theory was working
:)
--
PHP General
at too, if you see what I mean...
>
> I am hoping that your real script is a bit more complicated, as you
> currently have a shell script that runs PHP only to run a shell script
> that just does 'ls', which, really, you could probably just splat into
> your shell script wi
The thing is that the commands are executed as they should. I have tested to
give full path "/bin/ls" and that gives the same result.
BUT the exit code is -1 still. Not 0 as when running it from command line.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se
sthru() will do it, but I haven't tested that
yet, want to get some feedback first.
Best regards,
Peter Lauri
<http://www.dwsasia.com/> www.dwsasia.com - company web site
<http://www.lauri.se/> www.lauri.se - personal web site
<http://www.carbonfree.org.uk/> www.carbonfree.org.uk - become Carbon Free
class, otherwise
it will be treated as a range.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Brad [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 5:09 AM
To: PHP Ma
[snap]
[snip]
He would need to work in-house. And the location is somewhere in
Scandinavia. He could work as sub contractor or employed for my company.
[/snip]
I don't know too many list denizens who live in Scandinavia, so that
severely limits your choices.
[/snap]
I live in Thailand but that di
ssh2_exec would do it for you...
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: h [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 27, 2007 3:18 PM
To: php-general
MySQL has caching functions I believe. Read here:
http://dev.mysql.com/doc/refman/5.0/en/query-cache.html
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Martin Zvarík
ript that is calling the include is. Then it will first look in
.
/include
/usr/lib/php
Take a look here http://www.php.net/include to read more about the include
function in PHP.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk
How are you fetching the GET and POST? With $_GET and $_POST?
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Otto Wyss [mailto:[EMAIL PROTECTED]
Sent: Saturday, February
This was not clear for me, do you mean:
=>
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Eli [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 12:42 AM
will either use this or redirect STDERR to a file and read it from there.
Best regards,
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: steve [mailto:[EMAIL PROTECTED]
well.
Best regards,
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Sancar Saran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 3:02 AM
To: [EMAIL PROTECTED]
Cc
pt and there is an exit code different from 0 I
want to show a log of error/notices during the script. Actually I want to
show the whole process if it fails so 2>&1 for exit code not equal to 0.
I'll probably end up writing a patch for exec now :)
/Peter
www.dwsasia.com
www.lauri.se
ww
Or cURL: http://php.net/curl
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: blackwater dev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 9:45 PM
To: php
fsockopen can probably help you with that http://www.php.net/fsockopen
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: blackwater dev [mailto:[EMAIL PROTECTED]
Sent
How are you setting the charset of the web page? Are you using header() or
using html head section to set it?
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Delta Storm
Do you really need to use an RPM package to install a PHP on FC. Why not
"yum install php" instead... and for any extension you might want you just
install that as well "yum install php-gd" as example.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se
Have you tried to print_r($_SESSION) on all the pages so that you can see
what the $_SESSION is containing and how it is changing?
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message
It looks like that will be the situation. Sad that exec() don't have that
feature as an option. Maybe in the future :)
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
... I wonder
why? :)
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Vahan Yerkanian [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 17, 2007 7:02 PM
To: php-general
read that file? Hrm, doesnt make any sense to do that.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
alhost");
Or you can have a txt config file config.cfg
ROOTDIR /wherever/your/webroot/is
CLASSDIR [ROOTDIR]/classes
And then you just have to read and parse that with a general define script
:) Something like this (don't have the code here, so I try it anyways).
Best regards,
Peter Laur
Sometimes you can get fooled by the result. If nothing is changed on a
update the result for this function will give 0, because nothing was
affected. Although you might think so just because you are doing an
"update". However, an update doesn't necessary mean an update :)
Best
And what are the time zones for those two different machines? And what is
the time? :)
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Terra Frost [mailto:[EMAIL PROTECTED
Thanks. I will look into more of the lookahead and lookbehind operators.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Roman Neuhauser [mailto:[EMAIL PROTECTED]
Sent
assume.
/^([0-9]{4}&[0-9]{0,3}8[0-9]{0,3})$/
That would be nice :) But now there are no AND operator :*(
/Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
essions? I have been trying to figure this out for a while now.
Of course I am using the above syntax right now, but would like to strip it
down. Maybe not for the performance, but for the beauty of it :-)
If you have any comments and suggestions about this I would be happy.
Best r
Gnuplot can do it for you as well...
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 12:56 PM
This kind of hassle you can avoid if you use PHPMailer that you can find at
http://phpmailer.sourceforge.net
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Marcelo
Try to google for "orientada a objetos en PHP con MySql" :)
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Jairo Torres [mailto:[EMAIL PROTECTED]
Sent:
SELECT COUNT(*) AS thecount FROM table1 LEFT JOIN tabel2 ON (table1.col1 =
table2.col2) GROUP BY table1.col3 ORDER BY thecount;
It might give you some hints...
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon
http://php.net/curl
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: chetan rane [mailto:[EMAIL PROTECTED]
Sent: Monday, January 29, 2007 8:31 AM
To: php-general
n programming :)
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 28, 2007 4:27 PM
To: Peter Lauri
Cc: 'Larry E.
n executes that
one. Or better: Check if there is a method __destruct() existing and use
that when cleaning up. Then it would be forward compatible with PHP 5 as
well :)
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - bec
n for Eclipse, and that one behavied like you
describe, therefore my change to SourceForge PHP Eclipse Plugin.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Larry Gar
$firstchar = substr($string, 0, 1);
Read www.php.net/substr
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Christopher Deeley [mailto:[EMAIL PROTECTED]
Sent: Sunday
I would put my vote on Eclipse. It has great support for cvs and also for
general coding "autofilling" etc. The downside is that it is resource
demanding...
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become C
Most domain wholesale sites have it. www.onlinenic.com has it, I am sure
that godaddy.com has it as well. Joker.com has it.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From
orrect. If you get matches there your code should be
fine.
$Result = mysql_query($Query);
...
...
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Wikus Moller [mai
does not exist in this directory";
You should learn how to read the manual, because in the end we will not do
this kind of things if it already is in the manual.
http://th.php.net/manual/en/function.file-get-contents.php
http://th.php.net/file
Best regards,
Peter Lauri
www.dwsasia
;);
$filesize = filesize($path.$filelocation);
header("Content-Length: $filesize");
echo file_get_contents($path.$filelocation);
You could also use fread() or similar if the file is larger.
Let me know if it helped.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www
Make the src ABSOULUTE and it will work. When you are using relative links
as you are right now the web server will look in the
https://www.mywebsite.com/images
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become
just:
echo "";
print_r($_COOKIE);
echo "";
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Dotan Cohen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January
I also use PHPmailer to send emails. However it is good to do it the 'hard'
way once to learn about mailing headers etc.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message
I do have javascript enabled, but it does not detect it...
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Monday, January 01, 2007
Try:
$string_as_array = explode("\n", $string);
echo "";
print_r($string_as_array);
echo "";
The array that you get will contain segments of the string that is separated
with \n. Let me know if that helps.
Best regards,
Peter Lauri
www.dwsasia.com - company web
Hi,
I got it working before the post, but I was just curious if there were any
change from php4 to php5 as I have been using that method for a while now.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
orked fine, but this time I get an "open dir" error. Is this something
that is new to PHP5 for this, or do I just need to config the server to
accept this "sloppy" including of files?
Best regards,
Peter Lauri
<http://www.dwsasia.com/> www.dwsasia.com - company
FPDF might do the same thing, won't it?
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 27, 20
http://www.pdflib.com/download/pdflib-family/pdflib-6/
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Rosen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 27, 2006 4
Try this one:
http://pecl.php.net/bugs/bug.php?id=9491&edit=1
/Peter
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: Rosen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 27, 2006 2:58 P
Hi,
imagecopyresampled might help you... I use that and it works without
problems.
/Peter
-Original Message-
From: Steven Macintyre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 27, 2006 10:17 AM
To: php-general@lists.php.net
Subject: [PHP] GD 2.0.28 + PHP 4.4.2 + pixelation
Quote:
here is the code:
if($_GET['query']==new)
{ filter($query);}
elseif($_GET['query']==some'u'all)
{ filter($query);}
elseif($_GET['query']==all'u'ppl)
{ filter($query);}
----
Did you forget about "" aro
ST['mysql'])) {
//do whatever you want with the
//$_POST['mysql'] variable and output the results
//the you want to be shown in the div with id resultsdiv
}
--
Best regards,
Peter Lauri
-Original Message-
From: Aras [mailto:[EMAIL PROTECTED]
to use JS library that you can do "AJAX" requests with and then do
what you want with by DOM.
/Peter
-Original Message-
From: Jahangir [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 24, 2006 5:34 PM
To: php-general@lists.php.net
Subject: [PHP] calling a function in the same page
Hi,
I think it says somewhere in the documentation that the cookie values will
not be available until next request/response...
/Peter
-Original Message-
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 12, 2006 5:28 PM
To: php-general@lists.php.net
Subject: [PHP
Hi guys,
I have a sample string "[hp-ex][log]peter[hall o]" that I need to process. I
need to remove the [] and separate the sections with a space. If there are
more then one [] part the first part should be bold (add around it).
I have a solution that is working very well, but am thi
Except the check for \n and \r? I mean any class that you think is good
doing this? Is PHP Mailer doing any check of its variables?
/Peter
-Original Message-
From: Peter Lauri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 06, 2006 11:10 PM
To: php-general@lists.php.net
Subject
I don't know what environment you are on, because I have been absent from
this list a long while. If you are on a Linux distribution you might be able
to do this via the command line:
yum install php-gd.i386
service httpd restart
That might install GD and then restart the web server.
/
You are correct. I might love you :)
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 2:27 PM
To: Peter Lauri
Cc: [EMAIL PROTECTED]; php-general@lists.php.net
Subject: RE: [PHP] readfile() problem
On Fri, 2006-10-13 at 13:28 +0700, Peter
501 - 600 of 1886 matches
Mail list logo