of opening a file
on a new OS, only to find that the default editor there has wiped out my
formatting. With PHP, that's not a big deal: as long as I put my braces
in the right places, everything will continue to work. With Python -- or
any whitespace delimited language -- it's fatal, and I have to hope I can
exit without saving anything.
Andy
was supposed to,
so we fixed it" kind of way. If you were taking advantage of that bug, you
get knocked down, but the vast majority of software will keep running.
Java doesn't seem to work that way, at least from an IT worker's
perspective.
Andy McKenzie
On Tue, Aug 20, 2013 at
thing much more complex then that there's going to be some value in
using foreign keys, whether formally (constraints set in the DB) or
informally (constraints imposed in the web interface), but it's quite
possible the guy had never worked on something where they were needed.
-Andy
.
On Thu
... I'm unemployed right
now, and a project to work on this week (or next... this week is kind of
busy) might be a good thing.
-Andy McKenzie
On Mon, Apr 1, 2013 at 6:49 PM, Mark wrote:
> On Tue, Apr 2, 2013 at 12:27 AM, Sorin Badea
> wrote:
> > Hi Mark,
> > I think a sim
On Thu, Feb 14, 2013 at 2:52 PM, Daniel Brown wrote:
> Remember to hit reply-all, Andy, so it goes to the list as well as
> the previous author.
>
> On Thu, Feb 14, 2013 at 2:49 PM, Andy McKenzie wrote:
>> On Thu, Feb 14, 2013 at 2:29 PM, Daniel Brown wrote:
>>> O
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
This is a good point, and one I hadn't thought of. I saw "Network
time out" and thought network problems, but Geoff is right. If it's
actually a 404
On Sat, Feb 9, 2013 at 10:41 AM, Jim Giner wrote:
> This is a tough one.
>
> Lately, my web pages are giving me some problems. Once a day or so one or
> more of my pages/scripts will give me a 404 error page saying my web page
> has timed out. Problem is that the page was just displayed. I clic
, and I've now
scrapped the entire project and rebuilt it. Why? Because I did just
about everything wrong. It just plain wasn't practical to try to fix
it. I'd never learned the basics, I just threw myself at a big
project to see what would happen.
Good luck!
-Andy McKenzie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y exist, then taper off for a while, then come
back. I'd bet when the next major version of PHP is released we'll
see an upswing in traffic for a while as people try to figure it out.
-Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm currently seeing this in 5.3.10, although it's an intermittent
problem I've seen earlier versions too. Occasionally I get a "maximum
execution time" error when calling fclose() on a parallel port file
descriptor. Code looks like this:
$fp = fopen('/dev/lp0','w');
if ($fp){
fwrite($fp,$LongS
Put simply, I like to learn the basics from books
rather than web pages.
-Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;t quite supplanted it as a
concept book, but is my go-to for "here's a way to solve this
particular problem using a new version of PHP" book.
-Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Jun 24, 2011 at 1:30 PM, wrote:
> Chrome. Enough said. Now, if we can only convince the rest of the world ...
>
Ugh. I can't stand Chrome. Of course, I gave up on Firefox years ago
and went back to Opera, so it doesn't bother me when Firefox does
something weird lik
On Thu, Apr 7, 2011 at 12:15 AM, Kirk Bailey wrote:
> If I only had 1 book on php, what would it be?
>
> --
> end
>
> Very Truly yours,
> - Kirk Bailey,
> Largo Florida
>
My most common reference is, as other people have said, www.php.net.
But when I reach for a
this case. (If you're
confused by the numbers I used, check here:
http://www.yolinux.com/TUTORIALS/LinuxTutorialManagingGroups.html)
I hope that helps!
-Andy
On Mon, Mar 21, 2011 at 1:58 PM, Al wrote:
> I understand dir perms pretty well; but, have a question I can't readi
> Now: I did a little more looking around this morning, and it looks
> like I may well run into problems here given that I'm moving from a
> 32-bit architecture to a 64-bit architecture. Bitwise math is still
> fairly obscure to me, so it's likely that I'm overlooking something
> obvious, but may
On Tue, Mar 15, 2011 at 8:07 AM, Andy McKenzie wrote:
> On Mon, Mar 14, 2011 at 11:39 PM, Adam Richardson
> wrote:
>>>
>>> This one's got me stumped. I
>>> have the following line in a script:
>>>
>>> $this->bc = ($this->network
On Mon, Mar 14, 2011 at 11:39 PM, Adam Richardson wrote:
>>
>> This one's got me stumped. I
>> have the following line in a script:
>>
>> $this->bc = ($this->network | (~$this->netmask)) & 4294967295;
>>
>> $this->network and $this->netmask should both be of type long, and I
>> should wind up wit
Greetings,
I'm moving some scripts from an older server (SuSE who-knows-what,
running PHP 5.2.5) to a newer one (Ubuntu 10.10, running PHP 5.3.2).
For the most part there haven't been any problems, or they've been
things that I was able to fix easily. This one's got me stumped. I
have the fol
On Tue, Feb 22, 2011 at 6:29 AM, Dotan Cohen wrote:
> I wrote a short page on how to actually type of code that one writes,
> it can be found here:
> http://dotancohen.com/howto/write_code.html
>
> The point that I stress on the page is that first you close an
> element, then you fill it's content
On Wed, Jan 26, 2011 at 8:51 AM, Lester Caine wrote:
> Andy McKenzie wrote:
>>
>> So: does anyone have a recommendation for an IDE that works in
>> Windows, Mac, and Linux? I spend roughly equal time in all three, and
>> I haven't found a tool I like yet that w
Hey folks,
Hopefully this is enough on-topic not to annoy anyone. Up until
now I've mostly written small one-off scripts -- a web page that needs
a few things dynamically generated, a shell script to do a small job,
things like that -- and vim has been more than adequate. I'm
currently worki
On Fri, Jan 7, 2011 at 11:55 AM, la...@garfieldtech.com
wrote:
> Hi folks. I have a project coming up that will involve writing a
> non-trivial command line PHP application. Most of it will be nice and
> abstracted and standalone and all of that jazz, but it will need to do
> command line intera
On Fri, Oct 22, 2010 at 9:22 AM, Jay Blanchard wrote:
> [snip]
> really makes me question remaining a member...it's been a close thing a
> few times in the last week.
> [/snip]
>
> $door = new door("large", "heavy", "swift");
> $door->open();
> $door->hitArse();
> $door->close();
>
> C'mon, the ru
favoring the value of the knowledge here, but it's
been a close thing a few times in the last week.
-Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Oct 6, 2010 at 9:25 AM, Peter Lind wrote:
> On 6 October 2010 15:21, Andy McKenzie wrote:
>> On Wed, Oct 6, 2010 at 9:03 AM, Robert Cummings wrote:
>>> On 10-10-06 08:52 AM, Peter Lind wrote:
>>>>
>>>> Where exactly do you get the part about dou
On Wed, Oct 6, 2010 at 9:03 AM, Robert Cummings wrote:
> On 10-10-06 08:52 AM, Peter Lind wrote:
>>
>> Where exactly do you get the part about double quotes from? Can't seem
>> to locate it in the any of the relevant specs (xhtml or xml). Also,
>> never seen an xml or xhtml validator choke on sing
[$i][$val['column']]) &&
(!isset($search_result[0][$col])))
Now the elseif only triggers if there is a default, but there is no
value in the DB for that field.
Hope my failure to think saves someone else some trouble later!
-Alex
On Fri, Sep 24, 2010 at 1:56 PM, chris h w
Hey folks,
Here's the deal. I have the following code:
if($col_vals[$i][$val['column']] == $search_result[0][$col])
{ echo ' selected="selected"'; }
elseif($val['default'] == $col_vals[$i][$val['column']])
{ echo ' selected="selected"'; }
It's supposed to check whether t
On Tue, Sep 21, 2010 at 3:32 AM, Simcha Younger
wrote:
> On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote:
>
>
>> Hey folks,
>>
>> Here's the problem. I'm writing a lot of pages, and I hate going in
>> and out of PHP. At the same time, I want my
Here's a related question maybe one of you can answer: is there any
place in HTML (not PHP, but actually in HTML) where there's a
difference between a single quote and a double quote? As nearly as I
can tell, it shouldn't ever matter. If that's the case, using
double-quotes to enclose an echo ge
On Mon, Sep 20, 2010 at 3:59 PM, Peter Lind wrote:
> On 20 September 2010 21:56, Andy McKenzie wrote:
>> On Mon, Sep 20, 2010 at 3:50 PM, Rick Pasotto wrote:
>>> On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote:
>>>>
>>>> On Sep 20, 2010, at 2:5
On Mon, Sep 20, 2010 at 3:50 PM, Rick Pasotto wrote:
> On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote:
>>
>> On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote:
>>
>> > Hey folks,
>> >
>> > I have the feeling this is a stupid question, but
On Mon, Sep 20, 2010 at 3:47 PM, Steve Staples wrote:
> On Mon, 2010-09-20 at 14:56 -0400, Andy McKenzie wrote:
>> Hey folks,
>>
>> I have the feeling this is a stupid question, but I can't even find
>> anything about it. Maybe I'm just not searching for
Hey folks,
I have the feeling this is a stupid question, but I can't even find
anything about it. Maybe I'm just not searching for the right things.
Here's the problem. I'm writing a lot of pages, and I hate going in
and out of PHP. At the same time, I want my HTML to be legible. When
you
On Mon, Sep 13, 2010 at 8:11 PM, Micky Hulse wrote:
> On Mon, Sep 13, 2010 at 5:05 PM, Daniel Brown wrote:
>> It would be cheaper to employ the same method used on some
>> lawnmowers and required on Jet Skis and Skidoos: a cable with a clip
>> worn by the rider. The rider falls off, the cable
On Sun, Sep 12, 2010 at 1:51 PM, tedd wrote:
> At 1:18 PM -0400 9/12/10, Andy McKenzie wrote:
>>
>> >
>>>
>>> A question, to clarify my fuzzy thinking about such things:
>>>
>>> Can a business have a server connected to the Internet but
>
> A question, to clarify my fuzzy thinking about such things:
>
> Can a business have a server connected to the Internet but limit access to
> just their employees? I don't mean a password protected scheme, but rather
> the server being totally closed to the outside world other than to their
> in
Jordan,
Bostjan hit the main points, but if you're trying to run a secure
server, you probably ought to know more about it than you do now.
It's pretty easy to arrange a secure connection that isn't actually
secure if you don't know what you're doing. I'd recommend a good
Apache book -- I have
On Wed, Aug 25, 2010 at 9:46 AM, Colin Guthrie wrote:
> 'Twas brillig, and Andy McKenzie at 24/08/10 21:42 did gyre and gimble:
>> Even if I'd thought about it in terms of the architecture, I
>> would have assumed that PHP would treat a two-bit number as a two-bit
On Tue, Aug 24, 2010 at 3:55 PM, Ford, Mike wrote:
>> -Original Message-
>> From: Andy McKenzie [mailto:amckenz...@gmail.com]
>> Sent: 24 August 2010 17:24
>> To: php-general@lists.php.net
>> Subject: Re: [PHP] Bitwise NOT operator?
>
>
>> From y
On Tue, Aug 24, 2010 at 11:06 AM, Richard Quadling wrote:
> On 20 August 2010 17:00, Andy McKenzie wrote:
>> Thanks to everyone who responded. I've dealt with binary math
>> before, but it never occurred to me (and doesn't seem to be anywhere
>> in the document
20 August 2010 17:41, Peter Lind wrote:
>> On 20 August 2010 17:10, Andy McKenzie wrote:
>>> Hey everyone,
>>>
>>> I'm really not sure what's going on here: basically, the bitwise
>>> NOT operator seems to simply not work. Here's an exa
Hey everyone,
I'm really not sure what's going on here: basically, the bitwise
NOT operator seems to simply not work. Here's an example of what I
see.
Script
$ cat bintest2.php
=
Output
$ php bintest2.php
Bin: 1
sportTH'.
>> }
>>
>> the only problem i foresee is s in your reports already having a
>> class="something" set, which could mess it up. you'd need to check
>> that. but in that case you can always pump the original $str to the
>> DOM, and us
5 PM, Rene Veerman wrote:
> hmm lame bug... but you can add a classname to the s and check for that?..
>
> On Thu, Mar 11, 2010 at 9:34 PM, Andy Theuninck wrote:
>> I'm trying to parse a string containing an HTML table using the
>> builtin DOM classes and running into an odd
I'm trying to parse a string containing an HTML table using the
builtin DOM classes and running into an odd problem.
Here's what I'm doing:
$dom = new DOMDocument();
$dom->loadHTML($str);
$tables = $dom->getElementsByTagName("table");
$rows = $tables->item(0)->getElementsByTagName('tr');
foreach($
rfectly reliable as a relay on
Windows - just install it and SMTP to localhost - nothing more, nothing less.
Andy
before
in the ESTABLISHED state, PHP isn't disconnecting.
If any connections are listed as TIME_WAIT, it means the connection was dropped
without the client disconnecting properly - it may be worth running netstat on
your LDAP server as well.
Regards,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Have you taken a look at Xdebug - http://xdebug.org/ ?
From the manual: "Xdebug allows you to log all function calls, including
parameters and return values to a file in different formats."
Would this do what you need - then your second script could process this file?
Regards,
A
d also realise that a lot of mail clients don't render
images/stylesheets by default - therefore straight after the tag before
the rest of the content, put a link to an external website where recipients can
view the content online.
Regards,
Andy
--
PHP General Mailing List (http://ww
You didn't mention in
your post if you had or not and I'm not familiar enough with MySQL on Windows
to know if the essentials package includes it.
The error you're getting from ASP means it doesn't recognise the driver "mySQL"
or is looking for an ODBC connection
>
> And I was pointing out that this would not be a valid test when there is
> a caching DNS on the LAN.
I also pointed out how to avoid caching issues - the comment was aimed at the
author of the message before mine.
>
> Too much of the conversation and most of the attribution was stripped
>
>
> I'm confused... what's the problem with just trying to hit the update server?
> If you can then you check for updates, if not then you, erm, don't. Simples,
> no?
True, I think I said this same thing in a previous post - I suggested the DNS
option if all the OP wanted to do was check if a
>
> Both at home and at work there are caching DNS on the LAN. So a DNS
> request may come back with a valid IP address when the WAN connection is
> down. I still won't be able to connect to the remote site.
Dig an external server - e.g. dig @a.root-servers.net google.co.uk
If your net is down t
> By attempting to connect you will implicitly query DNS (which itself
> is a connection to server).
No it's not - it's putting out a packet targeted at an IP address and hoping a
server will answer - hence why multi-cast works for DNS because you're not
directly connecting to a specified ser
>
> I think the only way to detect if it can connect to the Internet is to
> see if you can grab a file from somewhere on the Internet. I'd hazard a
> guess that when operating systems are able to tell you they can "connect
> to the Internet" they are actually saying they can ping a predetermined
de or open_basedir and never
had an issue, but I can see why hosting providers may enable it.)
I can't see any conceivable benefit to this restriction when using
open_basedir, as I thought that related to the local file system - unless CURL
can use file:// URLs to access the local system?
on the user's machine - if the user has
the cookie, the correct authentication realm is returned in the authentication
request. If the user doesn't have the cookie, the server sends a random realm
to trick the browser into thinking it's not logged in. By the time you've done
all t
>
> * It is FREE (unlike Zend's retarded $500 price tag).
I bought Zend Studio back in the 5.5 days - a couple of months after that they
announced they were dropping support for the standalone IDE and made Studio an
Eclipse plugin. It was then they added about $200 to the price.
I moved to Nu
uot;host." and "domain." match this regex - and
because your regex is "greedy" it's grabbing both, leaving you with
"com".
Try adding the "ungreedy" modifier to your regex, like so: $domain =
preg_replace( '/[^.]*\./U' , '
Hi,
$u->emails[] = $e;
I would hazard a guess because $u->emails isn't a concrete object
(whereas $u->_emails is, but is private.) It's sort of a virtual
reference - PHP has no way of knowing that $u->emails actually
translates into _emails which is an array, if you see what I mean
(
Hi
I am looking for a remote developer for small add hoc jobs. Usually only a
few hours at a time. Basic stuff, listing data from SQL and text files.
Mainly work on existing systems.
$10-$15 per hour depending on location.
Andy
Midsoft UK
--
PHP General Mailing List (http://www.php.net
I have a question in regards to building php-5.2.5 on Windows. I followed
the direction under "Quick Guide to Building On Windows" on the following
website exactly:
http://php.mirror.camelnetwork.com/manual/en/install.windows.building.php
However, I am unable to build the project becaus
e error message I was seeing and now I can connect to the
index.phtml page too.
Thanks to those who replied,
cheers Andy.
- Original Message -
From: "Brady Mitchell" <[EMAIL PROTECTED]>
To: "A.smith" <[EMAIL PROTECTED]>
Cc:
Sent: Sunday, January 0
You could have a look at the Euro foreign exchange reference rates rom the
European Central Bank.
They also provide a regularly updated XML file:
http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html
Hope it helps...
Andy
-Original Message-
From: Tom Ray [Lists] [mailto
Hi,
I just need a framework for administrating tables in a database. These are
simple add/edit/remove operations from tables.
Can you suggest a framework for this kind of job? Cause there are a lot of
tables and I hope I can find a nice tool to work with.
Thank you.
I have 20 tables that have data's in them. And these table data's must be
edited with this admin tool. There are very few joins but there are
references between the tables.
Regards,
Andy.
> -Original Message-
> From: Chris Boget [mailto:[EMAIL PROTECTED]
> Sent: T
. A simple
error message like "/usr/sbin/sendmail: permission denied" would have made
it.
Regards,
Andy
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 08, 2007 01:01
To: Andy B.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mail() only
not access /usr/sbin/sendmail: permission denied", then at least I know
what needs to be done. However I doubt that my php configuration is
forbidden to access this file.
Andy
-Original Message-
From: Oliver Block [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 05, 2007 2
ve already tested with E_ALL
and also dumping errors/warnings into log files...
Andy
-Original Message-
From: Tijnema ! [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 05, 2007 23:58
To: Andy B.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mail() only working with php-cli
Are you
had this kind
of mail() issue. This installation is quite simple: standard Apache 2.0 with
php5, php5-mysql, php5-gd, ... This makes it even more frustrating :-(
What am I missing?
Thanks a lot!!
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi to all,
I need a class that reads emails from a server and reads the attachments from
the mail.
The mailservers is an IMAP for mail reading.
The attachment types can be: images/pdf/text documents.
Any suggestions?
On phpclasses.org did not find any which works well.
Regards,
Andy.
ar
too powerful). In my situation I couldn't change how the server was set up;
however, the general consensus was that this situation created a number of
serious security concerns that had to be very carefully addressed. I would
avoid this configuration if you have the choice, based purely on the advice
I received.
Hope that helps,
Andy
tion parameters by reference*
I think that does what you want?
Andy
On 10/11/06, Jônata Tyska Carvalho <[EMAIL PROTECTED]> wrote:
I know that function does not work, but im asking if someone know a way to
do that.
Someone know how ???
On 10/11/06, Andy Hultgren < [EMAIL PROTECTED]>
u no... I suppose I should have though! :)
On 10/11/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
Andy Hultgren wrote:
> Would something like this work?
did you try it? ;-)
it won't work
>
> Definition:
> function example($$ex) {
>echo "Variable Name
Would something like this work?
Definition:
function example($$ex) {
echo "Variable Name is $ex";
}
example($ball);
I'm fairly new to php and not so familiar with variable variables, but I
thought I'd throw it out there as a thought!
Andy
On 10/11/06, Jochem Ma
}
}
data_lv.sendAndLoad("myScript.php", data_lv, "POST");
/**/
This works perfectly and php receives all of the data correctly. Thanks
guys for your thoughts. I'm going to be posting an addition to the online
ActionScript documentation to hopefully help others avoi
Am working on #2 right now...
On 10/6/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, October 6, 2006 4:01 pm, Andy Hultgren wrote:
> /*/
> $data = $_POST;
> $stuff = "\n \n Post contains:";
>
> foreach($data as $prop
int as expected, it doesn't send as
expected. I'll try this in a completely one-dimensional array from flash to
php and see if it works. If it does, I'll let everyone know.
Andy
On 10/6/06, Raphael Martins <[EMAIL PROTECTED]> wrote:
Did you explicitly checked if the id1
ong variable name). And that would work fine if that's what it was
doing, but, for some reason, $_POST doesn't seem to be receiving the second
array dimension at all which contains all of my property information (which
should have been flattened into the first dimension).
If that's doesn't make any sense please let me know and I will attempt to
clarify. Otherwise, any and all help is very much appreciated!
Andy
y good foundation to start from on these
questions of site security, and I appreciate you taking the time to pass on
your expertise to a newcomer.
All the best,
Andy
On 9/27/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Wed, September 27, 2006 12:12 pm, Andy Hultgren wrote:
> So I'v
my homepage like the
ones that you see in taxis sometimes: "This driver never carries more than
$20 cash." --> "This website never carries anyone's financial
information." :)
Andy
On 9/26/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Mon, September 25, 200
really appreciate you guys jumping in a giving me a hand. Hopefully I get
good enough at this that I can return the favor sometime!!!
Andy
On 9/25/06, Eric Butera <[EMAIL PROTECTED]> wrote:
On 9/25/06, Andy Hultgren <[EMAIL PROTECTED]> wrote:
>
> Tedd,
>
> Thanks so mu
irectories outside of my webtree and can check and save uploaded
files there, does that make the situation substantially better? Or is the
"PHP running as me" thing enough alone to raise some serious serious
problems (perhaps less around the image uploading but more around a login
page or someth
er to establish an ftp
connection within PHP and then use the ftp series of functions to accomplish
all of the directory creation and permissions changes? If so, then I will
probably change my code to follow yours.
Andy
On 9/25/06, tedd <[EMAIL PROTECTED]> wrote:
At 9:32 PM -0600 9/24/06
en you are finished
uploading/saving/downloading/etc.? I have my "uploaded_images/"
directory set at chmod 0100 and I can still browse to an uploaded image from
my file upload page... Thanks for your response,
Andy
On 9/23/06, tedd <[EMAIL PROTECTED]> wrote:
At 7:19 PM -0600 9/
read I
understand that those steps are the minimum in terms of file upload
security.
Also, I'd be curious still to hear why I can browse to a file in a
directory that has been set with chmod 0100. I really didn't expect
that.
Thanks again very much for your thoughts,
Andy
On 9/22/06,
EMAIL PROTECTED]> wrote:
On Fri, September 22, 2006 3:58 pm, Andy Hultgren wrote:
> that as my root directory is simply www.myDomain.com and not
> ".public_html/" and I am on a shared server where my root cannot be
I got two words for you:
Change Hosts
--
Like Music?
http:/
browser windows never
have access to view the uploaded file, only the browser from which the
file was uploaded.
Any thoughts on why I can view the uploaded file even though it has
been set to chmod 0100? I'd really rather not have those files
accessible to anyone, as an extra security la
Thanks for the answers.
I will launch anyway this solution, it is more secure for us... I will
monitor the server to see if it can handle the load.
Regards,
Andy.
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Andy" <[EMAIL PROTECTED]&
check the performance of the system in this case, but I
think it will be the same.
The performance Issue that I asked was:
Is there a difference if apache sends the image or If I output it with php
with readfile.
Andy.
- Original Message -
From: "WeberSites LTD" <[EM
uot;.filesize($fname));
readfile($fname);
... where fname is the image file.
I want to know... is this a big performance issue or not(the image is handled
by php and not by apache directly)
OR...
Is there any other way to handle this situation???
Thanx,
Andy.
Thanks for the suggests.
I will have to make some tests to see what will happen, especially how fast.
I will post after that my opinion.
Regards,
Andy.
- Original Message -
From: "Jochem Maas" <[EMAIL PROTECTED]>
To: "Andy" <[EMAIL PROTECTED]>
Cc:
S
fine.
I don't know how php handles these defines(memory usage, CPU etc) so the
question is: how much affects the performace the inclusion of a lot of
defines???
Andy.
eg[1]
eregi("^(.*)/p([^/.*]*)", $html, $reg); print_r($reg); //text is in reg[2]
eregi("^(.*)/o([^/.*]*)", $html, $reg); print_r($reg); //text is in reg[2]
This example works, but I thought there might be a better way to extract the
texts, with a single ereg or preg_match.
e order betweeen /o and /p can be switched, so there is no rule that /p is
before /o.
How can I do this? I tried ereg but no success.
Andy.
No it was not. If I save it with UFT8 encoding it works well.
So, do I have to convert all the files to UTF8 encoding?
Is there an easy way to do that?
- Original Message -
From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]>
To: "Andy" <[EMAIL PROTECTED]>
correct
encoding.
By default the browser(tested on IE and firefox) sees as UFT-8 encoding for
the page. If I output the string with utf8_encode function than it wroks
well. But... it this the solution??? I don't want to modify the whole
project.
Best regards,
Andy.
- Original Messag
are full with german and
french characters. Any of these aren't shower correctly.
What is the workaround for this?
Best regards,
Andy.
1 - 100 of 780 matches
Mail list logo