Either use exec() to run a command line script. Or investigate creating a
php module or something.
--
---
JJ Harrison
[EMAIL PROTECTED]
"Trilochan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello
> Every body , I have written some programs in c , I want
it doesn't change it in the database, just in the output.
Thomas
On Sun, 19 Jan 2003 03:17:04 +0200 (EET) [EMAIL PROTECTED] (Paul Marinas) wrote:
> something like that only i don't whant to alter the database, the fields
> in the database must remains unchanged, only, on page i whant to displa
Sean Malloy wrote:
I see a lot of these type of answers on the list at the moment.
I'm sick of receiving smart ass answers from people. It wastes my time, and
my bandwidth.
Either answer the fucking question, even if it hasn't been asked correctly,
or don't reply at all.
Given you are a 'PHP Pr
Sorry I'm novice.
There is a way to know how many sessions are active and to get variables or
the id of them?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 02:45 18/01/2003, [-^-!-%- wrote:
Food for thought:
As I look through the Zend website, and applaud their efforts to create
'protected' php applications, I can't help but wonder about the impact
(or lagality) or their efforts. Doesn't the use of the Zend Encoder (or
any other PHP Encoders ou
If you're on a dedicated server (no other sites on the server), you could
just count the session files in /tmp.
Otherwise, the general consensus seems to be that you need to decide how
long a user is "active" for (say a minute, or 3, or an hour?), and save (eg)
the SID and timestamp in a file or M
I just want to clarify this for myself. My impression was that the affects
of GPL requiring software developed from the original GPL to also be free
was only applicable to modifications of the program itself. So if php was
GPL and I modified the source and built my own customized version of php I
John W. Holmes wrote:
.it's an log for a VoIp network, evrey voip has an ip and i whant
that instad of the VoIp's IP to put his name, instad of "1.1.1.1:xxx"
must
be "jhon doe form yyy city", it's easier to read for the people who
So where do you get the name from. You're still not bei
Larry Brown wrote:
I just want to clarify this for myself. My impression was that the affects
of GPL requiring software developed from the original GPL to also be free
was only applicable to modifications of the program itself.
The GPL is a ridiculously outdated and vague license which has
rare
Thanks, but that's not what I'm trying to do. I know how to change the
keys, but I'm looking to change the internal order of the key/value pairs.
Timothy Hitchens (HiTCHO) wrote:
This would do it:
$first[] = 'hello';
$first[] = 'bye';
function swap(&$list, $first, $second)
{
$tempOne = $li
php-general Digest 19 Jan 2003 15:28:36 - Issue 1832
Topics (messages 132158 through 132180):
Re: 2 Qs: Passing current URL with session and how to avoid session timeout???
132158 by: -<[ Rene Brehmer ]>-
132159 by: -<[ Rene Brehmer ]>-
132160 by: Justin French
Re: C
--- Sean Burlington <[EMAIL PROTECTED]> wrote:
> I think the bandwidth wasters are those who ask
> questions poorly (it takes several follow up mails
> to find out what the question was) and those who
> don't have a qucik look at the archives first
> (is someone puuting together an FAQ ?)
I agree.
Thanks Guys
I just needed a pointer. I decided to use the database and created two
tables, one for invoice number and one for order number then defined a
function to read the current number and the increment it.
// GET AUTO NUMBER and creates the next one
// uses the parameter tablename as $table
> --- Sean Burlington <[EMAIL PROTECTED]> wrote:
> > I think the bandwidth wasters are those who ask
> > questions poorly (it takes several follow up mails
> > to find out what the question was) and those who
> > don't have a qucik look at the archives first
> > (is someone puuting together an FAQ
Hi Leif K-Brooks,
The key is but an alias to the value, so other than rewriting the array I
cannot see how to split the two apart.
I don't believe there's any simple way to reorder the key/value order of
an array dunno, I'm not used at using key'ed arrays ... PHP is the
only language (I know
On Sunday 19 January 2003 09:03, Justin French wrote:
> on 19/01/03 9:59 AM, John W. Holmes ([EMAIL PROTECTED]) wrote:
> >> Is there a way for a php page to automatically increment a number and
> >> store
> >> it every time the page is loaded.
> >>
> >> I want to generate an invoice number that goe
To help even more, if you're on a dedicated, this shell command will provide
you the amount of sessions active:
"ls -l /tmp/sess* | wc -l"
HTH
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
If you're on a dedicated server (no other sites on the
Hi all,
I guess this problem might sound childish for most of you, but I'm
having it right now. I get two numbers from a FORM, one price and one
quantity and I need to make a multiplication with them in order to store
the total amount also as a double expression... I'm trying with:
$totalprice =
have you try echo $price and $qty separately to check if they are correct?
If they are correct, can you post you code? so we can take a look.
Foong
Cesar Aracena <[EMAIL PROTECTED]> wrote in message
01c2bfeb$cecbd5c0$7a00a8c0@NOTEBOOK">news:01c2bfeb$cecbd5c0$7a00a8c0@NOTEBOOK...
Hi al
On Monday 20 January 2003 02:51, Cesar Aracena wrote:
> Hi all,
>
> I guess this problem might sound childish for most of you, but I'm
> having it right now. I get two numbers from a FORM, one price and one
> quantity and I need to make a multiplication with them in order to store
> the total amoun
JJ --
...and then JJ Harrison said...
%
% I did do that, and have yet to turn up a useful result. That is why I asked.
Ah. None of my business, I suppose, but how do you define a useful
result? There were at least three that clearly indicated that they
provided free PHP hosting in the first pa
On 19-Jan-2003 Don Mc Nair wrote:
> Thanks Guys
>
> I just needed a pointer. I decided to use the database and created two
> tables, one for invoice number and one for order number then defined a
> function to read the current number and the increment it.
>
That'll work, but it's not atomic. At
Hi,
I have a problem. I have created a guestbook for my server and i have php installed.
You enter deatils and the guestbook stores it in guestbook.dat.php file. The guestbook
itself is also a php file. I have tryed it on other hosts and it has worked. When i
run it on my server it doesnt store
On Sun, 2003-01-19 at 12:57, JamsterJAM wrote:
> Hi,
> I have a problem. I have created a guestbook for my server and i have php installed.
>You enter deatils and the guestbook stores it in guestbook.dat.php file. The
>guestbook itself is also a php file. I have tryed it on other hosts and it has
What version of PHP is running on the server, what version did you
develop the script with? Do you know if register globals are on or off?
You can get a lot of information about PHP by doing
Do you receive any error messages indicating the file can not be opened
for writing or does it silently
--- Cesar Aracena <[EMAIL PROTECTED]> wrote:
> I get two numbers from a FORM, one price and one
> quantity and I need to make a multiplication with
> them in order to store the total amount also as a
> double expression... I'm trying with:
>
> $totalprice = $price * $qty;
>
> but when I echo the,
I've been looking high and low, and haven't had much luck finding a way
to mimic the @ templating capability of Perl. Does a class or
similar exist?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I tried to install php-4.3.0 with imap-2001a-10, imap-devel-2001a-10 from RH 7.3
Of course I added --with-imap --with-imap-ssl, among other things.
These came out when I did make.
/php
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In
function `ssl_onceonlyinit':
/usr
Greetings,
LinuxWorld Expo 2003 is January 21-24, and with the indispensable support of
members and friends, New York PHP (http://nyphp.org) is excited to offer some
great events at LWE.
"Q&A with Doron Gerstel, CEO, Co-Founder, Zend Technologies"
January 22, 2003 @ 1:30pm, NYPHP, Booth #16
Dor
On my web server (Apache) I have two sites and I would like each site to
use a different php.ini.
What is the correct way for me to have each site use it's own php.ini
file? I figure it's a setting in the apache conf file but I can't figure
out which ...
Thanks,
Jc
--
PHP General Mailing Li
Hi, all --
I forget, and can't find, who it was who suggested a mailing list for php
as a shell programming language and made the comment that it seems that
few use it as such. S/He might find
http://www.phpclasses.org/browse.html/package/954.html
of interest; it's a CLI class for php :-)
H
Inside each of the Virtual Host defs you can put most of the php_flag
etc settings just like:
php_admin_value disable_functions 'ob_start'
php_admin_value sendmail_path '/usr/sbin/sendmail -f
[EMAIL PROTECTED] -t -i'
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
>
Timothy Hitchens ) wrote:
Inside each of the Virtual Host defs you can put most of the php_flag
etc settings just like:
Oops .. I forgot to mention that these two website do *not* have
different IP addresses. Actually these are two testing website on my
local LAN.
What I have is to have a di
You can override parts of your php.ini on a per-directory level with a
.htaccess file...
eg:
php_flag register_globals off
php_flag magic_quotes_gpc on
php_flag magic_quotes_runtime on
php_flag magic_quotes_sybase on
Justin French
on 20/01/03 2:14 PM, Jean-Christian Imbeaul
Hi,
I'm working on a mailing solution for a client. His site collects email
address from a 'Send this site to a friend' page (user enters their email
address and up to 10 other addresses - a message is then sent to the 10
addresses from the users own email address). The addresses are then sto
php-general Digest 20 Jan 2003 04:22:40 - Issue 1833
Topics (messages 132181 through 132204):
Re: SQL+php
132181 by: Chris Shiflett
132183 by: John W. Holmes
Re: Auto Incrementing in PHP
132182 by: Don Mc Nair
132185 by: Jason Wong
132191 by: Don Read
hello,
i have been told that i should email you to help me
with my question, and the auestion is:
Can you recommend an GREAT book for someone to learn
php off. The person will only have knowladge of html.
Is there a really good book out there that will teach
me php???
thanks
___
Hi all,
I've encountered myself trapped into a big mystery this time, and that's
because of some white spaces.
I have a MySql table which I use to store users and visitors
information, but when I want to display this information on screen for
them to see and/or correct, every field that has white
A while() loop will, at some point, break. this is because the script will
timeout on the server before you send to any large lists... when I say
large, this could be 100 address', or could be 10,000 -- it all depends on
your server/ISP and server load at certain times.
A better/simpler solution
I suspect (but could be wrong) that you aren't quoting these values in
your forms. Be sure that you are using...
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't think you can load a different ini based on virtual host.
However, you can override most php.ini values in either the httpd.conf
or in a .htaccess file. I'm running about 10 vhosts on one box, all
with the same IP, and I just use .htaccess, ie...
php_value include_path ".:/webserver/vh
- Forwarded message from [EMAIL PROTECTED] -
Date: Sun, 19 Jan 2003 22:07:34 -0700
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: Re: [PHP] Mass Mailing with PHP & MySQL
To: Justin French <[EMAIL PROTECTED]>
Is Peter McNulty out there anywhere?
Don't have a
You where nothing but right. I didn't know that PHP's html HAD to have
all of the quoting right for PHP to work properly.
Thank a lot!
Cesar L. Aracena
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(0299) 156-356688
Neuquén (8300) Capital
Argentina
-Mensaje original-
De: Larry E. Ullman [mailto:[
It seems you have register globals set to off, thus when you have variables
$price and $qty they are just fresh variables, you might try
$HTTP_POST_VARS['price'] and $HTTP_POST_VARS['qty'] (don't forget the single
quote).
"Cesar Aracena" <[EMAIL PROTECTED]> wrote in message
01c2bfeb$cecbd5c0$
You where nothing but right. I didn't know that PHP's html HAD to have
all of the quoting right for PHP to work properly.
Glad it's working but, just to clarify, this is an HTML issue, not a
PHP one.
Best wishes,
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
hey does anyone have a good login script that i can i can go buy
on a tutorial sake. and also how to add the info correctly into a
mysql database.
Im kinda of a noobie so bare with me please.
the books i have are not being very helpfull on this matter.
you can see my username and passw
PHP Fast & Easy Web Development by Julie Meloni
kicked things off for me (after knowing only HTML)
basically walks you through the code of common things
that you would want to do with PHP. (email a submitted
html form - insert/retrieve and edit data in mysql
database)
Read through the examples an
Try this article - code sample available in the code
library as well.
http://www.phpbuilder.com/columns/tim2505.php3
Also a 6 part series on www.devarticles.com (5 are
done)
Here's part five - you can find the rest :)
http://www.devarticles.com/art/1/323
zend.com probably has a good article o
Thanks to everyone for the suggestions. I finally got what I wanted by
doing it a directive in the httpd.conf file.
Thanks again!
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey,
Anybody have a php-based guestbook that they like and can be freely
downloaded? Don't need anything really fancy, just for a personal
website. Easy-to-use, and not hard to integrate into the site would be
bonuses (mysql not a problem).
I've looked around, and there's a bunch out there -
I had an idea myself to do this. But I've held off because I want to do
something rather robust but still flexible.
I was going to use a database table.. with the fields.. to.. from..
subject.. body.. etc
I was then going to have a cron task that ran every so often grabbing the
records 1000-
dear all,
please, any body who has experienced with jpgraph, tell me how to install
this library.
because I want to use this library to create bar chart as dynamic image.
I'm using phpdev5 in my win 98.
thank you in advance
Rizki Salamun
http://www.salamun.net
--
PHP General Mailing List (h
hello friends.
I have a MYSql database and also a php application on the web. I need to generate
formatted reports from the database - something like a report card with table, marks,
aggregate etc. - Something like Crystal Reports for MS Visual Basic. Can this be done
with PHP or are there any
i used swig to convert C++ module into a .so file. but when i use .so file
in a php4 script i get following error :-
Warning: Unable to load dynamic library '/usr/lib/php4/php_kcvsClient.so' -
/usr/lib/php4/php_kcvsClient.so: undefined symbol: import__FPcN20 in
/var/www.unitedkalinga.com/patro/cvs
54 matches
Mail list logo