, and any scripting that it
won't handle (and even some that it will) I'll use a text web editor such
as HotDog or Homesite to add the necessary code.
I'm also looking forward to the day UD supports PHP :)
Thanks
-Tim
have you viewed the source? - could be something to do with the semi-colons
or, more likely, what addslashes($data_data) evaluates to.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail
Hi,
Working on a site that needs some billing information. Once upon a time
done in ASP where we had the option to use the FormatPercent command - is
there an equivalent command within PHP?
Using PHP 3.0.16
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Check the permissions on the files in /proc, which is where uptime gets its
info from, most likely.
You could probably even read the pseudo-file '/proc/loadavg' as 'nobody'
directly from PHP given the appropriate file permissions.
- Tim
http://www.phptemplates.org
Richard Lynch's advice
Hi Ted,
There is an installer available for free that will painlessly install apache, php, and
mysql on your windows system.
Good tool for trying out stuff locally or hosting an intranet application on a windows
box.
PHPTriad available from www.phpgeek.com
Can't praise it enough.
Tim McGuire
are you sure it has not been deleted. If you check to see what's in it and
it doesn't exist you'll get the answer that it contains a null value (same
as any other non-exitsant variable). Did you do a foreach to check what is
actually in the array?
Tim Ward
Senior Systems Engineer
sure I've
seen reference to this problem somewhere but can't remember (or find) where
it was. Can anyone out there help?
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
--
PHP
That sounds like a unix answer, I should probably have said that my web
server is NT running Apache.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message
is it possible to create an image on a website and then to replace colors or
parts of this image with another color?
imagine we have a left and a right part. they're both white at the
beginning. now i randomly choose a color and now the right part becomes
green and the left part red...
is it
with the internals of any image format.
hope this helps,
Papp Gyozo
- [EMAIL PROTECTED]
- Original Message -
From: Tim Taubert [EMAIL PROTECTED]
To: PHP Mailingliste [EMAIL PROTECTED]
Sent: 2001. július 1. 18:11
Subject: [PHP] Replacing colors in an image?
is it possible to create an image
hey ryan try something like this
mail([EMAIL PROTECTED], Quote Request, $message, From:
[EMAIL PROTECTED]\nX-Mailer: PHP/ . phpversion());
hope this helps
cya tim
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com
mh..
?php
if (mail([EMAIL PROTECTED], Quote Request, test)) {
echo Email sent!;
} else {
echo Email NOT sent!;
}
?
this worked successfully... don't have any other ideas..
bye tim
-
Tim Taubert | [EMAIL
don't know any bugs but could be helpful if we could see your code...
but.. maybe you think we shouldn't see it ;)
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg
yes there is one
$HTTP_REFERER
but it isn't supported by all browsers...
bye Tim
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg
i'm getting this like you...
only unreadable messages..
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
-Original Message-
From
lol you're right :)
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
-Original Message-
From: Don Read [mailto:[EMAIL PROTECTED
i think that you can't attack php code because it's a server side scripting
language...
just with *echo*(and others) you send some code to the browser... i guess
it's secure ;)
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED
yes i had this problem too... it's easier to rename your .inc files to
.inc.php3 ... so nobody can see your code but the output maybe null or some
crazy code... but it's not your php code...
Tim Taubert
-
Tim Taubert
you're totally right.. look at this
http://www.ssw.uni-linz.ac.at/Teaching/Lectures/Sem/2000/Alexander/source.ph
p3?url=/etc/passwd
*no comment* and not my site...
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http
mh =) contacted the admin to fix this problem ;)
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
.o] -Original Message
oh thanks for the disclaimer ;) forgot it..
richard: didn't think about it.. but should have done it.. first and last time i did
it *promised*
:)
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg
mh i know it was the wrong decision. didn't think about it. already said that. feeling
guilty now
*argh*
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg
found 2 other servers having the same problem... mailed to the webmasters and admins
instead of
posting it.. now i feel a little bit better :)
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg
look like? is it an array? don't have any
imaginations...
please help
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
--
PHP
Thanks a lot Alex!
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
.o] -Original Message-
.o] From: Alex Piaz
Hi all,
how can i execute a UNIX command like
'newuser Tim Taubert tim password'
? and am i able to fetch the results of such commands?
Please help.
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com
Thanks a lot Henrik!
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
.o] -Original Message-
.o] From: Henrik Hansen [mailto
mh this is bad...
can i do anything else instead of this ?
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
.o] -Original Message
that helps everyone out a little. There are limitations with this
method, but to just get a file that someone can safely open in Excel, it
is a very convenient way to do it rather than having to muck around with
binary files.
Have a good weekend,
Tim Frank
Original Message
On 7/13/01, 12
with the submission of each form? If I
make the forms a seperate include file, instead of having them in-line, how
does this change the ways variables are passed or submitted by each form?
Thanks, - Tim
_
Get your FREE download
info sent with the request, or you may need to get javascript to send
it back to you, I'm not too sure about this.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original
of variables to
pass, thats just a lot of hidden inputs to pass.
Is there no other way to accomplish this? No built in function? I guess it
makes sense that there is not, b/c the form submits the form and only the
form variables. Thanks.
-Tim
Original Message Follows
From: David Robley [EMAIL
Anyone have functions for formatting numbers being multiplied by variables
and whatnot to two decimal points - rounded up? As for displaying total
cost, etc?
_
Get your FREE download of MSN Explorer at http://explorer.msn.com
--
PROTECTED] wrote in message
01071716134101.29979@www">news:01071716134101.29979@www...
On Tue, 17 Jul 2001 15:41, Tim Olsen wrote:
People,
I have 4 forms in four seperate html pages included directly (no links
to includes) in the same .php file, i have it so all the form
)
{ if (your_condition) echo($key $element);
}
... and why do you have the 2 arrays in the first place?
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original
then there's a bug that needs reporting.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: Jeremy Morano [mailto:[EMAIL PROTECTED]]
Sent: 19 July
looks to me like like GLOBAL $company should be partr of the php code, not
sql.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: Jeremy
if you want to generate html versions try ...
$flines = file(http://localhost/$path/$file.php;);
$fhandle = fopen($file.html);
foreach ($flines as $line)
{ fputs($fhandle, $line);
}
fclose($fhandle);
Tim Ward
Senior Systems Engineer
Please refer to the following
personally I use mysql_fetch_array() so I can use the field name to
get the appropriate field rather than getting the second field returned from
the query (as you are doing).
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]]
Sent: 23 July 2001 23:57
To: [EMAIL PROTECTED
.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 02 February 2001 00:51
e the function. It's probably something
simple I'm
missing, as in most cases ;)
Thanks for your patience,
James.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-
function z {
$n-test();
}
}
I need the object of class_y available to the other objects of classx
but I cant figure out how I do this. Any ideas?
Regards, Steve Maher
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer
from the form.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: Jaxon [mailto:[EMAIL PROTECTED]]
Sent: 04 February 2001 23:18
To: [EMAIL
ff in the output? I have looked
through the php.ini file, and php.net but couldn't find anything.
Thanks in advance
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administra
The solution ended up being the need to re-compile php with the
"--enable-discard-path" configure option. This removed the
"#!/usr/local/bin/php" line from the top of the file.
Thanks for the feedback.
Tim
Tim Livers wrote:
I have installed the CGI version of PHP and
The magical incantations:
"Word.Application" etc..
- Original Message -
From: "Richard Lynch" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 08, 2001 10:31 AM
Subject: Re: [PHP] COM?
Does Anyone know what needs to be installed on the server other than php
4.0.4
Is it possible to grab a running instance of for example Word?
In VisualBasic-words: can you use 'GetObject' instead of 'CreateObject'?
The latter is done by :
$word = new Com("Word.Application")
this creates a NEW instance, however i want to get an already running
instance. Possible?
--
fpassthru doesn't include the code in your php code. In just dumps the file
to output as it runs. Anything defined in PHP (inluding variables and
functions) in the file passed through will not be available to the calling
program. You need include();
Tim Ward
Senior Systems
if ($result = mysql_db_query($database, $sql, $link_id);)
{ while ($thisrow = mysql_fetch_array($result))
{ $array[] = $thisrow("field");
};
};
... or something like that
Tim Ward
Senior Systems Engineer
Please refer to the following
in a database so your function becomes one call database copier.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: Carsten Gehling [mailto:[EMAIL
uot;/td/tr\n");
}
?
Here's the "tiny" table that feeds it:
CREATE TABLE indice (
id int(11) DEFAULT '0' NOT NULL auto_increment,
date text,
indice text,
indice_url varchar(255),
PRIMARY KEY (id)
);
-
base or server) just change
the class definition.
What I wouldn't use classes for is collecting variables together (use
associative arrays).
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-
s looks wrong, in effect you're outputting value = "'2001-02-14'"
try just ...
echo("\tOPTION VALUE=\"$val_date\"[$ini_date]
$dis_date/OPTION\n");
}
while (++$ini_date = $max_date);
-
Tim Ward
Senior Systems E
Here are the directions I used to configure PHP with pdflib. These worked for
me.
http://www.phpbuilder.net/columns/perugini20001026.php3?page=2
Tim
Mike Tuller wrote:
I finally got everything to install on RedHat 7, but I can't do anything
with pdflib like I had expected.
I get back
to take this a step further, PHP doesn't seem to have types at all try ...
echo 1 + true; // gives 2
echo 1 . true; // gives 11
true is a constant that seems to equate to 1, false is 0. Or is this just my
interpretation?
Tim Ward
Senior Systems Engineer
Please refer
I think we need to see the form. It sounds like something is going wrong
there.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: Andre
when displaying data from an XML file. The downside is that it currently
only works with IE 5 and greater. It might not be the best overall
solution, but if you are looking at the issue from a "can it be done"
point of view, then yes, it can actually be done. It just might not be
us
Or you could just put them all on one line like
AddType application/x-httpd-php .php .php3 .php4 .phtml
if you prefer.
Tim Frank
Original Message
On 17/02/01, 10:48:18 AM, [EMAIL PROTECTED] ("Ifrim Sorin") wrote regarding
Re: [PHP] .php3 in PHP4?:
Hello,
I think this
ahh
-Original Message-
From: Brandon Feldhahn [mailto:[EMAIL PROTECTED]]
Sent: 17 February 2001 11:45
To: [EMAIL PROTECTED]
Subject: hmm
hmm
--
GIF89aÔ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
-item_num
-quantity
- ...
foreign key order_num reference order
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From
empty test type input are always available even if empty. checkboxes and
radio buttons are not set if empty but text inputs are always there. your
test does not check for the fields not having been filled in.
Tim Ward
Senior Systems Engineer
Please refer to the following
it as you would html.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: Tom Knight [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2001 08:53
does this not already do it? according the manual "w" as the second
parameters will "place the file pointer at the beginning of the file and
truncate the file to zero length".
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in res
use isset($action1) and isset($action2) to test each.
the nice way to do it would be for them to have the same name but different
values as you would do with alternative submit buttons, but I haven't ever
needed to find out how to do that and doesn't seem to be quite that simple.
Tim
st)."'";
... I haven't tested the detail of this but the theory is sound, I'm fairly
sure.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message
ot; value="minebmp"
input type=submit name=fred2 value="submit"
/form
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: Tim War
acode','$phone','$faxareacode','$fax','$email','$secret')");
}
}
if ($thissubmit) myfunction();
?
form action="#?submit=?php echo($submit) ?thissubmit=1"
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in res
3) == 2)
{ echo "/tr\ntr\n";
}
$photocount++;
}
// this should add empty cells until the row is complete
while ($photocount % 3)
{ echo("td/td");
$photocount++;
}
echo "/tr\n";
echo "/table";
Tim War
to another and also is tehre any way I can delete a
particluar file in a directory..
unlink();
Thank You!
Cheers!~
Dhaval Desai
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.co
try freshmeat.org
http://freshmeat.net/projects/phpsitemapper/
hope it helps :)
tim
- Original Message -
From: "Ali" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 1:16 PM
Subject: [PHP] sitemap script
Does anybody know of a sitemap scri
ahh my mistake .net, you know what i mean :)
tim..
- Original Message -
From: "Tim O'Callaghan" [EMAIL PROTECTED]
To: "Ali" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 1:19 PM
Subject: Re: [PHP] sitemap script
try freshmeat.org
SHOW COLUMNS FROM tablename
is the MySQL query
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Original Message-
From: Steve Werby [mailto:[EMAIL PROTECTED
BY, for an exact imnput, an exact match will always show first.
haven't tried this at all but seems sound sql.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
-Origina
ot;);
if (is_dir($ddPath . $ddFile)) sitemap($ddPath . $ddFile .
"/");
};
closedir($dhandle);
echo("/ul");
};
just call it by passing in the path to the directory you want to list and
it'll give you a full listing below that
, and open a socket and
send the text manually like I did to verify that the top one works, and
the bottom one doesn't.
Thanks,
Tim.
stuff in line with what the server expects.
I want to use PHP's built in classes for this so I don't have to
manually send xml to the api...
Thanks,
Tim.
Bastien Koert wrote:
XML is case sensitive. I notice the case of the xml is different. Try
making the PHP created xml the same case
Nathan Nobbe wrote:
On Jan 9, 2008 10:45 PM, Tim Traver [EMAIL PROTECTED] wrote:
Bastien,
I want to use PHP's built in classes for this so I don't have to
manually send xml to the api...
writing the xml by hand would be madness...
i didnt want to spend all night screwing around w
appreciated.
Tim
Thank's for your help Zareef, Hiep, Shiplu and Jean-Christophe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on the exit page
that is not secure. For example, if there is a hard coded link to an
image, or an included javascript link to an outside source.
If anything on the page is not secure, then you will get that error.
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
at that time, then the cookie would last for another 30
days...
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(even
though I've run across several warnings NOT to submit a bug report if a
problem has already been reported). Your site is incredibly frustrating
and difficult to navigate.
Tim Howard
Calhoun ISD Dept. of Technology
(269) 789-2465
This email is intended only for the use of the addressee(s
.
Tim Howard
Calhoun ISD Dept. of Technology
(269) 789-2465
This email is intended only for the use of the addressee(s) named
herein. It may contain legally privileged and confidential information.
If you are not the intended recipient, or an authorized representative
of the intended
Lindridge at http://www.php-accelerator.co.uk for a later
version of the ionCube PHP Accelerator.
but when I go to that site, nothing has been updated for several years now.
Is this product still available in the same form??? or has it been
replaced ???
Thanks,
Tim.
--
PHP General Mailing List
)
)
[customerType] = individual
[billTo] = CustomerAddressType Object
(
[firstName] = Tim
[lastName] = Traver
)
)
[validationMode] = none
Nathan Nobbe wrote:
On Fri, May 16, 2008 at 1:04 PM, Tim Traver [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi all,
sorry for the cross post to the general PHP list as well as the
SOAP PHP list, but I'm a little bit desperate...
Ok, for some reason when I am sending
experience have any idea either a) what I would need to ask the IT
person to allow for their site only, or b) have any suggestions for
alternate password authentication that may work given the above conditions?
TIA
-Tim
Wolf wrote:
Tim Thorburn [EMAIL PROTECTED] wrote:
Hi all,
Having a slight problem with a demo I gave at a clients last week -
looking for a little advise. Part of my demo involved a password
protected area - the simplified process is: client enters password on
login page if login
robert wrote:
On May 18, 2008, at 10:14 PM, Tim Thorburn wrote:
Hi all,
Having a slight problem with a demo I gave at a clients last week -
looking for a little advise. Part of my demo involved a password
protected area - the simplified process is: client enters password on
login page
if you simply don't have an answer beyond the
standard your code is bad response.
Tim
writable by the user that I'm running the
script as.
Any help would be appreciated.
Thanks,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Jun 27, 2008 at 10:14 AM, Daniel Brown [EMAIL PROTECTED] wrote:
On Fri, Jun 27, 2008 at 10:30 AM, Tim Rupp [EMAIL PROTECTED] wrote:
Hi list,
I'm getting a segfault when I run (what I assume) is a very simple
script. I'm not sure if it's a php bug or a bug in the library I'm
using
On Fri, Jun 27, 2008 at 11:03 AM, Daniel Brown [EMAIL PROTECTED] wrote:
On Fri, Jun 27, 2008 at 11:57 AM, Tim Rupp [EMAIL PROTECTED] wrote:
./configure --enable-force-cgi-redirect --enable-debug
--disable-rpath --enable-inline-optimization --with-bz2
--with-db4=/usr --with-curl --with-gd
hoping
someone on the list can point me in the right direction.
Thanks in advance,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
). But there doesn't appear
to be any way to know if the textContent you've got is for just one node, or
for a whole bunch of nodes. Is there any way to figure that out, so that I
can adjust the textContent property of just the lowest-level nodes, rather
than mucking up the higher-level ones?
Tim
helpful,
because, for example:
h2a name=bar/aFoo/h2
returns two child nodes, neither of which has Foo for its textContent.
Tim Gustafson
SOE Webmaster
UC Santa Cruz
[EMAIL PROTECTED]
831-459-5354
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. That way, you need not create new nodes in
your nodelist.
I think that's the way I'm going to have to go, but I was really hoping not
to. Thanks for the suggestion!
Tim Gustafson
SOE Webmaster
UC Santa Cruz
[EMAIL PROTECTED]
831-459-5354
--
PHP General Mailing List (http://www.php.net
;
}
Then it echos foo! as expected. It just seems that none of the nodes in
the tree are DOMText nodes. In fact, get_class($Element) returns
DOMElement for every node in the tree.
Tim Gustafson
SOE Webmaster
UC Santa Cruz
[EMAIL PROTECTED]
831-459-5354
From
, but complicated. I'm thinking regular
expressions might be the way to go again. :\
Tim Gustafson
SOE Webmaster
UC Santa Cruz
[EMAIL PROTECTED]
831-459-5354
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
401 - 500 of 1075 matches
Mail list logo