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 :(
H
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 PM
To:
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
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
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
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
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
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
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
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
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
;);
$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
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
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
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
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
$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
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
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 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.
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
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
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:
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
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
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
[snip]
Why not use two checks? One that checks for 4 digits, the other checks
for existence of 8 anywhere in the string?
Cheers,
Rob.
[/snip]
Of course that is a possibility. But I wonder if there is a way to do it
with ONE expression. So there are no AND operator in Regular Expressions
then I a
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
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
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
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
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
... 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
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-
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
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
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
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
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
[snip]
Do you need STDERR to go "out" to, err, wherever it goes, *AND* get it
into your PHP script?
Perhaps 'tee' (man tee) would let you do that.
Or do you just need STDOUT in one variable, and STDERR in another,
both in PHP?
I think you could do something in shell to re-bind STDOUT to some
ot
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
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]
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
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
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
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
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
[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
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
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
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
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
>
> 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
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
>
> 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
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
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.php.net/)
> 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
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
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
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
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
>
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
> die("Invalid filename.");
>
>$path = '/var/www/';
>$full = $path . $file;
>
>header('Content-type: application/pdf');
>header("Content-Length: " . filesize($full));
>header('Content-disposition: attachment; filena
//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
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.
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
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
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
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
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
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
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
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:
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
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
Probably nobody, as PHP is a Server Side Scripting Language.
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 7:16 PM
To: php-general@lists.php.net
Subject: [PHP] Controlling a scanner with PHP
Hi,
I have been asked to look at extending one
Maybe JavaScript can do it for you?
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 8:01 PM
To: Peter Lauri
Subject: RE: [PHP] Controlling a scanner with PHP
Peter,
I take it you have spoken to everyone on the list then?
I know that PHP
-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 8:11 PM
To: Peter Lauri
Cc: 'George Pitcher'; php-general@lists.php.net
Subject: Re: [PHP] Controlling a scanner with PHP
Peter Lauri wrote:
> Probably nobody, as PHP is a Server Side Scripting Language.
If there'
Is it possible to some how find out all cookies on a specific computer and
their name and value? I assume not :)
/Peter
AM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: Find out cookies on a computer?
Peter Lauri wrote:
> Is it possible to some how find out all cookies on a specific computer and
> their name and value? I assume not :)
>
>
>
> /Peter
>
No, because you don'
The global array $_COOKIE should hold any cookie which is available to you
Yes, but that is just for the ones available for me. Like Google, they set a
cookie if you click on one of their "adwords" ads and then use them in the
tracking of the customer conversion.
Cookies like this are interesti
Thank you, great reading :)
-Original Message-
From: Richard Collyer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 30, 2006 5:01 AM
To: php-general@lists.php.net
Subject: Re: [PHP] RE: Find out cookies on a computer?
Peter Lauri wrote:
> Is the question dumb? Why you answer it then?
How about answer extends question?
-Original Message-
From: David Tulloh [mailto:[EMAIL PROTECTED]
Sent: Friday, June 30, 2006 9:36 AM
To: Sjef
Cc: php-general@lists.php.net
Subject: Re: [PHP] design?
Sjef wrote:
> Hi there,
>
> I am starting a new, very small project. A simple question
regards,
Peter Lauri
[snip]
1. Do not store images in a database, it is just a bad idea from a
performance perspective (as has been covered many times heretofore).
[/snip]
Is that really the case? Is this not depending on the application? :) My
application will never grow, and I can easily just change the file storag
s set and then return.
Question is: Can I not set a cookie at domain1.com to work at domain2.com?
Best regards,
Peter Lauri
Correct me if I am wrong, but do fpdf allow jpg? I think you must convert to
PNG or GIF and then use that image.
-Original Message-
From: nicolas figaro [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 26, 2006 8:24 PM
To: PHP List
Subject: [PHP] jpg to pdf using fpdf
Hi,
I'd like to
So then it was the opposite of what I had in memory :)
-Original Message-
From: nicolas figaro [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 26, 2006 8:30 PM
To: 'PHP List'
Subject: Re: [PHP] jpg to pdf using fpdf
Peter Lauri a écrit :
> Correct me if I am wrong, but do f
This is code how it works for me:
$pdf =& new FPDF('p','pt','a4');
$pdf->AddPage();
$pdf->Image("pdf/profilechart.png",145,$pdf->GetY());
$pdf->Output("pdf/temp/thepdf.pdf",'F');
Add the $pdf->AddPage(); and it might work :)
-Original Message-
From: nicolas figaro [mailto:[EMAIL PROTECT
figaro [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 26, 2006 8:44 PM
To: PHP List
Subject: Re: [PHP] jpg to pdf using fpdf
Peter Lauri a écrit :
> This is code how it works for me:
>
> $pdf =& new FPDF('p','pt','a4');
> $pdf->AddPage();
&g
http://www.w3schools.com/wap/default.asp
That is a good start...
-Original Message-
From: Angelo Zanetti [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 26, 2006 10:54 PM
To: PHP List
Subject: [PHP] Books: PHP and WAP
Hi all,
I need some recommendations for books:
are there any good b
Yes you can...
$pdf->Output("thelocation/filename.pdf", "F");
Just make sure that thelocation has permission to write for the web server.
/Peter
-Original Message-
From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 7:05 AM
To: php-general@lists.php
function cmpcountry($a, $b)
{
$country1 = $a['country'];
$country2 = $b['country'];
if($country1=='') return 1;
else return ($country1 < $country2) ? -1 : 1;
}
-Original Message-
From: weetat [mailto:[EMAIL PROTECTED]
Sent: Monday, July
And this for DESCending
function cmpcountry($a, $b)
{
$country1 = $a['country'];
$country2 = $b['country'];
if($country1=='' OR $country2=='') {
if($country1==$country2) return 0;
elseif($country1=='') return
Sorry, I just woke up and just posted an reply without thinking, use this:
function cmpcountry($a, $b)
{
$country1 = $a['country'];
$country2 = $b['country'];
if($country1=='' OR $country2=='') {
if($country1==$country2) return 0;
Hi,
Is it possible to print out all variables that are active within a script
without doing it manually? This is what I would like to do:
$a = 12;
$b = 'Peter';
$c = 'Lauri';
echo '';
print_r( get_all_variables() );
echo '';
Best regards,
Peter L
Great stuff, I probably just searched the wrong words.
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 6:22 PM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] All active variables?
Peter Lauri wrote:
> Is it possible to print
I was just doing it to check if they were
protected, and I informed them about my process etc. I only deleted my
record, no one else's. In Sweden it might have been called "computer
break-in", but I am not sure.
Anyone with experience of a similar thing?
Best regards,
Peter Lauri
quot;hiding for something you did not
do".
One at the forum sent me an message off the list and said: "You got bigger
balls than me. :-)", what did he mean with that? I did not know that the php
list also shows the web cam at the same time. "I better watch out"...
Best regard
1 - 100 of 300 matches
Mail list logo