The easiest solution is to create the failure variable as a session
variable.
-Stewart
-Original Message-
From: Matt Rogers [mailto:[EMAIL PROTECTED]]
Sent: 30 July 2001 04:00
To: [EMAIL PROTECTED]
Subject: [PHP] Re: HTTP header question.
I don't know how to solve your problem, but I d
I have recently upgraded PHP to the latest version, and also upgraded
Postgres to the latest version. PHP worked fine after it's upgrade, but
after the Postgres upgrade it is now broken.
I have recompiled & installed PHP, but when I try & start Apache, I get the
following error message:
Synta
Hey all. Another thought. In a form I have there is a drop down box
with age groups. ie 20-25 26-35 etc. If I submit the form and echo the
variable for the dropdown box, the output is correct ie 20-25.
When I inject the variable in mysql, the data in the database is 20- or
35-, its only
not yet, good one to know that. You should post this on to the list so that
people will share this together.
Jack
[EMAIL PROTECTED]
"Love your enemies, it will drive them nuts"
- Original Message -
From: Ariunbold Gerelt-Od <[EMAIL PROTECTED]>
To: Jack <[EMAIL PROTECTED]>
Sent: Monday, Jul
There's one included in Webmin:-
http://www.webmin.com/webmin
Chris
Christopher Cheng wrote:
> Does anybody know any Sendmail Administration API for PHP?
>
> Thanks
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-
www.kinderstart.com
Major childrens portal. Php and MySql and some perl.
-Original Message-
From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 10:38 AM
To: Maurice Rickard
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Example high-profile PHP sites
So sprach »Mau
a = b means
PASSWORD(a) = PASSWORD(b)
therefore,
if correct password is 'a' and it was stored in the database like
PASSWORD(a) then the user's inputed password is 'b' and must be equal like:
PASSWORD(a) = PASSWORD(b)
=
"Balaji Ankem" <[EMAIL PROTECTED]> wrote in message
002801c11741
"Stuart Grimshaw" <"stuart[get"@smgsystems.co.uk wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yasuo Ohgaki wrote:
>
> > It works fine.
> > You probably need to specify libpq location explicitly.
> > --with-pgsql=/your/pgsql-7.1.2/somewhere
>
> I have, several times.
>
> and I d
maybe the field is too small to hold the whole value?
some code might also help.
"Gerard Samuel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey all. Another thought. In a form I have there is a drop down box
> with age groups. ie 20-25 26-35 etc. If I
I have hosting plan that doesn't support MySQL nor any Databases...Just PHP.
I'm wondering if there is any text database class that simulates the MySql
queries and function calls.
I mean text database, like all the values and data is stored in a raw text
file.
--
PHP General Mailing List (ht
[EMAIL PROTECTED] (Elias) wrote:
> I have hosting plan that doesn't support MySQL nor any Databases...Just PHP.
>
> I'm wondering if there is any text database class that simulates the MySql
> queries and function calls.
>
> I mean text database, like all the values and data is stored in
NuSphere added a table type called gemini.
>From nusphere.com:
"Gemini tables provide row-level locking, robust transaction support, and
reliable crash recovery."
It's not included in the free download.
I guess you also pay the easy install (*) and for e-mail/phone support.
(*) It takes a
"Richard Kurth" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How can I recompile Apache so that I can use PHP4 as a Dynamic Module (DSO).
> This is a working server and I can not change the httpd.conf file so I do
You must be able to edit httpd.conf to enabl
"Richard Kurth" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am compiling php as a cgi but I get this error when I run make
> It says it cant find the file errno.h but the file is in the
> directory it is looking in. What can I do to fix this.
>
>
> [r
"Stuart Grimshaw" <"stuart[get"@smgsystems.co.uk wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have recently upgraded PHP to the latest version, and also upgraded
> Postgres to the latest version. PHP worked fine after it's upgrade, but
> after the Postgres upgrade it is now br
Yes, But I still want to know if any Text Database class exist...
"Henrik Hansen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] (Elias) wrote:
>
> > I have hosting plan that doesn't support MySQL nor any Databases...Just
PHP.
> >
> > I'm
If you want to separate insert statements, you can do it like this:
$big_insert_query = "INSERT INTO table (id, col1, col2) VALUES ('',
'$col1_stuff[$i]', '$col2_stuff[$i]'), ('', '$col1_stuff[$i]',
'$col2_stuff[$i]'), ('', '$col1_stuff[$i]', '$col2_stuff[$i]'), ('',
'$col1_stuff[$i]', '$col2_stu
I am compiling php as a cgi but I get this error when I run make
It says it cant find the file errno.h but the file is in the
directory it is looking in. What can I do to fix this.
[root php-4.0.6]# make
Making all in Zend
make[1]: Entering directory `/home/tmp/php-4.0.6/Zend'
/bin/sh ../libt
Hello Yasuo,
How can I tell if I am missing header files before I go and replace
them
Monday, July 30, 2001, 1:38:58 AM, you wrote:
Yasuo Ohgaki> "Richard Kurth" <[EMAIL PROTECTED]> wrote in message
Yasuo Ohgaki> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> I am compiling php as a cgi but I
Why can't you create the arrays as associative arrays in the first place
$fred[] =
array("title"=>"Apple","value"=>"Red","size1"=>"10","size2"=>"20");
$fred[] =
array("title"=>"Banana","value"=>"Yellow","size1"=>"10","size2"=>"20");
then
foreach($fred as $thisfred)
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yes, But I still want to know if any Text Database class exist...
dbm or like? They are file based databases, not a text database though.
http://www.php.net/manual/en/ref.dba.php
--
Yasuo Ohgaki
--
PH
[EMAIL PROTECTED] (Elias) wrote:
> Yes, But I still want to know if any Text Database class exist...
>
dont know, but I know 2 possible ways you can do it,
using dbm files to store it in, http://www.php.net/manual/en/ref.dba.php
using xml files to store it in,
http://www.php.net/manual/en/re
hI! dearest friends,
i want to clear cache after logout.
In logout.html i want to clear previous cache
total.
Thanks in advance
Regards
-Balaji
The Information contained and transmitted by this E-MAIL is proprietary to
Wipro Limited and is intended for use only by the individual or en
Thanks guys, I had no idea about this:
http://www.php.net/manual/en/ref.dba.php
I'll take a look to make sure if that's what i really want.
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have hosting plan that doesn't support MySQL nor any Databases.
Hi, friend,
I want to disable back button or no cache after displaying logout html
file.
Thanks in advance
Regards
-Balaji
The Information contained and transmitted by this E-MAIL is proprietary to
Wipro Limited and is intended for use only by the individual or entity to which
it is addres
>NuSphere added a table type called gemini.
>
> >From nusphere.com:
>
>"Gemini tables provide row-level locking, robust transaction support, and
>reliable crash recovery."
Transactions.. you don't need Gemini to have transactions.. INNOBASE (might
be it's called INNODB.. think theres an issue w
G'day All
I'm writing an application for an intranet environment. At the moment I'm
writing a document control system. The intention is that people will be
able to check in documents (generally created in MS Word from
templates) and the app will upload them to the server.
The process relate
maybe your field is set to INT
--
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]
--
I agree on most parts, but is there "transaction support" in MySQL?
So if I try to do 2 updates and the application crashes in the middle, the
1st update is rolled back?
S.
> -Original Message-
> From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]]
> Sent: maandag 30 juli 2001 12:13
> To:
Kraa de Simon wrote:
> I agree on most parts, but is there "transaction support" in MySQL?
Berkley-DB tables support transactions.
regards
Wagner
--
Madness takes its toll. Please have exact change.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Hi... i would like to have more infos about the sessions in PHP.
Where could i found them???
Thanks in advance
Gabriele
You've already checked the php.net site before asking this, I take it.
Oh wait... http://www.php.net/manual/en/ref.session.php
Maybe not :-)
Cheers
Jon
-Original Message-
From: Gabriele Biondo [mailto:[EMAIL PROTECTED]]
Sent: 30 July 2001 12:25
To: PHP
Subject: [PHP] Need for dox...
[EMAIL PROTECTED] (Gabriele Biondo) wrote:
> Hi... i would like to have more infos about the sessions in PHP.
> Where could i found them???
have you read the manual pages for sessions? (php.net/session).
here are some from phpbuilder:
http://www.phpbuilder.com/columns/mattias2105.php3
htt
I use a PHP self-validating form for taking orders off my site. (on submit
it calls itself and if there are no errors a send variable is set and it
emails me the information, etc - standard stuff).
I'd like to start taking CC orders and would like to encode the information
using javascript
http:/
Short:
You cannot
why:
PHP is serverside JavaScript is clientside
solution:
encode the cc number in PHP or use SSL for encryption. Or let the javascript
version encode it anyway
although it's not "send" and let the PHP checkf or the value of send and cc
number (that is kind of
what you are
Hello,
I have to connect one Solaris computer (Netscape Enterprise Server) with PHP to
another one with NT (database SQL Server).
I have to get data from the SQL Server database using PHP.
Is it possible?
How?
Thankyou.
Regards.
Félix García Renedo
mailto:[EMAIL PROTECTED]
mai
At 12:36 30-7-01 +0100, Jon Haworth wrote:
>You've already checked the php.net site before asking this, I take it.
>
>Oh wait... http://www.php.net/manual/en/ref.session.php
>
>Maybe not :-)
H, you could even download them
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To
I am trying to read in a nav bar from a remote web page into my web page.
There is a comment at the start and one at the end
, and i want to be able to read in everything between
these two comments.
If anyone can help it would be greatly apprecited.
Thanks Paul Uttley
--
PHP General Mailing
I wish to split my databased string in half to be shown on 2 seperate
columns, but also preserve whole words. Is there a function that does this
already? Maybe a quick fix? Hopefully something that doesn't include html
tags as part of the string to split. If it's not that specific then that's
okay
"Richard Kurth" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello Yasuo,
>
> How can I tell if I am missing header files before I go and replace
> them
I don't know which distoribution/kernel you are using. Anyway, you should be
able to query if you have be
Thanks buddies...
I didn't know the http://www.phpbuilder.com/ site!!!
many, many thanks.
Gabriele
--
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
still don't see the need to pass as a header...
';
#will display login so user doesnt' have to retype
}
?>
you avoid the http://his.website.com/rams/login.php?failure=true as you just get
login.php each time as far as the displayed URL.
my opinion, let the scrip
>I didn't know the http://www.phpbuilder.com/ site!!!
>many, many thanks.
/me likes to uses a searchengine if /me needs some info on a topic..
Does help you know..
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
you really can't do that...
try translating the decoding algorithm to PHP.
"Dean Martin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I use a PHP self-validating form for taking orders off my site. (on submit
> it calls itself and if there are no errors a se
No need to get nasty :) Keep the list friendly, it's better that way ;)
Jeff
- Original Message -
From: "B. van Ouwerkerk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 8:53 AM
Subject: Re: [PHP] Need for dox...
>
> >I didn't know the http://www.phpbuilder.c
http://www.php.net/manual/en/ref.dba.php
wasn't what I really wanted,
Any other ideas to use text databases?
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have hosting plan that doesn't support MySQL nor any Databases...Just
PHP.
>
> I'm wondering
Fatal error: Call to a member function on a non-object in
/home/cmradmin/public_html/thus/basket.php on line 304
Does anyone know what the flaming heck that means? I'm trying to fix this little
problem which has only appeared since my webserver upgraded to PHP4.
Line 304 contains this:
$My
[EMAIL PROTECTED] (Greg Fyans) wrote:
> Fatal error: Call to a member function on a non-object in
>/home/cmradmin/public_html/thus/basket.php on line 304
> Does anyone know what the flaming heck that means? I'm trying to fix this little
>problem which has only appeared since my webserver u
[EMAIL PROTECTED] (Elias) wrote:
> http://www.php.net/manual/en/ref.dba.php
> wasn't what I really wanted,
>
> Any other ideas to use text databases?
>
xml, csv files, what do you need excatly and how advanced?
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsu
thanks for sharing http://www.freesql.org link!
"Henrik Hansen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] (Elias) wrote:
>
> > Yes, But I still want to know if any Text Database class exist...
> >
>
> dont know, but I know 2 possible w
Hi,
I'm putting together a PHP development framework for our small group. We
have worked on a couple of small apps, so now it's time to do things a
little more methodically, i.e. make life easier for everyone. :)
So, I scanned the web and found quite a few options for code libraries,
and a few f
I forgot to also ask, how many are using templates, and if so, are you
using a template framework:
a) PHPLib
b) Smarty
c) other?
Gerry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
1. We prefer binarycloud for many, many reasons. I suggest
everyone at least look into this touchstone that finally
and elegantly separates layout from content...
2. vim
3. RCS/CVS
_justin
Gerry Kirk wrote:
>
> Hi,
>
> I'm putting together a PHP d
> I'm interested to know what tools / libraries people prefer -
>
> 1. Code libraries:
> a) Metabase (for database abstraction)
> b) PHPLib
> c) PEAR
> d) BinaryCloud
> e) other
A mixture of PEAR's database abstraction, PHPLIB's template class and my own
libraries and classes.
> 2. What code e
At 09:08 30-7-01 -0400, Jeff Lewis wrote:
>No need to get nasty :) Keep the list friendly, it's better that way ;)
HUH
/me is always friendly..
Seriously.. you can get lots of information from searchengines..
Bye,
B.
Yeah, there are more important things in life then money,
but they won't
Actually, if you use telnet you can write your own headers and say
you've been refered by whoever you want to say you were refered by and
then use the script anyway, because you'll just say you came from
someplace where they have a form. This script is very bad. I submitted
an update to the ar
Thanx again, buddies.
The pages you listed were really useful...
... is there a better search engine than the experience of other people that
faced the
problem before???
Later, friends!
- Original Message -
From: "B. van Ouwerkerk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Mond
At 08:13 30-7-01 -0500, Erich Kolb wrote:
>How do I contact the administrator of this list?
ezmlm lists? by default something like listname-owner@domain
So.. for php general help thats:
[EMAIL PROTECTED]
Uhm, this was also in the welcome messages you got when you subscribed.
Bye,
B.
--
PH
Some of the original message:
> still don't see the need to pass as a header...
>
> you avoid the http://his.website.com/rams/login.php?failure=true as you
just get
> login.php each time as far as the displayed URL.
>
> my opinion, let the scripting handle all the logic and ease off the header
> f
Hi Matthias,
I tried it but it didn't work. It returned a "Document contains no data" error.
I put the preg_replace info all on one line. Could that have affected any
whitespace?
kind regards,
bill
Matthias Winkelmann wrote:
> This uses just one expression (and that is a fast preg_ insteat
Recently I have noticed very strange occurances with PHP and arrays and
cannot for the life of me figure out why. When I deal with a large array,
+2000 entries the Apache child process Aborts. The same is true when I am
working with about 20 different arrays the vary in length, ranging from 3 to
File a bug-report on bugs.php.net
regards
Wagner
--
Madness takes its toll. Please have exact change.
--
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: [EMA
Thanks for the heads up. I wanted to see if anyone else was having a
similar experience before filing a bug.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
-Original Message-
F
I tried the new move_uploaded_file() function. It seems to work fine
but doesn't assign any permissions to the moved file, not even for
reading.
Is there any way around this? Can I define the permissions myself?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To
> -Original Message-
> From: webmaster uva [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 30, 2001 6:56 AM
> To: php
> Subject: [PHP] Connecting PHP to SQL Server
>
>
> I have to connect one Solaris computer (Netscape Enterprise
> Server) with PHP to another one with NT (database SQL Se
Hi,
One fairly straightfoward way is to use an ODBC driver. You will want to
compile PHP --with-iodbc as per the HOWTO on www.iodbc.org, and then install
your ODBC driver of choice. OpenLink supports the Solaris-to-SQLServer
architecture with our Multi-Tier drivers, which are available for a fr
Hi,
I am experiencing problems with an email distribution utility using the mail
function, the 'Return-path' header that I specify gets overwritten by
sendmail.
I write: Return-Path: <[EMAIL PROTECTED]>\n
but sendmail re-writes this as: Return-Path: <[EMAIL PROTECTED]>
My plan is to exec sendm
I like PHPCoder for Winblowz:
http://www.phpide.de
There are a couple of others, but this one lets you do all kinds of stuff
built-in. Of course, it's for Windows and you have to download the
documentation (mySQL, PHP, and htmlhelp.com's HTML docs)
And the fact that it's still kinda buggy
below
>Some of the original message:
>> still don't see the need to pass as a header...
>>
>> you avoid the http://his.website.com/rams/login.php?failure=true as you
>just get
>> login.php each time as far as the displayed URL.
>>
>> my opinion, let the scripting handle all the logic and ease off
Yup, that was it. I had it set to 3 in mysql. Thanks for the pointer...
Chris Lambert - WhiteCrown Networks wrote:
> Try changing the column length to five.
>
> /* Chris Lambert, CTO - [EMAIL PROTECTED]
> WhiteCrown Networks - More Than White Hats
> Web Application Security - www.whitecrown.n
Hi there,
I'm currently in the process of writing a new book about PHP entitled PHP Exertion.
I've read several other books, and none of them covered everything that was needed, so
I basically have an understanding of what I will write about and what topics to
include - although I was wonderin
on 7/30/01 9:00 AM, B. van Ouwerkerk at [EMAIL PROTECTED] wrote:
> So.. for php general help thats:
> [EMAIL PROTECTED]
>
> Uhm, this was also in the welcome messages you got when you subscribed.
>
It's also in the footer of every message posted to this list :)
Matt
--
PHP General Mailing
One thing I would like to see is using PGP (or gnu) encryption on the server,
not via e-mail.
Jeff Oien
> Hi there,
>
> I'm currently in the process of writing a new book about PHP entitled PHP Exertion.
>
> I've read several other books, and none of them covered everything that
> was needed, so
I guess, you could create a table with some colums like, 'last_modified',
'who_modified', 'document_path'.
Then when someone makes a change, you save this changed document in a
folder with the name of the document, so it is easy, folder by folder, to
find all modified documents. You can even
I would also cover in detail the php.ini file. (what is safe mode,
magic_quote...)
So many questions get posted here because of people who do not know the
power of this file and all it's implication. (nothing wrong tho, people are
here to answer...) They use the engine without knowing the engine..
you are severely re-inventing the wheel.
Look for CVS or RCS programs on the net.
you'll save yourself a ton of work.
> -Original Message-
> From: Dave Freeman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 30, 2001 6:27 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Revision Tracking - p
[EMAIL PROTECTED] wrote:
> Greetings!
>
> Which php-based shopping cart is being used at this site?
> http://shop.t-shirtoutlet.com/catalog/
>
Did you try their contact form? They would be the best source for the
answer.
>
> Thanks!
>
> Max Pyziur BRAMA - Gat
I can create single directories,
just not subdirectories. and only in
the directory the script is in
I'm guessing that it may be a permission
issue ...?
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
At 12:29 PM 7/30/2001, simradusaadmin wrote:
its called the exchange project
it hink that its at www.theexchangeproject.org
~kurth
>[EMAIL PROTECTED] wrote:
>
> > Greetings!
> >
> > Which php-based shopping cart is being used at this site?
> > http://shop.t-shirtoutlet.com/catalog/
> >
>
>Did
*how* are you putting it in?
> -Original Message-
> From: Brian Weisenthal [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 30, 2001 1:01 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP] MS SQL datetime format problem
>
>
> Hi,
>
> I am having trouble setting a datetime in
I have a mySQL database holding baseball stats and I want to calculate
rankings on these players. Now I'd obviously want this to be as fast as
possible since I go through about 600 players but where is it best to make
them? In the SQL command itself or in PHP?
players need to have at least 100
I'm trying to install sablot on my win2k machine. I have PHP 4.0.5 and in
the /php/dlls/ directory there is the expat.dll and the sablot.dll. Also,
in the /php/extentions/ directory there is the php_sablot.dll.
I have a small test script to see if it's working and also printing out the
phpinfo(
why don't you calculate the stats every time someone inserts new stats...
you could have a column in your table for the average of the stats you
want.. that way when you want to call them back up all you have to do is get
that one column and save your cpu all that processing power... that's my
tho
One of my applications is being heavily used by people who are cutting and
pasting text from MS word into text areas within a form. I dutifully store
what they send, and display it later using htmlentities and nl2br to sort out
funny characters.
Sadly, quite a few oddballs for which there are
I've been using PHP 4.0.4p1 WIN32, Apache 1.3.19 WIN32 and the latest MySQL WIN32
build for almost 6 months without a problem. But now if I try and run a php file using
MySQL functions it just processes forever. There is no output and I can stop with the
browser's stop button. I have tried remo
Greetings:
OT (yes)?
When a user leaves a realm(.htaccess) from which they have logged into is
there any kind of notification back to the server?
I would like keep a log of such activities and do not want to do any session
type of jizz jazz(cookies etc).
I would think that there would need to be
hello-
I'm trying to use the fopen() command to open the url below and just read it
into another $var. However, I'm having some problems the warning i get
is below along with the url in the warning. Anyone know what's going on
here??
Thanks,
jay
Warning: php_hostconnect: connect failed
Warn
How do I put a limit of records that can be entered in a table?
--
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]
I would just query the database to see how many records are currently listed
(using COUNT) and use an if statement to see if it's over or under the
limit. If it's over you can just print out a message saying that no more
entries can be added.
Matt Kaufman
- Original Message -
From: "Jere
hey-
I have a few pages on my website which need to be divided up into different
columns and rows based on a category in a table. for example, on a links
page, I have three different columns, one for bands, one for sites, and one
for other things. I'm storing those things in the table with a cate
I'm trying to prototype the framework for some intranet
applications. I begin with a login.php script. At the VERY top, of this
script, I require a file as follows:
require("intranet_ini.php");
This contains some constant definitions, and one function; here is
the code:
No problem, nice to help :)
- Original Message -
From: "Jeremy Morano" <[EMAIL PROTECTED]>
To: "Matt Kaufman" <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 11:44 AM
Subject: RE: [PHP] Limit
> perfect, thank you
>
> -Original Message-
> From: Matt Kaufman [mailto:[EMAIL PROTECT
Anybody on this list:
1. Have experience with ODBC for Universe
2. Know where there is a driver available
You may reply privately if you think it is not of interest
to this group
_jef
--
Justin Farnsworth
Eye Integrated Communications
321 South Evans - Suite 203
Greenville, NC 27858 | Tel: (
Seen some stuff on freshmeat. Does about what you want.
Bye,
B.
At 14:27 30-7-01 -0400, Chris Cocuzzo wrote:
>hey-
>
>I have a few pages on my website which need to be divided up into different
>columns and rows based on a category in a table. for example, on a links
>page, I have three differ
This isn't exactly PHP I need help with, but it relates to what I learned
about security. Up until now, I have been using *.inc extensions for my
include files. Well, I didn't realize until recently that anyone can view
these files. So, I want to rename them to *.inc.php. BUT, in almost all of
Hey,
I have just developed a simple site search.. .and am after learning how to
get it to search all directories... at present, it only searches the one it
is in!!
Here's the code:
" METHOD="POST">
"
SIZE="20" MAXLENGTH="30">
There are a lot of text editors that allow you to find and replace - vi even
does.
You can also CHMOD the *.inc files to allow only the owner to access them -
I don't even use the *.inc or *.inc.php function, you can do without it (eg
include.php, settings.php instead of include.inc or settings.i
Oh, vi has a find and replace feature if you want to do it through the
terminal.
Matt Kaufman
- Original Message -
From: "Shrout, Ryan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 12:06 PM
Subject: [PHP] Find and Replace
> This isn't exactly PHP I need help
!!Be careful of this, its super powerful!!
try it on 1 test file first and then do the wildcard...
from the unix command line:
bash>perl -p -i -e s/myself.inc/myself.inc.php/ *.php
so its:
perl -p -i -e s/original_text/text_to_replace/ file_name(s)
- Original Message -
From: "Shr
1 - 100 of 163 matches
Mail list logo