Hi there,
I am trying to run a php script via cron. Problem is, that it does not work if I
include the whole path in crontab
Currently it looks like:
0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php /dev/null
Most likeley because the webserver root for the project is:
Hi all
For the likes of me I cant seem to figure out how to have a select drop down
box , and have it so, that when I click the submit button, the page displays
the correct content (which is what it does) but at the same time I need the
select box to be at the option of the query.
Below is part
Jeff Schmidt wrote:
Hello,
Say I have object A, with method getObjectB(), which returns a
reference to object2.
Is there a way to do something like $A-getObjectB()-methodFromObjectB();
Don't know if this would work, but you could give it it a try :
I am trying to run a php script via cron. Problem is, that it
does not work if I
include the whole path in crontab
Currently it looks like:
0 6 * * * php
/home/www/project/app_cron/follow_up_new_members.php /dev/null
Most likeley because the webserver root for the project is:
Boulytchev, Vasiliy wrote:
Ladies and Gents,
I am trying to install Pay Flow Pro on my server, and am running
into weird problems. I follow instructions from Verisign, and still cant
get the thing to function.
I get the error below:
Fatal error: Call to undefined function:
Merlin,
0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php /dev/
null
That looks right to me, have you tried executing the command with the full
path?
I have a couple of php scripts running as cron jobs and web scripts...
Also try php -q scriptname -q is for quiet which
Vans Hallden wrote:
Please try to endure my ignorance. I'm new to PHP4 and out to perform
just a single isolated task with it. :)
I would like to form some simple statistics from specific column data in
a mysql database and display those stats on a webpage.
I have collected a few demographics
On 17 May 2004 22:26, Jeff Schmidt wrote:
Hello,
Say I have object A, with method getObjectB(), which returns a
reference to object2.
Is there a way to do something like
$A-getObjectB()-methodFromObjectB();
??
When I try that, I get a parse error? Is this simply not
possible
Torsten Roehr wrote:
Hi,
does anyone know a way of how to get the name of the class within a static
function? I can't use __CLASS__ as my PHP version is 4.2.3 and I can't
upgrade.
My code (simplified):
class Base {
function Factory() {
$classname = ???;
return new $classname;
On 18 May 2004 09:06, Brent Clark wrote:
Hi all
For the likes of me I cant seem to figure out how to have a
select drop down
box , and have it so, that when I click the submit button,
the page displays
the correct content (which is what it does) but at the same
time I need the
select
Thanks for help Daniel Clark. I know i must use isset function but that was
not the issue. But thanks anyway:)
Curt Zirzow thanks for your reply also. But that has nothing to do with
reference. If you use reference or not.. it still would not result in an
error (hee... I want an error :P)
I
[EMAIL PROTECTED] wrote:
Burhan Khalid [EMAIL PROTECTED] schrieb am 18.05.2004, 10:48:29:
Torsten Roehr wrote:
Hi,
does anyone know a way of how to get the name of the class within a static
function? I can't use __CLASS__ as my PHP version is 4.2.3 and I can't
upgrade.
My code (simplified):
class
Hello all,
I have updated an old system to Fedora 1 and php php-4.3.4-1.1.
However the mail comand does not work anymore.
The php.ini of the original system did not have anything special.
Sendmail is not being run locally in this machine.
What might be causing it?
Thanks in advance,
C.F.
--
PHP
Here is one way:
(probably not the best)
I was able to get almost everything working with your help. Thanks!!! :)
average ages for male/female respondents (database column 'age')
SELECT AVG(age) FROM tablename WHERE sex = 'male';
SELECT AVG(age) FROM tablename WHERE sex = 'female';
I have one
Thanks for help Daniel Clark. I know i must use isset function but that was
not the issue. But thanks anyway:)
Curt Zirzow thanks for your reply also. But that has nothing to do with
reference. If you use reference or not.. it still would not result in an
error (hee... I want an error :P)
Matt
Hi all
I have a table whereby I use the php date() and time() function.
I retrieve the data etc, no problem.
but I now need to perform a query of between dates.
Is there a function or method to perform this.
Kind Regards and thank you in advance
Brent Clark
--
PHP General Mailing List
Hi
Sorry, I should have copied and pasted the table structure before, sending
the mail.
(Sorry for the scewness)
Kind Regards
Brent Clark
++---+++++
| id | user | ref_id | stage | files_captured | time |
[snip]
I have a table whereby I use the php date() and time() function.
I retrieve the data etc, no problem.
but I now need to perform a query of between dates.
Is there a function or method to perform this.
[/snip]
Use SQL 'BETWEEN' i.e.
SELECT items FROM table WHERE date BETWEEN this date
Hi,
I was reading this post here:
http://www.cre8asiteforums.com/viewtopic.php?t=9801
No, not my site ;-)
I think it sounds like there are some mistaken views in there, anyone
that knows about If-Modified-Since headers, PHP and Caching could shed a
little conclusive light on the subject?
Many
On 18 May 2004 13:58, Nick Wilson wrote:
Hi,
I was reading this post here:
http://www.cre8asiteforums.com/viewtopic.php?t=9801
No, not my site ;-)
I think it sounds like there are some mistaken views in there, anyone
that knows about If-Modified-Since headers, PHP and Caching
could
If the format is consistantly the same, try this:
$somedata = [i:aslkdfj];
$insidedata = substr($somedata,3,strlen($somedata)-4);
-TG
-Original Message-
From: Student [mailto:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 11:42 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:
Vans Hallden wrote:
Here is one way:
(probably not the best)
I was able to get almost everything working with your help. Thanks!!! :)
average ages for male/female respondents (database column 'age')
SELECT AVG(age) FROM tablename WHERE sex = 'male';
SELECT AVG(age) FROM tablename WHERE sex =
[For those of us who like detective novels:]
My organization has asked me to consult on a web site which was written by one of our
field offices. Unfortunately, there's no one around anymore who was part of the
original program. The kicker is that it's all in Russian. It's at http://www.fzr.ru.
Assuming you are doing just one string at a time:
?
$str = [i:abcdef];
#[i:bcdefg]
#[i:xyzab]
#[i:priftds]
$regex = /(\[i:)(\w+)(\])/i;
preg_match($regex, $str, $matches);
print $str;//original string
print substr($matches[2], 1, 3);//trimmed string
?
Gryffyn, Trevor wrote:
If the format is
* Thus wrote Amon ([EMAIL PROTECTED]):
Curt Zirzow thanks for your reply also. But that has nothing to do with
reference. If you use reference or not.. it still would not result in an
error (hee... I want an error :P)
function foo($v) {}
foo($asdf['qwer']);
PHP Notice: Undefined variable:
How about just using cron to call wget, and wget the URL of your page?
Shawn
**
This e-mail and any files transmitted with it may contain
confidential information and is intended solely for use by
the individual to whom
[EMAIL PROTECTED] wrote:
How about just using cron to call wget, and wget the URL of your page?
It depends.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
My organization has asked me to consult on a web site which was written
by one of our field offices. Unfortunately, there's no one around
anymore who was part of the original program. The kicker is that it's
all in Russian. It's at http://www.fzr.ru. It's titled Health Russia
2020 and
By clicking pretty much at random (since I don't speak Russian), I see strings like
these:
http://www.fzr.ru/index.php?ae=4ah=3
http://www.fzr.ru/index.php?ae=6ah=3
http://www.fzr.ru/index.php?ae=1554
http://www.fzr.ru/ll.php?i=23f=1ae=49l=http%3A%2F%2Fwww.fzr.ru%2Findex.php%3Fae%3D6%26ah%3D3
Hi,
I know that this is not an xml list but maybe you could help me.
I'm looking for a good tutorial in xml or a list with most of the xml tags. I've
googled for it but i can't find anything.
Could someone send me a link to that kind of tutorial?
Thanks for your reply !!!
Stefan
[snip]
By clicking pretty much at random (since I don't speak Russian), I see
strings like these:
http://www.fzr.ru/index.php?ae=4ah=3
http://www.fzr.ru/index.php?ae=6ah=3
http://www.fzr.ru/index.php?ae=1554
http://www.fzr.ru/ll.php?i=23f=1ae=49l=http%3A%2F%2Fwww.fzr.ru%2Finde
have you already had a look through this:
http://www.opensourcecms.com/ ?
it lists many open source cms wtih screenshots etc...
J
-Original Message-
From: KEVIN ZEMBOWER [mailto:[EMAIL PROTECTED]
Sent: 18 May 2004 14:40
To: [EMAIL PROTECTED]
Subject: [PHP] Can anyone identify this CM
Try the one at http://www.w3schools.com/
Phpu wrote:
Hi,
I know that this is not an xml list but maybe you could help me.
I'm looking for a good tutorial in xml or a list with most of the xml tags. I've
googled for it but i can't find anything.
Could someone send me a link to that kind of
Yeah, I thought it was a long-shot. I'm actually meeting with the coordinator in 10
minutes, and one of the things I'm asking for is shell access to the host. I have no
idea what Linux or Unix (God help me if it's NT) on a Russian host looks like.
Thanks for your thoughts, Jay.
-Kevin
Jay
No, I didn't know about that site. Thank you, Jim. -Kevin
James Tusini [EMAIL PROTECTED] 05/18/04 10:48AM
have you already had a look through this:
http://www.opensourcecms.com/ ?
it lists many open source cms wtih screenshots etc...
J
-Original Message-
From: KEVIN ZEMBOWER
Hi,
I know that this is not an xml list but maybe you could help me.
'm looking for a good tutorial in xml or a list with most of the xml tags.
I've googled for it but i can't find anything.
Could someone send me a link to that kind of tutorial?
http://www.zend.com/zend/tut/index.php
Kind
The server returned the following response headers:
HTTP/1.1 200 OK
Date: Tue, 18 May 2004 13:15:39 GMT
Server: Apache/1.3.12 (Unix) (Black Cat/Linux) PHP/4.3.4
Cache-Control: max-age=604800
Expires: Tue, 25 May 2004 13:15:39 GMT
Last-Modified: Thu, 13 Nov 2003 15:36:52 GMT
ETag:
Can anyone suggest any good (free) domain name lookup scripts written in
php?
Thanks,
Ryan
On Tue, 2004-05-18 at 11:09, Ryan Schefke wrote:
Can anyone suggest any good (free) domain name lookup scripts written in
php?
This is short, far from perfect, but I use it to look for availability
and you might be able to adapt it - it also checks for a verisign hit
which is usually that
I'm looking for a good tutorial in xml or a list with most of the xml
tags. I've googled for it but i can't find anything. Could someone send
me a link to that kind of tutorial?
There are no xml tags as such; XML defines a grammar but not a
vocabulary. The actual tags used depend on the
Why isn't my regex working? From everything that I've
read, it should be...
script language=php
$string = [joebob];
if( preg_match( '/\[(\s+)\]/i', $string, $aMatches )) {
print_r( $aMatches );
} else {
echo 'No match was found' . \n\n;
}
/script
Chris
--
PHP General Mailing List
Chris Boget mailto:[EMAIL PROTECTED]
on Tuesday, May 18, 2004 9:55 AM said:
Why isn't my regex working? From everything that I've
read, it should be...
$string = [joebob];
if( preg_match( '/\[(\s+)\]/i', $string, $aMatches )) {
\s Matches any whitespace character; this is equivalent
Chris Boget wrote:
Why isn't my regex working? From everything that I've
read, it should be...
script language=php
$string = [joebob];
if( preg_match( '/\[(\s+)\]/i', $string, $aMatches )) {
print_r( $aMatches );
} else {
echo 'No match was found' . \n\n;
}
/script
Chris
your regex is
Vans Hallden [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is one way:
(probably not the best)
I was able to get almost everything working with your help. Thanks!!! :)
average ages for male/female respondents (database column 'age')
SELECT AVG(age) FROM tablename WHERE
Jay Blanchard [EMAIL PROTECTED] wrote in message
ews:[EMAIL PROTECTED]
[snip]
I have a table whereby I use the php date() and time() function.
I retrieve the data etc, no problem.
but I now need to perform a query of between dates.
Is there a function or method to perform this.
[/snip]
Use
I think its working now,
I get this error, does this have to do with verisign?
Could not process transaction! User authentication failed (1)
Is it the test account that is not assigned properly?
THANKS!!!
Vasiliy Boulytchev
Colorado Information Technologies, Inc.
Hi,
I have compiled and installed (precisely following instruction) turck-mmcache
2.4.6 for Apache2-2.0.49-23/php4-4.3.4-43.3 on SuSE 9.1.
Unfortunately, I cannot start Apapche2 anymore, I am getting this error
message:
/usr/sbin/httpd2-prefork: error while loading shared
libraries:
I am trying to do some PDF templating work with PHP/PDFLib.
I have a template file created and I am able to use all of the php
functions for pdf's but I am having a slight problem:
here is part of my code
$pdi_file =
$_SERVER['DOCUMENT_ROOT'].dirname($_SERVER['PHP_SELF']).'/block_test.pdf';
I have a little application I have built that will create a tar.gz
archive of a group of files and directories. It works flawlessly on
FreeBSD, OSX and Debian Linux. I want it to work for Windows, but I am
having some trouble.
I am simply using an exec call to the tar application:
I figured out what was wrong.
If you are interested in my solution here it is:
I did some searching in the PDFLIB documentation and I needed to set
this at the top of my script to show some errors
pdf_set_parameter($pdf, 'pdiwarning', 'true');
then, to fix the problem I needed to add this
Hi
I have a current application where I am listing a table of order details,
where a fulfillment company can enter the tracking number and the cost of
the shipment.
At present, I have up to 40 orders displayed, and when they click on the
update¹ button, the code executes as
if
Well last weak I experienced the same problems... after a while my
server turned into a zombie while the server was swapping his ass off...
2 apache treads at 10% each and the kswapd process 80% cpu and also all
my memory had been taken by apache... afer doing a apache 2 reload 350
Meg of
Its OK guys,
Got something else myself.
Here¹s the solution... Any suggestions appreciated...
/
// UPDATE PART
/
$i=1;
//while ($ordersinfo[$i])
while ($i $total)
{
$session = $ordersinfo[$i][session];
$tracking =
I'm working with PHP-GTK to create a GUI application. This GUI
application opens a socket to a gaming server to send/receive data to
display to the user. So far, this is working well, but the problem is
that it can only receive data after I make a function call to send data.
Here's my
At 07:56 PM 5/18/2004, Enda Nagle - Lists wrote:
Its OK guys,
Got something else myself.
Here¹s the solution... Any suggestions appreciated...
/
// UPDATE PART
/
$i=1;
//while ($ordersinfo[$i])
while ($i $total)
{
$session =
Hi Miles,
Thanks for the reply.
I see what you¹re doing there and had looked at the foreach() functionality,
but am I right in saying that I still need to use the multidimensional array
since there are three variables in each line? (id, tracking, kb_ship)?
Enda
--
On 19/05/2004 00:58, Miles
Enda
Yes, you need the multi-dimensional array as you want to keep the data for
the same line together.
Miles
At 09:03 PM 5/18/2004, Enda Nagle - Lists wrote:
Hi Miles,
Thanks for the reply.
I see what you're doing there and had looked at the foreach()
functionality, but am I right in saying
hi
I want to use the DB.php to access mysql database, so I add the following line to my
file:
require_once 'DB.php';
but I get the following error info:
Warning: main(DB.php): failed to open stream: No such file or directory in
D:\Apache2\htdocs\dunj\test\member\connectDatabase.php on line
David wrote:
hi
I want to use the DB.php to access mysql database, so I add the following line to my
file:
require_once 'DB.php';
Is my file the file referenced in the error message below? Namely,
D:\Apache2\htdocs\dunj\test\member\connectDatabase.php.
I'm guessing the message No such
I had a similar error before before.
I think php was thinking that the path was '.;d:\php\PEAR' and not two
seperate paths (??)
What's the include_path line in you php.ini look like? Could there be
something to do with that?
Martin
David wrote:
hi
I want to use the DB.php to access
John,
If that text is not properly validated and escaped, you could
be open to SQL Injection attacks
...
you could be open to Cross Site Scripting attacks
After reading your response, I looked the web to determine what
you meant by properly validated and escaped.
From what I
[EMAIL PROTECTED] (C.F. Scheidecker Antunes) wrote in
news:[EMAIL PROTECTED]:
Hello all,
I have updated an old system to Fedora 1 and php php-4.3.4-1.1.
However the mail comand does not work anymore.
The php.ini of the original system did not have anything special.
Sendmail is not
62 matches
Mail list logo