Re: REPOST Two PHP Questions
| From: | Ryan J Nichols | Date: | Sun, 09 Jul 2000 18:34:51 +0000 |
| Subject: | Re: REPOST Two PHP Questions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5582@lists.php.net to get a copy of this message | ||
You should really check archives before you repost, but I shall answer your
question again. Sorry about clutternig up the list.
View below:
----- Original Message -----
From: Ryan J Nichols <ryan@globali.net>
To: Matt G. Ellis <mge@internetsyndicate.com>; <php-general@lists.php.net>
Sent: Saturday, July 08, 2000 5:54 PM
Subject: Re: [PHP] Two PHP Questions
> 1. No, if they're in a string like with " " or ' ' or escaped
> you'll be
> fine
>
> 2. Yes, compile php as the cgi version, and on the first line of the
script
> put #!/path/to/php -q
>
> (-q for quiet mode), set the script +rx and run it (its treated like an
> sh/perl script, just ran thru the parser)
>
> hope this helps,
>
> Ryan
>
> ----- Original Message -----
> From: Matt G. Ellis <mge@internetsyndicate.com>
> To: <php-general@lists.php.net>
> Sent: Friday, July 07, 2000 10:03 PM
> Subject: [PHP] Two PHP Questions
>
>
> > Hello! My first question deals with writing a PHP file to write a PHP
> file.
> >
> > Do i need to take any precations when writing <? or ?>, because thoes
> > actions will take place inside the <? and ?> of the php file that is
doing
> > the writing?
> >
> > Second, is there anyway to run a php file from a cron job or the command
> > line?
> >
> > Thanks.
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>