call with exec or whatever...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
with the session ID somehow before it runs so
that it can generate a PHP_SESSIONID (or whatever it is) cookie to send back to
PHP...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst
echo 'Thank you $name for submitting your inquiry!br /';
echo 'You have supplied the following information:br /';
echo 'Name: $name br /';
echo 'Email Address: $email br /';
echo 'Comments: $comments';
}
?
--
Peter van der Does
GPG key: E77E8E98
IRC: Ganseki
to turn you XML into SQL.
Write some code to run that SQL.
HTH
Pete
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http://www.php.net
programs for them, especially when they look like college
assignments.
Cheers
Pete
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http
on their
respective bits of the form.
Or: bite the bullet and use javascript onclick events to set a hidden field
which signals what the action is supposed to be in the back end.
--
Peter Ford phone: 01580 89
Developer fax: 01580
Peter Ford wrote:
Angus Mann wrote:
Hi all.
I want to have several delete buttons with just one form, and depending on
which button is pressed, one of several items is deleted.
So I need multiple submit buttons for 1 form, each displaying the same text
Delete to the user, but each
or is it just wrong?
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Peter Ford wrote:
Michael A. Peters wrote:
Shaun Thornburgh wrote:
Hi,
We are getting errors when trying to vaildate our HTML due to the [
character when using Post Arrays:
Line 173, Column 65:
character [ is not allowed in the value of attribute id
…e=filters[calling_url] id
.
Boss: Really?
Me: No, a year.
Boss: Eh?
Me: Actually, somewhere between the two, I suspect...
Boss wanders off, tearing out some more of the little hair remaining...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
ltrim($a,'options[');
][name]
UH, what?
Not exactly what I expected.
This works:
php $a='options[options][name]';
php echo ltrim(ltrim($a,'options'),'[');
options][name]
Can somebody explain the second behavior? Is this a known bug in PHP,
I'm running PHP 5.2.6 on Ubuntu.
--
Peter van der Does
On Wed, 11 Mar 2009 15:28:04 -0400
Paul M Foster pa...@quillandmouse.com wrote:
On Wed, Mar 11, 2009 at 03:07:18PM -0400, Peter van der Does wrote:
This might be old for some of you but I never encountered it until
today and I would like to know why this is happening.
Here's
= `find . -name '*.php'`;
foreach (explode(' ',$list) as $file)
{
copy ($file,{$file}.bak);
}
?
should do much the same thing (if permissions etc. allow...)
Note that in both of these examples, filenames with spaces in them will blow the
whole thing up :(
--
Peter Ford
that generates a manageable number of
exceptions you can deal with those by hand.
As for your expectation of a museum: the reputation of dusty old rooms full of
stuff is not entirely un-earned, so I wouldn't expect their databases to be
spotless!
--
Peter Ford phone
you get the safest handling of values without any tedious messing about
with manually escaping strings.
I suspect that under the hood it actually prepares a statement and then executes
it, but I might be wrong...
--
Peter Ford phone: 01580 89
Developer
elegant code libraries.
But then the dot-com thing all fell over and it was too expensive for most
people to pay for three teams and a couple of managers just to build a web
shop...
--
Peter Ford phone: 01580 89
Developer fax: 01580
guess not.
/Peter
--
Dotan Cohen
Hi again
Sorry for cutting your name card short Dotan, but I get tired reading the
entire alfabet every time.
Yes ssh and fixed IP is properly a must for you guys who having php
programming as a hobby, but I only want a webside up and running.
The only
to correct the permissions.
I anyone want to know more abot this see coppermine forum search for
batch-add
best regards
Peter Sørensen
Carlos Medina i...@simply-networks.de wrote in message
news:c5.73.47432.da8b6...@pb1.pair.com...
Nordstjernealle 10 schrieb:
Hi PHP experts
What is the overall
code - if they care then they shouldn't be using IE, and if they don't
care they shouldn't be on the internet.
/troll
Tim's efforts do seem to be a bit of overkill...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
) and the server is visible just like it was a real machine...
So I can take this machine around, and (without needing any network connection)
show off the app in IE, Firefox, Opera or Chrome without having to run IIS.
Well, I thought it was cool, anyway :(
--
Peter Ford
this is taking it a bit far...
In space, no one can hear you scream...
(or bang, for that matter)
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing
I'm currently working
on: maybe I can come up with some examples in a couple of days...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http
certainly don't find it slow (not like Eclipse was) or confusing (again,
looking at you, Eclipse), and on my SuSE Linux box (Intel CoreD 2.4Ghz, 2Gb RAM)
the fonts are lovely and smooth.
--
Peter Ford phone: 01580 89
Developer fax: 01580
3.5) for Java, and I've
always liked it...
I do miss some of Quanta+'s neat quote, bracket and tag completion, though...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
) when I come to do my timesheets,
which is usually less often than my commits...
Cheers
Pete
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http
project, just interested and
interested to know what's most common + might learn something/find some
new tools/toys!
pps: will reply myself as well but if I do here it'll make your
intertwined replies messy!
Many Regards
Nathan
--
Peter Ford phone: 01580
of that - for example if
$_SESSION['userInfo']['loggedIn'] is only ever set to TRUE (and is not set
otherwise) then you might find that
if (isset($_SESSION['userInfo']['loggedin'])) {
will work for you ...
--
Peter Ford phone: 01580 89
Developer
Alain Roger [EMAIL PROTECTED] writes:
I think both will be ok, it just depends on what's you want:)
HI,
i'm currently working on some web application and i would like to know what
is the best way to do what i want.
basically like all application i have a menu and based on selected item menu
,
tedd
why don't people just check for x/y co-ord's on an image submit instead?
Not so good if you're using lynx, or if you're blind, I guess.
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd
:
log_errors_max_len
It defaults to 1024 characters: presumably that includes the preamble giving you
1015 or so to play with.
If you set it to zero then you get unlimited log messages. 'course that might
fill your logs up a bit...
--
Peter Ford phone: 01580 89
to test on Wine or Mono?
-Shawn
Tried on Wine (version 0.9.60 on OpenSuse) and I could even get the downloader
to start.
To be fair, I've never really got anything to work on Wine...
--
Peter Ford phone: 01580 89
Developer fax
such) and the actual size of the data sent in the request is
therefore likely to be some fraction bigger than the file itself (like 33%
bigger for base-64 encoding)
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
');
die('ERROR--CANNOT CONNECT TO SERVER'); // English is a very powerful language!!
and similar for the other message...
There may be other errors in your code, but that's all you were asking about.
--
Peter Ford phone: 01580 89
Developer
...';
compared with
$foo = You need to pay \$dollars...;
Again, it depends on you view of backslashes.
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List
.
It's arguably more correct in this case to use ellipsis:
But ... I could be wrong :)
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http
: . $data[1] . 3: . $data[2] . 4: .
$data[3] . 5: . $data[4]
?
Does that work for you?
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http
message about that.
What I can't understand is why is might work with one browser and not another...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List
code has the /usr/local/apache/htdocs path hard-coded, when your web
files are actually in /var/something...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General
Wei, Alice J. wrote:
-Original Message-
From: Peter Ford [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 4:06 AM
To: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
Wei, Alice J. wrote:
Hi, Rob:
I forgot to mention that I have been using yum install.
I
Wei, Alice J. wrote:
From: Peter Ford [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 7:28 AM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
Wei, Alice J. wrote:
-Original Message-
From: Peter Ford [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July
Wei, Alice J. wrote:
From: Peter Ford [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 7:28 AM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
Wei, Alice J. wrote:
-Original Message-
From: Peter Ford
raining horizontally at the
moment and my keyboard hates being wet.
I'm using Lucida Sans for code these days - I finally figured that it didn't
really have to be a fixed-width font, since I couldn't find one that wasn't ugly.
--
Peter Ford phone: 01580 89
if Apache can do such a thing?
In a Java environment, I used a session object which cleaned up such folders
when it was garbage-collected...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd
image was a background image,
which was being copied up to the foreground... and I had caching disabled (I was
on my development system and hacking some annoying IE/JS problems) so the
copying-up was forcing a reload from source...
Not broken after all.
Faith restored.
All is well.
--
Peter
Peter Jackson wrote:
well thats it Ive come to the conclusion that its a driver/lib issue.
From what I can see mdbtools lib only reads and only does basic select.
(eg Select * from table where col =thistext But not tex* % or date.
Also looks like the project has died (think the last release
?
(eg select * from myquery). Just thinking that may fix one of my
problems (Caps and spaces in table/column names aaarrgghh)
Peter Jackson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$value /option\n;
Peter Jackson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bastien Koert wrote:
On Sat, Jul 5, 2008 at 11:04 AM, Bastien Koert [EMAIL PROTECTED] wrote:
On Sat, Jul 5, 2008 at 6:51 AM, Peter Jackson [EMAIL PROTECTED]
wrote:
$conn=odbc_connect(Database,,); works
$a = abcd; (this value exists in db)
$stat = Select * FROM . 'Table Name';
$qry
Jim Lucas wrote:
Peter Ford wrote:
Frank Arensmeier wrote:
17 jun 2008 kl. 22.14 skrev Jim Lucas:
Jason Pruim wrote:
Hi everyone,
I am attempting to adopt some code to work more reliably then how
it is now...
What I am doing is coding a upload form where people could be
uploading .zip
command can help here. Not perfect, but still...
You could also Virus-scan the file before accepting it. All depends on whether
your customer is prepared to wait while you clear his upload.
Cheers
Pete
--
Peter Ford phone: 01580 89
Developer
Message - From: Stut [EMAIL PROTECTED]
Newsgroups: php.general
To: Peter Sorensen [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Sunday, June 08, 2008 11:27 PM
Subject: Re: [PHP] Choosing PHP or ? for building an automatic photo
web.
On 8 Jun 2008, at 21:44, Peter Sorensen wrote:
I want
amount of
hours?
Is PHP the choice?
Do I need to use mySQL for this?
What features must the webhotel suport and do you know if Surftown does?
Is there anywhere I get template source code for this, free or at a low
price?
best regards
Peter Sørensen
--
PHP General Mailing List (http
) and tend to choose what products I buy based on my own
research, rather than what a marketing droid thinks I need to buy.
Anyway, this is waaay off-topic: it was right from the start - sorry
everyone :(
I'll keep my pet peeves private from now on ...
Cheers
Pete
--
Peter Ford
script runs.
Don't always assume that it is your code that is wrong (that's what managers are
for)
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List
sandboxes)
/pet-peeve
'course, there are many sites that make the same call to urchinTracker(), and
many many worse errors...
Cheers
Pete
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst
Stut wrote:
On 12 May 2008, at 09:39, Peter Ford wrote:
tedd wrote:
Hi gang:
This is what I did this morning:
http://webbytedd.com/bb/tribute/
It speaks for itself.
Cheers,
tedd
tedd,
Nothing to do with the subject matter, but I noticed because it is one
of your more simple pages: I get
explicitly say the the message number is one-based, and
most real programming languages these days use zero-based arrays...
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
Generated Source
function which extracts the source from the DOM model the browser used to render
the page.
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General
that document.getElementById(id) is actually returning something
- if it fails it returns null.
Maybe you have given your checkbox a name and not an id, although that should
fail with FF (and Safari) too...
It's fine on IE7 - anything older than IE7 is too broken to be usable, really.
:)
--
Peter Ford
numbers file that returns mime types (they're easier to parse than regular magic
number responses). Probably something like /usr/share/misc/magic.mime, but that
depends on the system.
--
Peter Ford phone: 01580 89
Developer fax
Peter Ford wrote:
Mark Weaver wrote:
Ryan S wrote:
Hey everyone,
A bit of a puzzle here, dont know if this is a JS problem or PHP or
FF or just me.
(My money is on the last one :p )
Here's what I am trying to do:
In a form I have a listbox with the values 1-5, and under
the original
form tag with an empty form.
Your Javascript code also adds a spurious tr tag (line 17 of
dynamic_no_of_recipients2.js)
This is not really anything to do with PHP, of course... :)
--
Peter Ford, Developer phone: 01580 89 fax: 01580 893399
Justcroft International Ltd
your page
actually looks like after the JS has run...
2. Check that the TD you are loading with content is actually inside the FORM
tags - otherwise the inputs won't be included in the request/post variables...
Cheers
Pete
--
Peter Ford phone: 01580 89
Eric Butera wrote:
On Thu, Mar 27, 2008 at 12:41 PM, Peter Ford [EMAIL PROTECTED] wrote:
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's
(') around the src attribute to avoid those ugly
backslashes ...
$body .=
table
tr
tdimg src='$myimage1'/td
/tr
/table
;
Might be better in this case to use heredoc syntax ...
$body .EndOfChunk
table
tr
tdimg src=$myimage1/td
/tr
/table
EndOfChunk;
--
Peter Ford
');
}
}
}
// = Script =
$var = $_POST['var'];
$foo = new foo();
try
{
$foo-setBar($var);
}
catch (Exception $e)
{
echo 'An error occurred: ',$e-getMessage(),\n;
}
Take a look at http://www.php.net/manual/en/language.exceptions.php
--
Peter Ford phone: 01580 89
(or attribute) but it's in this list somewhere...
Cheers
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
using the $this-variable
structure in a string like that.
An alternative syntax is to escape the variables with braces:
$fileName = {$this-path}/{$this-logfile};
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
mount_point_for_B/the_file_to_copy mount_point_for_C
# Unmount the SSHFS mounts when you're finished
fusermount -u mount_point_for_B
fusermount -u mount_point_for_C
Still not PHP though...
--
Peter Ford phone: 01580 89
Developer fax
mutilation at birth? Do we want influences into our governments that
inhibit natural advances in modern science? Do you really believe in
virgin birth and resurrection?
Really sounds like Microsoft!
Bill Gates IS the Messiah.
--
Peter Ford phone: 01580 89
Siegfried Gipp wrote:
Hi,
i still got no answer. Maybe i did not see it, altough i'm trying to read any
single post. But may be i overlooked it due to high traffic. So now i have
set up a filter (hopefully) copying answers to another folder.
Here is the question: Is it possible to
match the (possibly wild-carded)
condition, indexed by the element Id (useful for making HTML select lists, for
example).
In fact, I have a base class which implements this by class introspection -
filling the properties of objects which extend it by mapping them to the
database fields...
--
Peter
Emilio Astarita wrote:
Peter Ford [EMAIL PROTECTED] writes:
Emilio Astarita wrote:
Hi people,
A static method should still be able to set values of private members. I do
something like:
...
Thank you, I was not sure how to implement it.
Another question. It would be a better
in it's own special way. Only problem is the extra hit on the
server to get the XSLT... :(
--
Peter Ford phone: 01580 89
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
--
PHP General Mailing List (http
Paul Scott wrote:
On Tue, 2008-02-05 at 13:29 -0500, Daniel Brown wrote:
Still debating what
device I'll get next, but I want to use it as a mobile server myself.
I had been working on a bound-for-trash PDA doing the same a while
back, but with what we'll refer to as limited results.
I
that require landscape
printing.
So the question is how to replace this via php/whatever.
(I did say it was a vague question)
Oh and I'm aiming for a unix/windows outcome.
any links welcome.
TIA
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Jochem Maas wrote:
Jochem Maas schreef:
I'm getting exceptions thrown without a stackframe. I understand what
this
means but not how it can happen given the following:
1. *every* frontend script on the site is wrapped in a try/catch block
2. I have set an exception handler to dump these
. (Think the one I'm trying on is 2000+ characters. So its
not a case of set number of words/numbers between [] it could be 2 or it
could be 4 etc)
Anyone workout what I am talking about and can help would be appreciated.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
-the-dead.org.uk
All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
On Mon, 21 Jan 2008, Peter wrote:
To: php-general@lists.php.net
From: Peter [EMAIL PROTECTED]
Subject: [PHP] regex
I am trying
Jim Lucas wrote:
Peter wrote:
I am trying to convert ms access sql to postgresql using php.
I have a sql statement in the form ;-
$sql = SELECT DISTINCT [Table Name].[Column.Name], [Table Name
1].[Column Name 2] etc.
what I want to end up with is $sql = SELECT DISTINCT
Jim Lucas wrote:
Peter wrote:
I am trying to convert ms access sql to postgresql using php.
I have a sql statement in the form ;-
$sql = SELECT DISTINCT [Table Name].[Column.Name], [Table Name
1].[Column Name 2] etc.
what I want to end up with is $sql = SELECT DISTINCT
Jim wrote:
I'm sure this is a FAQ but I can't seem to come up with the right search
keys to dig it out.
I'm trying to help a friend migrate his application to php 5 from
another system. The problem seems to be that he references files
(require, include, etc) that have a .php3 extension,
You could just swap all the double quotes in the HTML tags for single quotes -
that would work in this instance...
$myblokvar =
table width='487' border='0' cellspacing='0' cellpadding='0'
...
/table
;
Or perhaps a HereDoc syntax:
$myblokvar = EndOfMyHTMLBlock
table width=487 border=0
Richard Lynch wrote:
On Thu, December 6, 2007 2:44 am, Rolf_ wrote:
I have a problem working with shmop_open() in a Solaris environment.
The
following cli-script works fine, except shmod_open returns a warning
'unable
to attach or create shared memory segment':
?php
$sem = /tmp/ . rand()
On Dec 3, 2007 12:18 AM, Bill [EMAIL PROTECTED] wrote:
Do failed tests mean I absolutely should NOT install. Or is it normal to
have a few fails? Try two different versions, all have some failure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Nov 27, 2007 11:43 PM, Peter Smit [EMAIL PROTECTED] wrote:
Hello,
I've got quite a strange problem with the curl library.
The following code does output Content||\Content instead of
Content|example.orgoutput|\Content
$c = curl_init(http://example.com;);
$st = fopen(php://memory, r
On Nov 29, 2007 5:18 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Nov 29, 2007 7:56 AM, Peter Smit [EMAIL PROTECTED] wrote:
On Nov 27, 2007 11:43 PM, Peter Smit [EMAIL PROTECTED] wrote:
Hello,
I've got quite a strange problem with the curl library.
The following code does
, CURLOPT_FILE, $st);
if(!curl_exec($c)) die (error: .curl_error($c));
rewind($st);
echo Content|.htmlspecialchars(stream_get_contents($st)).|/Content;
fclose($st);
unlink($file);
What's the problem? Does PHP not support memory streams in Curl?
Peter
--
PHP General Mailing List (http://www.php.net
Jochem Maas wrote:
Kiketom wrote:
Hi all.
Yesterday i have looking for the overloading members
Member overloading
void __set ( string name, mixed value )
mixed __get ( string name )
As an example i put this code:
class foo
{
private $ID;
private $Name;
private $LastName;
I was all ready to jump on Point #6 to disagree until I read the
next paragraph, updating that with the correct information. PHP can
find out the OS of the system on which the browser is running.
Strictly speaking, PHP can only find out what the browser tells it - that
includes the
Lester Caine wrote:
Peter Ford wrote:
I've tried to use Eclipse PDT, and it's just generally horrible - the
All-in-one
has no Subversion support and no SSH support for deploying to the server
properly. The debugging support worked well on the windows version, but I
couldn't get it to work
I've tried to use Eclipse PDT, and it's just generally horrible - the All-in-one
has no Subversion support and no SSH support for deploying to the server
properly. The debugging support worked well on the windows version, but I
couldn't get it to work from Linux (with the same web server...)
And
Ford, Mike wrote:
On 06 November 2007 12:57, Christoph Boget wrote:
Consider the following test code:
[...snip...]
Running that I found that
if( isset( $myArray[$key] ))
is faster than
if( array key exists( $key, $myArray ))
is faster than
if( $myArray[$key] )
To be honest,
Hulf wrote:
Just wondering if anyone uses an IDE and if so what ones?
Ta,
H.
Quanta+, with KDESVN for version management...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could try using exec to set up an AT job with a short delay which will
then run 'net apache restart' - I'm not a total windows guru so I can't give you
the exact recipe...
Something like exec('AT 12:00 net apache restart');
Check the documentation on the AT command...
One possible extra
compiling it on their machine and changing their
environment.
So is there any nice solution with php pre compiled and that the files are
just in a tar ball or similar, so that the php cli can be used?
Best regards,
Peter Lauri
http://www.dwsasia.com/ www.dwsasia.com - company web site
No, turn Magic Quotes off :)
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 23, 2007 3:10 AM
To: Jim
Your array that you get from the file() will contain the ?php tag, but you
will not see it in your browser as it is parsed as html.
header(Content-type: text/plain);
ontop of your script will output plain text. Hope it helps.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
Oh, and by the way, remember that the array that file() returns also will
contain the newline. Add the flag FILE_IGNORE_NEW_LINES if you don't want
them.
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
Peeps,
I'm having an issue where throwing Exceptions are displaying a blank page
even though the Exception is being caught in a try...catch statement. This
is happening on our production server where warnings, errors, exceptions,
etc. are not to be displayed to the user. The assumption is
401 - 500 of 1823 matches
Mail list logo