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 :)
On Dec 19, 2008, at 10:15 PM, "Nathan Nobbe"
wrote:
On Fri, Dec 19, 2008 at 11:14 PM, mike wrote:
Also could look at usi
On Fri, Dec 19, 2008 at 11:14 PM, mike wrote:
> Also could look at using fastcgi and would not have to embed libphp and
> such.
actually, i think thats how lighttpd does it ;)
-nathan
Also could look at using fastcgi and would not have to embed libphp
and such.
On Dec 19, 2008, at 9:58 PM, "Nathan Nobbe"
wrote:
On Fri, Dec 19, 2008 at 5:58 PM, Mr. Gecko
wrote:
Hey, I built my own http server, and I'm wanting to add php to it.
the
server is in Objective-C.
I know
On Fri, Dec 19, 2008 at 5:58 PM, Mr. Gecko wrote:
> Hey, I built my own http server, and I'm wanting to add php to it. the
> server is in Objective-C.
> I know I can use terminal commands to do it, but if I was to do that how
> would I get headers and stuff php sends, and how would I send php
> H
Gary Maddock-Greene wrote:
Hi, is it possible to de-bug a 'no input file specified' error. I get
the error when trying to run my search script but do not know whats
causing it. Is it a common error?
PHP5 with MySQL adn IIS7
Thanks
- Gary
.. just did some more reading.. are you running php
Mr. Gecko wrote:
Hey, I built my own http server, and I'm wanting to add php to it. the
server is in Objective-C.
I know I can use terminal commands to do it, but if I was to do that how
would I get headers and stuff php sends, and how would I send php
HTTP_REMOTE_ADDRESS and stuff like that?
I
Gary Maddock-Greene wrote:
Hi, is it possible to de-bug a 'no input file specified' error. I get
the error when trying to run my search script but do not know whats
causing it. Is it a common error?
PHP5 with MySQL adn IIS7
Thanks
- Gary
make a small php file called "info.php" with the fol
Hey, I built my own http server, and I'm wanting to add php to it. the
server is in Objective-C.
I know I can use terminal commands to do it, but if I was to do that
how would I get headers and stuff php sends, and how would I send php
HTTP_REMOTE_ADDRESS and stuff like that?
I would prefer d
Hey, I built my own http server, and I'm wanting to add php to it. the
server is in Objective-C.
I know I can use terminal commands to do it, but if I was to do that
how would I get headers and stuff php sends, and how would I send php
HTTP_REMOTE_ADDRESS and stuff like that?
I would prefer d
Hi Mike ... I think Adobe code does look like VB script actually ... I agree
:)
I wish I knew php better (so I didn't have to rely on crappy Dreamweaver
code), I only started using it today and just want to script a simple search
form on a 5 colomn products table ... not too hard eh?
I have
Thanks Philip i am running a search from a form (page 1) querying the
db and returning the result on page 2 (well thats the theory) !
"Philip Graham" wrote in message
news:200812191822.58155.phi...@lightbox.org...
> Hi Philip,
>
> Here is my code ...
>
> if (!function_exists("GetSQLValu
yeah but it stinks of microsoft/vb/asp :)
i can't really tell you in IIS, but that's the common reason nginx has
a "no input file specified" - people ask about it all the time.
On Fri, Dec 19, 2008 at 3:15 PM, Gary Maddock-Greene
wrote:
> the code was generated by Dreamweaver CS3 .. its php!
>
> > Hi Philip,
> >
> > Here is my code ...
> >
> > > if (!function_exists("GetSQLValueString")) {
> > function GetSQLValueString($theValue, $theType, $theDefinedValue = "",
> > $theNotDefinedValue = "")
> > {
> > $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) :
> > $theValue;
> >
>
the code was generated by Dreamweaver CS3 .. its php!
How do I check the SCRIPT_FILENAME please?
"mike" wrote in message
news:bd9320b30812191502t2448ef31xa8ad8758f8638...@mail.gmail.com...
first off - you must be coming from ASP for that code :P
second - that error is usually due to the SCR
first off - you must be coming from ASP for that code :P
second - that error is usually due to the SCRIPT_FILENAME being
incorrect. not the code in the script.
On Fri, Dec 19, 2008 at 2:54 PM, Gary Maddock-Greene
wrote:
> Hi Philip,
>
> Here is my code ...
>
> if (!function_exists("GetSQLValueS
Hi Philip,
Here is my code ...
function GetSQLValueString($theValue, $theType, $theDefinedValue = "",
$theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ?
mysql_real_escape_string($th
On December 19, 2008 17:20:32 Gary Maddock-Greene wrote:
> Hi, is it possible to de-bug a 'no input file specified' error. I get the
> error when trying to run my search script but do not know whats causing it.
> Is it a common error?
What code/command/request is causing the error?
>
> PHP5 wit
Hi, is it possible to de-bug a 'no input file specified' error. I get the
error when trying to run my search script but do not know whats causing it.
Is it a common error?
PHP5 with MySQL adn IIS7
Thanks
- Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
select
first_name like '%$first_name%'
+ 3 * last_name like '%$last_name%'
+ 7 * email = '$email'
as score,
first_name, last_name, email, person_id
from person
.
.
.
order by score desc
limit 10
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
On Fri, Dec 19, 2008 at 11:48 AM, Jim Lucas wrote:
> Gary Maddock-Greene wrote:
> > Yes .. thanks Stuart. If I comment out that line I now get a different
> > problem!!
> >
> > Unable to connect to database.
> >
> > One step closer!!!
> >
> >
>
> Well, now take and place a simple or die(mysql_err
On Fri, Dec 19, 2008 at 7:01 AM, wrote:
>
> For IE, you also want to add the META tags for HTTP-EQUIV for you charset.
This has been the most reliable, as long as you're presenting HTML,
this is all I ever put in a page. No header() or anything.
> Only way to use UTF-8 is to have UTF-8 used con
hi,
I have to build a little "search" form.
a visitor enters his/her personal and work data (first name, last name,
email, org. name, phones (home phone, work phone, cell) home address,
work address) using a form, and then administrator has to compare these
data with existing data in database (
> This is why I removed it from my system.
FWIW, it doesn't do it now. I still by far prefer Firefox. If
anything, it's because of Firebug.
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated December 5th)
--
PHP General Mailing List (http://www.ph
On Fri, Dec 19, 2008 at 1:11 PM, Kyle Terry wrote:
>
>
> On Fri, Dec 19, 2008 at 10:07 AM, sean greenslade
> wrote:
>
>> On Fri, Dec 19, 2008 at 1:04 PM, Philip Graham
>> wrote:
>>
>> >
>> > > So, I have this code in a php file called testing.php:
>> > > $incl = '/webs/www.zootboy.com/sl/sql.in
On Fri, Dec 19, 2008 at 10:07 AM, sean greenslade wrote:
> On Fri, Dec 19, 2008 at 1:04 PM, Philip Graham
> wrote:
>
> >
> > > 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 doe
On Fri, Dec 19, 2008 at 1:04 PM, Philip Graham wrote:
>
> > 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.
> 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.');
>
>
> When I run the code in command line,
On Fri, Dec 19, 2008 at 12:55 PM, Kyle Terry wrote:
>
>
> On Fri, Dec 19, 2008 at 9:50 AM, Wolf wrote:
>
>>
>> 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
On Fri, Dec 19, 2008 at 9:50 AM, Wolf wrote:
>
> 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
On Fri, Dec 19, 2008 at 12:50 PM, Wolf wrote:
>
> 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 1
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:
> > >
> > > >
> > > >
> > >
sean greenslade wrote:
> On Fri, Dec 19, 2008 at 12:43 PM, 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:
> > >
> > > >
> > > >
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:
> >
> > >
> > >
> > > On Fri, Dec 19, 2008 at 9:28 AM, sean greenslad
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:
>
> >
> >
> > On Fri, Dec 19, 2008 at 9:28 AM, sean greenslade
> > wrote:
> >
> >> So, I have this code in a php file calle
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:
>
>
> On Fri, Dec 19, 2008 at 9:28 AM, sean greenslade wrote:
>
>> So, I have this code in a php file called testing.php:
>> $incl = '/webs/www.zootboy.com/sl/sql.inc';
>>
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.');
When I run the code in command line, it outputs this
Mark Weaver wrote:
> Richard Heyes wrote:
>>> I have less issues
>>> with Chrome and its beta
>>
>> Not thrashing my HDD is also kinda basic, but Chrome 0.2 was more than
>> happy to do that.
>>
>
> Thrashing? That's not a bug... it's a feature and that thrashing was
> chrome indexing (read harves
Gary Maddock-Greene wrote:
> Yes .. thanks Stuart. If I comment out that line I now get a different
> problem!!
>
> Unable to connect to database.
>
> One step closer!!!
>
>
Well, now take and place a simple or die(mysql_error()); after your
mysql_connect() call
$rh = mysql_connect() or die(
> Sorry didn't try your suggestion php -1 ... not sure how to!!
Open up MS-DOS prompt.
Figure out where your php.exe lives.
Let's pretend it's in C:\\php5\php.exe
cd to the directory where your script lives.
cd C:\\inetpub\wwwroot\search
C:\\php5\php.exe -l search.php
After yo
>> In some circumstances, with "mixed" charsets on a page, and with IE in
>> quirks mode, IE will try to "guess" the charset and get it (very)
>> wrong.
>
> A single page or response can only have one characterset, there is no
> mixing possible.
Allow me to re-explain.
Step 1.
Gener
c...@l-i-e.com wrote:
> In some circumstances, with "mixed" charsets on a page, and with IE
> in quirks mode, IE will try to "guess" the charset and get it (very)
> wrong.
A single page or response can only have one characterset, there is no
mixing possible.
/Per Jessen, Zürich
--
PHP Genera
For IE, you also want to add the META tags for HTTP-EQUIV for you charset.
In some circumstances, with "mixed" charsets on a page, and with IE in quirks
mode, IE will try to "guess" the charset and get it (very) wrong.
You really do want a DOCTYPE and a document that validates if at all pos
Stuart you have been very helpful thank you. I have learnt a number of
valuable lessons this afternoon.
- Gary
""Gary Maddock-Greene"" wrote in message
news:a4.34.09584.e39ab...@pb1.pair.com...
Yes .. thanks Stuart. If I comment out that line I now get a different
problem!!
Unable to conne
Yes .. thanks Stuart. If I comment out that line I now get a different
problem!!
Unable to connect to database.
One step closer!!!
"Stuart" wrote in message
news:a5f019de0812190556g611cd672k25a30b77d02ad...@mail.gmail.com...
2008/12/19 Gary Maddock-Greene :
$sql_query = mysql_query("SELEC
2008/12/19 Gary Maddock-Greene :
> $sql_query = mysql_query("SELECT * FROM products WHERE
> MATCH(product_name,product_image) AGAINST('$search_term')");
>
> // This is line 20 where I am getting the parse error
>
> many mathces (too many matches cause returning of 0 results)
That line is not valid
2008/12/19 Gary Maddock-Greene :
> Ok error log reads:
>
> [19-Dec-2008 13:31:08] PHP Parse error: parse error in
> C:\inetpub\wwwroot\search\search.php on line 20
So that's what your problem is. Go look at line 20 - there's a syntax
error on it.
> Sorry didn't try your suggestion php -1 ... not
$sql_query = mysql_query("SELECT * FROM products WHERE
MATCH(product_name,product_image) AGAINST('$search_term')");
// This is line 20 where I am getting the parse error
many mathces (too many matches cause returning of 0 results)
if($results = mysql_num_rows($sql_query) != 0)
"Stuart" wr
Ok error log reads:
[19-Dec-2008 13:31:08] PHP Parse error: parse error in
C:\inetpub\wwwroot\search\search.php on line 20
Sorry didn't try your suggestion php -1 ... not sure how to!!
"Stuart" wrote in message
news:a5f019de0812190516r3cdcdacana356320f39a8d...@mail.gmail.com...
2008/12/1
2008/12/19 Gary Maddock-Greene :
> Thanks Stuart,
>
> Logs are no enabled and I generate this line:
>
> #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port
> cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
> time-taken
>
> Sorry this is only my 2nd day with php/
Thanks Stuart,
Logs are no enabled and I generate this line:
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port
cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
time-taken
Sorry this is only my 2nd day with php/MySQL and I really need to get this
working
Please include the list when replying.
2008/12/19 G. Maddock-Greene :
> You may be right Stuart ... I am thinking this too. I can access my database
> with an auto generated call using say Dreamweaver, but my hand code is
> throwing the error ... though I cannot see why!! It's really frustrating
Thanks David, but my log doesn't tell me anything (I don't think) !! I am
assuming we are referring to the inetpub logs?
-Gary
"David Robley" wrote in message
news:71.4b.09584.6698b...@pb1.pair.com...
Gary Maddock-Greene wrote:
Hi, Don't know if this is the right group but I am having real
Richard Heyes wrote:
I have less issues
with Chrome and its beta
Not thrashing my HDD is also kinda basic, but Chrome 0.2 was more than
happy to do that.
Thrashing? That's not a bug... it's a feature and that thrashing was
chrome indexing (read harvesting information) your hard drive.
Mar
2008/12/19 David Robley :
> Gary Maddock-Greene wrote:
>
>> Hi, Don't know if this is the right group but I am having real problems
>> trying to connect to my MySQL db with php. I am trying to create a search
>> form. I can connect and display in my browser a simple call to a db record
>> but when
Gary Maddock-Greene wrote:
> Hi, Don't know if this is the right group but I am having real problems
> trying to connect to my MySQL db with php. I am trying to create a search
> form. I can connect and display in my browser a simple call to a db record
> but when I try to execute my search script
Hi, Don't know if this is the right group but I am having real problems
trying to connect to my MySQL db with php. I am trying to create a search
form. I can connect and display in my browser a simple call to a db record
but when I try to execute my search script I get a 500 Internal Server
err
vuthecuong schreef:
> Hi,
> Currently I'm reading below page:
> http://www.imagemagick.org/Usage/api/#php
> When I tried imagick example of it, php raised error about function :
> Imagick::readimage() .
> Fatal error: Non-static method Imagick::readimage() cannot be called
> statically in /usr/loca
Hi,
Currently I'm reading below page:
http://www.imagemagick.org/Usage/api/#php
When I tried imagick example of it, php raised error about function :
Imagick::readimage() .
Fatal error: Non-static method Imagick::readimage() cannot be called
statically in /usr/local/www/apache22/data/php/im/imagic
"Jason" píse v diskusním príspevku
news:70.f5.09584.8465b...@pb1.pair.com...
> At 16:49 18/12/2008, you wrote:
>>Hi,
>>I am looking for some method, how to run php cli script on background in
>>windows. It should be started by windows task manager.
>
> Run php-win.exe rather than php.exe, this w
Daniel Kolbo wrote:
> Hello,
>
> I have a text file encoded in utf-8.
> i am using fopen/fgets/echo etc..
>
> how do i display these utf8 characters from the file on the web?
>
header("Content-Type: text/html; charset=utf-8")
readfile(your-utf8-file);
/Per Jessen, Zürich
--
PHP General Mai
At 16:49 18/12/2008, you wrote:
Hi,
I am looking for some method, how to run php cli script on background in
windows. It should be started by windows task manager.
Run php-win.exe rather than php.exe, this will prevent the console
window from opening whilst the task is running.
Schedule as n
61 matches
Mail list logo