>
> On Tue, July 25, 2006 3:15 pm, Kevin Waterson said:
> > This one time, at band camp, Larry Garfield <[EMAIL PROTECTED]>
> > wrote:
> >
> >> The correct answer is (b). (PHP 6 won't even have short
> tags, so get
> >> used to
> >> not having them.)
> >
> > ummm, I think it was decided to stay
On Tue, July 25, 2006 3:15 pm, Kevin Waterson said:
> This one time, at band camp, Larry Garfield <[EMAIL PROTECTED]>
> wrote:
>
>> The correct answer is (b). (PHP 6 won't even have short tags, so get
>> used to
>> not having them.)
>
> ummm, I think it was decided to stay in php6. I could be mild
This one time, at band camp, Larry Garfield <[EMAIL PROTECTED]> wrote:
> The correct answer is (b). (PHP 6 won't even have short tags, so get used to
> not having them.)
ummm, I think it was decided to stay in php6. I could be mildly/wildly mistaken
Kevin
--
"Democracy is two wolves and a
At 11:01 PM -0500 7/24/06, Larry Garfield wrote:
Disable short tags.
If short tags are enabled, the PHP parser sees the and freaks out.
You can:
Bingo !
That works : )
Apparently the "better" minds are on this list.
Thanks very much.
tedd
--
---
http://sperling.com http://ancientst
Larry Garfield wrote:
> Disable short tags.
>
> If short tags are enabled, the PHP parser sees the mode. It then starts parsing the "xml" and sees that it's not proper PHP,
> and freaks out.
>
> You can:
>
> a) Use PHP to print out the XML declaration as a string:
> '; ?>
>
> b) Disable sh
Disable short tags.
If short tags are enabled, the PHP parser sees the '; ?>
b) Disable short tags so that the PHP parser ignores Hi gang:
>
> Why does starting my php script with --
>
>
>
> -- stop it from running?
>
> I would like to use php in a page, but the page has to begin with a
> xml d
Hi gang:
Why does starting my php script with --
-- stop it from running?
I would like to use php in a page, but the page has to begin with a
xml declaration to generate a quirksmode for IE6 and under while
permitting IE7 to be left in standards mode.
We've tried it in both Wordpress and
I get: (on Linux, PHP 5.1.4)
php cls_t.php
Will buildBuildingFinished
buildingUnsetingDestroyingUnset complete
Mathieu Dumoulin wrote:
I posted a bit earlier and did some other tests and now i have a VERY
simple question... check the following code :
I posted a bit earlier and did some other tests and now i have a VERY
simple question... check the following code :
===
class test {
public function __construct(){
echo 'Building';
}
public function __destruct(){
Jochem Maas wrote:
Mayank Maheshwary wrote:
Hi,
Is there a function that can detect the OS on which the script is running?
yes.
php_uname()
read about it here http://php.net/manual/en/function.php-uname.php
and then read 10 pages either side just for fun :-)
Thank you.
M.
Ha - ne
Mayank Maheshwary wrote:
> Hi,
>
> Is there a function that can detect the OS on which the script is running?
yes.
php_uname()
read about it here http://php.net/manual/en/function.php-uname.php
and then read 10 pages either side just for fun :-)
>
> Thank you.
>
> M.
>
--
PHP General Mail
At 11:46 AM +1000 6/27/06, Ligaya Turmelle wrote:
>Mayank Maheshwary wrote:
>>Hi,
>>
>>Is there a function that can detect the OS on which the script is running?
>>
>>Thank you.
>>
>>M.
>>
>The OS of the server maybe $_SERVER['SERVER_SOFTWARE'] - *shrug*
>The OS of the client is not available - ser
Mayank Maheshwary wrote:
Hi,
Is there a function that can detect the OS on which the script is running?
Thank you.
M.
The OS of the server maybe $_SERVER['SERVER_SOFTWARE'] - *shrug*
The OS of the client is not available - server side - remember.
--
life is a game... so have fun.
--
PHP
Hi,
Is there a function that can detect the OS on which the script is running?
Thank you.
M.
I am working on some code that I am moving to use PDO in order to
play with it a bit. I used to use ADODB, but want to try out the
performance of using PDO and just skipping some of the portability of
the db code. The one thing I find myself missing is the ADODB debug
and sql values where you
I am working on some code that I am moving to use PDO in order to
play with it a bit. I used to use ADODB, but want to try out the
performance of using PDO and just skipping some of the portability of
the db code. The one thing I find myself missing is the ADODB debug
and sql values where you
On Wed, May 24, 2006 11:26 am, Suhas wrote:
> I am trying to write a script which will avoid browser timeout problem
> and
> in that process I have created 2 files
>
> FILE1.php:
> set_time_out(1);
> echo shell_exec("/usr/local/bin/php -f FILE2.php &");
>
> FILE2.php:
> @mail($to,$sub,$msg);
> slee
On 5/24/06, Suhas <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to write a script which will avoid browser timeout problem and
in that process I have created 2 files
FILE1.php:
set_time_out(1);
echo shell_exec("/usr/local/bin/php -f FILE2.php &");
FILE2.php:
@mail($to,$sub,$msg);
sleep(60);
@mail
Hi,
I am trying to write a script which will avoid browser timeout problem and
in that process I have created 2 files
FILE1.php:
set_time_out(1);
echo shell_exec("/usr/local/bin/php -f FILE2.php &");
FILE2.php:
@mail($to,$sub,$msg);
sleep(60);
@mail($to,$sub,$msg);
I run File1.php thr' browser
Sure if all you are writing is a "hello world" page, but if you are
writing out an application that is more complex, wouldn't the savings
and managability be beneficial enough to justify? ... code reusability
... Don't ya think?
Why is it easier to do something like this:
echo '';
echo '';
This one time, at band camp, Charlene Wroblewski <[EMAIL PROTECTED]> wrote:
> looked at Smarty and it doesn't seem to be as useful the way I'm using
> templates.
I'm not surprised, 1000 lines of code to do "hello world"
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lu
I have been using template.inc for templates. It works very well so
that I can just work on coding and a designer can make the page look good.
But I noticed that there are several versions (some of which don't seem
to work), and its no longer in the phplib. Is there some reason not to
use it
On 11/05/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
Ginger Cheng wrote:
> Hello, PHP gurus,
> I have a command that I want to run using system function. The
> command exploits temporary named pipes in the place of temporary files.
> my command is
> paste <(cut -f1 file1) <(c
Ginger Cheng wrote:
Hello, PHP gurus,
I have a command that I want to run using system function. The
command exploits temporary named pipes in the place of temporary files.
my command is
paste <(cut -f1 file1) <(cut -f2 file2)> final_file
It works perfectly
On Wednesday 10 May 2006 4:02 pm, Ginger Cheng wrote:
> Hello, PHP gurus,
> I have a command that I want to run using system function. The
> command exploits temporary named pipes in the place of temporary files.
>
>my command is
>
> paste <(cut -f1 file1) <(cut -f2 file2)
Hello, PHP gurus,
I have a command that I want to run using system function. The
command exploits temporary named pipes in the place of temporary files.
my command is
paste <(cut -f1 file1) <(cut -f2 file2)> final_file
It works perfectly well if I just t
Dave Goodchild wrote:
Oooo you have so much power..must be amazing to be so
knowlgeable...oh my god, are you really considering witholding that
information from me...what on earth am I goimng to dohow can I
cope...uh...uh...
oh shit! I worked it out myself. No need to wade thr
Dave Goodchild wrote:
Hi all. I have heard that functions like apc_define_constants and
apc_load-constants are useful in speeding up mass definition of constants
but could someone tell me how many constants you would have to have before
this became appropriate. I am writing an app that loads a nu
Hi all. I have heard that functions like apc_define_constants and
apc_load-constants are useful in speeding up mass definition of constants
but could someone tell me how many constants you would have to have before
this became appropriate. I am writing an app that loads a number of
constants into
Saul Rennison wrote:
Hi,
I'm making a PHP Installer that is customizable by using plugins, I haven't
used PHP for a while and which I have forgotten some things about PHP *eek*..
$hiddenKnowledge = unforgetPHP();
Anyway, I want to know how to add things to an array. Like this:
$foobar = arra
On 27 Apr 2006, at 20:51, Saul Rennison wrote:
Anyway, I want to know how to add things to an array. Like this:
$foobar = array()
$foobar['rar']['miaw']
Would that output come out (for the array) as:
array(
'rar' => 'miaw'
)
No, it would create a multi-dimensional array that contains nothi
Hi,
I'm making a PHP Installer that is customizable by using plugins, I haven't
used PHP for a while and which I have forgotten some things about PHP *eek*..
Anyway, I want to know how to add things to an array. Like this:
$foobar = array()
$foobar['rar']['miaw']
Would that output come out (for
That is incorrect.
There *IS* a setting for another magic_quotes_runtime, which will do
addslashes to all data coming FROM the database.
That's a particularly silly setting UNLESS your entire application
consists of taking date out of one database and shoving it into
another database -- which is
On Sat, April 8, 2006 7:49 pm, jonathan wrote:
> I have a server where magic_quotes_gpc is set to On. It's my
> understanding that this should add slashes to something like "Joe's"
> so that it's "Joe\'s" but when I look in the db, it is in there as
> Joe's. This doesn't seem like it should be the
I have a server where magic_quotes_gpc is set to On. It's my
understanding that this should add slashes to something like "Joe's"
so that it's "Joe\'s" but when I look in the db, it is in there as
Joe's. This doesn't seem like it should be the anticipated behavior.
Is there another setting
On Mon, February 20, 2006 8:57 pm, jonathan wrote:
> I have the following construct:
>
> $arg['textarea']['body']="Hello";
>
>
>foreach($arg['textarea'] as $row)
>{
> echo $row['body']."";
> echo $arg['textarea']['body']."";
>
>}
>
> I would expect bo
jonathan wrote:
I have the following construct:
$arg['textarea']['body']="Hello";
foreach($arg['textarea'] as $row)
{
echo $row['body']."";
$row contains the _string_ 'Hello'.
the thing is you can use array-like notation to
get at the individual chars of a string.
']. And
php will translate 'body' to 0 in this, I do not know why :)
Try
echo $row['body']. $row[1]. $row[1]. $row[2]. $row[3]. $row[4];
It will probably echo Hello for you :)
/Peter
-Original Message-
From: jonathan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Feb
jonathan wrote:
I have the following construct:
$arg['textarea']['body']="Hello";
foreach($arg['textarea'] as $row)
{
echo $row['body']."";
echo $arg['textarea']['body']."";
}
I would expect both of them to output "Hello" but only the second does
On Tue, January 31, 2006 6:20 am, Andrei wrote:
> For debugging purposes I want to send to a function the line and file
> where it is called. The problem is that I want these parameters to be
> added to function as default parameters (changing all function calls
> would not be an option for m
Thank you very much David
Andrei
David Grant wrote:
Andrei,
http://php.net/manual/en/function.debug-backtrace.php
David
Andrei wrote:
Hi list,
For debugging purposes I want to send to a function the line and
file where it is called. The problem is that I want these parameters to
be add
Andrei,
http://php.net/manual/en/function.debug-backtrace.php
David
Andrei wrote:
>
> Hi list,
>
> For debugging purposes I want to send to a function the line and
> file where it is called. The problem is that I want these parameters to
> be added to function as default parameters (changi
Hi list,
For debugging purposes I want to send to a function the line and file
where it is called. The problem is that I want these parameters to be
added to function as default parameters (changing all function calls
would not be an option for me)
function my_func( $param, $line = __LINE_
whoops, that should be "phpclasses.org" (no hyphen)
Geoff.
--- Forwarded message follows ---
From: Geoff <[EMAIL PROTECTED]>
To: Jon Grimes <[EMAIL PROTECTED]>
Subject: Re: [PHP] Question about Thumbnaili
I'm currently working on a media based site that serves up user submitted
videos/images/flash games/etc. The owner wants an easy way to generate
thumbnails for the content so that we don't have to depend on the user to
submit one. We would also like to attach a small intro clip to the video
conten
On Thu, January 12, 2006 4:13 pm, jonathan wrote:
> I have a class which creates another class within it such as:
>
> class Loc{
>
> public function outputInfo()
> {
> $map=new Map();
>
> $map->setKey();
>
>
> }
>
> }
>
> In my main page can I access the $map object like this:
>
> $loc=
$map is not a member variable of the Loc class in your code...
Instead do this:
class Loc {
// Defines a member variable
var $map;
// Constructor
function Loc() {
$this->map = new Map(); // Create map object and save to Loc object
$this->map->setKey();
}
}
$loc = new Loc();
$loc
> $map=new Map();
$this->map = new Map();
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, Jonathan!
On Thu, 2006-01-12 at 14:13 -0800, jonathan wrote:
> I have a class which creates another class within it such as:
>
> class Loc{
>
> public function outputInfo()
> {
>
>
> $map=new Map();
>
> $map->setKey();
>
>
> }
>
> }
>
> In my main page ca
>From the http://pecl.php.net/package/domxml page:
NOTE: if you're running PHP 4.x, the domxml is already part of the
distribution.
It seems to me the Extension should be installed already.
On 1/9/06 7:41 AM, "Jochem Maas" <[EMAIL PROTECTED]> wrote:
> Ted Zeng wrote:
>> Hi,
>>
>> I use OS X t
Does this
(PHP 4 >= 4.2.1, PECL)
Mean it is installed for version higher than
4.2.1?
Ted zeng
On 1/9/06 7:41 AM, "Jochem Maas" <[EMAIL PROTECTED]> wrote:
> Ted Zeng wrote:
>> Hi,
>>
>> I use OS X tiger which has a PHP v4.3.12 installed.
>
> any reason to be using an old version of php?
>
>
Ted Zeng wrote:
Hi,
I use OS X tiger which has a PHP v4.3.12 installed.
any reason to be using an old version of php?
I would like to be able to generate xml files.
But when I copied a php script from a tutorial and tried it,
Php complaints that
domxml_new_doc is undefined function
How co
Hi,
I use OS X tiger which has a PHP v4.3.12 installed.
I would like to be able to generate xml files.
But when I copied a php script from a tutorial and tried it,
Php complaints that
domxml_new_doc is undefined function
How could that be?
Ted zeng
--
PHP General Mailing List (http://www.php
do a:
print_r($_REQUEST)
on the php page. if nothing, things aren't configured correctly or
you aren't passing in variables correctly.
On Dec 1, 2005, at 12:15 PM, Danilo Azevedo wrote:
Hi, my name is Danilo, i am from Brazil
I need your assistence with a code made by your self, if you a
Hi, my name is Danilo, i am from Brazil
I need your assistence with a code made by your self, if you are not too
busy :P
I am using PHP/XML with your request.php file, but i cant get some
attributes from a Tag, everything is working fine, but it :(
The Tag name is "RUA" and have some attributes tha
server and client are logical definitions, in the environment here
normally discussed these are meanings
server : a pc (cpu) where a web server is running (usually apache) and
php is parsing pages served to the client
client: is a pc (cpu), normally remote, who is asking for a page to the server
On Sunday 27 November 2005 12:34, cheeto borje wrote:
> Hello,
>
>I wanna ask you about :
>
>1. When you say server, does it mean my CPU?
By CPU I assume you mean your computer and not the Central Processing Unit.
being a CPU is the small chip inside your computer attached into the
motherb
Hello,
I wanna ask you about :
1. When you say server, does it mean my CPU?
2. Do i have to buy a seperate server besides my computer CPU?
3. Can i use the software to multiple web-domain that i will create
and launch online?
4. How will i be able store those data c
On Fri, November 11, 2005 7:09 pm, Bagus Nugroho wrote:
> I have session code which written WindowsXP and It wotk properly as
> expected, but when I'm used in Windows 2K, it got error as;
> Notice: Undefined index: loginMessage in
> C:\CentralData\forms\mainForm.php on line 65
> I'am used Apache 2.
poblem was solved by add
session_register function
before $_SESSION["blablabla"];
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sat 12-Nov-2005 09:50
To: Bagus Nugroho; php-general@lists.php.net
Subject: Re: [PHP] Question about session
There's no code. You need to put your code in the Email so we can see it...
I have session code which written WindowsXP and It wotk properly as expected,
but when I'm used in Windows 2K, it got error as;
Notice: Undefined index: loginMessage in C:\CentralData\forms\mainForm.php on
line 65
I'am used Apache 2.0 and PHP 5.0.4.
Is php.ini setting on W2K different with XP
Manish Marathe wrote:
On 11/2/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
Manish Marathe wrote:
Sorry for spamming but I didn't mean to reply you privately :(
I did it myself by accident 2 minutes ago :-)
no probs.
Thanks
I am sorry if I have hurted anyone's feelings here but by fooli
On 11/2/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> Manish Marathe wrote:
> > Sorry for spamming but I didn't mean to reply you privately :(
>
> I did it myself by accident 2 minutes ago :-)
> no probs.
Thanks
> I am sorry if I have hurted anyone's feelings here but by foolish simply
>
> au c
Manish Marathe wrote:
Sorry for spamming but I didn't mean to reply you privately :(
I did it myself by accident 2 minutes ago :-)
no probs.
...
Well, its not me who is going to run the unit tests but it the user who
is going to. As I said I am developing an automatic unit test
"generator
Sorry for spamming but I didn't mean to reply you privately :(
On 11/1/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> Manish Marathe wrote:
> > Hello All,
> >
> > I am developing a unit test generator for PHP. The generated tests would
> be
> > PHPUnit2 compatible and I will be using the Reflectio
Manish Marathe wrote:
Hello All,
I am developing a unit test generator for PHP. The generated tests would be
PHPUnit2 compatible and I will be using the Reflection API to generate the
tests. The tests would be generated only for classes and written on PHP
5.0.3 compatible.
My question is to use
I am developing a unit test generator for PHP. The generated tests would be
PHPUnit2 compatible and I will be using the Reflection API to generate the
tests. The tests would be generated only for classes and written on PHP
5.0.3 compatible.
My question is to use the Reflection API, I need to impor
Hello All,
I am developing a unit test generator for PHP. The generated tests would be
PHPUnit2 compatible and I will be using the Reflection API to generate the
tests. The tests would be generated only for classes and written on PHP
5.0.3 compatible.
My question is to use the Reflection API, I n
Richard Davey wrote:
Hi Jay,
Friday, October 14, 2005, 2:21:57 PM, you wrote:
I was wondering isn't this putting a bigger load on a server by
including so many files for each function? Also, I was wondering
what everyone's opinion was on this approach in terms of
maintenance. Do you think it'
Hi Jay,
Friday, October 14, 2005, 2:21:57 PM, you wrote:
> I was wondering isn't this putting a bigger load on a server by
> including so many files for each function? Also, I was wondering
> what everyone's opinion was on this approach in terms of
> maintenance. Do you think it's better practice
I just started working with a new company and they handed me some of their
php code for me to look over. I noticed that they have a TON of include
files being called into their scripts. For example, instead of having one
file called functions.php and then having all their functions in that one
fi
On Fri, October 7, 2005 6:54 am, Sven Simons wrote:
> When manually installing PHP it always gives me the status UNKNOWN.
Definitely check $_SERVER instead of GetEnv to see if it gives you
what you want.
> The only strange thing is that the phpinfo says that the ini file is
> located
> in C:\Winn
On 10/7/05, Sven Simons <[EMAIL PROTECTED]> wrote:
>
> I've installed PHP using the windows installer
> I try to open then php pages containing the following script :
> echo "Current IP Address: ";
> $ipx = getenv("HTTP_CLIENT_IP") ? getenv("HTTP_CLIENT_IP") : 0;
> $ipx = !$ipx && getenv("HTTP_X_F
I've installed PHP using the windows installer
I try to open then php pages containing the following script :
";
echo "Server IP Address: ";
$ipx = getenv("SERVER_ADDR") ? getenv("SERVER_ADDR") : 0;
echo !$ipx ? "UNKNOWN" : $ipx;
?>
It works and gives me a correct current IP address
When m
On 9/30/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> I'm guessing that trhe onclick and onsumbit handlers you set are hanging
> on a 'submit' type input? .. if so the form is submitting - in whcih case
> the
> AJAX request will arrive back at your page - and the page won't be there
> (so
> to spe
xfedex wrote:
Hi,
I did the "Rasmus' 30 second AJAX Tutorial" just for testing and everything
works fine, by the way... thanks Rasmus, for this and for all !!.
My little script have a single and for every keystroke (calling the
javascript function with onkeyup) the value of the input is parsed
xfedex wrote:
I did the "Rasmus' 30 second AJAX Tutorial" just for testing and everything
works fine, by the way... thanks Rasmus, for this and for all !!.
My little script have a single and for every keystroke (calling the
javascript function with onkeyup) the value of the input is parsed by
a
On 9/29/05, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> Aside from using ajax to clean the toilet once in a while I'm not really
> into it. But I do wrangle out some javascript from time to time :) Why
> are you using onsubmit? Wouldn't onclick work better?
>
> Cheers,
> Rob.
>
Hi Robert,
I als
On Thu, 2005-09-29 at 22:46, xfedex wrote:
> Hi,
>
> I did the "Rasmus' 30 second AJAX Tutorial" just for testing and everything
> works fine, by the way... thanks Rasmus, for this and for all !!.
> My little script have a single and for every keystroke (calling the
> javascript function with onk
Hi,
I did the "Rasmus' 30 second AJAX Tutorial" just for testing and everything
works fine, by the way... thanks Rasmus, for this and for all !!.
My little script have a single and for every keystroke (calling the
javascript function with onkeyup) the value of the input is parsed by
another php s
Wanted to thank the handful of you who wrote me with some hints. I really
appreciate the guidance. :) The test form is working like a champ.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ed'] and
assign that to the hidden val..
in a similar manner, you could also check in your logic using the $_POST[]
val...
-bruce
-Original Message-
From: Iggep [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 07, 2005 3:47 PM
To: php-general@lists.php.net
Subject: [PHP] L
On Wed, Sep 07, 2005 at 06:47:28PM -0400, Iggep wrote:
> Hey all! I sat down and started learning PHP today and ran into a bit of a
> spot. Hoped someone here could lead me in the right direction. I created a
> simple test form called form.php. I thought I had this strait in my mind
> when I
Hey all! I sat down and started learning PHP today and ran into a bit of a
spot. Hoped someone here could lead me in the right direction. I created a
simple test form called form.php. I thought I had this strait in my mind
when I created it, but obviously it didn't work. All I want to do is
Vidyut Luther wrote:
and then:
trigger_error("log(x) for x <= 0 is undefined, you used: scale =
$scale", E_USER_ERROR);
?>
So, wouldn't this make $errno in the "myErrorHandler" be "log (x) "
rather than E_USER_ERROR ?
No, because you're calling trigger_error, not myErrorHandler.
The
I'm writing a error handler for my scripts, so I went to : http://
us3.php.net/manual/en/function.set-error-handler.php
I noticed something in the example 1 given there.
and then:
trigger_error("log(x) for x <= 0 is undefined, you used: scale =
$scale", E_USER_ERROR);
?>
So, wouldn't this
after you make changes restart iis. btw apache works fine in this
scenario too. if the extensions still dont work then look for the
dll's make sure they are even installed for php/webserver to use
On 8/19/05, JM <[EMAIL PROTECTED]> wrote:
> You are talking about a few issues.
>
> 1. turn on / unc
I forgot to mention that calling from shell directly s.php runs correctly.
~
marvin:~/liang.ns2user.info/php> ./s.php
This is a PHP-CLI Script!!0123456789
~
The php configuration of this site is:
http://liang.ns2user.info/php/info.php
Thank you i
I call red.php through apache http request, and red.php make exec('./s.php')
call, then I got bunch of s.php processes, and system locked me out any task
due to no more processes available. Why this would happen?
marvin:~/liang.ns2user.info/php> less red.php
marvin
If my php is configured as ( http://liang.ns2user.info/php/info-train06.htm)
an apache 2.0 filter module. The php is invoked by apache on request of http
client. Can I do an exec() to call another php script to run in the
background? If yes, how?
Highly appreciate if somebody helps. Thank you.
arent.
HTH.
C.
-Original Message-
From: Mark Rees [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 13:39
To: php-general@lists.php.net
Subject: Re: [PHP] MySQL + PHP question
*
This e-mail has been received by the Revenue Internet
On Tue, 2005-07-26 at 13:39 +0100, Mark Rees wrote:
> "André Medeiros" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > One thing I didn't quite explain myself well... I'm building this to
> > register objects on a permission system.
> >
> > The SQL weight is heavy as it is, and I
"André Medeiros" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> One thing I didn't quite explain myself well... I'm building this to
> register objects on a permission system.
>
> The SQL weight is heavy as it is, and I want to save queries as much as
> possible. Making two queries t
You're missing the point here. I know how to get the parent project's
info. I know recursiveness. I _JUST_ don't know how to get the current
and parent project's info in just ONE QUERY (since I'm trying to save
them because the sql weight is getting pretty heavy).
--
PHP General Mailing List (htt
One thing I didn't quite explain myself well... I'm building this to
register objects on a permission system.
The SQL weight is heavy as it is, and I want to save queries as much as
possible. Making two queries to extract information about a project and
it's parent is not something I'd want to do.
t on MySQL, but this query should work on MSSQL and Oracle.
HTH.
C.
-Original Message-
From: André Medeiros [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 12:53
To: Shaw, Chris - Accenture
Cc: php-general@lists.php.net
Subject: RE: [PHP] MySQL + PH
riginal Message-
From: André Medeiros [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 12:18
To: php-general@lists.php.net
Subject: [PHP] MySQL + PHP question
Hi guys.
I'm having some trouble here regarding a project. I have a table with
projects, wich can be recursive (ie. sub-projects) and it
ill overwrite the object's properties).
If not... heck, I'll have to make another query or use the associative
array sollution (wich neither will make me very happy, but that's life).
Thanks for your prompt reply :)
>
> C.
> -Original Message-
> From: An
PHP] MySQL + PHP question
*
This e-mail has been received by the Revenue Internet e-mail service.
*
Hi guys.
I'm having some trouble here regarding a project. I have a table with
projects, wich can be recursive (ie. sub-p
701 - 800 of 1806 matches
Mail list logo