13 jan 2009 kl. 22.38 skrev Merlin Morgenstern:
Hi there,
I am still facing trouble with pdflib and php 5. After hours of
research I found that I do have to install the pecl package. So I
decided to compile it into php staticly like described here:
http://www.php-resource.de/handbuch/insta
If you just want to test for \n\r -
if ( substr ( -2, $my_string ) == "\n\r" ) { // substr with the
negative value of 2 will give you the last two characters of your string
// do some stuff
}
I think it would be a good idea to explain a little bit more what you
are trying to accompl
In the manual it says:
"You can use a URL as a filename with this function if the fopen
wrappers have been enabled...".
First of all, I would check your php.ini file. If everything is ok
(fopen wrappers are on), maybe you could post some code. The last
option would be to use an other way
And where does PHP come in here? The issue you describe could be
anything - CSS related, html related, server related, php / asp /
java you name it - maybe it is MS Explorer that sucks. Do some more
research first and then - if you still feel that this might be
related to PHP, you are welco
I believe that only two things could be messing up your validation:
a) input data
b) your function
a) Do a var_dump on your input data. Is there any white space
characters or anything else that do not belong there in the string?
b) Rewrite your function/rethink what you are doing. You said tha
23 jan 2007 kl. 18.55 skrev Dave Goodchild:
This may be more of a mysql issue, but I am using php for my app so
here
goes...
I have a fee field in the database, and when users post events they
can
specify entrance fee in £. In some, not all, of the fields I am
getting, for
example, £7 r
25 jan 2007 kl. 07.06 skrev [EMAIL PROTECTED]:
Richard Lynch wrote:
I dunno what you did wrong with fsockopen...
First of all, thanks for taking the time to respond.
I had tried fsockopen, but here's the problem. The
following calls work as expected, returning a valid file
pointer for valid
Hi Dave.
I don't think you are able to detect your users character encoding
with php only (at least not rock-solid). Just some days ago, there
was a discussion about that issue (at least concerning Safari) on the
Apple web dev mailing list.
Have a look at:
http://lists.apple.com/archives/
5 feb 2007 kl. 22.12 skrev H.T:
Do you know good regular expression editor or something simialar?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Regex online: www.regextester.com
//frank
--
PHP General Mailing List (http://www.php.net/)
7 feb 2007 kl. 09.50 skrev William Stokes:
If there's an opera expert around could you please check out the
following
link:
http://www.fcviikingit.com/new/testimenu.php
This script contacts a DB and prints out the results as javascript
to the
client browser. As I mentioned earlier It works
nt - these are
specified by the owner/user during
the lifetime of the site/application
for the rest I'll just say 'ditto' to most of what the other list
members replied :-)
O. W
Anyone?
//frank
8 feb 2007 kl. 11.24 skrev Frank Arensmeier:
Hello.
I would like to hook up on this issue a little bit more. I am
wondering if anybody is willing to share some good advices
regarding how to implement a good (normative) url structure so to
say when it comes to multi
Thank you Paul for your comments - very valuable!
//frank
9 feb 2007 kl. 10.08 skrev Paul Novitski:
8 feb 2007 kl. 11.24 skrev Frank Arensmeier:
I would like to hook up on this issue a little bit more. I am
wondering if anybody is willing to share some good advices
regarding how to
What would happen
if a page is available in English and e.g. american English or when a
certain domain is not available?
Right now I am playing with mod_rewrite. Looks promising.
//frank
9 feb 2007 kl. 13.23 skrev Robert Cummings:
On Fri, 2007-02-09 at 09:03 +0100, Frank Arensmeier wrote:
An
9 feb 2007 kl. 15.38 skrev Tim:
-Message d'origine-
De : Frank Arensmeier [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 9 février 2007 14:51
À : Robert Cummings
Cc : PHP List; Jochem Maas; Otto Wyss
Objet : Re: [PHP] Multi lingual pages
Thank you Robert.
Actually, I am not so
Spontaneously, my suggestion would to pipe the STDERR output from
your command to a file. I have to admit that this doesn't feel like
the most efficient solution since you would involve some reading /
writing to your filesystem.
Regards.
//frank
17 feb 2007 kl. 21.49 skrev Peter Lauri:
H
2 dec 2009 kl. 19.12 skrev Augusto Flavio:
Hi all,
i'm trying to connect to a SOAP Server but i'm having a problem. Look
the xml that i need send to the server:
// THIS IS THE XML CORRECT THAT NEED BE SENT TO THE SERVER
http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.or
Merry Christmas from Sweden!
/frank
Skickat från min iPhone.
25 dec 2009 kl. 15.16 skrev Shawn McKenzie :
Merry Christmas from Texas, USA!
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP
27 mar 2010 kl. 05.41 skrev Rob Gould:
Is there a free solution out there that will enable me to take a PHP-
generated postscript output file, and dynamically, on-the-fly
convert it to a PDF document and send to the user as a download when
the user clients on a link?
More description of wh
Have a look at the manual, especially the function "array_values()".
/frank
Skickat från min iPhone.
31 aug 2010 kl. 17:43 skrev Tontonq Tontonq :
> a quick question
> lets say i have an array like that
>
>
> Array
> (
> [300] => 300
> [301] => 301
> [302] => 302
> [303] => 303
> [304] => 304
2 sep 2012 kl. 14.40 skrev Matijn Woudt:
> On Sun, Sep 2, 2012 at 6:23 AM, John Taylor-Johnston
> wrote:
>> See:
>> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php
>> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps
>>
>> In $mystring, I need to extract everything
2 sep 2012 kl. 19.48 skrev John Taylor-Johnston:
> How can I clean this up?
>>> My approach would be to split the hole text into smaller chunks (with e.g.
>>> explode()) and extract the interesting parts with a regular expression.
>>> Maybe this will give you some ideas:
$chunks = explode("
17 sep 2012 kl. 10.50 skrev Camilo Sperberg:
> Hello list, I have a little question with PHP's internal working. I've
> managed to reduce the test to the following lines:
>
> $globalVariable = 'i am a global variable';
> function testFunction() {
> global $globalVariable;
> unset($gl
12 apr 2013 kl. 17.23 skrev Angela Barone:
> Does anyone know if there's a ready-made script that detects if someone
> hits multiple web pages within seconds of each other and then can temporarily
> ban them by IP from accessing our site?
>
> Looking through the logs, I see someone/
20 jul 2013 kl. 18:25 skrev Tedd Sperling :
> Hi gang:
>
> I've been using
>
>$str = strip_tags($str, $allowable)
>
> as it is described via the manuals:
>
> http://php.net/manual/en/function.strip-tags.php
>
> The problem I've found is the tags "" and "" are not stripped.
>
> How do you
";
print_r($matches);
echo "";
} else {
echo "Didn't find anything...";
}
?>
Untested.
/frank
14 feb 2011 kl. 15.05 skrev Tontonq Tontonq:
> example data:
>
>
> old price 829,00
> €your price 58,90 € *
>
>
> another :
> 9,90 € *
>
> i want to extract 829,.00 & 5
23 mar 2011 kl. 02.42 skrev Jim Giner:
> ok - here's the code in question.
> $q = 'select * from director_records ';
> $qrslt = mysql_query($q);
> $rows = mysql_num_rows($qrslt);
> for ($i=0; $i<$rows; $i++)
>{
>$j = $i+1;
>$row = mysql_fetch_array($qrslt);
>echo $j.'-'.$row['user
Hello List!
Currently I am using a pear package in one of my projects to parse and query
XML DTD files. The package is called XML_DTD 0.5.2 and includes the so called
XML_DTD_Parser. One of the purposes of this class is to parse a given DTD file
and return that file as a tree like object. With
8 jun 2011 kl. 09.09 skrev Christian Grobmeier:
> The object itself is always the same, for all threads. Every thread
> gets this "Appender" from a kind of a pool.
>
> My guess is, every thread gets some kind of a copy of this object,
> working at it. Once it reaches the method, its members state
7 sep 2011 kl. 16.21 skrev Ron Piggott:
>
> Hi Everyone
>
> I am trying to load an HTML book into mySQL. The book was distributed with
> each chapter being it’s own HTML file.
>
> The only way I know how to open a file is by specifying the file name. Such
> as:
>
> $myFile = "B01C001.htm";
20 dec 2011 kl. 16.15 skrev Floyd Resler:
> What is a good solution for get the size of a PDF page in pixels? I've tried
> a few different methods but haven't had much success.
>
> Thanks!
> Floyd
If you don't mind using a command line tool, Xpdf would be my first choice.
Look out for "pdfinf
29 dec 2011 kl. 22.22 skrev Eric Lommatsch:
> So far in looking at the functions that are available at
> http://www.php.net/manual/en/ref.datetime.php I have not been able to figure
> out how to do what I need to do. Below is a snippet showing approximately
> what I am trying to do.
On the same
15 jan 2012 kl. 06.18 skrev Adam Tong:
> Hi,
>
> I am trying to read variables from input method.
> I am using this tuorial:
> http://www.lornajane.net/posts/2008/Accessing-Incoming-PUT-Data-from-PHP.
> Here is my code:
> if($_SERVER['REQUEST_METHOD'] == 'GET') {
>echo "this is a get request
6 mar 2012 kl. 15.29 skrev Mike Mackintosh:
> On Mar 6, 2012, at 8:55, Lawrence Decker wrote:
>
>> I've been playing with PHP for about 6 years and I have no idea why this is
>> happening... I've been writing a script to auth to AD. When I run the
>> script on my dev box, nothing. I have wire
Hello everybody!
I was wondering if you could help me with a little problem I ran into
some days ago.
In my database I have some information about file paths. Originally,
those paths come from a Windows Excel spreadsheet and look like "..\1
PDF Filer\65051.PDF". In my PHP code I try to do two t
Thank you Stian!
In Swedish they say "Sometimes you can't see the forest by all the
trees."
/frank
2005-02-24 kl. 09.45 skrev Stian Berger:
On Thu, 24 Feb 2005 09:14:32 +0100, Frank Arensmeier
<[EMAIL PROTECTED]> wrote:
Hello everybody!
I was wondering if you could
Dave!
I would start by reading the PHP manual. Look for a function called
'imagecopyresized()'. This might help.
/frank
2005-02-28 kl. 16.34 skrev Bosky, Dave:
Does anyone have a nice function that will resize an uploaded image to
specific width/height dimensions?
I wanted to find something that
Bret
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
________
Frank Arensmeier
Marketing Support
NIKE HYDRAULICS AB
Box 1107
631 80 Eskilstuna
Sweden
tel +46 16 82 34
fax +46 16 13 93 16
ema
Hello!
Is there anyone who has some experience in connecting to a IBM AS/400
server with PHP? Any ideas where to start?
Regards,
Frank
Frank Arensmeier
Marketing Support
NIKE HYDRAULICS AB
Box 1107
631 80 Eskilstuna
Sweden
tel +46 16 82 34
fax +46
Richard, you are my man! Thank you for the hints you gave me. I will do
some digging in the list archives tonight.
Thank you.
/frank
2005-03-02 kl. 19.57 skrev Richard Lynch:
Frank Arensmeier wrote:
Is there anyone who has some experience in connecting to a IBM AS/400
server with PHP? Any ideas
Hello!
This must be one of the most frequently asked questions ever. Anyway,
take a look at the PHP manual. Look for a function called 'foreach'. To
put it simple, with 'foreach' you are able to go through the array
step-by-step, value by value.
For example:
$arr = array('value1', 'value2', 'v
Try:
/frank
2005-03-04 kl. 04.06 skrev tx:
i create the html form as below
and i receive the form data in php file as below:
global $aaa;
print_r($aaa);
this action only echo "4" not the total array in array format,why?
ot;select field2 from table 2 where field1 = (array of first query
iterated)"
can u help me doing this in php.
thanks,
karthik
________
Frank Arensmeier
Marketing Support
NIKE HYDRAULICS AB
Box 1107
631 80 Eskilstuna
Sweden
tel +46 16 82 34
fax
thumbnail image directly to a
tag in my html file? Is there a way to do this without storing the
thumbnail into a tmp file?
/frank
Frank Arensmeier
Marketing Support
NIKE HYDRAULICS AB
Box 1107
631 80 Eskilstuna
Sweden
tel +46 16 82 34
fax +46 16 13 93
Hello Daniel!
In the code it says:
echo rename($path_old, $path_new) ? "done\n" : "failed\n";
I assume that this line is supposed to actually rename the directory.
Why did you wrote "echo" before "rename"?
Try to change the code to:
if (!rename($path_old,$path_new)) {
echo "failed\n";
}
e
Hello!
I suggest you take a look at:
http://www.phpdig.net/
Regards,
Frank
2005-03-22 kl. 15.47 skrev Reinhart Viane:
I'm looking for a script which indexes the pages of a site (dynamic
pages)
in a dbase and makes it possible to search the site based on
keywords/sentences/etc.
Does anyone has any
pages.
The intention is to make a site where several users have one page each
which
they can edit on there own.
Do you think most of those engines can index pages like that? Or
should I
create an index every time a page is updated / made?
Greetings
-Oorspronkelijk bericht-
Van: Frank Arensmei
)
To unsubscribe, visit: http://www.php.net/unsub.php
____
Frank Arensmeier
Marketing Support
NIKE HYDRAULICS AB
Box 1107
631 80 Eskilstuna
Sweden
tel +46 16 82 34
fax +46 16 13 93 16
email: [EMAIL PROTECTED]
www.nikehydraulics.com
Instead of generating filenames with random numbers, why not take a
timestamp and use this as filenames?
/frank
2005-03-30 kl. 14.44 skrev William Stokes:
Hello,
I got a bit frustrated with image upload stuff with different image
name
problems. So I created a system that gives the uploaded image
You should describe more specific what is going wrong with your script.
What does the script output? Maybe you should post a vardump as well.
/frank
2005-04-05 kl. 11.07 skrev Jason:
Could someone tell me what I did wrong with this script. It should
read the page
http://www.mto.gov.on.ca/e
Although I am not able to give you any helping advice, I would like
to know if there are any PHP based XML "online" - editors out there
(that would allow me to edit XML files online so to say). One thing
that poped up in my mind was Tiny MCE. Sure, it could be possible to
customise Tiny MCE
16 aug 2007 kl. 13.12 skrev Colin Guthrie:
Frank Arensmeier wrote:
Although I am not able to give you any helping advice, I would
like to
know if there are any PHP based XML "online" - editors out there
(that
would allow me to edit XML files online so to say). One thing that
p
Maybe the Apache mailing list is a better place to ask.
http://httpd.apache.org/userslist.html
//frank
16 nov 2007 kl. 12.20 skrev Joerg Schoppet:
Hi,
no more tips for this problem?
Joerg Schoppet
Joerg Schoppet wrote:
Hi,
actually I try to make my webserver-installation more secure.
hi guys (& girls),
any Mac heads about? I have a MacBook Pro in front of me ... super
cool,
it even comes with apache & php installed as standard. nice.
only thing is php is not compiled with with all the extensions I
need, the
question is what is the *correct* way to update/recompile the
17 dec 2007 kl. 12.03 skrev Jochem Maas:
Frank Arensmeier schreef:
hi guys (& girls),
any Mac heads about? I have a MacBook Pro in front of me ...
super cool,
it even comes with apache & php installed as standard. nice.
only thing is php is not compiled with with all the exte
17 dec 2007 kl. 18.23 skrev David Powers:
Frank Arensmeier wrote:
When you install PHP5 with the package from entropy.ch, the new
PHP5 will install under /usr/local/php5.
The Mac package from entropy.ch is not compatible with Leopard (Mac
OS X 10.5). Marc Liyanage is working on a Leopard
20 dec 2007 kl. 00.55 skrev Jochem Maas:
hi guys,
well having tried for countless hours to build php on leopard I
pretty much gave up.
that's too bad...
apparently it's pretty much impossible unless your name is Marc
Liyanage (entropy.ch) ...
the problem lies with the fact that you nee
29 feb 2008 kl. 03.41 skrev David Sveningsson:
Nathan Rixham skrev:
before going any further, your HTML page is in UTF-8 yes? with the
appropriate content-type line.
Yes, apache uses only utf-8 as charset and the html content-type
meta tag is set to utf-8 too. Also, the html form validates
6 mar 2008 kl. 06.10 skrev Zareef Ahmed:
HI Chirs,
On 3/6/08, Chris <[EMAIL PROTECTED]> wrote:
Zareef Ahmed wrote:
Hi Chris,
Thanks for such quick response.
quite good suggestion, but my application is using a framework
and lots
of includes and even autoloads of classes are being done,
11 mar 2008 kl. 22.39 skrev Skip Evans:
Hey all,
I've been Googling trying to find a JavaScript list serve to post a
question to, but have been, embarrassingly, unable to find one.
Anyone on one they'd recommend or know of one?
Thanks
*sigh*
Evolt has a rather good list (not too much t
: http://www.php.net/unsub.php
Frank Arensmeier
Webmaster & IT Development
NIKE Hydraulics AB
Box 1107
631 80 Eskilstuna
Sweden
phone +46 - (0)16 16 82 34
fax +46 - (0)16 13 93 16
[E
Jon, I would suggest that you should have a look at the function
"array_multisort". See the manual for details on what this function
is capable of.
//frank
25 apr 2007 kl. 01.58 skrev Jon Bennett:
hi,
I have the following array, which I need to sort by quantity...
Array
(
[2408] => Arr
Hello.
I am currently working on a script that parses a given http adress by
looking for anchor tags, background images and so on - a crawler if
you like. The downloaded content is temporarily stored on the server
(Mac OS X Server 10.4.9 with PHP 5) and, when the script is done, the
conte
// sorry for posting my answer off list... //
4 maj 2007 kl. 17.35 skrev Emmanuel Raulo-Kumagai:
Frank Arensmeier a écrit :
Hello.
I am currently working on a script that parses a given http adress
by looking for anchor tags, background images and so on - a
crawler if you like. The
4 maj 2007 kl. 21.58 skrev Richard Lynch:
On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote:
I am currently working on a script that parses a given http adress by
looking for anchor tags, background images and so on - a crawler if
you like. The downloaded content is temporarily stored on the
4 maj 2007 kl. 23.48 skrev Richard Lynch:
On Fri, May 4, 2007 3:42 pm, Frank Arensmeier wrote:
I still think that the best way to go is to not involve Apache at all
when running the script. Because the script already has functions for
output logging etc. it is no big deal to change the code so
Sorry, your question has nothing to do with PHP. Maybe try a CSS list?
http://www.google.com/search?rls=sv-se&q=css+discussion
+list&ie=UTF-8&oe=UTF-8
http://www.google.com/search?rls=sv-se&q=why+ie+sucks&ie=UTF-8&oe=UTF-8
http://whyiesucks.blogspot.com/
//frank
9 maj 2007 kl. 15.13 skrev Far
I think the key to your problem is to configure Postfix on Mac OS X
properly. My best suggestion would be "Postfix Enabler" (look at e.g.
versiontracker.com for the current version). Postfix Enabler makes it
very easy to setup Postfix for exemple to use SMTP for the outgoing
mails.
Anothe
Hi.
I have been struggling with a little problem for quite some time now,
without finding a good solution.
On one of my pages, users are able to download files that contain
none US ASCII characters in their filenames (e.g. character ö,ä,å).
And I would like to set the original filename in
Sorry, my misstake. It turned out that the filename (stored in MySQL)
was UTF8 encoded. Setting the content header filename value
"manually" to something including umlaut characters was no problem.
Lazy me...
Nice weekend.
//frank
9 jun 2007 kl. 21.51 skrev Frank Arensmeier:
H
9 jun 2007 kl. 22.05 skrev Robert Cummings:
On Sat, 2007-06-09 at 21:59 +0200, Frank Arensmeier wrote:
Sorry, my misstake. It turned out that the filename (stored in MySQL)
was UTF8 encoded. Setting the content header filename value
"manually" to something including umlaut charact
If you are not able to get anything into your DB (and your connection
is ok), then two things might be wrong: your input or the query
string itself.
Echo out the query string and try to use the query
"manually" (directly with a MySQL client). If the query string is ok,
you might check you
Thats nice! Could "correct" mine also? ;-)
//frank
11 jun 2007 kl. 11.01 skrev [EMAIL PROTECTED]:
I have corrected your document.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsub
Mike. I would start by confirming that the pdf library has been
enabled/loaded successfully. Call phpinfo() and look for the pdf
library. It should be there. Since I am on Mac OS X, I am not sure
what php_cpdf.dll/php_pdf.dll really is (pdflib? - why two
libraries?). Anyway, the error you g
Hello.
Since my ISP does not provide the tidy module for Apache, I tested
writing a wrapper script for a locally installed tidy binary. In
general, the script is triggered by a modification to the .htaccess
file like so:
AddHandler server-parsed .php
Action server-parsed /tidy_wrapper.php
HP, I'm not sure what
you mean, but I don't see this making the PHP code any less secure
than it was before you wrapped Tidy around it...
On Fri, August 4, 2006 6:21 am, Frank Arensmeier wrote:
Hello.
Since my ISP does not provide the tidy module for Apache, I tested
writing a wrapper sc
http://dev.mysql.com/doc/refman/5.0/en/join.html
you could use something like this:
SELECT DISTINCT thumbnails.gallery, thumbnails.id,
thumbnails.binary_data FROM thumbnails
you can insert everything you want from your table after the DISTINCT
by writing:
table.colName
/frank
27 aug 200
You seem to use FPDF. Although I never tried working with FPDF, you
might take a look at http://fpdi.setasign.de/ which is a class that
extends FPDF.
If you are looking for a library with support for all PDF features,
maybe PDFlib (http://www.pdflib.com) is the one for you (sure, PDFlib/
P
Tedd,
this issue has been discussed recently on the PDFlib mailing list.
Search for the topic "search & replace on PDF". Archive is here:
http://groups.yahoo.com/group/pdflib/
regards,
/frank
1 sep 2006 kl. 16.33 skrev tedd:
You seem to use FPDF. Although I never tried working with FPDF,
I would...
a) read the PDFlib manual
b) search the PDFlib list archives for information (this has been
discussed previously, I am rather sure)
c) post your question to the PDFlib list
/frank
7 sep 2006 kl. 21.16 skrev Ronald Cole:
Hi,
I'm trying to use pdflib to generate Arabic.
I think that these kind of questions are very annoying - it is almost
rude to post this to a list.
Why don't you
a) show that you have done some thinking
b) have at least scanned the manual
c) have asked Google.
/frank
8 sep 2006 kl. 07.12 skrev Manoj Singh:
Hello all,
I am developing a s
And what exactly did you expect? Have you checked a calendar? The
31st of december 2001, 2002 and 2003 are Monday, Tuesday and
Wednesday respectively. In other words. those days are more or less
in the middle of the week 01. So, I would say that your results are
absolutely right.
/frank
1
Hi there.
Look at the man page for "mount_smbfs" - especially the -M option
which ia able to set permissions on the mounted SMB volume. If that
doesn't help, when you said you tried to make a shortcut to the file
- did you do this in the Finder? Try it with a symbolic link in stead
(man l
Sorry for the typos btw...
It's late.
/frank
13 sep 2006 kl. 21.20 skrev Frank Arensmeier:
Hi there.
Look at the man page for "mount_smbfs" - especially the -M option
which ia able to set permissions on the mounted SMB volume. If that
doesn't help, when you said
Hello all.
Is it possible to have a user defined function for the replacement
within an ereg_replace (like preg_replace_callback)? I am working on
a script that converts html pages with metric data into imperial
data. My script takes text strings containing one or more instances
of e.g. "
Thank you Ilaria and Roman for your input. I did not know that preg
is able to deal with PCRE patterns. As a matter of fact I came up
with the following solution (if someone is interested):
the function takes a text and an array with converters like:
$converters[] = array ( "metric" => "mm",
10 okt 2006 kl. 19.25 skrev Roman Neuhauser:
# [EMAIL PROTECTED] / 2006-10-09 22:01:34 +0200:
Thank you Ilaria and Roman for your input. I did not know that preg
is able to deal with PCRE patterns.
"preg" is obviously short for "Perl REGular expressions", while
PCRE positively means
Thanks again for your suggestions.
Actually, - believe it or not - I have never written a class (I am
still learning PHP after three years working with that language). So
I am not quite sure of the benefits of your class. One thing I do
realise is the benefit of replacing the foreach loop w
It would be helpful for us if you could provide some detailed
information about those jpeg pictures (resolution, color depth/
channel, color space etc.). Furthermore, do you get any error
message? This would be helpful as well.
/frank
13 okt 2006 kl. 03.24 skrev Ed Lazor:
Until someone ha
Kevin, there is no need to post the same question three times to this
list. Your chances on getting helpful responses won't increase.
The issue you describe is more related to Apache (assuming that you
are on an Apache server) and URL rewriting than to PHP. Ask Google
for "Apache mod_rewrit
Bad day?
/frank
1 nov 2006 kl. 09.55 skrev Mel:
Could you think of why my site loads so slowly?
http://www.squareinch.net/home.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Maybe it's the 18 k of JavaScript from Google that slows your page
down? Why not load this script locally from your server?
/frank
1 nov 2006 kl. 10.26 skrev Mel:
So do you mean that's it is ok and not slow?
On Nov 1, 2006, at 1:09 AM, Robert Cummings wrote:
On Wed, 2006-11-01 at 00:55 -0
My suggestion: stripp out the JS from Google. Test you page again.
Should the page load as slowly as before, it might have to do with
PHP. Then, give us more details about your script)
/frank
1 nov 2006 kl. 10.53 skrev Robert Cummings:
On Wed, 2006-11-01 at 01:26 -0800, Mel wrote:
So do y
Please send a CC of your answer to the PHP list as well...
/frank
Vidarebefordrat brev:
Från: "Toby Osbourn" <[EMAIL PROTECTED]>
Datum: onsdag 1 nov 2006 10.57.17 GMT+01:00
Till: "Frank Arensmeier" <[EMAIL PROTECTED]>
Ämne: Re: [PHP] why so slow?
Yeah it will
ave seen this happen with any other site!
On Nov 1, 2006, at 2:12 AM, Frank Arensmeier wrote:
My suggestion: stripp out the JS from Google. Test you page again.
Should the page load as slowly as before, it might have to do with
PHP. Then, give us more details about your script)
/frank
1
In fact, validator.w3.org validates the hmtl page at http://
www.squareinch.net/client_testing_html401.php as valid 4.01 html. So
obviously, html comments are allowed before the doctype declaration.
Anyway, the page contains almost one hundred (haven't count them)
totally unnecessary empty a
There are search engins written in PHP available already. E.g. PHPdig.
http://www.phpdig.net/
PHPdig for example is able to index PDF and doc files (I think - see
the docs). Maybe it would also be a good idea to have a look at the
source code.
/frank
/frank
10 nov 2006 kl. 14.50 skrev Tho
FYI - the problem with mysql.sock has been an support issue at
apple.com before.
http://docs.info.apple.com/article.html?artnum=301457
/frank
15 nov 2006 kl. 11.03 skrev Roman Neuhauser:
# [EMAIL PROTECTED] / 2006-11-14 18:56:01 -0500:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2006-11-
Hello all.
I am looking for some ideas on how to design / structure a script
which checks for updates on files on a existing CD ROM.
Every week, I generate content for a CD ROM containing a large number
of html pages and PDF files (the CD is distributed to 20 - 30 dealers
for ours) . The
I think the OP was about how to send e-mail attachments - not a
question about send a file to the client browser...
1) Read the manual about the function "mail" (especially the user notes)
http://se2.php.net/manual/en/ref.mail.php
2) Google for e.g. "php mail attachment"
Come back to this list
1 - 100 of 128 matches
Mail list logo