>Sounds like an old bug in PHP. What version are you using?
I've been trying to get it to work at:
http://members.lycos.co.uk/primeooze/info.php
I also have ( apache/php 4.3.4/mysql ) installed on my computer and I get much more
satisfactory results on it.
I have made progress and some of my con
Hello all,
I have a small issue with a PHP 4 developed application on PHP5. Current I
get the following error message:
PHP ERROR : , ERROR CODE: 2048, MESSAGE: Implicit cloning object of class
'testErrors' because of 'zend.ze1_compatibility_mode', FILE:
c:\eclipse\workspace\myapp\index_test.php,
Thanks you all for your recommendations !!!
~ nadim attari
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 22 July 2004 13:13, Justin Patrin wrote:
> AHA! Outlook, by default, removes "extra" line breaks in text
> messages. Do you see a message which says this in Outlook? This is an
> option you can turn off. If this doesn't work, just send the message
> as HTML. There's really no reason no
On Thursday 22 July 2004 13:14, Five wrote:
> If you had read my replies you would know how I know.
> And, oh yeah, if you're not a troll, how would I know?
Could you please trim your posts?
Your code as it stands *should* work. YOU have not been able to get it to work
so you was given a perfec
Five wrote:
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>>
If it does not work for you, are you sure you're accepting the session
cookie? How are you sure? Do you have a valid session.save_path? How do
you know? Are you displaying errors? How do you know? If you see
On Thu, 22 Jul 2004 00:48:16 -0400, Five <[EMAIL PROTECTED]> wrote:
>
> "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > --- Five <[EMAIL PROTECTED]> wrote:
> > > My problem isn't the logic of when and where to output variable
> > > values. It's figuring out when a
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Five wrote:
> >
> > page1.php
> > > session_start();
> > echo 'page #1';
> >
> > echo $_SESSION['favcolor'];
> > $_SESSION['favcolor'] = 'green';
> >
> > echo 'page
On Wed, 21 Jul 2004 23:42:04 -0400, PHP User <[EMAIL PROTECTED]> wrote:
> I am using Outlook 2003 in text mode to view messages (which is what I
> want).
AHA! Outlook, by default, removes "extra" line breaks in text
messages. Do you see a message which says this in Outlook? This is an
option you
On Wed, 21 Jul 2004 22:42:40 -0400, Five <[EMAIL PROTECTED]> wrote:
>
> "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > --- Five <[EMAIL PROTECTED]> wrote:
> > > That did it! I wonder if there is a way, then, to have it work even if
> > > the variable is initialize
Five wrote:
page1.php
';
echo $_SESSION['favcolor'];
$_SESSION['favcolor'] = 'green';
echo 'page 2';
?>
page2.php
';
echo $_SESSION['favcolor'];
$_SESSION['favcolor'] = 'blue';
echo 'page 1';
?
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> --- Five <[EMAIL PROTECTED]> wrote:
> > My problem isn't the logic of when and where to output variable
> > values. It's figuring out when a session variable will accept
> > initialization and what enables and/or preven
On Thursday 22 July 2004 11:56, Joe Harman wrote:
> Hello, I was curious if someone would help me alter this class so that
> instead of using it to upload images... I could send it a full URL path
> to an image, and it would save it to my server...
1) I'm not going to change the script for you. U
Hello, I was curious if someone would help me alter this class so that
instead of using it to upload images... I could send it a full URL path
to an image, and it would save it to my server...
Thanks,
Joe
Class
---
300 kbyte
// $file_perm = array with mi
I am using Outlook 2003 in text mode to view messages (which is what I
want). This is the relevent code...
Code for input from form .
$text=str_replace("\n","\r\n",$text);
* this replaces \n before the email is sent. Not sure this is necessary or
right, but nothing else I have tried wo
On Thursday 22 July 2004 10:35, bruce wrote:
> if i simply use the shell commands "exec/system/passthru" without
> specifying a dir, ie exec("ls"), then it works. however, if i specify
> "exec('ls /foo')" where foo is another dir, then i don't get a response. is
> there someplace where i can open
===
Please feel free to add more points and send
to the list.
===
1. If you have any queries/problems about PHP
try http://www.php.net/manual/en first. You
can download a copy and use it offline also.
Please also try
htt
--- Five <[EMAIL PROTECTED]> wrote:
> > Maybe some custom output buffer will make it work!? :)
> >
> > ---John Holmes...
>
> Good idea. I'll look into that.
He was kidding. :-)
Well, he was serious, in the sense that it could work, but he didn't mean
the suggestion to be taken seriously.
Chris
--- Five <[EMAIL PROTECTED]> wrote:
> My problem isn't the logic of when and where to output variable
> values. It's figuring out when a session variable will accept
> initialization and what enables and/or prevents it from doing so.
There's no magic. Session variables behave exactly like any othe
The problem is
> that the session variable won't accept a new value just any old
>where in the code on the second page (apparently.)
Or on the first one for that matter.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Chris Shiflett wrote:
>
> > --- Five <[EMAIL PROTECTED]> wrote:
> >>That did it! I wonder if there is a way, then, to have it work even if
> >>the variable is initialized after it is echoed.
> >
> > You see, that makes
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> --- Five <[EMAIL PROTECTED]> wrote:
> > That did it! I wonder if there is a way, then, to have it work even if
> > the variable is initialized after it is echoed.
>
> You see, that makes no sense, and that's why no one
Thank you both Jason and Curt...
Looks like I was pretty close...
In fact, I found a fault in my logic, too, that meant only some but not all
instances of $element were being validated, even after i got the preg
function right! But it's all working great now.
- john
> >
> > As John has previousl
ok...
if i simply use the shell commands "exec/system/passthru" without specifying
a dir, ie exec("ls"), then it works. however, if i specify "exec('ls /foo')"
where foo is another dir, then i don't get a response. is there someplace
where i can open up the dirs/locations that the shell commands c
Jason Davidson wrote:
Has anyone every wrote script too send a message to any of the popular
messenger services, i see there is a perl module for jabber, however,
im more interested in using php to send to .. msn, or yahoo, and
jabber of coarse :)
Try jabberstudio.com this is a sourceforge like
hi
i have a large text blob that i want to extract strings out of.
the large text blob looks like "Name: john doe Date: 060604
Subject: this is subject Text: ";
i want to just extract 'john doe' '060604' and 'this is subject'
from the text blob. what would be the best string function to use?
PHP Gen wrote:
how about using SSH tunneling instead.
Never tried it, any examples for a win2k pro machine?
There are some tutorials on this topic search term may be 'ssh tunnel
howto' you do need to have an SSH client installed on your computer. The
server will no doubt have ssh installe
Chris Shiflett wrote:
--- Five <[EMAIL PROTECTED]> wrote:
That did it! I wonder if there is a way, then, to have it work even if
the variable is initialized after it is echoed.
You see, that makes no sense, and that's why no one else was able to
answer your question. Code is executed in order. Cons
--- Five <[EMAIL PROTECTED]> wrote:
> That did it! I wonder if there is a way, then, to have it work even if
> the variable is initialized after it is echoed.
You see, that makes no sense, and that's why no one else was able to
answer your question. Code is executed in order. Consider this:
Thi
there's no setting for
safe_mode/safe_mode_exec_dir/safe_mode_gid/safe_mode_include is either
off/no value
if you're running "exec" from within a php app.. what are the settings of
your web site within apache...
-thanks
-bruce
-Original Message-
From: Justin Patrin [mailto:[EMAIL P
On Wed, 21 Jul 2004 16:15:00 -0700, bruce <[EMAIL PROTECTED]> wrote:
> hi...
>
> i'm trying to track down issues that i seem to be having with using
> exec/system shell functions within web/php apps on apache. i'm running
> php-5/apache2/rh8.0.
>
> i'd like to talk with anybody who's gotten the e
Use the PHP passthru function. The manual has examples of how you can get
the output from your commands in order to test things.
> -Original Message-
> hi...
>
> i'm trying to track down issues that i seem to be having with using
> exec/system shell functions within web/php apps on apa
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Wed, 21 Jul 2004 18:43:12 -0400, Five <[EMAIL PROTECTED]> wrote:
> >
> > "Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> >
> >
> > > On Wed, 21 Jul 2004 17:50:36 -0400, Five <[EMAIL PROTE
The example depends on how you're printing from SSH. You'll need to check
whether wget is available on the system as well.
"man wget" to see it's various parameters.
wget http://www.yahoo.com | lpr
but like I say... it depends on a few things on your end...
> -Original Message-
> Th
Hello,
On 07/21/2004 08:36 PM, Justin Patrin wrote:
You can also use wget to grab the web page and then pipe it to lpr
This will also just grab the page's HTML and print it.
I think you missed the part when the original poster mentioned that he
wanted to print the page from a cron script (no human
On Wed, 21 Jul 2004 15:58:24 -0700, Ed Lazor <[EMAIL PROTECTED]> wrote:
> You can also use wget to grab the web page and then pipe it to lpr
>
This will also just grab the page's HTML and print it.
>
> > -Original Message-
> > > OK, but here's the rub:
> > >
> > > I need to print a web
Hello,
On 07/21/2004 08:26 PM, Vern wrote:
Yes but if you print a php page it prints out the code for the php.
I need to print out a report that is written in php and uses a MySQL
database.
In Unix/Linux, the print system takes printouts in Postscript, not HTML.
You need to generate Postscript or
Anyone have info on integrating Quickbooks / PHP / MySQL?
-Ed
Yes but if you print a php page it prints out the code for the php.
I need to print out a report that is written in php and uses a MySQL
database.
If only I could just hit the print button in the browser!!! LOL
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Can you already send jobs to the printer from SSH?
> -Original Message-
> From: Vern [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 21, 2004 3:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: [PHP] Sending the output of a web page to a printer
>
> OK, welll this may be off topic then,
On Wed, 21 Jul 2004 18:43:12 -0400, Five <[EMAIL PROTECTED]> wrote:
>
> "Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
>
> > On Wed, 21 Jul 2004 17:50:36 -0400, Five <[EMAIL PROTECTED]> wrote:
> > >
> > > "Five" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROT
On Wed, 21 Jul 2004 18:27:44 -0400, rogue <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Please copy me on any replies, I think I am still on the digest version
> of the list :)
>
> I have a form where I have a set of checkboxes
>
>
>
>
>
>
> When I process this form to send the email, I need to
hi...
i'm trying to track down issues that i seem to be having with using
exec/system shell functions within web/php apps on apache. i'm running
php-5/apache2/rh8.0.
i'd like to talk with anybody who's gotten the exec/system functions to
work, to try to compare your setup vs. what i have...
i ca
That would be helpful. Could you give me an example please?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can also use wget to grab the web page and then pipe it to lpr
> -Original Message-
> > OK, but here's the rub:
> >
> > I need to print a web page. Any ideas?
> >
>
> you should be able to use
>
> exec('lpr page.html');
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> --- Five <[EMAIL PROTECTED]> wrote:
> > page1.php
> > > session_start();
> > echo 'page #1';
> >
> > echo $_SESSION['favcolor'];
> > $_SESSION['favcolor'] = 'green';
> >
> > echo 'page 2';
> > ?>
> >
> > --
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Wed, 21 Jul 2004 17:50:36 -0400, Five <[EMAIL PROTECTED]> wrote:
> >
> > "Five" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > > page1.php
> > > > > session_start();
> > > echo 'page #1';
> > >
> > >
That will print the page's html code.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Karl-Heinz Schulz wrote:
The following codes open the links perfect.
print($press[1]." ".strip_tags(html_decode($press[2]))."");
1. Use quotes around your attributes.
target="_blank" href="."
2. Why are you mixing / and \ in your path? Why not send an absolute
path to the file so there's no co
PHP User wrote:
I have managed to get the line breaks to show up on my site no problem, but
I still get one long line when it is sent to my email. I have looked and
looked and have read all the stuff I could find on \r\n, so I'm not sure
where to go from here since it's not working...
Are you viewi
Hi all,
Please copy me on any replies, I think I am still on the digest version
of the list :)
I have a form where I have a set of checkboxes
When I process this form to send the email, I need to change the value
from the number (which is a code) to its representative string - which
at this
OK, welll this may be off topic then, but is there any way I can print a php
page to a printer from the command line in SSH so I can use a CRON job to
print it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vern wrote:
OK, but here's the rub:
I need to print a web page. Any ideas?
you should be able to use
exec('lpr page.html');
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Five <[EMAIL PROTECTED]> wrote:
> page1.php
> session_start();
> echo 'page #1';
>
> echo $_SESSION['favcolor'];
> $_SESSION['favcolor'] = 'green';
>
> echo 'page 2';
> ?>
>
>
> page2.php
> session_start();
> echo 'page #2';
>
> echo $_SESS
"Php User" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have managed to get the line breaks to show up on my site no problem,
but
> I still get one long line when it is sent to my email. I have looked and
> looked and have read all the stuff I could find on \r\n, so I'm n
Karl-Heinz Schulz wrote:
The following codes open the links perfect.
print($press[1]." ".strip_tags(html_decode($press[2]))."");
the correct character to separate directories is /
and quote the attribute:
print($press[1]." ".strip_tags(html_decode($press[2]))."");
--
PHP General Mailing List (http:
"Harlequin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All. I'm hoping someone can help here because my Hosting provider's
> technical support haven't got a clue.
>
> I am unable to get into my phpMyAdmin area using Internet explorer. I'm
> challenged but cannot get in. I've t
On Wed, 21 Jul 2004 17:50:36 -0400, Five <[EMAIL PROTECTED]> wrote:
>
> "Five" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > page1.php
> > > session_start();
> > echo 'page #1';
> >
> > echo $_SESSION['favcolor'];
> > $_SESSION['favcolor'] = 'green';
> >
> > echo 'page 2';
> > ?
what do you get when you print_r($_SESSION) ?
try session_write_close() at the end of your scripts.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 21 Jul 2004 17:45:35 -0400, Karl-Heinz Schulz
<[EMAIL PROTECTED]> wrote:
> The following codes open the links perfect.
>
> print($press[1]." class=\"press_links\">".strip_tags(html_decode($press[2]))."");
>
> When I open it in Firefox it will try to open the following link instead.
> Whe
On Wed, 21 Jul 2004 17:45:23 -0400, Five <[EMAIL PROTECTED]> wrote:
> page1.php
> session_start();
> echo 'page #1';
>
> echo $_SESSION['favcolor'];
> $_SESSION['favcolor'] = 'green';
>
> echo 'page 2';
> ?>
>
>
> page2.php
> session_start()
On Wed, 21 Jul 2004 17:42:55 -0400, Vern <[EMAIL PROTECTED]> wrote:
> OK, but here's the rub:
>
> I need to print a web page. Any ideas?
>
Go to it in a web browser and click print.
Seriously.
If you need to print an HTML page, then you have to have a browser to
render it. PHP AFAIK doesn't ha
Hi,
I have managed to get the line breaks to show up on my site no problem, but
I still get one long line when it is sent to my email. I have looked and
looked and have read all the stuff I could find on \r\n, so I'm not sure
where to go from here since it's not working...
Suggestions are appreci
Hello,
On 07/21/2004 06:42 PM, Vern wrote:
OK, but here's the rub:
I need to print a web page. Any ideas?
If it is a PHP script that generates the page, you may want to try
generating a Postscript version. This Postscript generation library
class may help you:
http://www.phpclasses.org/pslib
If
Hello,
On 07/21/2004 06:47 PM, Php Junkie wrote:
In fact, I did find out that Mac OS X (Panther) comes with a built-in Mail
Server called "Postfix"... Now what I need to know is how to use it with my
PHP Which I'm thinking is going to happen by defining the path to some
mail protocol of Postfix
"Five" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> page1.php
> session_start();
> echo 'page #1';
>
> echo $_SESSION['favcolor'];
> $_SESSION['favcolor'] = 'green';
>
> echo 'page 2';
> ?>
>
>
> page2.php
> session_start();
>
Astrum Et Securis,
In fact, I did find out that Mac OS X (Panther) comes with a built-in Mail
Server called "Postfix"... Now what I need to know is how to use it with my
PHP Which I'm thinking is going to happen by defining the path to some
mail protocol of Postfix in my PHP.INI...
Any help?
The following codes open the links perfect.
print($press[1]." ".strip_tags(html_decode($press[2]))."");
When I open it in Firefox it will try to open the following link instead.
When I will remove "..\" it will try to open the following link in IE. Is
there a way which works on both?
/publicati
page1.php
';
echo $_SESSION['favcolor'];
$_SESSION['favcolor'] = 'green';
echo 'page 2';
?>
page2.php
';
echo $_SESSION['favcolor'];
$_SESSION['favcolor'] = 'blue';
echo 'page 1';
?>
--
PHP General Mailing List (http://www.php.net/)
To uns
Five wrote:
Is it possible to assign a value to a session variable on say, page1.php:
$_SESSION['favcolor'] = 'blue';
and then on another page, say page2.php reassign the value:
$_SESSION['favcolor'] = 'green'; ?
So far experimentation says no.
PHP says Yes. Crystal ball says to put session_start()
OK, but here's the rub:
I need to print a web page. Any ideas?
"Jan Tore Morken" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Yes, it's possible, I've done it myself.
>
> Here is a piece of example code:
> $handle = popen("lpr -P printer", "w");
> fwrite($handle, $message."\n")
My understanding of session variables Five is that you can write and
re-write on the fly.
I know from using VB that this is true and I am assuming that it is true of
PHP. However, you may need to "Empty" the variable first Five.
Hope that helped.
--
-
Michael Mason
Yes, it's possible, I've done it myself.
Here is a piece of example code:
$handle = popen("lpr -P printer", "w");
fwrite($handle, $message."\n");
pclose($handle);
Hope this can help you a bit. To see what I used it for, check this
out: http://www.wobbled.org/printer/
Regards,
Jan Tore Morken
O
Hello,
On 07/20/2004 10:22 AM, Phil Ewington - 43 Plc wrote:
Does anyone know of any PHP scripts that will generate emails from a
database of email addresses and an HTML template with bespoke content I.E
greetings, unsubscribe email address links, etc... and send to an SMTP
server?
I believe there
On Wed, 21 Jul 2004 16:54:14 -0400, Five <[EMAIL PROTECTED]> wrote:
> Is it possible to assign a value to a session variable on say, page1.php:
>
> $_SESSION['favcolor'] = 'blue';
>
> and then on another page, say page2.php reassign the value:
>
> $_SESSION['favcolor'] = 'green'; ?
>
> So far e
hey cool, thanks for the info
Jason
On Wed, 21 Jul 2004 18:15:12 -0300, Manuel Lemos <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
> On 07/21/2004 04:00 PM, Jason Davidson wrote:
> > Has anyone every wrote script too send a message to any of the popular
> > messenger services, i see there is a per
--- Five <[EMAIL PROTECTED]> wrote:
> Is it possible to assign a value to a session variable on say,
> page1.php:
>
> $_SESSION['favcolor'] = 'blue';
>
> and then on another page, say page2.php reassign the value:
>
> $_SESSION['favcolor'] = 'green'; ?
Yes.
> So far experimentation says no.
S
I noticed the problem with the php functions, file_exists() and
clearstatcache(). When I load a webpage, the php do the file_exists() and
attempt to create one if the file does not exist. Then when I go to the
next webpage, that file is removed. It is working pretty well. When I
press refresh,
Hi there,
I need to send the output of a web page to a printer on a schedule
(obviously I'll use a cron job for scheduling) and am wondering if I can do
this through php. I know you can use the command line lpr in SSH but can I
use PHP do do it?
If the printer is remote, you may try using the SMB p
Hi All. I'm hoping someone can help here because my Hosting provider's
technical support haven't got a clue.
I am unable to get into my phpMyAdmin area using Internet explorer. I'm
challenged but cannot get in. I've tried:
domain name FTP username and password
the MySQL username and password
I've
Hello,
On 07/21/2004 04:00 PM, Jason Davidson wrote:
Has anyone every wrote script too send a message to any of the popular
messenger services, i see there is a perl module for jabber, however,
im more interested in using php to send to .. msn, or yahoo, and
jabber of coarse :)
Here you may find se
Hello,
On 07/21/2004 06:05 PM, Php Junkie wrote:
We're running our Apache Web Server with PHP & MySQL on a Power MAC G5
(MacOS X) system. And we're currently thinking of making it our web server
giving public access to our website hosted on this machine.
PHP, MySQL, FTP etcetera are all fine, but w
Is it possible to assign a value to a session variable on say, page1.php:
$_SESSION['favcolor'] = 'blue';
and then on another page, say page2.php reassign the value:
$_SESSION['favcolor'] = 'green'; ?
So far experimentation says no.
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Astrum Et Securis,
We're running our Apache Web Server with PHP & MySQL on a Power MAC G5
(MacOS X) system. And we're currently thinking of making it our web server
giving public access to our website hosted on this machine.
PHP, MySQL, FTP etcetera are all fine, but what about the Mail Server? H
Chris Shiflett wrote:
There is a difference between "works" and "right"
Man... where have I heard that before?!? ;)
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http:/
--- Jonathan Haddad <[EMAIL PROTECTED]> wrote:
> I've seen it work with a relative URL, which suprised me,
> because until I had saw that I would have agreed with you.
I assume you mean that you disagree with me.
There is a difference between "works" and "right" (not that a malformed
Location hea
my command line tests seem to work ok...
however, when i create a simple php test using the exec(...) it doesn't seem
to work. in fact i can't tell if the exec ever really gets executed!! i have
errors/warnings turned on within the php environment. as far as i can tell,
i have nothing within the p
bruce wrote:
> michael...
>
> something strange is happening/or i'm missing something basic... but
> here's the sys response from your suggestion...
>
> [EMAIL PROTECTED] test]# php -r 'exec("bash -c 'exec nohup perl
> /home/test/college.pl >/dev/null 2>&1 &'");'
> [3] 2566
> -bash: ");: command no
* Thus wrote Scott Hyndman:
> Okay, I'm getting this error in a class I've written. I can't explain
> it.
it works perfectly fine for me:
http://zirzow.dyndns.org/html/php/oop5/IA.php
With the information you provided its near impossible to tell you
whats wrong.
Curt
--
First, let me assure
Most browsers work fine with relative URLs in the Location header. The
spec says it has to be absolute, though, and a few browsers require
it.
On Wed, 21 Jul 2004 15:11:37 -0400, Jonathan Haddad
<[EMAIL PROTECTED]> wrote:
> I've seen it work with a relative URL, which suprised me, because until
>
ok...
php -r 'exec("perl /home/test/college.pl >/dev/null &");' seems to do the
trick... in that it returns, while running the perl process in the
background...
i assume that this process will work from a web app, regardless of the user
function, or even the behavior of the web server, although
Justin Patrin wrote:
> On Wed, 21 Jul 2004 13:55:37 -0500, Michael Sims
> <[EMAIL PROTECTED]> wrote:
>> Sorry to followup to my own post, but I just did some quick testing
>> and apparently none of the above (nohup, setsid) is really
>> necessary. As long as the output of the command is redirected
Justin Patrin wrote:
On Wed, 21 Jul 2004 13:55:37 -0500, Michael Sims
<[EMAIL PROTECTED]> wrote:
Michael Sims wrote:
Justin Patrin wrote:
On Wed, 21 Jul 2004 10:09:52 -0700, bruce <[EMAIL PROTECTED]>
wrote:
2) i could run the perl script, and have it somehow run in the
background this would ba
michael...
something strange is happening/or i'm missing something basic... but here's
the sys response from your suggestion...
[EMAIL PROTECTED] test]# php -r 'exec("bash -c 'exec nohup perl
/home/test/college.pl >/dev/null 2>&1 &'");'
[3] 2566
-bash: ");: command not found
-bruce
-Origin
bruce wrote:
> my attempt (below) never seemed to work properly...
>
> php -r 'exec("perl /home/test/college.pl /dev/null 2>&1 &");' <<<
> works, but doesn't return until the perl app completes...
>
>
> php -r 'exec("bash -c 'exec nohup perl /home/test/college.pl
> /dev/null 2>&1 &'");' <<< can't g
michael...
i had tried earlier to implement what you had seen.
my attempt (below) never seemed to work properly...
php -r 'exec("perl /home/test/college.pl /dev/null 2>&1 &");' <<< works, but
doesn't return until the perl app completes...
php -r 'exec("bash -c 'exec nohup perl /home/test/colle
aaah, simple for you..
I have to fit that line into the following:
$colauthor_rsResults = "0";
if (isset($_GET['Author'])) {
$colauthor_rsResults = (get_magic_quotes_gpc()) ? $_GET['Author'] :
addslashes($_GET['Author']);
}
and don't know how to do that.also, I am using GET
"Justin Pa
On Wed, 21 Jul 2004 13:55:37 -0500, Michael Sims
<[EMAIL PROTECTED]> wrote:
> Michael Sims wrote:
> > Justin Patrin wrote:
> >> On Wed, 21 Jul 2004 10:09:52 -0700, bruce <[EMAIL PROTECTED]>
> >> wrote:
> >>> 2) i could run the perl script, and have it somehow run in the
> >>> background this wo
On Wed, 21 Jul 2004 15:00:39 -0400, melissa atchley
<[EMAIL PROTECTED]> wrote:
> I have a search page with three parametersauthor, title and journal.
>
> I typed in "heart" in the title text area and hit the return button,
> thinking it would activate the search button. it merely did a carria
On Wed, 21 Jul 2004 13:39:32 -0500, Alex Hogan
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> How do I write a function with optional arguments? Is it possible in
> php?
>
> function myfunc($First, $Second,[$Third, $Fourth]){
> some stuff here
> }
>
Give them a default value and they become opti
1 - 100 of 210 matches
Mail list logo