On Wed, 2004-04-14 at 16:47, Curt Zirzow wrote:
> * Thus wrote Brian V Bonini ([EMAIL PROTECTED]):
> > Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150
>
> You're missing a } somewhere.
>
> if (1 ) {
>
> ?>
Yup, I sure was...
n e 1 know of a web based front end for CVS? Not just a file/project
browser but a fully functioning web based GUI.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 2004-05-29 at 13:49, lists wrote:
> tortoise is nice
>
> http://www.tortoisecvs.org/
So is Cervisia but not sure what that has to do with the original
question... ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 2004-05-29 at 15:01, Johan Holst Nielsen wrote:
> Lists wrote:
>
> > <>
> >
> > you're so right. I meant to send the link for horde
> >
> > http://www.horde.org/chora/
>
> Are you able to check out files? check in etc.?
> As far as I can see - it is just a web cvs viewer?
>
> The reque
On Wed, 2006-03-01 at 19:25, Chris wrote:
> Raúl Castro Marín wrote:
> > I got a little question, I just start to use binding adodb but I got a
> > problem: my primary query on Oracle is:
> >
> > $query = "SELECT munici_mun, UPPER(nombre_mun)
> > FROM MUNI
> > WHERE departa_dpt = ? AND
> > mun
hi, is mktime() actually faster than date() or any other date functions?
tnx.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[1] => 40
[2] => 30
)
Don't use an associative array for $a
$a=array(10,10,40,30,30,10);
Or iterate through $a to re-sequence the index in $b.
$a=array(0=>10,1=>10,2=>40,3=>30,4=>30,5=>10);
$a=array_unique($a);
foreach($a as $v) {
$b[] = $v;
}
pri
Jochem's site:
<< snip >>
http://iamjochem.com/mariecke/index.php
Mariecke's daily ramblings (almost) in dutch & english... this page is
using output from a drupal system.
If nothing else they have a nice logo. ;)
Warning: main(./../blog/parse.php): failed to open stream: No such file
or direct
On Sat, 2006-04-22 at 15:31, Martin Alterisio wrote:
> You're wrong, he isn't using an associative array, since the keys used
> are only integers.
Well, if you really want to argue semantics then technically we're both
wrong because there are no different indexed and associative array types
in PHP
On Sat, 2006-04-22 at 14:16, Jochem Maas wrote:
> with regard to Suresh - do you, Brian, know how many times he has posted
> similar
> question to this list this year? (this is the first time he has even given
> an indication that he knows where the manual is let alone opened it btw) do
> you
> k
le in windows explorer, it opens in notepad
for edit, instead of getting opened in firefox that is my default.
Please give me the starting push.
-- V
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 8/6/2008 2:58 AM India Time, _Andrew Ballard_ wrote:
On Tue, Aug 5, 2008 at 3:05 PM, V S Rawat <[EMAIL PROTECTED]> wrote:
I have put the first php script to hello.php file:
PHP Test
Hello World'; ?>
I am on xpsp3, wampserver 2.0, having apache 2.2.8, php 5.2.6,
64 worker threads.
I gave, check port 80. The dos window that opened said "your port 80 is
not used" and the following entry got added in error_log:
[Wed Aug 06 19:07:00 2008] [notice] Child 1872: Starting thread to
listen on port 80.
Thanks.
--
V
Chetan Dattaram Rane | Software E
will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "e:/wamp/www/"
thanks.
--
V
Chetan Dattaram Rane | Software Engineer | Persistent Systems
[EMAIL PROTECTED] |
was surprised to see some very busy and well to do Chartered
Accountants, Company Secretaries still using those 8086 pcs with
Wordstar and lotus that were there on mid 80s.
They say these are no more available so data in these pcs and these
formats are much more safer than that on a latest ma
ng programs (say, in good old foxpro)
to keep track of a clients work progress, next action date, reminders,
track of payment from the clients, to the agents who get the work done,
so on.
I mean it is a complete working system as it was in 80s.
--
V
Thank you,
Micah Gersten
onShore Network
of you. I hope you wouldn't really mind if
some of our colleagues who are doing such a lovely volunteer work here
get to earn some money for a bottle of beer and more. Rest assured that
it is no fraud/ scam/ cheating. I am very much here to take the brickbats.
Thanks.
--
V
vsrawat at gmail dot
at would be beneficial to your
goals, e.g. wendo, ogone and the likes.
Please take your commercial goals there.
You seem to be having something against commercial dealings. Seems you
dad-in-law has enough money.
Just my two cents.
Stijn
Thanks.
--
V
--
PHP General Mailing List (http://www
On 8/19/2008 5:06 PM India Time, _Colin Guthrie_ wrote:
metastable wrote:
V S Rawat wrote:
If you provide "paid" help in code development/ testing/ troubleshooting
related to php or other software areas, please feel free to drop a line
to me at my id mentioned below. Please don
On 8/19/2008 5:22 PM India Time, _Stut_ wrote:
On 19 Aug 2008, at 12:36, Colin Guthrie wrote:
metastable wrote:
V S Rawat wrote:
If you provide "paid" help in code development/ testing/
troubleshooting
related to php or other software areas, please feel free to drop a
line
to m
h projects are
of no use for me. Thus, my humble payments would get partly supplemented
by the earnings they would do through such developments.
--
If the suggestion of help against payment is really so offending to you
guys, my sincere apologies.
Stijn
--
V
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 8/19/2008 5:49 PM India Time, _metastable_ wrote:
I stand by my point though. Had it actually been an advert, which it was
not, a post count of 9 would not inspire confidence in his qualities as
a determined support engineer.
I think incorrigible is the word for you.
V S rawat java
not as an attack of any kind. I applaud anyone who's embarking on
a freelance career since it's a pretty risky route to take, but you
need to approach it in a sustainable way if it's going to be a
success. If you can make a success of freelancing you can do very well
out of it so I wish you the best of luck.
-Stut
Thanks.
--
V
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2004-01-26 at 18:35, John Nichel wrote:
> Anybody else getting a ton of these? Everytime I send mail to the list.
>
Yup. For a long time now...
> Original Message
> Subject: Delivery Report (failure) for [EMAIL PROTECTED]
> Date: Mon, 26 Jan 2004 20:06:54 +
> From:
On Tue, 2004-01-27 at 08:08, Hamid Hossain wrote:
> Is there any good reference on how to use CRON (I mean on the net)?
>
The best source is the man page crontab(5)
--
BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
Key Server: p
On Tue, 2004-01-27 at 07:34, christian tischler wrote:
> Is there a way wuth php to create a list ordered by more than one column
> like in excel or access.
>
> something like "ORDER BY points AND score"
... ORDER BY column1, column2, etc...;
--
BrianGnuPG -> KeyID: 0x04A4F0DC | URL: ww
On Wed, 2004-01-28 at 08:34, Jon Bennett wrote:
> > is that it tends to avoid or downgrade URI's with parameters tacked
> > onto
> > the end.
>
> Does that go for internal links in your site then ???
>
> news.php?start=10 etc ??? Could be tricky writing dyamic pages then.
>
mod_rewrite is your
nk2' => array(
'url' => 'foo',
'title' => 'bar'
)
);
foreach($menu as $k => $v) { etc..
need to end up with
link(x)
Can't seem to put this together in my head. Long day I guess.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2004-01-30 at 18:47, Shawn McKenzie wrote:
> Sorry, $k should be $text.
>
> foreach ($menu as $text => $array) {
> $url = $array['url'];
> $title = $array['title'];
>
> echo "$text\n";
> }
>
Gotcha, thanks! That'll work for this but for arguments sake what if the
inner array were to
On Fri, 2004-01-30 at 22:48, Shawn McKenzie wrote:
> You would need to give an example of what you mean by change dynamically,
> because if you can't predict the key indexes then how can you know which
> ones to use in your anchor tag?
say this:
$menu = array (
'link1' => array(
On Fri, 2004-02-06 at 13:57, Mrs. Geeta Thanu wrote:
> Hi all,
>
> I have configured Apache webserver executing PHP scripts on sun machine
> and everything is working fine.
>
> Now I want the web server to pass on the PHP executions to
> another machine and once done should get the result and d
On Fri, 2004-02-13 at 11:00, Eric wrote:
> However, when I run it, I get an error:
>
> Fatal error: Call to undefined function: imagecreate() in [file name] on line 3
Sound like your version was complied without GD support.
http://www.php.net/manual/en/ref.image.php
--
BrianGnuPG -> Key
On Sat, 2004-02-28 at 00:09, Karl Timmermann wrote:
> Does anyone have some PHP code to remove incorrect carriage returns?
>
Depends on your definition of "incorrect".
--
BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
Key Server:
I have something really wierd going on with a form that let's a user
add/edit/delete data from a mysql database.
It's like I can not edit any data that was not recently added or if it
was added by another user.
If I log into mysql directly under the same user I'm using form the php
script and run
nevermind I got it.
<< snip >>
I have something really wierd going on with a form that let's a user
add/edit/delete data from a mysql database.
It's like I can not edit any data that was not recently added or if it
was added by another user.
If I log into mysql directly under the same user I'm
"Edit: Delete: " . "\n");
print('' . "\n");
I'm trying to gather the data from this form and test the condition of
the radio button 'edit_rider_action'.
I can traverse the form data array via $_POST and get the key/value
pairs but am not
ons based on
it's state. If I do it as above then edit_rider_action is applied to all
rows as in:
while(list($k,$v) = each($rider_id)) {
echo "$k => $v\n";
echo $edit_rider_action . "\n";
}
And of course it' entirely possible I'm just being brai
"Action Selected" and then of course WHICH
action. I can get at the data but if you consider something like this:
while(list($k,$v) = each($rider_id)) {
echo "$k => $v\n";
while(list($key, $value) = each($edit_rider_action )) {
echo "$key => $value\n&
? If it's possible to extract this information via a PHP function
> then I'll be happy to rtfm if someone can tell me the function name I
> need.
Doesn't $GLOBALS['HTTP_RAW_POST_DATA'] have this info?
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General M
On Wed, 2004-03-03 at 14:49, Jim & Sara Feldman wrote:
> Does anyone know of a way to jump from one php script to
> another without going through the client browser? The closest I have
> been able to come to doing that is to use nested frames where the
> parent frame can call multiple php scr
On Wed, 2004-03-03 at 15:21, Lucas Gonze wrote:
> On Wed, 3 Mar 2004, Brian V Bonini wrote:
>
> > On Wed, 2004-03-03 at 14:49, Jim & Sara Feldman wrote:
> > > Does anyone know of a way to jump from one php script to
> > > another without going through the
6] ?
> // Hope you understood my problem.
>
for($i=0; $i < 6; $i++) {
echo "$file[$i]\n";
}
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2004-03-03 at 23:55, [EMAIL PROTECTED] wrote:
> Hi,
>
> Squirrelmail 1.4.2 serversidefilters plugin version 1.32, apache 1.3.26 and
> php 4.3.4, qmail/vpopmail/courier-imap, maildrop on debian stable.
>
> When the serversidefilters plugin goes to en/decrypt domain passwords using
> mc
he overall design (lack
> of) of the code
Forget this. It's a total piece of S%&T!
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
w line 73:
> >
> > > Transitional//EN"
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> > http://www.w3.org/1999/xhtml";>
> >
> > I have PHP-4.2.2, Apache 2.0 on RedHat Linux 9.0
> >
> > Any idea ho
pload.\n";
break;
default: //a default error, just in case! :)
echo "There was a problem with your upload.\n";
break;
}
}
}
No matter what I try this keeps falling through to the default switch.
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ut Am I supposed have to translate the local path
first of something?
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ntermediate, or beginner.
SO what's your real point? Are you annoyed by questions that you think
are beneath you or what?
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2004-03-05 at 06:55, Amimu Austin wrote:
> Hi
>
> I am a newbie in PHP and MySQL. I have developed a web databse using PHP and
> MySQL. However , I need more info on these product. Any sites you can
> recommend.
php.net
mysql.com
--
Brian V Bonini <[EMAIL PROTECTED]
> Do yourself a favour, study the example in the manual, get it working,
> understand how it works,
Lighten up Francis, it was 10pm at night after a 14 hour day and 62 hour
week.
I appreciate the help but can do without the cynicism.
--
Brian V Bonini <[EMAIL PROTECTED]>
--
output('people');
break;
case "industry":
output('industry');
break;
case "art"
output('art')
break;
case "animals":
output('animal');
break;
case "contact":
output('contact');
break;
}
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 2004-03-06 at 16:17, joel boonstra wrote:
> Hrm... why the switch() statement?
Ir seemed close to what he already had going.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rectives in the directory of my
> proggie to force php to use charset( UTF-8 ) instead of the regular charset
> defined in php.ini
header('Content-type: text/html; charset=UTF-8');
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To u
On Mon, 2004-03-08 at 12:29, Thiago Silva wrote:
> What about Quanta?
LOVE Quanta, been using it for a couple years now
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2004-03-08 at 21:34, Span wrote:
> I think it can't work if the server has set the default_charset in the
> php.ini .
>
> eg:
> if in php.ini has:
> default_charset="gb_2312"
> then only changing the charset in html page didn't work.
> >>header('Content-type: text/html; charset=UTF-8');
>header('Content-type: text/html; charset=UTF-8');
Are you sure? I've not actually tried it but php.ini also has a default
Content-type which you CAN override using header().
--
Brian V Bonini <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the habit right now. I know that some of the regulars have quit
> answering questions because they are annoyed at the basic lack of list
> skills. There are several web sites that give good guidelines for list
> posting, please search google for them and have a look.
> [/rant]
YEAH! Wh
On Sat, 2004-03-13 at 10:40, Andy Lewis wrote:
>
> enctype="multipart/form-data">
>
>
> echo " base64_encode(serialize($my_array)) . "\">";
> ?>
>
>
What value are you trying to get from or place in "value" for t
osed to be a one line quiz site where the user is presented with a
> question and 4 possible answers.
First thing is, where is your form? Unless I'm going blind I do not see
any form elements in this snippet.. Or is it just outside of what you
posted?
--
Brian V Bonini <[EMAIL PROTE
On Wed, 2004-03-17 at 12:23, Mark wrote:
> I have the following snippet of code that I cannot seem to find a way to
> add an image to a . The line in question is the first one under the
> else statement:
>
> print "";
>
> This line, I would like to show a image called "backgrnd.png" instead of
On Thu, 2004-03-18 at 14:06, Aaron Doogs wrote:
> I have changed upload_max_filesize in my php.ini, but the default of 2M is
> still being recognized. I restarted the apache server, ran a script to
> output phpinfo() and it still says 2M for upload_max_filesize. Yet when I
> open php.ini is has 8
On Mon, 2004-03-22 at 14:35, Elliot J. Balanza wrote:
> Hi
>
> I've been trying to use MySQL dump with a php query (since we dont have like
> a mysql_dump function) but it's not working.
>
> Can anyone please point me to a page so i can read a method to backup MySQL
> databases to an .sql file us
On Thu, 2004-04-01 at 18:26, Jason S Motes wrote:
> The picture that comes up on my machine is a guy's head with two pencils
> stuck in his nose
>
> Matt Matijevich wrote:
> >
> > Has anybody had the PHP logo in phpinfo() appear with a picture of a
> > dog?
> >
> >
> > April Fools easter egg
On Mon, 2004-10-25 at 09:37, Phpu wrote:
> Hi,
>
> How can i do a php script with a html extensionsuch as
> http://www.blinds-wise.com/shop/p/blind/bid/1/venetian_blinds.html
>
AddType application/x-httpd-php .php .php3 .html
--
s/:-[(/]/:-)/g
BrianGnuPG -> KeyID: 0x04A4F0DC |
On Mon, 2004-11-01 at 10:44, bb9876 wrote:
> I want to allow people to upload images but I want to be able to put
> limitations on it, such as allow only jpg and gif extensions and make sure
> the image is no larger than 60x60. Is there any way to do this?
>
http://us2.php.net/manual/en/ini.sect.
On Thu, 2004-11-04 at 12:47, Vail, Warren wrote:
> If you can figure out how to make sense of this, you might be able to find
> the point that a system is connected to the internet, by tracing back to a
> visitors current IP address.
Which may get you close but either way would probably be more i
%cat config.txt | tr -s "\n" " "
--enable-versioning --enable-memory-limit --with-layout=GNU
--with-zlib-dir=/usr --with-imap=/usr/local --disable-all
--with-regex=php --disable-cli --enable-ctype --with-gd
--enable-gd-native-ttf --with-freetype-dir=/usr/local
--with-jpeg-dir=/usr/local --with-png-
On Mon, 2005-01-31 at 12:56, Richard Lynch wrote:
> Brian V Bonini wrote:
> > %cat config.txt | tr -s "\n" " "
> > --enable-versioning --enable-memory-limit --with-layout=GNU
> > --with-zlib-dir=/usr --with-imap=/usr/local --disable-all
> > --with-r
Just compiled PHP5 usign --enable-xml (though I see it is supposed to be
enabled by defaut however I'm getting 'call to undefined function'
errors now.
Fatal error: Call to undefined function xml_parser_create() in
bla/bla/bla on line xxx
phpinfo(): http://gfx-design.com/test/
Apache is 2.x
--
On Sat, 2005-05-21 at 06:30, Ross wrote:
> I have the folowing code which checks whether the user has logged in.
>
> if (!isset ($_SESSION['new_session'] ) )
> {
>
> $login_status = "Your are not signed in
> ";
>
> }
> if (isset ($_SESSION['new_session'] ) )
> {
> $address = $_SESSION['new_sess
On Wed, 2005-05-25 at 16:11, Jeremy Reynolds wrote:
> What function do I use to convert an ASCII character into it's
> equivalent number?
> --
> Sorry, I think my spam filters got any responses. If you replied,
> could you please resend it to me?
ord()
--
PHP General Mailing List (http://www.
On Wed, 2005-05-25 at 16:01, Jeremy Reynolds wrote:
> What function do I use to convert an ASCII character into it's
> equivalent number?
ord()
--
s/:-[(/]/:-)/g
BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
On Sun, 2005-05-29 at 12:22, W Luke wrote:
> Hi,
>
> I have some text in a file which, when it's dumped to a var, needs to
> be replaced. In its raw form, it looks like this: <^JIM_JONES> and I
> need to remove the <^_ and > characters and have it read "Jim-Jones"
>
> It's nestled in amongst a l
On Mon, 2005-05-30 at 11:13, Murray @ PlanetThoughtful wrote:
> > Someone much more clever that I can probably come up with something much
> > cleaner and efficient but This works...
>
> Definitely not more clever and arguably not more efficient, but a different
> way of handling this might be
On Mon, 2005-05-30 at 12:58, Murray @ PlanetThoughtful wrote:
>$string = "this";
> $string{0} = strtoupper($string{0});
> echo $string; // should return value of "This"
> ?>
I knew you could access but I didn't realize your could assign/replace
specific chars like that, i.e. $string{x} =
On Mon, 2005-05-30 at 15:24, Murray @ PlanetThoughtful wrote:
> > This is a great help, thanks to both. One question I have though.
> > How do I just leave the formatting "as is"? In the loop you gave me,
> > Brian...:
>
> [snippage]
>
> > I can't see how I can disregard strtolower without dis
On Mon, 2005-05-30 at 16:24, W Luke wrote:
> On 30/05/05, Brian V Bonini <[EMAIL PROTECTED]> wrote:
>
> [...]
>
> > > Again, an example that is as close to your real-world needs as possible
> > > would be very helpful.
> >
> > The original re
On Sun, 2005-06-05 at 16:37, Jack Jackson wrote:
> This is something dumb I am doing but:
>
> Trying to pull all names of publishers in db. This sql:
>
> SELECT art.art_id,art.publisher_id,publisher.publisher_name,
> FROM art
> LEFT JOIN publisher
> ON publisher.publisher_id=art.publisher_id
>
>
On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
> I don't want to strip out all the tags, just certain ones. But the
> problem turned out not to be in this peice of code- the script simply
> wasn't parsing. I started another thread with that problem after
> failing to fix it on my own.
The proto
On Sun, 2005-06-05 at 18:13, Dotan Cohen wrote:
> On 6/6/05, Brian V Bonini <[EMAIL PROTECTED]> wrote:
> > On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
> >
> > > I don't want to strip out all the tags, just certain ones. But the
> > > problem tur
On Sat, 2005-06-25 at 17:01, bruce wrote:
> feel kind of foolish posting this.. but i can't seem to figure it out for
> now..
>
> i have an array, i can do a print_r($foo) and get the following:
> Array
> (
> [bookmark] => 1
> [facets] => Array
> (
> [0] => Array
>
On Sun, 2005-06-26 at 06:38, Pedro Quaresma de Almeida wrote:
> Hi
>
> I have two databases, on for aeromodelistas (aeromodelling) and
> another for Códigos Postais (Postal Codes). I whant to do the
> following query
>
> SELECT CódigoPostal FROM Aeromodelistas
> WHERE CódigoPostal IN
> (SELEC
On Mon, 27 Jun 2005, [ISO-8859-1] Andr? Medeiros wrote:
> $cmd = 'scp ' . $user . '@stagingcws.' . $tld . ':' . $directory/{' .
> $files . '} ' . $tmp_dir . '/';
>
> That should work
>
> On 6/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Can not make this work inside a php script.
> >
>
On Mon, 2005-06-27 at 20:51, Jasper Bryant-Greene wrote:
> Brian V Bonini wrote:
> >>> I can echo out the command and get a well formed command, i.e.
> >>> one that will execute from a command prompt, but when I try to
> >>> exec() $cmd from within the scrip
cho $cmd . "\n";
//exec($cmd, $output, $err);
$i++;
}
$i = $ii; // reset $i to original value so loop
continues
}
On Tue, 28 Jun 2005, Bob Winter wrote:
> Brian,
>
> The format of your string that works for me is :
>
> $cmd = "scp [EMAIL PROTECTED]:$directory/\{$files\} $tmp_dir";
>
> $files must be a comma separated string with NO SPACES.
>
> Here is my complete test script for your review:
> STAR
On Wed, 29 Jun 2005, Bob Winter wrote:
> Brian,
>
> The script works for me, I should have included the screen
> input/output, which now follows:
>
Hmmm, this simply does not work for me. Maybe something with my version of
php or ssh.. I'm at a loss..
$ php -v
PHP 4.3.5 (cli)
On Thu, 2005-06-30 at 10:47, Bob Winter wrote:
> Brian,
>
> Is "/www/files/services/" the correct relative path?? You could
> try using the absolute path to see if it fixes the problem.
>
> Also, and maybe more significant, I use tcsh . . . if you use bash
> this could be the conflict. I s
On Wed, 6 Jul 2005, blackwater dev wrote:
> I have a linux box which I use periodically. I built php 5.0.3 on it
> and it runs fine. I just came across a situation where I need to
> compile in the zlib extension so I got into my php folder and did
> ./configure with my options, then make and make
On Thu, 2005-07-14 at 12:09, Adam Hubscher wrote:
> My questions are this:
>
> A) Is there any way to set the permissions on the file on creation of
> the image?
Set umask 002 on the user php is running as.
--
s/:-[(/]/:-)/g
BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
=
On Fri, 2005-07-15 at 17:53, Chris wrote:
> >
> Yeah, I understand... Is multiple inheritance something that true OOP
> languages can do?
>
Yes.
--
s/:-[(/]/:-)/g
BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
On Thu, 2005-07-21 at 08:23, Marco Tabini wrote:
> We had a webcast on PHP and Ajax a while back--the recordings are still
> available for free at http://blogs.phparch.com/mt/index.php?p=49.
Nice, totally crashes Firefox in Linux.
--
s/:-[(/]/:-)/g
BrianGnuPG -> KeyID: 0x04A4F0DC | K
p through so I can get and print "1","492","11" and
> "2","211","20" What is the best way to do this? I suck with arrays and
> I can't get my looping right.
$a = array(array(1,2),
array(492,211),
array(11,20)
On Sun, 2005-11-20 at 05:44, Łukasz Hejnak wrote:
> Hello again, here's some more extra info on my case that came out while
> Suhas Pharkute was helping me find a resolution:
> So the safe-mode is off, that's for sure, I turned it off at compile stage.
>
> I delete the file after each run of the
On Sun, 2005-11-20 at 09:38, Łukasz Hejnak wrote:
> Brian V Bonini napisał(a):
> > You are saying:
> > From the CLI you can write to a file all day long, no prob.
> Yes, the shell command "php test.php" works fine when executed as root
> (any other user has t
On Sat, 2005-11-26 at 16:18, Shaun wrote:
> Hi,
>
> Given a start day and month and end day and month (i.e. 01-01 to 31-03) how
> can one check if another set intersects these dates?
Convert each to epoch and test for > floor < ceiling, just a thought.
$a = array(mktime(0, 0, 0, 1, 1, date('Y'
On Sun, 2005-12-18 at 07:41, Anasta wrote:
> It just wont insert new data into DB--any ideas as i have gone over and
> over.
Your not doing any inserts, two selects and one update...
insert in t1 values('foo','bar','1 1 2 3 5 8 13');
--
s/:-[(/]/:-)/g
BrianGnuPG -> KeyID: 0x04A4F0
On Sun, 2005-12-18 at 15:22, Gustav Wiberg wrote:
> > Ajax? What is that?
Asynchronous JavaScript and XML, or Ajax, is a web development technique
for creating interactive web applications using a combination of:
- XHTML (or HTML) and CSS for marking up and styling information
- The Document Ob
On Wed, 2006-01-25 at 08:01, Angelo Zanetti wrote:
> Hi guys.
>
> I got an entry in a field called emailfrom in my table (MySQL db).
>
> The data in that field is: Sams Bank <[EMAIL PROTECTED]>
>
> I then do the following to retrieve the info, using a DB class
>
> $recordset=$conn->Execute("SEL
On Sun, 2006-01-29 at 02:01, Adam Hubscher wrote:
> I have a block of XML that looks as follows:
>
> <*_~_*> Røyken VGS <*_~_*>
> My question is, can I in any way efficiently (i -stress- efficiently, if
> anyone read my previous XML and special characters post its a rather
> large XMl file (br
401 - 500 of 582 matches
Mail list logo