On Mon, 3 Sep 2001 17:00, taz wrote:
> Should this work, if not, why not?
>
>
>
> the import works fine from the command line
> exec("ls") works too
>
>
> TIA
> Terry
Probably the user that your webserver, and hence your php script, runs as
does not have permissions to execute mysqlimport.
--
it still dosen't work
Help
Shimon
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
00f701c133ef$b52b5200$6401a8c0@Lynchux100">news:00f701c133ef$b52b5200$6401a8c0@Lynchux100...
> You're missing a closing ) on the final print() statement...
>
> --
> WARNING [EMAIL PROTECTED] ad
On Mon, 3 Sep 2001 13:18, Ashlyn wrote:
> I am using a downloaded PHP sitesearch script and can not get it to
> read the page contents past the style sheet..
>
> If I search a text file it will give me the contents exactly as I wish,
> but if I search a html document it only gives me the page tit
Should this work, if not, why not?
the import works fine from the command line
exec("ls") works too
TIA
Terry
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Aaron Moore) wrote:
> resides in line 6 of test.php where i try to call a function which is in
> function.php
>
> the test.php file :
> ___
> require("functions.php");
> function.php file :
Umm, so is th
If you want to make a fixed size of your in IE you can
do it like this:
a
b
c
d
or use 100% to make the box be as wide as the container it is within.
Kind regards,
Morten Winkler
--
PHP General Mailing List (http://www.php.net/)
To
Heres what I have so far. I've put all the fiels into one folder, and i know
the paths are correct since they don't give an include error. The error
resides in line 6 of test.php where i try to call a function which is in
function.php
the test.php file :
___
_
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (News.Fbcc.Com) wrote:
> http://www.wayneswoodworks.net/test/samples.php3?&key=1
>
> When I get into samples.php3 I do:
>
> $record = $HTTP_GET_VARS["key"];
>
> echo "record=$record";
>
> And the record variable is blank/missing. I have other
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Aaron Moore) wrote:
> Its obviously not finding it... my question is why the includes don't
> work???
Make sure you have error_reporting set to E_ALL and display_errors turned
on, then try running the script again.
--
CC
--
PHP General Mai
A few things to consider:
1) double check the include path.
2) if you're not the appropriate file is being included, then user
REQUIRE, as that will stop the program.
3) Variable Scope
Your function variables may be out of scope. Double check them, or
make them global.
4) If y
Thanks, Jason!
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On Mon, 3 Sep 2001, Jason Murray wrote:
> > As I understan
At 10:15 PM 2/09/2001, Aaron Moore wrote:
>Its obviously not finding it... my question is why the includes don't
>work???
>
>Thanks
Are you 100% positive that the get_total() function is defined in your
functions.php file ?
Check it, make sure there is no typos because this seems synonymous wi
Its obviously not finding it... my question is why the includes don't
work???
Thanks
Aaron Moore
"Don Read" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On 03-Sep-2001 Aaron Moore wrote:
> > ok i have this at the top of my page:
> >
> > include("/www/data
On 03-Sep-2001 Aaron Moore wrote:
> ok i have this at the top of my page:
>
> include("/www/data/vi2/root/layout/functions.php");
> include("/www/data/vi2/root/layout/config.php");
> require("/www/data/vi2/root/layout/init.php");
>
> but when I call one of the functions included in functions.php
ok i have this at the top of my page:
include("/www/data/vi2/root/layout/functions.php");
include("/www/data/vi2/root/layout/config.php");
require("/www/data/vi2/root/layout/init.php");
but when I call one of the functions included in functions.php i get a
message saying :
Fatal error: Call to
I am using a downloaded PHP sitesearch script and can not get it to read the
page contents past the style sheet..
If I search a text file it will give me the contents exactly as I wish, but
if I search a html document it only gives me the page title and site links..
The page in question is at
ht
> As I understand it, PHP 4 has CURL support.
>1) is enabling the curl extension a substitute for installing the curl
> package?
> In other words, if I enable the extension, do I still need to instal
> the CURL package?
You need to install CURL, and tell PHP where it is whe
Hello everyone!
I'm a little lost.
As I understand it, PHP 4 has CURL support.
1) is enabling the curl extension a substitute for installing the curl
package?
In other words, if I enable the extension, do I still need to instal
the CURL package?
2) Can I install curl
Stefan Siefert wrote:
>
> Hi Bill,
>
> please tell us how you configured php and apache (e.g. PHP
> with --with-apxs=/usr/local/apache/bin/apxs) also be sure to have apache
> enabled for DSO ( --enable-module=so or --enable-modul=most)
Sorry but I post email from Win98 and I don't have my com
Hi,
I'm about ready to go insane over this one. I have the following link.
http://www.wayneswoodworks.net/test/samples.php3?&key=1
When I get into samples.php3 I do:
$record = $HTTP_GET_VARS["key"];
echo "record=$record";
And the record variable is blank/missing. I have other pages that are
I got the SAMS teach yourself book. It's a beginners level book and I've
been able to complete a couple of moderate projects based upon the first 12
chapters. With the book, the online php manual, and the help from the
experienced people on this mailing list you should do alright. I'm told,
whe
Zeev, I agree with you!
Valter Santos
WEB/WAP Consultant
> -Original Message-
> From: Zeev Suraski [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 03, 2001 1:21 AM
> To: Valter Santos
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subjec
At 03:11 03-09-01, Valter Santos wrote:
> > >In this company, they have choose Microsoft stuff because they think it
> > >is the right choice for what they do. For some things, PHP could be a
> > >better choice, but it would be hard to convince who is in charge above
> > >me because PHP does not
you really do not to have to rebbot your server...
Just restart apache with the graceful action...
apache graceful
Valter Santos
WEB/WAP Consultant
> -Original Message-
> From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]]
> Sent: Friday, Aug
> >In this company, they have choose Microsoft stuff because they think it
> >is the right choice for what they do. For some things, PHP could be a
> >better choice, but it would be hard to convince who is in charge above
> >me because PHP does not benefit of a great credibility in the market
> >
apache graceful command will restart the server altought it will
wait until all web server sessions are finished to restart
Valter Santos
WEB/WAP Consultant
> -Original Message-
> From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
> Sent: Frida
Nikola,
put your php files in the public html folder of your xitami configuration...
something like c:\xitami\public_html or c:\xitami\htdocs
cheers
Valter Santos
WEB/WAP Consultant
> -Original Message-
> From: Nikola Veber [mailto:[EMAIL P
Of course you can do that!
PHP is server side and javascript is client side...
you can work with javascript within PHP like you work with HTML!
Valter Santos
WEB/WAP Consultant
> -Original Message-
> From: Jack [mailto:[EMAIL PROT
Off-topic I know but hey, it's quiet on the list, and you guys are SO
helpful :-)
I have an HTML file that is 82kb in size. BUT on my 56k dialup it downloads
at 20k/s ~ 4 seconds. This is obviously due to compression.
Winzip compresses it down to 6kb.
Anyway, my question:
Do all modems compr
Hallo !
i have some problems when trying to use senfax from halyfax within php.
i am using php4 on a redhat 6.2 box with the recent version of hylafax
and apache.
well, i am using the following code:
$fd = fopen($tmpPath . $delivery_number, "w");
set_file_buffer($fd, 0);
$size = fwrite($fd, $sF
>
>
>what have I done wrong!
Answering myself:
Oops! Looping the Loop with no skills always ends with a crash!
...one day there will be an Apache standing in the shadow, I hope!
Thanx
Michael Cronström
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
Richard Lynch wrote (Many thanks Rick for this):
>> <% virtual ("../../../../headlvl4.shtml"); %>
>>
>>This works fine for the header, but makes an error when the include
>>built in function calls the php script that shows the main panel of the
>>page:
>>
>
> I don't see how the virtual() i
Works fine, thank you
Youri
> On Sat, 1 Sep 2001 14:01:57 +0200, BRACK ([EMAIL PROTECTED]) wrote: >I
> have query - > >$res = mysql_query("SELECT
> >skits.*,category.cat_id,category.cat_name FROM skits,category WHERE
> >MATCH (title,descr,skits) AGAINST ('%$search_idea%') and skits.lang
> >like '
Pardon my English - I don't know Chinese. :(
That's the worst comparison benchmarks I've ever seen.
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html
DAMN - they've moved it. Anyone got a better link? The only
one I could find was
http://groups.yahoo.com/group/ASP-Develo
Nick,
3 Things:
1) For a simple for loop, PHP, ASP, JSP, etc will all be
able to execute 2 (2000 x 10) iterations of a loop in less
then 1 on decent hardware (my home PC does locally)...
\n";
}
?>
The numbers you quote are absurd, it entirely depends
on WHAT IS INSIDE YOUR LOOP however.
You are probably using the Windows version, based on the error message.
Only time i've seen this is when trying to use the ISAPI Windows version -
it just doesn't work very well, period. Don't use it. use the CGI on
Windows,
or move to another platform and have it compiled in to the webserve
You're missing a closing ) on the final print() statement...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Me
You need to:
echo $message;
at the end.
Or, just echo each line as you go.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
> <% virtual ("../../../../headlvl4.shtml"); %>
>
> This works fine for the header, but makes an error when the include
> built in function calls the php script that shows the main panel of the
> page:
I don't see how the virtual() is involved here at all:
> Warning: Failed opening './barra
PHP was not compiled/configured to have dbase support.
In Linux, you can recompile --with-dbase (see configure --help).
In Windows, you can alter you php.ini to have something not unlike:
basephp.dll
in your Extensions
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL P
Should this work, if not, why not
the import works fine from the command line
TIA
Terry
So sprach »Jan Grafström« am 2001-09-02 um 22:17:34 +0200 :
> $i = 0;
> $ii = count($vn);
Sure that $vn contains anything? Add this line after the count() line
to see what $vn contains:
var_dump($vn);
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (englis
So sprach »Jack Dempsey« am 2001-09-02 um 16:29:52 -0400 :
> i think he meant in that specific code, they don't change the default time,
> therefore, it'd be impossible
Ah, I see. Well, yes, that's right.
Uhm - "maybe" not. Although very unlikely, it's possible that they've
changed it in t
include your source.
Michael Cronström wrote:
> ...at 018D2466
>
> what have I done wrong!
>
> Michael Cronström
> [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
i think he meant in that specific code, they don't change the default time,
therefore, it'd be impossible
Alexander Skwar wrote:
> So sprach »Paul Roberts« am 2001-09-02 um 17:06:08 +0100 :
> > me too and as the max execution time is 30 secs and there's no code to
> > override it.
>
> No
Hi!
I have this file and it doesen´t write my tablerows:
$message .= ""
$message .= "Varunamn";
$i = 0;
$ii = count($vn);
for ($i=0;$i<$ii;$i++) {
$message .= "".$vn[i]."";
}
$message .= "Sum";
$message .= "";
I am trying to build a htmlmail but how do I write the for script for all
tablerows?
Th
So sprach »Paul Roberts« am 2001-09-02 um 17:06:08 +0100 :
> me too and as the max execution time is 30 secs and there's no code to
> override it.
Not so.
http://www.php.net/manual/en/function.set-time-limit.php
http://www.php.net/manual/en/configuration.php#ini.max-execution-time
PS: Quote
Hello,
Markus Mayer wrote:
> Let's say you have two servers, on the first one ("A") you have your website
> containig all those nice php scripts and co but only a crazy small database
> (2 megs), on the second one ("B") you have a really big database available
> but the problem, that the provider
me too and as the max execution time is 30 secs and there's no code to
override it.
- Original Message -
From: "nick" <[EMAIL PROTECTED]>
To: "'nick'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, September 02, 2001 1:56 PM
Subject: RE: [PHP] php's future
| Haha I tried i
So sprach »Chris Hobbs« am 2001-09-02 um 12:00:26 -0700 :
> Of course, I'm trying to figure out when I would have a script that
> really needed to go through 4M iterations, and thus (like most
Well, this is of course true, but I can easily imagine a script which is
run 200,000 times per second
So, we can say that on scripts that accomplish absolutely nothing, jsp
is faster than php - I can live with that :) Most of my scripts do
accomplish something (intended or not!) ;)
Tim wrote:
> Actually, an optimizing Java compiler would have detected it was a "dead
> loop" (i.e. didn't actual
Actually, an optimizing Java compiler would have detected it was a "dead
loop" (i.e. didn't actually do anything) and just skipped it, meaning it
took four seconds just to load the JSP page and invoke the bean. :) :)
The only benchmarks that mean anything are your actual web applications
running
And, of course, the JSP was running 2 x 2 iterations, or 400,000,000
iterations, in a few seconds.
Yeah, right.
> Intersting. I tried the following code (which gives much more detailed
> time info, check it out - stolen from Andrey Hristov on php-db), and my
> times, on our P2-266 webser
nick wrote:
> Haha I tried its code and it only takes 1~2 secs to run it .
>
> Wellgod damn lies
Intersting. I tried the following code (which gives much more detailed
time info, check it out - stolen from Andrey Hristov on php-db), and my
times, on our P2-266 webserver, are just abo
...at 018D2466
what have I done wrong!
Michael Cronström
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I can say.. It is really depends on your system specification and the users of
it
If the benchmark result is correct.. I think everybody will learn JSP rather
than doing Php...
Check your sources.. I guess they are not professional enough..
Have a nice day.
Regards
Ming
Jack Sasportas wrote
If Apache wasn't detecting the PHP script files your testing with (and
'loading' PHP to parse and execute it), you'd at least just have the 'text'
of the script displayed in the browser.
You haven't provide much detail on 'how' you installed the products or the
'config' statements you used...
-
I'm running RedHat Linux 7.0+ and trying to get PHP 4.0.6 working
with Apache 1.3.20 as a DSO. These are the most recent stable versions.
I'm compiling the sources, the compiles finish with no errors and I get
a libphp4.so file.
Has anyone been able to compile these versions of Apache and PHP4
Hi peke:
May be you can try with a hidden "state" field in the form. I think it
can be faster and more compatible because you don't need to load the
session support.
Pekesan wrote:
> Hi...
> I have a php url on wich in some steps through several forms (on the same
> url) I do some interact
> I wish to learn php, but I was wondering if there is a better
resource( something
> like a guide) besides the php manual on php.net ?
Buy the the book from Sterling Hughes with contributions by Andrei
Zmievski "PHP Developer´s Cookbook" from Sams. I have been reading
every page the last two wee
You should send those people an email tell them of your specs, and you want
some kind of lab results to look at because you beleive their article is
full of sh*t
nick wrote:
> Hi all in the list :
> I read an news that said jsp/asp.net is better than php..
>
> They made a test that asp/php/j
I'm using imap_header to get all the headers in a newsgroup on a NNTP-server
like this
if($nntp=imap_open("{sunsite.auc.dk/nntp:119}dk.admin","","";))
{
for($i=1;$i<5;$i++)
{
$header = imap_header($nntp, $i);
Hi...
I have a php url on wich in some steps through several forms (on the same
url) I do some interaction with DB. I have a session variable with the step I
am currently doing.
For example
session_start();
if (!session_is_registered("MyVar"))
{
session_register("MyVar");
$MyV
Hi
I wish to learn php, but I was wondering if there is a better resource( something
like a guide) besides the php manual on php.net ?
Thanx
Nikola
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
look here: http://www.bitmechanic.com/mail-archives/mysql/Jun1998/0387.html
An extract:
Write this:
select * from table_name limit 100
select * from table_name limit 100, 100
select * from table_name limit 200, ( what number you want)..
On Mon, 15 Jun 1998, Joe Walnes wrote:
You need to load the dbase.so support module in your php. Like a dll in
windows. Php has a lot of libraries, the idea is t load only those you
need. I don't remember the syntax and the files to modify, check
configuration manual or ask your system administrator. I had a similar
problem, solved
YOUR FREE MEMBERSHIP!!
Plus get a Free Cell Phone and Free Computer Software
To Help YOU Make MORE Money !!
CHECK IT OUT!
http://www.freewebco.net/bizopp or
http://www.freewebhostingcentral.cc/bizopp
The Fastest Way To Earn $2000+ EVERY Month Online !!!
Looking for a secure and legitimate
exactly...don't believe everything you read...
if you want some benchmarking results, search google...from what i've seen,
php is the fastest out of any of them...certainly not jsp...
jack
nick wrote:
> Haha I tried its code and it only takes 1~2 secs to run it .
>
> Wellgod damn lies
>
I also can hardly believe the 84+ sec. In such case all PHP template
engines may run for a thousand years.
- Original Message -
From: nick <[EMAIL PROTECTED]>
To: 'nick' <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, September 02, 2001 2:56 PM
Subject: RE: [PHP] php's future
"Georgie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a simple php script that searchs a MySQL database and returns
results
> that I made myself and I'm trying to implement code that splits the
results
> into x amount of pages, buts it really tricky.
I have a simple php script that searchs a MySQL database and returns results
that I made myself and I'm trying to implement code that splits the results
into x amount of pages, buts it really tricky.
Can anyone give me a link to some code or even better, a search database
script that I could adap
Hello,
check it in the manual: http://www.php.net/manual/en/function.ereg.php
If you don't pass the third -- optional -- argument, then it's true.
Otherwise not.
I don't know this book, but you may keep in my mind that PHP is evolving,
so the online manual can be its most up-to-date documentati
How about you make a simple script on Server B that will handle Database
stuff, and you get a Script on server A to fopen http://B/myscript.php and
do calls like myscript.php?a=add&name=fred&address=uk etc
and you can do the same to retrieve data but just parse out the popup with
the script on Se
Haha I tried its code and it only takes 1~2 secs to run it .
Wellgod damn lies
-Original Message-
From: nick [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 02, 2001 8:38 PM
To: 'Faisal Nasim'; [EMAIL PROTECTED]
Subject: RE: [PHP] php's future
It's Chinese .
I translat
It's Chinese .
I translated it maybe u cannot understand bcoz my English is not
good
First: jsp test for loop see below
<%
int i=0;
int j=0;
int k=0;
for(i=0;i<2;i++){
for(j=0;j<2;j++){
}
}
%>
4 secs taken
Next : php test for loop see below (he didn'
Hi to all.
I use debian potato 2.2r3 and i have installed apache + php4 plus the
module php4-imap, because i have to use the php4 imap function to
retrieve email from a imap server.
But when i try to open a mailbox whit the correct username and password
with the function imap_open() i wait longe
php-general Digest 2 Sep 2001 14:00:00 - Issue 852
Topics (messages 65620 through 65632):
FREE Internet Business --- Start Immediately...
65620 by: cici429.prontomail.com
ereg question
65621 by: js
Re: chmod and ps ef |grep httpd
65622 by: Richard Lynch
Re: loop?
Hi all in the list :
I read an news that said jsp/asp.net is better than php..
They made a test that asp/php/jsp/asp.net using "for loops",
Jsp from 1 to 2 takes only 4 secs
Asp from 1 to 2000 (not 2) takes 72 secs
Php from 1 to 2000 (not 2) takes 68 secs
Asp.Net from 1 to 2 ta
Hi folks
Just in case I am missing something -
Is there any way for a function to determine the name of the calling
function?
I want my database abstraction layer to be able to log query errors against
the name of the calling function, but I would rather not have to pass the
name in the query r
79 matches
Mail list logo