hi .. info.php works fine ... php is installed and working ok. Its just this
connection to a database that throws the error.
Server API is ISAPI
I'm not sure that I'm running php as a cgi app. I was reading something that
was pointing me to that but tbh my knowledge level is very basic so I am
sean greenslade schreef:
> So, I have this code in a php file called testing.php:
> $incl = '/webs/www.zootboy.com/sl/sql.inc';
> if(!is_readable($incl)) die('ERROR: MySQL Include file does not
> exist??!?');
> require $incl or die('MySQL page not found. Unable to continue.');
>
your require li
c...@l-i-e.com schreef:
> select
> first_name like '%$first_name%'
> + 3 * last_name like '%$last_name%'
> + 7 * email = '$email'
> as score,
that works?? I guess the expressions (e.g. email = '$email')
evaluate to bools and are auto-cast to ints.
Im guess there needs to be some parenthesis i
Hi,
i'm reading a book about PHP and i was wondering why regular expressions are
so often used to check format of variables or emails while the function
filter exists since version 5.2.
What are the plus of regular expression while checking variable format ?
thx.
--
Alain
---
Wolf schreef:
> Kyle Terry wrote:
>> On Fri, Dec 19, 2008 at 9:43 AM, Wolf wrote:
>>
>>> Bottom Post
>>>
>>> sean greenslade wrote:
No. The file is called testing.php and it is trying to include sql.inc
On Fri, Dec 19, 2008 at 12:36 PM, Kyle Terry wrote:
>
>>>
> i'm reading a book about PHP and i was wondering why regular expressions are
> so often used to check format of variables or emails while the function
> filter exists since version 5.2.
That's not so long.
> What are the plus of regular expression while checking variable format ?
They' more ve
On Sat, Dec 20, 2008 at 9:06 AM, Richard Heyes wrote:
> > i'm reading a book about PHP and i was wondering why regular expressions
> are
> > so often used to check format of variables or emails while the function
> > filter exists since version 5.2.
>
> That's not so long.
>
> > What are the plus
On Fri, Dec 19, 2008 at 11:47 PM, mike wrote:
> Yep Nginx, lighttpd, Zeus it's the only way. Apache has the option and I
> think a lot of people recommend it for various reasons.
>
> I'd recommend nginx over lighttpd :)
>
well now ill have to go scope out nginx :D
anyways, major diff between c
On Sat, 2008-12-20 at 16:22 +0100, Alain Roger wrote:
> Hi,
>
> i'm reading a book about PHP and i was wondering why regular expressions are
> so often used to check format of variables or emails while the function
> filter exists since version 5.2.
> What are the plus of regular expression while
Hey - - - - - - -
I am new to using cURL, so I would appreciate your help. Fortunately,
I have samples to follow, but the return value is not as I expect.
In short, instead of returning a Resource, it is just returning TRUE.
I have tried setting:
curl_setopt($ch, CURLOPT_RETURNTRANSFER,
Nathan Nobbe wrote:
> to elaborate, in general, the filter extension should be faster than
> corresponding preg_* calls from user space. why? b/c, they
> essentially are compiled calls to pcre (in many cases)
There is no or only the tiniest little difference - AFAICT preg_match
and the filter
/* From
> http://cvs.php.net/co.php/pear/HTML_QuickForm/QuickForm/Rule/Email.php?r=1.4
> */
Huh. I was under the impression that it did full verification, as
according to RFC (2)822. Not that that's generally necessary, in fact
it's mostly just outdated crap, (the technical term I believe).
--
R
On Sat, Dec 20, 2008 at 9:37 AM, Nathan Nobbe wrote:
> well now ill have to go scope out nginx :D
>
> anyways, major diff between cgi & libphp should be performance, wherein cgi
> should be like waaay slower. but supposedly fastCGI is pretty solid. peep
> this thread from a little while back,
>
Hi all,
What is the best way in PHP to Resize an Image to a specific width.
For Example I have images in the following sizes:
(1) 200px width and 350px height
(2) 125px width and 220px height
(3) 166px width and 455px height
I want all the images to resize to 100px width but the height adjusts
Huh. I was under the impression that it did full verification, as
according to RFC (2)822. Not that that's generally necessary, in fact
it's mostly just outdated crap, (the technical term I believe).
--
Richard Heyes
That's the problem with the filter extension. It's a black box and you never
With the built in functions (GD), you can read up on this function:
http://is.php.net/manual/en/function.imagecopyresized.php
If you have Imagick installed, you can read up on this:
http://is.php.net/manual/en/function.imagick-thumbnailimage.php
On Sat, Dec 20, 2008 at 8:38 PM, Stephen Alistoun
w
On Sat, 2008-12-20 at 20:59 +, Ólafur Waage wrote:
> With the built in functions (GD), you can read up on this function:
> http://is.php.net/manual/en/function.imagecopyresized.php
> If you have Imagick installed, you can read up on this:
> http://is.php.net/manual/en/function.imagick-thumbnai
Thanks for the suggestions. I'll read on about it and tell you what I
came up with, so if someone else want's to do something similar they
can base it off of what I built.
Here are some replies to what you guys asked
I don't know if I would go open source on this.
I can use c code in Objectiv
Hi,
Since upgrading to php 5.2.8 I have a problem with
imap_rfc822_parse_adrlist. When I run the example given on the manual
page at http://nl3.php.net/imap_rfc822_parse_adrlist:
$adds = 'ian eiloart ,
sh...@example.ac.uk,
blobby,
"ian,eiloart",
<@example.com:f..
Hello,
on 12/20/2008 09:34 PM Ben Stuyts said the following:
> Hi,
>
> Since upgrading to php 5.2.8 I have a problem with
> imap_rfc822_parse_adrlist. When I run the example given on the manual
> page at http://nl3.php.net/imap_rfc822_parse_adrlist:
>
> $adds = 'ian eiloart ,
>sh...@exam
Hello,
on 12/20/2008 09:34 PM Ben Stuyts said the following:
> Hi,
>
> Since upgrading to php 5.2.8 I have a problem with
> imap_rfc822_parse_adrlist. When I run the example given on the manual
> page at http://nl3.php.net/imap_rfc822_parse_adrlist:
>
> $adds = 'ian eiloart ,
>sh...@exam
Hey there,
I have a problem where I have a simple -script that I am wanting to
pass back to itself three times
1) Symptoms - > 2) Troubleshooting questions 3) Answer to problem
The page is passing the vars from the first page to the second, but the
first pages vars are not passed to the thir
On Sat, Dec 20, 2008 at 7:01 AM, Jochem Maas wrote:
> c...@l-i-e.com schreef:
>> select
>> first_name like '%$first_name%'
>> + 3 * last_name like '%$last_name%'
>> + 7 * email = '$email'
>> as score,
>
> that works?? I guess the expressions (e.g. email = '$email')
> evaluate to bools and are au
23 matches
Mail list logo