Per Jessen schrieb:
Edmund Hertle wrote:
my problem is that I send an e-mail with an attachment (pdf file). I
get the filename out of a mysql table. While using echo or downloading
the file, the filename is showed as expected but as an attachment it
is not properly encoded:
Should be: PC-Bescha
Jim Lucas wrote:
Fredrik Thunberg wrote:
Dan skrev:
Oh yeah, the problem isn't that I'm using -> instead of =>. Well
that was a problem but I fixed that and it's still not working.
- Dan
""Dan"" <[EMAIL PROTECTED]> wrote in message
new
Dan skrev:
Oh yeah, the problem isn't that I'm using -> instead of =>. Well that
was a problem but I fixed that and it's still not working.
- Dan
""Dan"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I'm having a little problem assigning a value to an array which has a
key. I
No, that won't work
Either use != 'AA'
or
for( $i = ord('A'); $i <= ord('Z'); $i++)
{
echo chr( $i ) . ' ';
}
Jason skrev:
Because you need $i<= 'Z' to get Z included as well.
J
At 08:49 09/07/2007, Xell Zhang wrote:
Hello all,
I met a very strange problem today. Take a look at the codes
For exactly the same reason as
for( $i = 0; $i < 10; $i++)
produces 0-9
It loops whule $i is lesser than 'Z'
When $i becomes 'Z' it stops and doesn't echo
But i guess you're having trouble with (note the '<='):
for ($i = 'A'; $i <= 'Z'; $i++)
{
echo $i . ' ';
}
This might produce a "wie
Stut skrev:
sivasakthi wrote:
Thanks for your response..
Actually i have the collections of strings like,
$not_quite_an_array =
'squid %tu %tl %mt %>A
test %st.%hs %>a %
$names = array();
foreach (explode("\n", $not_quite_an_array) as $line)
{
$line = trim($line);
if (strlen($line) ==
of course ceil( month / 3 );
--
/Thunis
Don't panic.
--The Hitchikers Guide to the Galaxy
Fredrik Thunberg skrev:
$q = ceil( month / 4 );
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$q = ceil( month / 4 );
--
/Thunis
The ships hung in the sky in much the same way that bricks don't.
--The Hitchikers Guide to the Galaxy
revDAVE skrev:
I have segmented a year into four quarters (3 months each)
nowdate = the month of the chosen date (ex: 5-30-07 = month 5)
Q: What is the
Just did a quick benchmark for 10.000 hands (making a full deck on
your code, 23.5 players):
Microtime difference:
Ryan's code:15.725826978683
Tijnema's code:0.40006709098816
Unique decks out of 1:
Ryan's code:1
Tijnema's code:1
When making a full deck my code is 40 times faster
Ron Piggott skrev:
How do I break $start_date into 3 variables --- 4 digit year, 2 digit
month and 2 digit day?
$start_year = ;
$start_month = ;
$start_day = ;
Of course depending on what $start_date looks like, but this should work
most of the time:
$timestamp = strtotime( $start_date );
Edward Kay skrev:
-Original Message-
From: Marcelo Wolfgang [mailto:[EMAIL PROTECTED]
Sent: 04 May 2007 14:37
To: php-general@lists.php.net
Subject: [PHP] Selecting a special row from the database
Hi all,
I'm building a news display page for a website, and since the user has 2
ways
"GROUP BY whatever_id_you_want" in the SQL
Dan Shirah skrev:
Good Morning everyone.
In the below code I am pulling records from two tables. the records are
tied together by a common key in a 3rd table. Everything works correctly
down to the $result.
// Connect to the database
$connection =
Lester Caine skrev:
Can someone with a few more working grey cells prompt me with the
correct command to split a string.
The entered data is names, but I need to split the text up to the first
space or comma into one string, and the rest of the string into a
second. It's the 'first either spa
Don't know your problem but:
if $totalTime is total length in seconds
$minutes = floor($totalTime / 60);
$seconds = $totalTime % 60;
/Fredrik
Sebe skrev:
maybe someone can figure why sometimes i get negative values for seconds..
$job['finished'] and $job['finished'
marcelo Wolfgang skrev:
Hi all,
I'm new to this list and new to php programming so sorry if I do
something wrong here :)
Ok, now to my problem.
I've created a query to update a mysql db, and it isn't working, and
it's not throwing me any errors, so I need some help to figure out
what's wro
Stephen wrote:
Hi list, I'm trying to make a script which requires that I perform a
printf() formatting on a string, but instead of outputting the result
I need to set the result as a variable to write to a file. Can any one
advise me on how to do this? or if it's even possible?
Kind regards,
date("Ymd", strotodate( $value ));
Of course I mean:
date( "Ydm", strtodate( $value ));
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Reinhart Viane skrev:
Is this a good way to convert 01/02/2007 to 20070201
$value='01/02/2007';
list($day, $month, $year) = split('[/.-]', $value);
$filename=$year.''.$month.''.$day;
It does work but i would like to verify if there are no better, more logical
ways to do this.
Thanks
It doesn't help to reset any values. The form data is being resent by
the browser itself, just if the user presses the submit button again
with the same data.
What you could do is mabye use a session to see if the particular user
has sent form data before.
/Fredrik Thunberg
Beauford
Hi
sort returns a bool, the sorted array passed by reference.
So try:
$result = sort( $array );
//Now $array is sorted
print_r( $array );
/Fredrik Thunberg
Kevin Murphy skrev:
I'm having trouble sorting an array. When I do, it empties the array
for some reason. Take the following
Try
$try = $var["1.2"];
If your array looks like the one below then there is no $var[0] and
therefore you get NULL
/Thunis
Brian Dunning skrev:
That seems right to me too - but everything I try returns NULL. I set
$try=$var[0], and $try ends up being null; print_r($try) gives blank.
I even
of the reasons
why I chose to move it out of the php code.
No doubt, is your solution impressive for the purpose it serves. I did not
mean to offend you in any way.
GL.
Fredrik
>
> - Original Message -
> From: "Fredrik Thuresson" <[EMAIL PROTECTED]>
> To:
&
"At one point or another plain HTML has to be generated. "
Care to give me an example? I never generate any html in my php code
anymore.
It's not very pretty when your code looks like echo "\n\t\t\t\t\t\t";
Is that not a form of a templating engine that your are b
ype Linkagewith TTF library" is set on the faulty one. Can
this be the problem?
Cheers
/Fredrik Thunberg
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The image I'm trying is 2848x2144 @ 2,13MB so its pretty big..
An other user in this mail-group asked me if ImageMagick existed on the
server,
but I'm pretty new to all this, and I don't actually know how to check if it
does?
Thanks for taking the time
Fredrik
2006/3/28, Richar
roblem.
Do any of you know any other way to solve this problem?
--
Thanks
Fredrik
guess PHP is set to drop $_SESSION variables...
$main="../page.php";
require($main);
Works fine.
Thanks for all your time and help!
/Fredrik
Jochem Maas wrote:
your problem is probably the fact that when you include
page.php you are in effect calling session_start() twice -
no idea
from last page the
user was on, so in my script it is not defined but I put the code here
to let you see it...)
*/
$main="page.php"
?>
[ Some working code here ]
}
IN PAGE.PHP
[More code here]
Can you see anythin
I also tried require...)
If I access page.php directly (by writing the URL in my browser) things
like
if ("1"==$_SESSION[user_level]) { let this stuff happen }
will work just fine, but when page.php is included in mainpage the
$_SESSION[user_level] is empty for that included pa
en it is included in that main page.
Whats am I missing?
/Fredrik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"image" => 8465,
"real" => 8476,
"trade" => 8482,
"alefsym" => 8501,
"larr" => 8592,
"uarr" => 8593,
"rarr" => 8594,
"darr" => 8595,
On Mon, 2005-07-18 at 20:44 +0100, Mikey wrote:
> Catalin Trifu wrote:
> >Fredrik Tolf wrote:
> >>I've begun to be more and more displeased with Apache lately, so I've
> >>been thinking of writing my own HTTP server instead. I still want PHP
> >>supp
On Mon, 2005-07-18 at 15:57 -0400, Evert | Rooftop wrote:
> Fredrik Tolf wrote:
> >I've begun to be more and more displeased with Apache lately, so I've
> >been thinking of writing my own HTTP server instead. I still want PHP
> >support, but writing a new S
a short intro to it?
Thanks for reading!
Fredrik Tolf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
5. I don't think I asked for the PHP versions of the
others.
So, what is one supposed to do with this really? Is there any particular
way that I can detect if I should use "unix://" and prepend it if
necessary? If you don't mind me asking, what's the reason for this
in
regards
Fredrik A. Takle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t to an
image/jpeg?
The output look like this..
LS0tLS0tPV9QYXJ0XzEyNzk4NjFfNTUz... and so on
The reason the header line above is comment out is that when enable it
doesn't
print out anything but an little frame whith the text image.
/Fredrik
--
PHP General Mailing List (http://www.php.ne
echo "";
}
return ''.$parttypes[$struct->type]."/".strtolower ($struct->subtype)."";
endswitch;
}
$struct = imap_fetchstructure ($mbox, $mno);
echo buildparts ($struct);
imap_close($mbox);
?>
This will display how many parts there is in the mail and the size of each
one of them and what type they are.
but how do a display the image of an attached jpg file on a webpage?
//Fredrik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$string = eregi_replace("base\/image.php", "image.php", $string);
Solution?
Best Regards
-Fredrik A. Takle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2004-11-07 at 20:42 +0100, Fredrik Tolf wrote:
> On Sun, 2004-11-07 at 13:57 +0200, Marina Markus wrote:
> > Is there a possibility in PHP allowing to encode a string
> > with WIN-1255 character set encoding? The result should look like:
> >
> > =?windows-125
take values which are already in the UTF-8 encoding. If
your values aren't in UTF-8, take a look at the iconv function.
> If anyone has a solution for another character set, I suppose it can also
> help.
I'd recommend that you use UTF-8 instead. It's more general than
Windows-1255 (copes with characters outside the Hebrew range), and is
probably supported by more MUAs.
Hope it helps!
Fredrik Tolf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be missing something important here (probably am), but I can't
see why (tried googling and going through the docs, but I couldn't see
any reference to this). Can anybody shed some light here?
Thanks in advance.
--
- Fredrik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I want to start a java system from a php script, anybody who know how i can
do that.
Something like this:
if(isset($trigger)){
java javasystem -scenario;
}
Is this possible and how can i do it.
-Fred
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Hi
I want to get the last date in a week.
Is there anybody who know how i can do this.
something like this:
function date getDateFromWeek( $week, $year){
...
...
return date;
}
- Petter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
s,
I only really care about indenting)!.
Fredrik.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
creating a separate file first. Any suggestions?
Thanks,
Fredrik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I have an PHP array and want to send it into another PHP site.
$arr =
array(251,1,23,54,15,135,1651,156,13,123,321,123,32,54,654,456,32,1);
?>
','windowname','toolbar=no, location=no,
directories=no, status=n
Hi
Any functions to remove'from a longstring?
Fred
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I have a problem whith the mail() function.
I have used this function several times, but to day it don't work..
I use it like this:
mail( $to, $subjekt, $body, $from );
and i got this warning:
Warning: Failed to Connect in \\HQ-ADMIN\mail.php on line 237
Fred
--
PHP General
Hi
I want to check if $var > 14 days or $var < 14 days
($var = $date2 - $date1)
$date1 = "2003-01-16";
$date2 = "2003-03-16";
How can i check this?
Are there any functions for this or do i have to make one?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Hi
I want to check if $var is a char or an int.
Freddy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I have to dates that i want to check who is biggest.
This does not work:
if( $date1 > $date2){
How can i check them?
Svein Olai
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey,
Where can I find a compiled php_apd.dll for Windows 2000 / PHP 4.3.0? If
you have it, it would be great if you could send it to me (to me
personally and not the list).
Thanks!
// Fredrik Johansson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hi,
If someone out there has an .dll file for the Advanced PHP Debugger
(APD) extension to run i Windows 2000 (PHP version 4.2.2) I would be
glad if you could send it to me. I have tried to compile one myself but
has failed each and every time :(
Regards,
Fredrik Johansson
--
PHP General
etime.
My question is: how does increased sessions affect the performance?
Best regards
Fredrik Nygren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Handles closing of tags!
/
}
}
Best regards
Fredrik Davidsson
Alfaproject AB
-Original Message-
From: Mirek Novak [mailto:[EMAIL PROTECTED]]
Sent: den 21 maj 2002 14:52
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Su
Hi,
I'm doing:
eregi("$start(.*)end", $rf, $my_var);
And I want it to stop at the first presedence of $end, not the last (thats
what this is doing).
Any hints?
Best Regards
Fredrik A. Takle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Hi,
I'm doing:
eregi("$start(.*)end", $rf, $my_var);
And I want it to stop at the first presedence of $end, not the last (thats
what this is doing).
Any hints?
Best Regards
Fredrik A. Takle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wed, 1 May 2002, Fredrik Arild Takle wrote:
> >>>Wrap into a output buffer. ob_start, ob_get_contents
> >
> > This was neat.
> >
>>Wrap into a output buffer. ob_start, ob_get_contents
This was neat.
I did:
ob_start();
$myvar = ob_get_contents();
But it still outputs the page, can I disable that?
Regards
Fredrik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
this might be a silly question, but I really haven't used XML alot with PHP.
I've parsed some XML, when I do xml_parse it outputs the html-codes.
I want to make a variable out of it, so I can write it to a file. I've tried
$output = xml_parse();
--
PHP General Mailing List (http://www.ph
Hi,
this might be a silly question, but I really haven't used XML alot with PHP.
I've parsed som XML, when I do xml_parse it outputs the html-codes.
I want to make a variable out of it.. I've tried $output = xml_parse();
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
hpshop.php on line 28
Warning: REG_EESCAPE:~trailing backslash (\) in
D:\Inetpub\wwwroot\www_lobb\phpshop.php on line 29
Best Regards
Fredrik A. Takle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why won't this work?
$NoteNm[$i] = eregi_replace ("V:\memo\F0001\", "", "$NoteNm[$i]");
$NoteNm[$i] = eregi_replace ("\\LOBBY\VismaDok\Memo\", "",
"$NoteNm[$i]");
Best Regards
Fredrik A. Takle
Norway
--
PHP Gener
...?
Best Regards
Fredrik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
src.rpm is the source code packaged in an rpm-file. If you install it as
rpm --rebuild it will compile a binary rpm for you. If you use Redhat you
can find the binary rpm in /usr/src/Redhat/RPMS
i586.rpm is a compiled binary for the i586-platform architecture
/Fredrik
I have a win2k machine set-up with iis 5.0, php 4.1.0 and now I want to use
image_copy_resample()
image_copy_resample() is not working in the version of gd included in php
4.1.0.
Where should I download the .dll for version 2.0.1?
Regards
Fredrik A. Takle
--
PHP General Mailing List (http
Make sure that you have no blank spaces before the wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hi
I 'm newbie with php and i have a small problem.
I have a script that uploads 4 pictures
But when that is done there has to be a redirect to an other page.
but i keep getting the
her place on my system (after a find...).
>
Try "rpm -qa |grep php" in the commandline.
You should see at least php there, but you probably want to find php-mysql,
php-pgsql etc also.
If you get no output, the php is not installed. Insert the cd, goto the
RPMS directory and do &qu
I guess you have to set EVERYONE.
(Don't now for sure)
Fredrik A. Takle
"Justin King" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
While trying to use dir() on a certain directory, I get the error
"Warning: OpenDir: Invalid
page, but I would sure like to hear a few arguments on
how to plan for performance.
/Fredrik
--
--
Fredrik Wahlberg Tel: 08-54 54 56 12
Fusage Fax: 08-54 54 56 10
Kungstensgatan 38a Mobil: 070-576 16 51
113 59 STOCKHOLM
session_start();
$valid_session = true;
session_register("valid_session");
OR SOMETHING LIKE THIS?
if (session_is_registered($valid_session)) {
// Do something?!
}
"Gaylen Fraley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Why not populate a
$result = mysql_query("SELECT uname FROM users WHERE
uname=\'$username@$domain\'");
$numrows = mysql_num_rows($result);
if ($numrows == '1') {
echo "User already exists";
} else {
echo "User don't exist";
}
Best Regards
Fredrik A. Ta
ffical PHP-site (http://www.php.net)
Hope this works!
Best Regards
Fredrik A. Takle
ElanIT
<[EMAIL PROTECTED]> wrote in message
BB6D932A42D6D211B4AC0090274EBB1D2EF03B@GLOBAL1">news:BB6D932A42D6D211B4AC0090274EBB1D2EF03B@GLOBAL1...
> I'm looking for a way to have a url for a link &
I think it's impossible to read/understand my own scripts if i don't do it.
Do:
";
for ($ii = '1'; $ii <= '32' $ii++) {
echo $ii." ";
}
}
echo "All done!";
?>
instead of:
";
for ($ii = '1'; $ii <
Codewhiz is great.
Remember to download php-language-files if you want syntax-highlighted-code
(or something!)
Best Regards
Fredrik A. Takle
"Kyle Smith" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Does it really exist? If so coul
Like this?
Best Regards
Fredrik A. Takle
Bergen, Norway
"Kaab Kaoutar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
> I looked in the php manual for how to download a
Can I send like custom headers?
header ("Resolution: 1024");
and echo it in the phpscript?
Can I do this or is it a silly question?
Best Regards
Fredrik A. Takle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Don't like it 'cause it is client-side, but it works fine!
...Fredrik:)
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Well, Yes...
> you have to stick to JavaScript + JavaScript and not JavaScript + PHP!
>
This fixed it, but I don't like it! If you have any other suggestions, feel
free to email me.
if (screen.width >= 1024) {
var resolution = ("1024")
} else {
var resolution = ("800")
}
Best Regards
Fredrik A. Takle
"Fredrik A
--
PHP General
Why doesn't this work? Any ideas?!
$resolution = "document.write(screen.width)";
if ($resolution >= '1024') {
$resolution = "1024";
} else {
$resolution = "800";
}
echo $resolution;
It always output 1024
Best regards
Fredrik A.
added the wrong script... arghh...
""Fredrik Arild Takle"" <[EMAIL PROTECTED]> wrote in message
9gvl19$er6$[EMAIL PROTECTED]">news:9gvl19$er6$[EMAIL PROTECTED]...
> 1. Authenticate user
> 2. Put the pictures in a "secret" folder or outside h
Is this a joke?
http://www.perl.com/search/index.php
*hehe*
--
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]
1. Authenticate user
2. Put the pictures in a "secret" folder or outside http_root
3. Do this:
I hope this helps!
Fredrik A. Takle
[EMAIL PROTECTED]
www.iportal1.com
""Arash Dejkam"" <[EMAIL PROTECTED]> wrote in message
9gvk5g$8o0$[EMAIL PROTECTED]"&
Check: http://www.php.net/mktime
Fredrik:)
""David Lidström"" <[EMAIL PROTECTED]> wrote in message
9gs9a8$bdo$[EMAIL PROTECTED]">news:9gs9a8$bdo$[EMAIL PROTECTED]...
> Hi!
>
> If i have a number of seconds, i.e. 30667 - is there
> any easy way
the format of
the $OrderDate string will be '-MM-DD
HH:MM:SS'. I haven't tried, but this should work:
There's probably heaps of ways to do this, but this is (hopefully) one.
<http://www.php.net/manual/en/function.split.php>
--Fredrik
--
PHP General Mailing List
nybody know
why this is? I've heard that there were serious bugs / security issues
in wu-ftp 2.5.0. Is the function ftp_nlist() based on a bug in wu-ftp in
order to work with directories or is there something else causing this?
Could this be a bug in PHP?
--Fredrik
--
PHP General Mailing
I don't think MySql does not have support for transactions. Try using
another DB - like postgres.
Fredrik
On Wed, 9 May 2001, Hassan Arteaga wrote:
> Hi all !!!
>
> I'd like to implement this pseudocode
>
> 1-open connection with MySQL
> 2-beintransaction
> 3-
I hope I understood your question right.
You can do like this
html text
other html
> -Ursprungligt meddelande-
> Fran: Martin Thoma [mailto:[EMAIL PROTECTED]]
> Skickat: den 23 april 2001 14:41
> Till: [EMAIL PROTECTED]
> Amne: [PHP] if... then... else with HTML
>
>
> Hell
ohrnFri Mar 30 12:36:19 2001 EDT
Modified files:
/php4/ext/cpdf cpdf.c php_cpdf.h
Log:
Implemented cpdf_set_viewer_preferences (previously a stub).
Added new functions: cpdf_set_font_directories and cpdf_set_font_map_file.
Index: php4/ext/cpdf/cpd
ohrnTue Mar 20 12:48:43 2001 EDT
Modified files:
/php4/ext/standard rand.c
Log:
Fix erronous out of bounds error message in rand(min,max)
Index: php4/ext/standard/rand.c
diff -u php4/ext/standard/rand.c:1.25 php4/ext/standard/rand.c:1.26
--- php4/ext/st
Tue Mar 20 12:04:41 2001
@@ -16,7 +16,7 @@
| Fredrik Ohrn|
+--+
*/
-/* $Id: yp.c,v 1.18 2001/03/20 12:50:26 sas Exp $ */
+/* $Id: yp.c,v 1.19 2001/03/20 20:04:41
cept for Use-the-source-Luke?
Does the id returned from ts_allocate_id need to be deallocated again in
PHP_MSHUTDOWN_FUNCTION or is that done automatically?
Regards,
Fredrik
--
Do fish get thirsty?
Fredrik Öhrn Chalmers University of Technology
[EMAIL PROTECTED]
+++ php4/ext/yp/yp.cMon Mar 19 09:01:35 2001
@@ -16,7 +16,7 @@
| Fredrik Ohrn|
+--+
*/
-/* $Id: yp.c,v 1.16 2001/03/18 22:16:46 ohrn Exp $ */
+/* $Id: yp.c,v 1.17 2001
01
@@ -1,2 +1,2 @@
Yellow Pages
-Stephanie Wehner
+Stephanie Wehner, Fredrik Ohrn
Index: php4/ext/yp/php_yp.h
diff -u php4/ext/yp/php_yp.h:1.8 php4/ext/yp/php_yp.h:1.9
--- php4/ext/yp/php_yp.h:1.8Sun Feb 25 22:07:30 2001
+++ php4/ext/yp/php_yp.hSun Mar 18 14:16:46 2001
@@ -13
ohrnSun Mar 18 10:45:25 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/cpdf php_cpdf.h
Log:
Solved compile failure due to clash between IMAP and ClibPDF headers.
Index: php4/ext/cpdf/php_cpdf.h
diff -u php4/ext/cpdf/php_cpdf.h:1.6 php4/ext/cp
o the
> release branch (PHP_4_0_5).
>
> James
>
Yes, it's a compilation showstopper that has been around since the very
beginning. I'll add it to 4.0.5.
Regards,
Fredrik
--
Do fish get thirsty?
Fredrik Öhrn
ohrnSun Mar 18 10:32:58 2001 EDT
Modified files:
/php4/ext/cpdf php_cpdf.h
Log:
Solved compile failure due to clash bewteen IMAP and ClibPDF headers.
Index: php4/ext/cpdf/php_cpdf.h
diff -u php4/ext/cpdf/php_cpdf.h:1.6 php4/ext/cpdf/php_cpdf.h:1.7
-
I must recommend the book Mastering Regular Expressions from O'Reilly.
It is one of the best programming books I have ever read.
/Fredrik
>>>>>>>>>>>>>>>>>> Ursprungligt meddelande <<<<<<<<<<<&
Read this (http://www.phpbuilder.com/columns/rod2221.php3) article
over at phpbuilder which covers exactly that.
/Fredrik
>>>>>>>>>>>>>>>>>> Ursprungligt meddelande <<<<<<<<<<<<<<<<<&l
1 - 100 of 108 matches
Mail list logo