Dear list,
I've tried Google, php.net and the list's archives, but I can't find
what I'm looking for. Maybe it's obvious, or maybe nobody wonders about
this...
For years, I've used microtime() to get the current time including the
microseconds. However, somebody pointed me at a sentence in the
Dear all,
We have an immediate job opening available to work in our team of
bio-informaticians on extending the LOVD software (www.LOVD.nl). Even if
you're still a beginner with PHP you're welcome to respond. Affinity to
biology is a big plus.
LOVD (Leiden Open Variation Database) is webbased
Thanks everyone for the useful input. I've looked around a bit using the
various links and info that I got. The Gallery2 documentation on the
modules is far from transparent to me, and the idea of having a general
module class that needs to get extended by the module doesn't appeal to
me either. I
Hi guys,
I've been developing a GPL PHP/MySQL app for some time now and I would
like to extend it with a module/plugin system. The idea would be that
people could add a directory in a plugin path that would contain a
bunch of PHP files extending the functionality of my application. This
directory
On Wed, 06 Dec 2006 10:49:52 +, Colin Guthrie wrote:
Al wrote:
Anyone having problems connecting the last few days? Or, is there
something wrong on my end. Al other sites are working just fine.
Newsgroup? I presume you are using Gmane (as I am).
I'm using Pan and it's taking ages
Also, try to use a local email address first. Possibly it gets sent, but
the remote server blocks the email as spam. You can check that by having
the email sent to your local user, and check if it arrives there.
HTH
On Mon, 04 Dec 2006 16:53:19 +0100, Jochem Maas wrote:
Janet Smith wrote:
I
Technologies
Tel. +886-2-6616-0100 ext. 201
Cell. +886-938-100-214
Fax. +886-2-6616-1100
Skype: jordan4z
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-Original Message-
From: Ivo F.A.C. Fokkema [mailto:I.F.A.C. [EMAIL PROTECTED]
Sent: Monday, November 27, 2006 6:01 PM
To: php-general
On Wed, 22 Nov 2006 09:57:50 +0100, Ivo F.A.C. Fokkema wrote:
Hi List,
As this subject may start you wondering what the hell I'm thinking, let me
clearify:
I've been rewriting an GPL'ed PHP/MySQL app from scratch for the last 12
months or so. It facilitates storage of DNA mutations
Hi List,
As this subject may start you wondering what the hell I'm thinking, let me
clearify:
I've been rewriting an GPL'ed PHP/MySQL app from scratch for the last 12
months or so. It facilitates storage of DNA mutations and the
corresponding patient data. Because patient data is involved,
On Wed, 22 Nov 2006 20:14:37 +1100, Kevin Waterson wrote:
This one time, at band camp, Ivo F.A.C. Fokkema [EMAIL PROTECTED] wrote:
*** THIS IS NOT ABOUT HACKING THE SERVER ***
But about getting in the application when you're not allowed to!
So, basically, you want _us_ to do _your_ bug
On Wed, 22 Nov 2006 09:53:00 +, Stut wrote:
Kevin Waterson wrote:
This one time, at band camp, Ivo F.A.C. Fokkema [EMAIL PROTECTED] wrote:
*** THIS IS NOT ABOUT HACKING THE SERVER ***
But about getting in the application when you're not allowed to!
So, basically, you want _us_
On Wed, 22 Nov 2006 03:20:16 -0800, Ryan A wrote:
Hey there,
I dont mean to be a total pri*k about this, but unless you have created
something that you are willing to share with others and others can
use/modify for their requirements, and you grant them this privilege...I
think the norm is
On Wed, 22 Nov 2006 13:37:43 +, Edward Kay wrote:
guys I think we need to relax a bit and not attack the guy so much!
I agree.
Ivo, have you tried Chorizo? http://chorizo-scanner.com/
Thanks Angelo Edward!
Chorizo looks good, especially the Morcilla extension mentioned on the
On Wed, 22 Nov 2006 16:19:54 +0100, Jens Meyer wrote:
Hi!
Could you check the default encoding of your webserver (in httpd.conf)?
I noticed that the charset-information in meta-information is ignored
and the default-charset of the webserver is used.
Kind regards,
Jens
Before
On Tue, 14 Nov 2006 15:11:56 -0500, Brad Fuller wrote:
$prevminute = sprintf('%02s', date(i)-1);
Or, $prevminute = str_pad(date(i)-1, 2, '0', STR_PAD_LEFT);
It's a little more code - don't ask me about the speed :)
Ivo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Tue, 14 Nov 2006 09:36:52 +, Tom Chubb wrote:
I have just encountered a fatal error using file_put_contents() on a PHP4 box.
After a bit of research I found a simple function within the php.net
user comments.
I just wanted to know what happens if I then tried to run this script
on a
On Sun, 12 Nov 2006 22:02:51 -0700, Thomas Bonham wrote:
Thank you for that, it was a big help.
Can I also call function that way?
Again thank you for your help.
Thomas
Do you mean:
/index.php?action=search
?php
if (isset($_GET['action']) $_GET['action'] == 'search') {
On Tue, 07 Nov 2006 08:42:57 +0200, Pieter du Toit wrote:
Hi guys
I have a website that is being crawled or whatever and i have a submission
form for an event.
I keep on getting random mail from this form.
I have even disabled the submit button on the form, but keep on getting it.
On Mon, 30 Oct 2006 12:28:29 +0100, Robin Vickery wrote:
On 30/10/06, Ivo F.A.C. Fokkema [EMAIL PROTECTED] wrote:
On Sun, 29 Oct 2006 23:40:47 -0600, Richard Lynch wrote:
On Fri, October 27, 2006 4:53 pm, Børge Holen wrote:
On Friday 27 October 2006 19:34, Richard Lynch wrote
On Sun, 29 Oct 2006 23:40:47 -0600, Richard Lynch wrote:
On Fri, October 27, 2006 4:53 pm, Børge Holen wrote:
On Friday 27 October 2006 19:34, Richard Lynch wrote:
And the header(Location: ...) requires a full URL.
No it doesn't. but he's missing an ' at first glance
Yes, it does:
On Sun, 29 Oct 2006 23:04:27 -0600, Richard Lynch wrote:
On Sun, October 29, 2006 2:06 am, Beauford wrote:
LOL, I don't know either. The format is - 01/01/2006. When I first did
it I
used 7, which should be right, but I ended up getting /2002 /2003,
etc. So I
went to 8 and all was well.
On Tue, 24 Oct 2006 23:55:49 +0200, M.Sokolewicz wrote:
Dotan Cohen wrote:
On 24/10/06, Chris Boget [EMAIL PROTECTED] wrote:
$languages = array(
af = array(Afrikaans, Afrikaans, South Africa),
sq = array(Albanian, Shqipe, Albania));
foreach ($languages as $language){
On Tue, 24 Oct 2006 20:36:08 -0400, Ron Piggott (PHP) wrote:
I have used the strtotime command to calculate a week ago (among other
things) with syntax like this:
$one_week_ago = strtotime(-7 days);
$one_week_ago = date('Y-m-d', $one_week_ago);
How would you use this command to figure
On Wed, 25 Oct 2006 20:35:29 +1300, Matt Beechey wrote:
I am writing a php website for users to edit a global whitelist for Spam
Assassin - all is going fairly well considering I hadn't ever used php until
a couple of days ago. My problem is I need to restart AMAVISD-NEW after the
user saves
On Wed, 25 Oct 2006 10:19:24 +0200, Max Belushkin wrote:
Whatever form information you want to pass has to be part of the form.
WILLEMS Wim (BMB) wrote:
select name=database size=1
In the second script, the value of this will be in $_POST[database].
... which will contain absolutely
On Wed, 25 Oct 2006 13:53:47 +0200, Dotan Cohen wrote:
On 25/10/06, Ivo F.A.C. Fokkema [EMAIL PROTECTED] wrote:
Because that wouldn't work :)
This variable may contain stuff like nl,en-us;q=0.7,en;q=0.3. You'll
need to do something with this variable first to use
array_key_exists
On Mon, 23 Oct 2006 16:52:54 -0500, Richard Lynch wrote:
On Fri, October 20, 2006 11:40 am, Richard Lynch wrote:
Changing the gateway to the one that NATs fixed things.
Good you got things fixed!
PS
On another fun job this weekend...
NOTE TO SELF: Always check to make sure nobody kicked
On Fri, 20 Oct 2006 12:06:26 -0400, Robert Cummings wrote:
On Fri, 2006-10-20 at 17:22 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 17:04:35 +0200, Fourat Zouari wrote:
I have PHP/PostgreSQL application were i got a search page with some items
to search, am building the search
On Sat, 21 Oct 2006 18:16:19 +0200, Dotan Cohen wrote:
On 21/10/06, Dotan Cohen [EMAIL PROTECTED] wrote:
I'm in the horrible situation where I need a one-page script to hold
it's own password and validate itself. I coded this together, I want
this lists opinion as to whether or not it holds
On Sat, 21 Oct 2006 14:41:11 +1000, chris smith wrote:
On 10/21/06, Jochem Maas [EMAIL PROTECTED] wrote:
chris smith wrote:
On 10/21/06, Ivo F.A.C. Fokkema [EMAIL PROTECTED] wrote:
On Fri, 20 Oct 2006 23:24:14 +1000, chris smith wrote:
On 10/20/06, Ivo F.A.C. Fokkema [EMAIL PROTECTED
On Mon, 23 Oct 2006 04:33:52 -0400, Robert Cummings wrote:
On Mon, 2006-10-23 at 10:13 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 12:06:26 -0400, Robert Cummings wrote:
On Fri, 2006-10-20 at 17:22 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 17:04:35 +0200, Fourat Zouari
On Mon, 23 Oct 2006 19:00:08 +1000, Chris wrote:
John Messam wrote:
Hello, I am trying to find out the country and possibly the city where the
visitors to my site are coming from. I can capture the IP address but how
do I translate that to a specific locale. Is there a way to do it or do
On Fri, 20 Oct 2006 15:49:14 +1000, Chris wrote:
Andy Hultgren wrote:
To whoever was asking this (sorry didn't see the original email):
Is it possible to have a PHP script execute as the user of the domain
instead of the webserver? So when I upload files through a PHP script
they are owned
On Fri, 20 Oct 2006 16:04:27 +0900, Dave M G wrote:
PHP List,
I took a snippet of code right off the php.net site to use trim on all
the elements of an array.
Theoretically, it should test if the element in an array is in turn
another array, and break it down to the next level until it
On Fri, 20 Oct 2006 23:24:14 +1000, chris smith wrote:
On 10/20/06, Ivo F.A.C. Fokkema [EMAIL PROTECTED] wrote:
On Fri, 20 Oct 2006 15:49:14 +1000, Chris wrote:
Andy Hultgren wrote:
To whoever was asking this (sorry didn't see the original email):
Is it possible to have a PHP script
On Fri, 20 Oct 2006 16:57:16 +0300, Ahmad Al-Twaijiry wrote:
Hi everyone
I have a variable with UTF-8 text inside it and I want to convert this
text to windows encode, is it possible in very easy way ?
Thanks
---
Ahmad
Hi Ahmad,
utf8_decode() will decode your string to ISO-8859-1.
On Fri, 20 Oct 2006 17:04:35 +0200, Fourat Zouari wrote:
I have PHP/PostgreSQL application were i got a search page with some items
to search, am building the search query on server side.
I need to display a paginated search and for this i need to get the total
count of lines matching the
On Tue, 17 Oct 2006 08:18:47 +0100, Stut wrote:
John Taylor-Johnston wrote:
This is what http_accept_language gives me depending on which browser.
Depending on the visitor in my region, it will either be French or
English.
_SERVER[HTTP_ACCEPT_LANGUAGE] en-us,en;q=0.8,fr;q=0.5,fr-ca;q=0.3
On Tue, 17 Oct 2006 17:26:42 +0100, Robin Vickery wrote:
On 17/10/06, Al [EMAIL PROTECTED] wrote:
AYSERVE.NET wrote:
Please, I need help on how to to recognise url in a block of text being
retrieved from a database and present it as a link within that text.
I will appreciate any help.
On Sun, 15 Oct 2006 13:22:02 +0200, Zora wrote:
Hi all,
(first time I send an email here, so please be forgiving if something
doesn't follow expected rules.)
My web application allows users to enter time stamps (date and time)
given as local times. The time stamp is to be stored as UTC
On Fri, 13 Oct 2006 02:35:34 +0200, Emil Edeholt wrote:
Hi!
I'm trying to make thumbnails of uploaded jpegs via GD. It works fine on
most jpegs but doesn't seem to work on canon jpegs (tried both a
consumer canon and one of the finer DSLRs). When I resaved the canon
jpeg in my imaging
On Tue, 10 Oct 2006 14:22:54 -0500, Richard Lynch wrote:
On Mon, October 9, 2006 2:58 pm, John Wells wrote:
On 10/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
but I know there must be much better solution then this one.
You're right: Simply JOIN your queries...
SELECT order_id,
On Tue, 10 Oct 2006 14:34:54 -0400, John Nichel wrote:
Chris Boget wrote:
$last = end ( $numbers );
reset ( $numbers );
I thought foreach() already performed a reset()? Why do it again here?
Well, corn my fritters, according to TFM, it does this indeed. Maybe an
old dog can learn
On Thu, 05 Oct 2006 16:35:04 +0200, Javier Ruiz wrote:
Perfect!
got it using the following:
/* 1 - remove the query string just in case it contains a '/' in it
2 - like Clive said, substr() and strrpos() 'clean' the path to provide
the directories only */
$aPath =
On Thu, 05 Oct 2006 09:16:17 +0800, Penthexquadium wrote:
On Thu, 5 Oct 2006 01:17:41 +0700, Groundhog [EMAIL PROTECTED] wrote:
how can I jump to another page after IF..ELSE statement, for example:
IF (statement == TRUE)
{ stay on this page, index.php }
ELSE { jump to index2.php}
On Thu, 05 Oct 2006 09:29:46 +0800, Penthexquadium wrote:
On Wed, 4 Oct 2006 23:19:58 +0200, Martin Bach Nielsen [EMAIL PROTECTED]
wrote:
Hi all.
I have written a guestbook (I know, there's a ton out there), which until
recently did not get any spam, so now I'm trying to remove the
On Sun, 01 Oct 2006 19:59:08 +0100, Deckard wrote:
Hello,
I have this code:
// insert new user in mysql user table
$sqlInsertUser = INSERT INTO user (Host, User , Password ,
Select_priv, Insert_priv, Update_priv, Delete_priv) VALUES ('$hostname',
'$mysql_username', '$mysql_password',
On Thu, 28 Sep 2006 14:29:13 -0400, blackwater dev wrote:
Yep, I get called to undefined function so I need to somehow re-compile the
cli version? How do I give support to just the cli version? I'm going to
the docs now.
Thanks!
I guess it's dependent on your OS, but you might be able to
On Thu, 28 Sep 2006 11:33:06 -0400, Eric Butera wrote:
On 9/28/06, Ivo F.A.C. Fokkema [EMAIL PROTECTED] wrote:
Hi Tedd,
According to
http://nl3.php.net/mysql_real_escape_string
The function requires a MySQL connection. If there is none, it
will try and create one. That fails now
On Tue, 26 Sep 2006 21:45:58 +1000, David Tulloh wrote:
Google Kreme wrote:
On 25 Sep 2006, at 06:11 , Sancar Saran wrote:
...
If this is generating hundred of K of HTML, use ' instead of
(yes, it's faster).
I've seen this stated several times and at first glance it seems to make
Hi,
(sorry for top-posting)
This is the great way PHP-cli lets you know it hasn't got any MySQL
support :)
Enable that, and you're good to go. Mind you, PHP-cli has a separate
php.ini file.
Ivo
On Thu, 28 Sep 2006 08:26:13 -0400, blackwater dev wrote:
Ok, I've set up a username and
On Thu, 28 Sep 2006 11:06:45 -0400, tedd wrote:
Hi gang:
In one of my snip-its, namely:
http://xn--ovg.com/pdf
I was generating a pdf document after the user filled in a form. I
had been cleaning the user input by using --
$name = mysql_real_escape_string($name);
-- even though
On Tue, 05 Sep 2006 16:04:07 +0700, Peter Lauri wrote:
Hi,
I have bumped into a problem. I need to use a web service that is located on
server B from server A. The server B will execute a script when the web
service is accessed and an email is sent as an parameter. The problem is, if
On Fri, 01 Sep 2006 16:44:19 +0200, M. Sokolewicz wrote:
Dave Goodchild wrote:
Hi all, this may seem like a silly question, but I am creating a library of
html form element generation function, for example a textarea fucntion that
takes rows and cols as parameters, a function that generates a
On Fri, 01 Sep 2006 21:35:32 -0600, The Doctor wrote:
The question comes up because:
Sort file in the path interfere with one another
which leads to
web page malfunction.
Question: should all php programmes such as drupal be placed
under /usr/local/lib ?
I'm not getting the 'sort
On Mon, 28 Aug 2006 19:39:49 -0400, Robert Cummings wrote:
On Mon, 2006-08-28 at 16:50 +0200, Ivo F.A.C. Fokkema wrote:
On Mon, 28 Aug 2006 09:47:02 +0100, Stut wrote:
Micky Hulse wrote:
I am looking for the most secure/efficient way to compare these two
strings:
/folder1/folder2
On Tue, 29 Aug 2006 09:52:20 +0100, Ross wrote:
I just get all the binary data output
?
include(includes/config.php);
$link = mysql_connect($host, $user, $password) or die ('somethng went
wrong:' .mysql_error() );
mysql_select_db($dbname, $link) or die ('somethng went wrong, DB error:'
On Mon, 28 Aug 2006 09:47:02 +0100, Stut wrote:
Micky Hulse wrote:
I am looking for the most secure/efficient way to compare these two
strings:
/folder1/folder2/folder3/folder4/
/folder1/folder2/folder3/folder4/file.php
Basically I am trying to setup as many security features as
[SNIP]
As for PNG: As far as I know, the only issue with any realistic browser
(other than very old ones like IE2 or something) is that the alpha
channel is not supported. As there is no alpha channel in JPEG, so
there is no difference. Though I do not profess to be absolutely sure
On Thu, 24 Aug 2006 11:40:17 +0200, Merlin wrote:
Hi there,
I do have a form where there is also a field with max 2000 characters
the user can put in.
Now before processing the data with php, I do a checkin the script for
certain criterias if something lookes wrong I do redirect him to
[SNIP]
Considering in this thread where I left the quality at 100% and
reduced the image to less 40 percent of the original, and the end
result was that I actually made a larger file. So, I belive that at
least this example shows that 100% is not a good quality value
setting for reducing
On Mon, 21 Aug 2006 13:08:04 +0100, Ross wrote:
I want to set a session with a text link, am having problems with the
syntax. The link swiches the session to on or off.
a href= class=link_textswtich off/a
href= class=link_textswtich on/a
I want to do this but the syntax is incorrect.
On Mon, 21 Aug 2006 13:51:16 +0400, Nadim Attari wrote:
Hello,
I have some text in a table... the text contains hyperlinks (but not
html coded, i.e. plain Some text...http://www.something.com;)
When i retrieve these texts from the table, i want the hyperlinks to
become clickable, i.e.
On Wed, 16 Aug 2006 15:54:32 -0500, Richard Lynch wrote:
On Wed, August 16, 2006 4:53 am, Ross wrote:
Been having loads of problems with this and have solved it using the
phpmailer. The only problem is I cannot get the class working on the
remote
host I am working on. I am back to using
On Wed, 16 Aug 2006 10:53:30 +0100, Ross wrote:
Been having loads of problems with this and have solved it using the
phpmailer. The only problem is I cannot get the class working on the remote
host I am working on. I am back to using mail() but need to drop in script
that checks my
On Mon, 14 Aug 2006 19:14:42 -0500, Richard Lynch wrote:
On Mon, August 14, 2006 2:41 am, Ivo F.A.C. Fokkema wrote:
On Sat, 12 Aug 2006 16:36:36 -0500, Richard Lynch wrote:
On Fri, August 11, 2006 3:11 am, Ivo F.A.C. Fokkema wrote:
Well, if it's true that some browsers on some platforms ignore
On Sat, 12 Aug 2006 16:36:36 -0500, Richard Lynch wrote:
On Fri, August 11, 2006 3:11 am, Ivo F.A.C. Fokkema wrote:
Well, if it's true that some browsers on some platforms ignore the W3C
standard, I guess we could use:
Or perhaps these browsers pre-date W3C standards. :-)
Sure, but in newer
On Thu, 10 Aug 2006 16:41:38 -0500, Richard Lynch wrote:
On Wed, August 9, 2006 3:14 am, Ivo F.A.C. Fokkema wrote:
SO: Loading the GTK library in your /etc/php4/cli/php.ini, KILLS the
PHP-cli functionality from cron. On Ubuntu Dapper, that is. Not sure
about
other distros.
Probably
On Thu, 10 Aug 2006 17:17:23 -0500, Richard Lynch wrote:
On Tue, August 8, 2006 3:47 pm, Fokkema, I.F.A.C. \(HKG\) wrote:
If the user separates the dates by an enter in the textarea, you
need
to
explode on \r\n. To be able to handle both, you need to use
split()
or
preg_split().
When I
On Wed, 09 Aug 2006 11:14:11 +0100, Colin Guthrie wrote:
Ivo F.A.C. Fokkema wrote:
SO: Loading the GTK library in your /etc/php4/cli/php.ini, KILLS the
PHP-cli functionality from cron. On Ubuntu Dapper, that is. Not sure about
other distros.
Thanks guys, for all of your suggestions!
Ahh
In case anyone's interested, here's the function I use in the open source
project LOVD to undo Magic Quoting on all GPC arrays:
function lovd_magicUnquote ($var = '')
{
if (!$var) {
if (count($_GET)) {
lovd_magicUnquote( $_GET);
}
if (count($_POST)) {
On Tue, 08 Aug 2006 17:01:13 +0200, Arno Kuhl wrote:
Is there anything in your error log that says why it failed? (whatever
error_log points to in php.ini, or maybe what ErrorLog points to in
httpd.conf)
Arno
Hi Arno, thanks for your reply.
However, the PHP-cli binary doesn't use the
On Tue, 08 Aug 2006 17:07:29 +0200, Ivo F.A.C. Fokkema wrote:
On Tue, 08 Aug 2006 10:01:41 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 09:01, Ivo F.A.C. Fokkema wrote:
On Tue, 08 Aug 2006 09:01:42 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 08:47, Ivo F.A.C. Fokkema wrote
Hi guys,
I'm really stuck with this error and since my backup scripts are no
longer running automatically through cron, I really need to get this
fixed soon :)
Suddenly my backup scripts die with the error Could not startup.. Only
through the cron, it runs fine through the console. I've tried
On Tue, 08 Aug 2006 09:10:53 -0400, John Nichel wrote:
Ivo F.A.C. Fokkema wrote:
Suddenly my backup scripts die with the error Could not startup.. Only
through the cron, it runs fine through the console. I've tried all kinds
of tests with other PHP scripts, tried a different PC, asked my
On Tue, 08 Aug 2006 14:50:53 +0100, Dave Goodchild wrote:
On 08/08/06, Reinhart Viane [EMAIL PROTECTED] wrote:
A. I have a page on which people can supply dates in a text area. Dates
are
entered like this:
3/01/2005
29/12/2005
2/01/2006
20/02/2006
28/12/2006
1/01/2007
15/02/2007
B.
On Tue, 08 Aug 2006 14:54:08 +0100, Ross wrote:
I write a session to determine what module a user is on
$_SESSION['module_no']==1;
when they get to the end of the module I want to create a dynamic link to
the next module
$increment = $_SESSION['module_no']++;
$link=
On Tue, 08 Aug 2006 09:01:42 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 08:47, Ivo F.A.C. Fokkema wrote:
Does the user running the cron have permission to execute the php binary?
Yes, the file's owner is me and it's my crontab. Also, I've made the file
readable to all, just in case
On Tue, 2006-08-08 at 16:06 +0200, Reinhart Viane wrote:
try this:
$string = 3/01/2005 29/12/2005 2/01/2006 20/02/2006 28/12/2006 1/01/2007
15/02/2007;
$array = explode(' ', $string);
foreach ($array as $value) echo Date: $valuebr /;
If the user separates the dates by an enter in
On Tue, 08 Aug 2006 07:28:43 -0600, Jef Sullivan wrote:
Here is the cron command that we use. I've modified the path to the file for
security purposes.
*/5 * * 1-6 lynx -dump http://fully.qualified.path/cron_test.php
-auth=usr:pwd
Jef
Thanks for the reply.
However, your example is not
On Tue, 08 Aug 2006 10:01:41 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 09:01, Ivo F.A.C. Fokkema wrote:
On Tue, 08 Aug 2006 09:01:42 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 08:47, Ivo F.A.C. Fokkema wrote:
Does the user running the cron have permission to execute the php
On Wed, 24 Nov 2004 13:17:48 -0500, Ankur Os wrote:
Hi,
This is quite simpal problem that i want to made regular expression which
can read this kind of structure...
a,b,c
not like this
1. ,a,a,a
2. a,,,aa,,
3. a,a,a,,,
means simpal structure with comma (a,b,c...)
Hi,
Try
On Sun, 14 Nov 2004 18:21:23 +0100, M. Sokolewicz wrote:
Steve Vernon wrote:
Hiya!
I am trying to make some code which gets a handle to a directory, but
has different code for my localhost (Windows) and for online (Linux
server).
Basically, I want either of the below lines. Say if the
Hi Michael,
I always use
header('Refresh: 2; url=' . $_SERVER['PHP_SELF']);
to reload the current page every 2 seconds. You may want to pass $_GET
variables, depending on your needs. Also make sure you call this function
_before_ any other output has gone to the browser.
HTH,
Ivo
On Mon, 08
Hi guys and gals,
I'm not screaming Bug! Bug! but this _does_ look 'illogical' to me. I've
searched the archives, but found no earlier conversation. Sorry if
I missed it. Consider the following code:
var_dump(in_array('test', array(0)));
What does this return? I expect bool(false), but it
in my confusion.
Thanks again,
Ivo
On Tue, 09 Nov 2004 12:42:51 +0200, Bogdan Stancescu wrote:
Apart from Marek's reply, you should probably check the in_array()
documentation (look at the third, optional parameter) and search for type
casting on php.net.
Cheers,
Bogdan
Ing. Ivo F.A.C
86 matches
Mail list logo