Hi
Can I have this cron scripts please?
Thanks
Manohar
-Original Message-
From: Ben Bleything [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 4:20 AM
To: Chadwick, Russell
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Re: Running PHP as a cron job
Someone yesterday also suggest
I invite you to the OzoneAsylum (Forum) where you can have tens of comments
and really helpfull ideas
http://www.ozoneasylum.com
"Jcampbell" <[EMAIL PROTECTED]> wrote in message
001e01c108c2$9da68c60$779fadac@dhcpserver">news:001e01c108c2$9da68c60$779fadac@dhcpserver...
> Hey Everyone.
>
>
Putting in php tags does not necessarily mean that it will be parsed as
php.
If you are using Apache web server, the file type ( php htm etc) needs
to be identified as a php file. This is done in the httpd.conf
configuration file. Just putting php tags in a htm file usually does not
work by defa
So far, there is no such functions in PHP...I see lots of posts like this
one and all with negative results...
"Scott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i cannot seem to find any function that's similar to
> perl's "caller()" function - to get inf
[EMAIL PROTECTED] (Manohar.K) wrote:
> Hi
> Can I have this cron scripts please?
> Thanks
> Manohar
just do something like:
59 23 * * * wget --quiet http://www.fsck.dk/script.php > /dev/null
or
0 10 * * * lynx -dump http://www.fsck.dk/script.php > /dev/null
>
> -Original Message--
Hi,
On Mon, 9 Jul 2001 [EMAIL PROTECTED] wrote:
> In addition, here's a POP3 class from the PHP Classes Repository...
Where :) I did not get anything.
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
Thanks. I found it and installed it. Maybe I need to hack around it to
add more functions such as address book and attachement like squirrelmail.
Adrian
On Mon, 9 Jul 2001, Bleue wrote:
> There is a really good simple pop email client called rymo. Im not sure
> where I found it, but it s
On Mon, 9 Jul 2001, Max Pyziur wrote:
Thanks, but my specs are PHP4 and POP3
Adrian
>
> The one which I use which matches your requirements (non-PHP, perl-module
> driven) is NS WebMail, one which I use and gives basic webmail
> capablities, though missing some desired functionality (sort on d
Hi
I am creating a guestbook for an intranet. In case I get people sending
inappropriate messages to the guestbook I want to keep a log of
visitor's emaill addresses.
Is there a way in PHP of getting the web browsers email address?
cheers dave
--
PHP General Mailing List (http://www.php.ne
As far as I am aware, none of the major web browsers will reveal the email
address of the user to any website or web application. This is for privacy
reasons.
You will need to get your guests to enter their email address in a text
field to capture it for your records.
Pete
Scorpio1 <[EMAIL PROT
Hi Maxim,
> 1. HTTP compression, which is not 100% compatible, but catches most
> of the browsers anyway.
Yes. The standard PHP implementation actually inspects the HTTP headers to
determine if the browser supports gzip encoding. If not, it will send the
files uncompressed. Looking at our websit
There are some ad banner systems at the Zend.com's Applications
section:
http://www.zend.com/apps.php?CID=35
Sara
On 9 Jul 2001, at 13:49, José León Serna wrote:
> Hello:
> I would like to know if there's a PHP Banner system with the following
> features:
> -Allow insert the banners anywhe
There are some Chat Programs at Zend.com's Applications Section:
http://www.zend.com/apps.php?CID=240
Try also:
http://www.zend.com/codex.php?CID=272
Sara
On 9 Jul 2001, at 14:24, Jack wrote:
> Hi all
> is there anyone know where can I get a good php chat programme?
> Jack
> [EMAIL PROTECTED]
Hello,
I'm using
OCI8 Revision 1.96
Oracle Version 8.1
Apache Apache/1.3.11
Redhat Linux 6.2
php 4.0.2
I am connecting to my database using a non-persistant connection (ocilogin).
My applications run with no problems during the day.However, at the end
of the day there is about 20 databas
oracle does not have an autoincrement.
it has the more powerfull concept of TRIGGERS
unfortunatelly you have to write them in pl/sql or java...
have a look on the net for oracle trigger tutorial or
you can
find a super oracle-feature-documentation here :
http://conf.php.net/oci2
http://conf.php.
I had to recompile apache on my redhat 7.1, because the default
compilation
missed some 'features'. I acomplished that since it was well documented
in
the php readme/install.
But now i need ssl in that apache too. is there a EASY way to do that?
a small tutorial?
all i found with google were big
Hi friends,
could anybody tell me how I best store one or several uploaded files in a
MySQL database (as a BLOB). I use PHP 3.
Let's say I have the variable $userfile. Is it possible to simply insert
this into the database?
$query = "INSERT INTO ... (file) VALUES (" . $userfile . ");
By the
On Tue, Jul 10, 2001 at 09:32:32AM +0100, Taylor, Stewart wrote:
> Hello,
>
>
> I'm using
> OCI8 Revision 1.96
> Oracle Version 8.1
> Apache Apache/1.3.11
> Redhat Linux 6.2
> php 4.0.2
>
> I am connecting to my database using a non-persistant connection (ocilogin).
> My applications run wit
Hi Maxim,
I wrote a mini-manual about the module. You can get it with the code from:
http://helium.homeip.net/stuff/cache.tar.gz
I hope it helps you and I look forward to suggestions and contributions!
Bart
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message
news:DC017B079D81D411998C009027
you could move to a database that supports hot backups. postgresql perhaps ?
> -Original Message-
> From: Thies C. Arntzen [mailto:[EMAIL PROTECTED]]
> Sent: 10 July 2001 10:40
> To: Taylor, Stewart
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Oracle 8i + non perstistant database connecti
I would suggest setting the database column to LONGTEXT instead of BLOB
since it can accomidate far more characters per entry.
As for the entry to the database through php, I'm not entirely sure what
method you're using to add these. Are they uploading their file and then it
reads it as it exists
Dear all folks,
I want to get the url of the previous page that my visitor came from. Is this correct
to use http_header? Or what function that will help me do this job?
Jack
[EMAIL PROTECTED]
"Love your enemies, it will drive them nuts"
> hmmdo again as:
>
>function functionA()
> {
> // your function goes here
> }
>
> if (isset($usefunctiona))
> {
> functionA();
> }
> ?>
>
>
>
>
>
>
>
>
i might try:
this would also assume you need multiple functions to be used on the same
form as
- Original Message -
From: "Adam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 12:20 PM
Subject: [PHP] Re: Store uploaded files in MySQL-BLOB
> I would suggest setting the database column to LONGTEXT instead of BLOB
> since it can accomidate far more characte
Hi Thomas!
On Mon, 09 Jul 2001, Thomas David Kehoe wrote:
> How do I put my password into an external file?
>
> I have dozens of webpages with the line
>
> mysql_connect (localhost, username, password);
>
> What if I have to change my password? Rather then change dozens of scripts,
> I wa
I use php4.0.6, zip file.
I install PHP in Netscape as shellcgi, it ran Ok. But now I want to install it as
NSAPI, I do all thing but php not run. ( I do the same as introducing in readme.txt)
I installed PHP in Netscape Enterprise Web Server run on Win2000 advance server.
Please tell m
Use $HTTP_REFERER
http://php.net/manual/en/language.variables.predefined.php
> -Original Message-
> From: Jack [mailto:[EMAIL PROTECTED]]
> Sent: 11 iulie 2001 01:23
> To: [EMAIL PROTECTED]
> Subject: [PHP] http header
>
>
> Dear all folks,
> I want to get the url of the previous page t
> The project is a kind of knowledge base. For each entry a user creates, he
> should be able to give additional information, such as every kind of file
> (i.e. not only code files but also images etc).
> There is an where he selects the file to be
> uploaded. The php-script is simply supposed to
define a variable to be set on refresh along with the URL that erases the
cookie by setting it's expire to time() minus a month or so. If you don't
want the url varibale passer to show then have it set the cookie then to a
header redirect to $PHP_SELF.
use that in the beginning of your page and
PL/SQL code for an Oracle trigger that will auto-increment specified
field:
create or replace trigger
before insert on
for each row
begin
if :new. is null then
select .nextval into :new. from dual;
end if;
end;
You have to create a sequence first. Example:
CREATE SEQUENCE
hi all!
i'm looking for a very basic and simple web based mail checker which
just downloads pop email and thats it. tne i could change the look
and feel, plus delete the messages (off the database) however i want.
anyone have something?
reason being i've already written an addressbook and email
Hi list members!
I'm having a strange problem here regarding cookies. First let me explain
the scenery:
I'm developing a site that have a login system. I'm using PHP , MYSQL and
APACHE under MS windows 98 SE. So, when the user login into the first page,
I "set up" 2 cookies, one with his name a
Hello, is there an equivalent of the global.asa (ASP) or application.cfm
(cold fusion) in PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTEC
On Tuesday 10 July 2001 04:50, Manisha wrote:
> I want to develop one payment site, where people will pay their tax.
[...]
> These reports are very sensitive, so I want high end security (I am out
> of USA). I am thinking of using pki (public key infrastructure).
If it is very sensitive, employ
How to set the session timeout?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hello (again)
I've got a query which extract titles and categories with a group by on the
categorie. Is there a simple way to display rows like this (without doing a
second query ):
Categorie A
-titi
-toto
-tutu
Categorie B
-bibi
-nini
-fififi
Categorie C
-titi
Tom,
First, I suggest using LONGBLOB as a field...
Second, Once the $userfile is uploaded...use the statment as:
$query = "INSERT INTO ... (file) VALUES ( LOAD_FILE($userfile))";
using the MySql's LOAD_FILE()
"Tom Gitzinger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
It's called HTTP_REFERER
PHP document:
HTTP_REFERER
The address of the page (if any) which referred the browser to the current
page. This is set by the user's browser; not all browsers will set this.
"Jack" <[EMAIL PROTECTED]> wrote in message
05c201c1098e$ee947fc0$[EMAIL PROTECTED]">news:05c20
Hi,
>Dear all folks,
>I want to get the url of the previous page that my visitor came from. Is
this correct to use http_header? Or what function that will help me >do this
job?
the variable $HTTP_REFERER will do the job but not all browsers support it.
Manual -> Variables -> predefined variables
look in php.ini
py
- Original Message -
From: Frédéric Mériot <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 1:33 PM
Subject: [PHP] Session timeout
> How to set the session timeout?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-
I have a chunk of code in a webpage that works like this, to rotate some
ads.. :
if ($row = mysql_fetch_array($getads)) {
do {
$POS = $row[LASTPOS];
$ID = $row[ID];
$POS++;
if ($POS > $
I agreee that it sounds like you're running into concurrency issues with
mySQL.
I would just adopt a statistical approach, and pick a banner at random each
time...if the random number generator works properly, then you'll get an
even distribution over the universe of available banners.
If you ne
We are having some serious issues with GetImageSize in PHP 4.0.x and i'm
wondering if anyone else had similar issues and solved or came up with a
different solution.
For some reason, at random and without warning, the function just seems to
stop working and does nothing but wait and timeout at 80
> Hello, is there an equivalent of the global.asa (ASP) or
> application.cfm
nope
, but usually you can work around that by
a sessionstuff
b persistent DB connections + storing information there
c enviroment vars
d ...
what do you need it for?
sebastian
> -Ursprüngliche Nachricht-
>
It seems that I cannot include secure pages, something like
include (https://www.bla.com/)
will fail. Any way to get around this? or is this intentional?
Thanks
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Seb-,
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/
I used this tutorial the first time. It was very straight forward.
Remember that you dont need rsaref files anymore in the US.
>>could someone explain me what i need to ad to the apache compiling
>>string ?
>>( i build php in apache
Hi there!
I'm trying a functionality from the ming library (Flash extension) that is
swfmovie()->streammp3(file). This allows the streaming of an mp3 file from a web
server... In fact, that is what it is supposed to do!
The pb is that it doesn't work. Does anybody try it successfuly ?
Thanks
Dear list,
I have a strange problem with the weird behaviour of exec() or system()
When I do:
exec('/usr/local/bin/php somescript.php if=infile.txt of=outfile.txt >
out_somescript &');
in a script invoked by apache, it works perfectly - the somescript processes
'infile.txt' and produces 'outf
Hmm...
why don't try to use eval()
read the PHP file from within your PHP script
and eval the read file,
"Siva Subraj" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear list,
>
> I have a strange problem with the weird behaviour of exec() or system()
>
> W
Adam,
It's really better to use the isset() instead of empty() because if you set
the error level report to E_ALL you will see that PHP will produce warnings
if the variable is not set at all!
"Adam" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > hmmdo a
Great work scot!
"Scott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i wrote a little subroutine to make a directory full of
> images into thumbnails...
>
> it'll make thumbnail images of a specified height and width
> and properly resize the original image
Check out http://www.phpbuilder.com/columns/florian19991014.php3. I've
been using it to maintain image galleries. Works like a champ.
My guess would be that any version of php will upload multiple files...
just use multiple variables =>
Good luck and let us know,
Ben
-Original Message
I think this guy meant to post it to the list but got the wrong address:
-maxim maletsky
-Original Message-
From: Frederick L. Steinkopf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 1:57 PM
To: [EMAIL PROTECTED]
Subject: virus alert
Importance: High
A message sent from me t
This won't work if they're binary files. Also, for most binaries, it's
better to use LONGBLOB... much more flexibility. But there's a bunch of
stuff to tweak to get it to work.
http://www.phpbuilder.com/columns/florian19991014.php3 has details.
Ben
-Original Message-
From: Adam [mailt
Hi,
I've installed Apache server and PHP interpreter on Microsoft Windows
platform. I'm trying to access to Oracle db without results (I've
installed Oracle client and configured tnsnames.ora file). PHP
interpreter return following error:
Oracle: Connection Failed: ORA-12154: TNS:could not resolv
shamefull plug alert, shame, shame alert.
php/perl/java/etc/etc/etc forum gets two new posts a day. "you can have tens
of comments" if you wait 5-7 days.
--
Chris Lee
[EMAIL PROTECTED]
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I invite you
Did you try 'SELECT categorie,item FROM your_table GROUP BY categorie'?
Ben
-Original Message-
From: Frédéric Mériot [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 5:41 AM
To: PHP General List
Subject: [PHP] How to fetch a "group by" Query?
Hello (again)
I've got a query whic
> Adam,
> It's really better to use the isset() instead of empty() because if you
set
> the error level report to E_ALL you will see that PHP will produce
warnings
> if the variable is not set at all!
empty() and isset() are totally different.
If a variable is set, but is set to nothing (or a val
i'm geting this error while compiling php
Making all in TSRM
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12 -g -O2 -c TSRM.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE
I am trying to obtain the average age for a few teams in my database.
Am using the below code:
$age_result = mysql_query("select AVG(age) FROM bat_rost WHERE ownerID =
'$teamID'");
while(($row = mysql_fetch_object($age_result))){
$age=$row->age;
echo "Average age - ".$teamID.$age;}
How can I
hi
did you specify the third 'optional' parameter?
OCILogon (string username, string password [, string db])
db should be your tnsname
on windows i could not make it without that parameter.
it should be set as enviroment variable ORACLE_SID,
but that did not work for me on win( it does on linux
You can name the pseudo-column by doing "select AVG(age) as avgage from ..."
and then accessing it as "avgage".
- Tim
http://www.phptemplates.org
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 11:27 AM
Subject: [PHP] Ave
hi
I am trying to secure a web site and I can get one page at a time to ask
for authentication but thats it. Right now every page visited asks for
a password, otherwise there is no auth on them at all. So I am
wondering how to make $PHP_AUTH_USER and $PHP_AUTH_PW global so that
"isset $PHP_AUTH_
HI,
I use this PHP call to open an Oracle db connection:
ora_logon("sr_tst@ORATEST" , "sr_tst")
where user=password=sr_tst and service name is ORATEST .
My tnsnames.ora contains:
ORATEST =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(Host = offida)
(Port
if you do a
$res = mysql_fetch_row($age_result)
$res[0] will be the value of AVG(age).
> -Original Message-
> From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 5:27 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Average of column...
>
>
> I am trying to obtain t
You should look into sessions...checkout www.phpbuilder.com and other
places throughout the net for tutorials...always use www.php.net as
well...has everything you need...
jack
-Original Message-
From: David Baldwin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 11:41 AM
To: [E
"Z" <= "Z" is true right??
then why this weird thing happens when I have this code:
for($letter="A"; $letter<="Z" ; $letter+)
echo " $letter";
it should output " A B C D E . W X Y Z" right?
but it outputs " A B C D E ... W X Y Z AA AB ... YW YX YY YZ".
why?
. [ Christian Dechery
which oracle version do you use?
if it is 8.x then you should use the OCI-Functions
not ora
if it is not 8.X then i can't help.
( and you should upgrade :-] )
the tnsnames.ora looks ok
try
ocilogon("sr_tst" , "sr_tst","ORATEST");
sebastian
> -Ursprungliche Nachricht-
> Von: [EMAIL PROT
This doesn't work:
$age_result = mysql_query("select AVG(age) as avgage FROM bat_rost WHERE
ownerID = '$teamID'");
$row = mysql_fetch_object($age_result);
$age=$avgage;
echo "Average age - ".$teamID.$avgage;
Neither does this:
$age_result = mysql_query("select AVG(age) as avgage FROM bat_rost W
Perhaps not a great answer, but this issue has been brought up before,
and it has to do with the incrementing of a string...search the
archives...i think someone had a simple workaround using chr() to get
what you want...
jack
-Original Message-
From: Christian Dechery [mailto:[EMAIL PRO
Hello Christian,
10 July, 2001, 18:44:53, you wrote:
CD> "Z" <= "Z" is true right??
Yes, right, but "Z" = "Z" and your code makes next iteration, then
$letter = "AZ" and "AZ" is LESS that "Z", because "A" < "Z".
:)
CD> then why this weird thing happens when I have this code:
CD> for($letter
$age_result = mysql_query("select AVG(age) as avgage FROM bat_rost WHERE
ownerID = '$teamID'");
$row = mysql_fetch_row($age_result);
$average_age=$row[0];
echo "Average age of ".$teamID." is ".$average_age;
or
$age_result = mysql_query("select AVG(age) as avgage FROM bat_rost WHERE
ownerID = '$t
what???
are you sure it does that to you?
You sound so confident that it confuses my knowledge that for loop should be
counting integers, not strings ("Z" is a string and there's nothing bigger
or lower it)
-maxim maletsky
-Original Message-
From: Christian Dechery [mailto:[EMAIL PRO
Hi,
I use Oracle client 8.1.x.
I've folloved your suggestion but PHP interpreter returned the same error.
It's as PHP interpreter doesn't find tnsnames.ora (if I rename
tnsnames.ora to tnsnames.ora doesn't change, error is always the
same).
sqlplus executed with parameter sr_tst/sr_tst@ORATEST
Hello,
I need to add a Subscribable and Unsubscribable Email mailing list to a
site. I'm just not in my usual break out the books and learn 1000 new
things vibe this month.
So...
What do you superpowered pro's recommend as the best, easiest and free
Email Mailing list manager, app, or cut and
Try this:
jack
-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 12:10 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] weird behaviour with ("Z" <= "Z")
what???
are you sure it does that to you?
You sound so confident that
Hi Remo,
> PS: Can anyone enlighten me concerning HTTP compression?
I wish I could remember where I read this, but the PHP documentation still
does not have this feature described. To enable zlib output compression,
first make sure you have compiled PHP with the --with-zlib option. Next, add
the
http://www.phpwizard.net/ has something called phpAds. Seems to cover your
requests.
Robert Zwink
http://www.zwink.net
-Original Message-
From: José León Serna [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 7:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Any banner system?
Hello:
Heya guys,
I am trying to find information in the manual to explain these lines:
$goto = empty($SESSION["wantsurl"]) ? $CFG->wwwroot :
$SESSION["wantsurl"];
header("Location: $goto");
die;
Can anyone tell me where to look???
Thanx
--
PHP General Mailing List (http://www.php.net/)
T
I have heard about the PHP Conference & O'Reilly Open Source Convention
in San Diego, California. Do you think it is worth being there? I saw
the prices and it's quite expensive. Not to mention the cost to get
there...
http://conferences.oreilly.com/oscon/
Thanks,
Uri Even-Chen
Speedy Software
qmail with ezmlm, and ezmlm-idx which provides some more advanced features.
- Russ
http://cr.yp.to/ezmlm.html
-Original Message-
From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 9:11 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Q: Best EZ & Free Mailing Lis
Is it possible to restrict the use of a php-file to a special file (for
example an swf).
--
---: AVisioN :---
http://www.nomoremedia.de
-::[EMAIL PROTECTED]::-
"I have nothing to declare except my genius"._oscar_wild
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
i am setting up a flat file database. i want to restrict acess so that users cant
view it intentionally or accidentally. i am pretty positive this is a job for
htaccess but i am pretty clueless in this area(one of many areas i am clueless in)
anyone got a suggestion on a tutorial or another
Create a sequence, like so
CREATE SEQUENCE "WHATEVER_IDS"
INCREMENT BY 1
START WITH 1
MAXVALUE 1.0E28
MINVALUE 1
NOCYCLE
CACHE 20
NOORDER;
then when you insert
INSERT INTO test (whatever_ids.nextval);
the nice thing is that in your
put in somewhere outside the document root, as long as your apache isn't
"jailed" php can read your flat file wherever you put it, as long as its
owned by the webserver user - Russ
-Original Message-
From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 9:18 AM
To: [EM
www.php.net/empty
www.php.net/header
the x ? Y : z; form is a quick n easy structure that works like if/else
do a search for classes and objects for the $CFG->wwwroot part
jack
-Original Message-
From: Rehuel Lobato de Mesquita [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 12:
try ezmlm, it is what this mailing list is running. You'll need qmail for it
to work. Or majordomo.
URLs, search google, easy to find.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
A class which allows you to post from within a php script and retrieve
the results:
http://px.sklar.com/code-pretty.html?code_id=313
Julian
On Sunday, July 8, 2001, at 11:22 PM, mike cullerton wrote:
>
> on 7/8/01 11:17 PM, Bob Horton at [EMAIL PROTECTED] wrote:
>
>> What if someone wanted t
is there a way i can check this?
and what is the liklihood of it being so?
- Original Message -
From: "Chadwick, Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 11:23 PM
Subject: RE: [PHP] flat file db
>
> put in somewhere outside the document root, as
Check what the user agent is for the SWF, and see if it passes a specific
referer. That should deter 99% of attempts.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: AVisioN::
hm, not too surprising, no colon delimiter...
$age_result = mysql_query("select AVG(age) FROM bat_rost WHERE ownerID =
'$teamID'");
$res = mysql_fetch_row($age_result);
$age = $res[0];
echo "Average age - $teamID$age";
should work actually... btw, if teamID is numeric, you have to omit the '
thi
I would rather go for the following solution:
for($i=ord('A'); $i<=ord('Z'); $i++)
echo chr($i).' ';
I know it's same and even slower as it takes two more functions to execute,
but at least it is visually closer to what Christian was trying to do.
Sincerely,
Maxim
These are called (well, one name for it), is ternary operator. It's not
PHP specific and a search on google will find some results. Regarding
PHP, brief discussion (with examples) can be found at the following
locations :
http://www.php.net/manual/language.expressions.php
http://www.php.net/m
How to read file line by line and read line word by word
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTE
I forget which version of PHP allows you to do the following, it may be
4.0.6 or maybe 4.0.7 :
for ($a='a'; $a<='z'; $a++) {
print $a;
}
The way I get around this is by :
$letter = 'a';
for ($a=1; $a<=26; $a++) {
print $letter++;
}
It works or at least may easily work for y
same from :
header("Location: ".(empty($SESSION["wantsurl"]) ? $CFG->wwwroot :
$SESSION["wantsurl"]));
Exit;
or, if not readable enough then:
if(empty($SESSION["wantsurl"])) {
$goto = $CFG->wwwroot;
}
else {
$goto = $SESSION["wantsurl"];
}
header("Location:
In short :
file() opens the file line-by-line and you can explode() each line via a
space ' ' although not perfect, it could work for you. See manual for
details.
Regards,
Philip
On Tue, 10 Jul 2001, alfareees alfareees wrote:
> How to read file line by line and read line word by word
>
>
wow, I have just upgraded a couple of servers to v.4.0.6. Will go wild
testing this staff tomorrow.
Thanks Philip.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Philip Olson
readfile(bla bla bla
and then explode(' ', $line[$i])
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: alfareees alfareees [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11,
Thanx for the explanation of the ternary operations
If I can help, Please let me!
Rehuel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED
1 - 100 of 201 matches
Mail list logo