I realize that I might have spent not enough time to look for the
answer, or that its so simple that I am overlooking it, or am just
looking in the wrong place all together.
I am very new to PHP and GD Image Functions, however I am experienced
with other languages, enough to understand PHP and lea
You could do something like this..
$cmd = "kill -r HUP /var/run/abc.pl.pid";
exec($cmd);
That should kill it and then restart it. You'll need to change
/var/run/abc.pl.pid to fit into your system, but the idea of that line
is to allow the script to get the proper PID, even if it's not what you
e
pe -ef
* 19282 pts/300:00:00 abc.pl
my perl script is abc.pl. It's PID is 19282
Can somebody help me to do the php scripting to
1.Locate that PID
2.kill the script
3.start that script with the same PID .
plz help , i'm highly appreciate ur help
thank u
curlys
--
PHP Genera
Hello all,
Assume I have array that looks like :
Array(
'type'->'Fiction',
'notes'->'Fiction books from a-z',
'list'-> Array(
'list'-> [0]->array(
'title'->'xzy',
'id'->'1')
[1]->array(
what do you mean by that?
Nothing. The statement was based on the erroneous assumption that
anonimous functions allow to go into HTML mode with '?>'. But this will
not stop me, for there is eval()! The general idea is simple - to use
some file's code multiple times without re-reading the file an
Me thinks a note about 'if you don't follow these guidelines your
questions will not be answered' is a good idea.
keep up the good work siva kumar.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.r
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does IE even support PNG transparncy properly anyways??? maybe thats the
> issue here?
Yes, I have tried making the image with imagecreate() function and it was
transparent. Using imagecreate() function I was only able
Have you tried it in other browsers? IE 6 / windows PNG support leaves
much to be desired, even more so when we want them to be transparent.
Try it in Firefox, or some other similar browser. Same results?
Matthew Runo
http://www.quabbo.com
Quabbo Internet Services
The only host with the Zend Perf
Does IE even support PNG transparncy properly anyways??? maybe thats the
issue here?
Jason
"Kevin" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am having PHP Version 4.3.4 with GD 2.0.15 compatible and PNG support
> enabled.
>
> My problem with the following code is that the image produced be this
Hi,
I am having PHP Version 4.3.4 with GD 2.0.15 compatible and PNG support
enabled.
My problem with the following code is that the image produced be this code
is not transparent. It has a black background. I have viewed it in IE 6 and
its not transparent.
Can someone help me how to make this im
Aris Santillan wrote:
i need help on this
ask in a javascript group. read the list newby guide before posting.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean S
Gambler ZG wrote:
> If you want to cache the
> compiled php script look at Turck MMCache.
Thanks for the info, but I'll probably just use create_function() for
"caching".
what do you mean by that?
--
Raditha Dissanayake.
htt
Aris Santillan wrote:
i need help on this
Okay...
You have an empty
what is it that you need... for it to calculate the fields...
just get the value of the fields with..
document.FORMNAME.FIELDNAME.value
make sure your dealing with integers for doing the math, the value will
be a string initially.. use parseInt or parseDouble or something ..
Jason
"Aris Santi
i need help on this
Compute quantity
Qty
1
Qty
2
Final
Qty for (Qty1 & Qty2)
ITEM
ONE
ITEM
TWO
Well, first off, a little bit of formatting (line numbers added for
clarity):
1 $tpl->assign("tree",
2 array(
3 "element" => array(
4 array(
5 "name" => "test1",
6 "element" => array(
7 array(
8
> If you want to cache the
> compiled php script look at Turck MMCache.
Thanks for the info, but I'll probably just use create_function() for
"caching".
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thanks again John, point taken...will not trust the
browser, will use sessions :-)
Cheers,
-Mag
--- John Holmes <[EMAIL PROTECTED]> wrote:
> PHP Gen wrote:
>
> > // sending file:
> >
>
$one=rawurlencode("dir_name=$dir_name&imgs_dir=$imgs_dir&thumb_pre=$thumb_pre&tn_width=$tn_width&tn_hei
PHP Gen wrote:
// sending file:
$one=rawurlencode("dir_name=$dir_name&imgs_dir=$imgs_dir&thumb_pre=$thumb_pre&tn_width=$tn_width&tn_height=$tn_height&write_text=$write_text&colors=$colors&x_pos=$x_pos&y_pos=$y_pos&link1=$link1&link2=$link2&link3=$link3&img_src1=$img_src1&img_src2=$img_src2");
heade
Gambler ZG wrote:
Let’s say I have function named "render", which looks like this:
I also have template "some_tmplt.php", which I need to render 100
times. Will PHP read, parse and compile this file 100 times, or will
it "remember" file's content?
not sure if i understnad your question. If you
Matthew Sims wrote:
And how does this relate to PHP??
Matthew,
you are now sure to be flamed by all those who believe off topic
maililngs by those who do not read the newby guide should be allowed and
encouraged.
--
Raditha Dissanayake.
---
Hi,
I am using a header("location:") to send a
rawurlencod'ed string to another script...then I tried
decode it and use those values...but its not
working...
snippets of my code:
// sending file:
$one=rawurlencode("dir_name=$dir_name&imgs_dir=$imgs_dir&thumb_pre=$thumb_pre&tn_width=$tn_width&tn_
Daniel Guerrier wrote:
I need to know what header to send when using readile
with real media and windows media. Is there a list
that has all header when sending rich media and
images.
Install Firefox/Mozilla and then go here
(http://livehttpheaders.mozdev.org/) to get LiveHTTPHeaders.
Then reque
I need to know what header to send when using readile
with real media and windows media. Is there a list
that has all header when sending rich media and
images.
Thanks
__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
Let’s say I have function named "render", which looks like this:
I also have template "some_tmplt.php", which I need to render 100 times.
Will PHP read, parse and compile this file 100 times, or will it
"remember" file's content?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi,
Does anyone how I could accomplish this:
Basically, I have a MySQL database of names - some names have Spanish
accents in them. I want to build a web interface in PHP to search this
database. However, I want the names with Spanish accents to be shown
in the search results, regardless if the sea
Marcus Bointon wrote:
I'm getting errors like this:
Notice: Undefined variable: _REQUEST in /var/www/html/index.php on line 57
This is truly weird - why on earth would this superglobal be undefined? (and
there is no unset($_REQUEST) lurking!) As far as I'm aware, there isn't even
an ini option to t
I'm getting errors like this:
Notice: Undefined variable: _REQUEST in /var/www/html/index.php on line 57
This is truly weird - why on earth would this superglobal be undefined? (and
there is no unset($_REQUEST) lurking!) As far as I'm aware, there isn't even
an ini option to turn it off.
I'm in
Glad to hear turning reg globals off made it work :-)
I had suspected that because people often use the same variables for
different things and with globals on, well it can overwrite other vars.
"Josh Acecool M" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That might be someth
Andre Dubuc wrote:
Thought I'd drop a note -- turning register_globals=off on the server in
question magically made everything work.
Now I'll rasie the question that IP manager has asked: "Having
register_globals=of/on should not amke any difference to your site if you are
using $_POST, $_SESSI
On Sun, 8 Aug 2004 16:20:55 +0300, Rosen <[EMAIL PROTECTED]> wrote:
Hi,
What is the reason, thath in the installation manual of PHP writes:
"WARNING:
Do not use Apache 2.0 and PHP in a production environment neither on Unix
nor on Windows. "
Thanks,
Rosen
http://www.zend.com/lists/php-dev/200406/ms
On Sunday 08 August 2004 01:51 am, Jason Wong wrote:
> On Sunday 08 August 2004 09:38, Andre Dubuc wrote:
> > That's what I thought. But the differences are glaring. Seems like none
> > of the code wants to work. Navigation is a nightmare:
> > header("location:..."); usually brings an error messag
Hi
Take a look at this array. It represents a simple tree. I need that because
the site i'm working on uses Smarty templates an there's a way to do output
the tree using 'Smarty functions'
$tpl->assign("tree",array("element"=>array(array("name"=> "test1",
On Tue, Aug 03, 2004 at 10:04:11PM -0500, AJL wrote:
>
> I ran into so many problems trying to set this up that I thought I'd
> post my notes to hopefully save others some trouble.
>
> I found most of the information I needed at:
> http://rayh.co.uk/archives/13_PHP5__PHP4_side_by_side.html
> but
CHAN YICK WAI wrote:
> if a project is worked by a small team of developers, is there a tool for source and
> version management for php source code? e.g. check which part of source is modified!
>
> Thanks for information.
>
>
> Regards, Yw
If you're on windows I recommend using WinCVS and CVS
Michael Scholl wrote:
I'm running PHP 5.0.0 with Apache 2.0.50 and have a problem with the
php_check_syntax function. When I use it, it loads all functions ans
classes. But I only want to check the syntax, not to load the files.
Is this a bug or a feature ?
Actually I found this bug (http://bugs.ph
> Hi
> i am using WYSIWYG (javascript editor) to enter the contents of online
> news
> website ,(PHP & MYSQL)
> everything works pretty good on my local server
> but online
> when i enter a page
> i find that the colors i choosed changed
> would this be a problem on my code or on something on the s
Michael Scholl wrote:
I'm running PHP 5.0.0 with Apache 2.0.50 and have a problem with the
php_check_syntax function. When I use it, it loads all functions ans
classes. But I only want to check the syntax, not to load the files.
Is this a bug or a feature ?
I'd say it was a bug, but since the funct
Juan Pablo Herrera wrote:
I have a cuestion about the features on function mail. I think that it
send the email one to one address. Is it ok?.
Yes. It is all ok.
--
John Holmes
php|architect - The magazine for PHP professionals - http://www.phparch.com
--
PHP General Mailing List (http://www.php.ne
* Thus wrote Lenar Lhmus:
> Mattias Thorslund wrote:
>
> > Though, (regardless of SQL database platform) in a case like this, it
> > MAY be both more straightforward and efficient to use two separate
> > queries for the pictures and comments, given the one-to-many cardinality
> > between them. Th
Thanks for the idea, Josh.
I will do this, but still this hack doesn't answer the question: "Why does it
work locally without hitch, yet totally barfs on a very similar configuration
on the net?"
As I mentioned, this is a re-write. I've learned my lesson: never try to patch
another's code -- w
Hi Rosen,
It doesn't hurt to use google you know.
[Q:]
Is there going to be a version of PHP 4.x which is declared stable for use
with Apache 2.x or, is this feature going to be reserved for PHP5?
[A:]
The development of the Apache 2 module is completely disconnected from the
PHP 5 efforts. I th
Please read the list newbie guide
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface.
Hi,
What is the reason, thath in the installation manual of PHP writes:
"WARNING:
Do not use Apache 2.0 and PHP in a production environment neither on Unix
nor on Windows. "
Thanks,
Rosen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please do not reply to this email, or you will be taken off the mailing list.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm running PHP 5.0.0 with Apache 2.0.50 and have a problem with the
php_check_syntax function. When I use it, it loads all functions ans
classes. But I only want to check the syntax, not to load the files.
Is this a bug or a feature ?
--
PHP General Mailing List (http://www.php.net/)
To unsubs
> So after the directories are created, those are the actual permissions
that
> are on them? Did you actually check this or are you assuming it? If you
can,
> please show us the output of 'ls -al' of the directories in question.
Yes, I have seen the permission and its rwx-rwx-rwx i.e 777.
--
PHP
Hi
i am using WYSIWYG (_javascript_ editor) to enter the contents of online news website ,(PHP & MYSQL)
everything works pretty good on my local server
but online
when i enter a page
i find that the colors i choosed changed
would this be a problem on my code or on something on the server
> Robby,
>
> I just enabled log_errors locally. No errors (as I thought).
>
> Since I am hacking a previously written site, the problem seems to arise
most
> when accessing his pre-built functions across pages. For instance, he uses
a
> 'cards.php' to store all display functions -- showleft() -- sh
"Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi everybody,
> I have a cuestion about the features on function mail. I think that it
> send the email one to one address. Is it ok?.
> Regards,
> Juan Pablo
Hi Juan Pablo,
the manual says:
"mail() automatically
Mattias Thorslund wrote:
> Though, (regardless of SQL database platform) in a case like this, it
> MAY be both more straightforward and efficient to use two separate
> queries for the pictures and comments, given the one-to-many cardinality
> between them. The above statement causes redundant dat
heh, i subscribe to a couple mailing lists for a product that i work
with (a rather large company). last month i got a record 43 "out of
office " replies from a single message to their list.
On Sat, 07 Aug 2004 23:37:27 -0700, Chris Martin <[EMAIL PROTECTED]> wrote:
> Robby Russell wrote:
> > To
52 matches
Mail list logo