And mysql is probably the fastest way. BUT use microtime and clock your
scripts to find out witch one is faster.
-Original Message-
From: Paul Goepfert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 07, 2006 10:45 AM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP
Hi,
When I go thru this documentation the parsing seem to be very complex. With
Java this was not the case.
Assume I have XML like this:
$xml = 'greetingfromPeter/fromtoThe group/to/greeting';
I would like to get the value of 'from' and 'to'.
My dream function would be:
I am getting killed by the strong Thai woman that is giving me
massage here in Bangkok.
Tnx
-Original Message-
From: Kim Christensen[EMAIL PROTECTED]
Sent: 9/02/06 6:13:48 PM
To: Peter Lauri[EMAIL PROTECTED]
Cc: PHP General Usersphp-general@lists.php.net
Subject: Re
use a value of 'length' that with margin is larger then the
size I will receive. Is it possible to get the size of what is ready to be
read from the socket?
Best regards,
Peter Lauri
Ok, any standard value for the size to read per time? Will the total time be
faster if a larger maximum size is choosed?
-Original Message-
From: Oli Howson [mailto:[EMAIL PROTECTED]
Sent: Friday, February 10, 2006 12:10 AM
To: php-general@lists.php.net
Subject: Re: [PHP] socket_read
Best group member,
I am sending HTML email with PHP. I use the example code in the manual to
try, and the email is sent. However, it is not decoded correctly in my
Outlook. I checked thru webmail clients, and then it work. I thought it was
my Outlook that was not correct, but I am receiving HTML
with a simple html-example that
works fine with Outlook?
Best regards,
Peter Lauri
-Original Message-
From: Weber Sites LTD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 4:27 PM
To: 'Peter Lauri'; php-general@lists.php.net
Subject: RE: [PHP] Complications when sending HTML email
Did
What is the code that generates this?
-Original Message-
From: Dan Parry[EMAIL PROTECTED]
Sent: 16/02/06 4:50:51 PM
To: php-general@lists.php.netphp-general@lists.php.net
Subject: [PHP] Session problems
Hi all
I've been getting an error while
Hi,
I am about to create a feature that will help the visitor in his/her
navigation of the page. I want to store the visitors last 10 pages that was
visited so that this person easily can go back to a page he was at before,
without using the BACK button. I see two solutions to this, but I am
Just do:
$arg['textarea']['body']=Hello;
foreach($arg['textarea'] as $row) {
echo $row.br/;
echo $arg['textarea']['body'].br/;
}
The $row is an string, and what you are trying to do the $row['body']. And
php will translate 'body' to 0 in this, I do not know why :)
Try
echo
of this great language.
Best regards,
Peter Lauri
Managing Director
DWS Asia
Mobile: +66 (0) 4 703 4033
Office: +66 (0) 2 974 3384
Fax: +66 (0) 2 974 2038
[EMAIL PROTECTED]
www.dwsasia.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Best groupmember,
I am implementing a script to upload a file to my webserver. I am using this
form that I copied from a working application:
echo 'form action=imageadmin.php method=POST
enctype=multipart/form-data';
echo 'input type=file name=Filebrinput type=submit name=submit
value=Upload
[tmp_name] = /tmp/phpugQpuz
[error] = 0
[size] = 1054
)
)
- BEST OF TIMES
/Peter
Burhan Khalid [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]...
On Tue, 2004-11-16 at 14:58 +0100, Peter Lauri wrote:
Best groupmember,
I am implementing
a big array to do this.
How do I loop thru the array without the overhead of each()?
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey :)
But what if the array have a unordered keystructure? What your loop do is
to call the value with key $i, or am I wrong? What if the keys are strings?
- Best Of Times
/Peter Lauri
Dirk Kredler [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
hey :)
i use for this reason
Probably, thank you :)
Pluance [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
You mean this?
foreach ($arr as $key = $value) {
echo \$arr[${key}] = $value;
}
On Wed, 17 Nov 2004 14:05:23 +0100, Peter Lauri [EMAIL PROTECTED] wrote:
Hey :)
But what if the array have
Check the function error_reporting() or check the settings in the php.ini
- Best Of Times
/Peter
Rayan Lahoud [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Hy, i am opening php files from my browser. If there are some errors in
the php file i can not see what are the errors in
Best groupmember,
I have an multidim array that looks something like this:
[40] = [1]=32, [2]=55, [total]=87
[22] = [8]=2, [7]=105, [total]=107
[142] = [2]=3, [7]=8, [total]=11
I want to sort this array according to the total and still keep the acc.
with the basekey. I know I can easily do this
Best groupmember,
I have an multidim array that looks something like this:
[40] = [1]=32, [2]=55, [total]=87
[22] = [8]=2, [7]=105, [total]=107
[142] = [2]=3, [7]=8, [total]=11
I want to sort this array according to the total and still keep the acc.
with the basekey. I know I can easily do this
I have tried to figure it out how to use it with those, but I can not find a
solution.
- Best Of Times
/Peter
Sebastian Mendel [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Peter Lauri wrote:
Best groupmember,
I have an multidim array that looks something like
I have tried to figure it out how to use it with those, but I can not find a
solution.
- Best Of Times
/Peter
Sebastian Mendel [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Peter Lauri wrote:
Best groupmember,
I have an multidim array that looks something like
Best groupmember,
I have an webapplication that uses different languages and therefor I have
set up different directorys for each language. All languages use the same
classes.
The problem I have is when I want to require() the classfile I can not
require a file that is not in the same directory
);
But that doesn't work.
Help :)
Pluance [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
What error happen?
On Thu, 18 Nov 2004 09:15:22 +0100, Peter Lauri [EMAIL PROTECTED] wrote:
Best groupmember,
I have an webapplication that uses different languages and therefor I
have
Best groupmember,
What editor do you use when working with websites (php) connected directly
to the FTP?
I like Eclipse 3.0 with the PHP plugin, but it do not have the future to
connect to the FTP.
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
variable with some hacker
techniqe?
I assume it is easy to listen to the USERNAME and PASSWORD in the POST-form.
Someone with some tips and tricks to get a secure system without using
HTTPS?
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
news:[EMAIL PROTECTED]
On Thursday 18 November 2004 16:32, Peter Lauri wrote:
I get the Failed to open stream, no such file in directory
If you were in one of these folders:
/fr/
/eng/
And your classfile was namned classes.php and in the directory:
/classes/
And you wanted to include
If you use the Autority HTTP that pops up a login window by default, is that
safe against listeners?
/Peter
Sebastian Mendel [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Peter Lauri wrote:
Best groupmember,
I am about to develop an simple admintool for a webpage. My
The problem was more complex than I described, I instead wrote a sorting
algorithm for this specific purpose.
The array multi-dim array looks like this (short version). The total element
is just the sum of the other. This is a point system for golftournaments. I
wanted to sort them first on total
to include every file
as a .php class in every php that I want to use the class?
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Was
hoping that it would be some sort of library system that could be used for
classes. Package?
/Peter
John Holmes [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Peter Lauri wrote:
For the moment I have all my classes saved in a file called classes.php
in a
subdirectory /classes
Best groupmember,
How do I find the execution time for a php-script on a webserver? ms?
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Best groupmember,
I have the date 2004-12-24 in a string, and 2004-11-05 in a other. Is there
any date function that can assist in calculating the number of days left
until 2004-12-24 when it is 2004-11-05. (the dates are just testdates)
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing
Best groupmember,
I have the date 2004-12-24 in a string, and 2004-11-05 in a other. Is there
any date function that can assist in calculating the number of days left
until 2004-12-24 when it is 2004-11-05. (the dates are just testdates)
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing
Sessions will make you life easier if you are using cookies to control a web
session. http://th.php.net/manual/en/ref.session.php will give you most
information regarding this, together with some examples. Play around with
simple own examples and you will learn to work with sessions relativly
Use ?php ? if you are implementing php. I think that you can predefine
what scriptlanguage to use, and therefore ? ? can be used.
/Peter
Suneel [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Hi to all
any one Could tell me any diffrence between ?php ? and ? ?.
And
Do phpinfo() for that, you will find that information there.
/Peter
Phpu [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Hi,
If i have a php and mysql website...how many connections support mysql at
one time ?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To
Solution to the problem:
instead of trying to write it to /image/filename I write it to
../image/filename, that solves my problem :)
/Peter
Peter Lauri [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Thank you. Now I am getting somewhere, but I get this error-msg now, I do
Do not use frames :) It creates problems for the searchengines.
/Peter
Ryan A [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Hi,
Reading the different articles on phpbuilder/devshed/phpfreaks etc has
left
me a bit confused..
will start from the beginning so you guys(and girls)
Security?
Have you called session_start(); ???
/Peter
Steve [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Steve wrote:
I'm having a problem with session variables.
Never mind. Seems that the hosting company decided this week to switch
from
register_globals off to
I had a similar problem before. I had my admin at admin.mydomain.com, and
the cookies did not transfer. I changed it to www.mydomain.com/admin
instead...
In my host my subdomain admin.mydomain.com is located in
www.mydomain.com/admin, I assume similar structure for you?
/Peter
Nick Wilson
: news.opennewsserver.com
I know that this is not supposed to be posted in this group, not relevant to
the subject, sorry about that. But I have tried to find a solution for two
weeks now.
--
- Best Of Times
/Peter Lauri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I have looked there, did not find what I wanted :) Know of any open MySQL
newsgroup?
Java newsgroup?
/Peter
David Robley [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
On Wed, 8 Dec 2004 16:31, Peter Lauri wrote:
Best groupmember,
I just moved to Bangkok and have a huge
by
making the Query correct.
/Peter
Peter Lauri [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Best groupmember,
I have an multidim array that looks something like this:
[40] = [1]=32, [2]=55, [total]=87
[22] = [8]=2, [7]=105, [total]=107
[142] = [2]=3, [7]=8, [total]=11
I
Best groupmember,
Why should I choose PHP instead of JSP/Servlets when it comes to develop a
high-traffic site. Assume that the infrastructure for both are set up. It
only comes to efficiency (both coding and running)? What are your
experience?
--
- Best Of Times
/Peter Lauri
--
PHP General
It would be nice if you submit code that generates the error.
/Peter
Mike Francis [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Hi,
I have Apache 2, PHP 5 and MySQL 4.1 installed on an XP pro box.
I have created a new database 'ijdb' with a single table 'joke' and have
entered
$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
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 Garfield
. 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 - become Carbon Free
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. Ullman'; php-general@lists.php.net
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: Wednesday, January
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
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 regards,
Peter Lauri
http
[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
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 regards,
Peter Lauri
);
}
}
?
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: Mike Shanley [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 17, 2007 5:06 AM
To: php-general@lists.php.net
Subject: [PHP
, 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-
From
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 - personal web site
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
.
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: php
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]
Sent
This was not clear for me, do you mean:
a peter = a id=peter
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
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
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 - become Carbon Free
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
, 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 Mailing
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 - personal web
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 without PHP being involved...
[Peter Lauri - DWS Asia]
It is a much more complicated logic, so therefore I am not using a shell
script. I
.
[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 Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
To: PHP
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 - DWS Asia]
This to replace all non-digit characters
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/)
[]
value=7 type=checkboxtest message
/td/tr
/table
input type=hidden name=doit value=yes
input type=submit name=submit
/form
[Peter Lauri - DWS Asia]
Check www.php.net/implode
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
?
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
-name 515515515*.ext, $files);
Then the $files will be an array with the found files matching the search.
Best regards,
Peter Lauri
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
To: php
);
/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 this is actually working. I'm on a Mac OS X, which
is
linux
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
Ave,
This Works
.
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
));
header('Content-disposition: attachment; filename='. basename($file)
.'');
readfile($full);
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[Peter Lauri - DWS Asia]
You are echoing stuff before sending the file
); //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 site
, 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.php.net/unsub.php
[Peter Lauri - DWS Asia]
You might be able to do
it says authenticated = yes, and you're authenticated...
Tijnema
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[Peter Lauri - DWS Asia]
If cookies were that unsecured so you could create your own cookies that
easily, then would cookies
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 right? :)
Best regards,
Peter Lauri
www.dwsasia.com
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: Tuesday, April
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:[EMAIL PROTECTED
201 - 298 of 298 matches
Mail list logo