hey-
I want to select the oldest show from a database to display on my main page,
since the oldest show is also the show happening closest to any current
time(if that makes sense...). I included a timestamp field in my table of
shows in anticipation of checking that to find out what was the
So sprach »PHP Junkie« am 2001-07-23 um 21:39:07 -0400 :
I'm taking in first name and last name data into a MySQL db through a
form. Users sometimes don't capitalize their first and last names when
entering the data. Is there a function to clean this up for
consistency? If so, what is the
On Tue, 24 Jul 2001 15:57, Chris Cocuzzo wrote:
hey-
I want to select the oldest show from a database to display on my main
page, since the oldest show is also the show happening closest to any
current time(if that makes sense...). I included a timestamp field in
my table of shows in
On 24-Jul-2001 Chris Cocuzzo wrote:
hey-
I want to select the oldest show from a database to display on my main page,
since the oldest show is also the show happening closest to any current
time(if that makes sense...). I included a timestamp field in my table of
shows in anticipation of
A urgent question does, the follow work on sun solaris. php +
postgresql + expat + saboltron
--
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
Hi,
On my local test server (PHP4.0.1, FreeBSD, MySQL), when I
get a general error (bad code) it reports error type on
file/script on line 1.
It allways says line 1, even if it's line 4028.
I've had experience with this happening if there is a
structure problem with { brackets } missing (on
Hi,
I'm using PHP for a few weeks now, so you can imagine that I'm making a
lot of typing errors...
Often I make a typing error in one of the variable names ($helo instead
of $hello or worse still $Hello instead of $hello). Since PHP does not
care about declaring variables before using them, it
It happens alot. Just sigh a little and delete it.
I always think of it as a very quick email to deal with out of the 180
I get each day
At 17:33 23/07/2001 +1000, ReDucTor wrote:
When?!?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
[EMAIL PROTECTED] (René Moonen) wrote:
Hi,
I'm using PHP for a few weeks now, so you can imagine that I'm making a
lot of typing errors...
Often I make a typing error in one of the variable names ($helo instead
of $hello or worse still $Hello instead of $hello). Since PHP does
my guess would be that sgid is a character field. if this isn't the case
then try hardcoding a known id into the query and seeing what happens. It
could also be that the connection has failed, try something like:
if ($connection = mysql_connect())
{
...
$id = rand(1,2);
$query =
Hi,
I had to solve very similar problem - solution was to store prepared
e-mails in
database and send them with an external program using cron to run it.
I'm
sending about 40,000 announces per day with my system with no problems.
Mirek Novak
---
Matthew Delmarter pe:
I want to set up a script
Anyone know how to copy an array to another name?
I'm assumming that $array1 = $array2; doesn't work (at least it
doesn't seem too :( ).
Thanks.
Nick.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
hows about $array2 = $array1; :D
- Original Message -
From: Nick Davies [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 6:39 PM
Subject: [PHP] Copy Array.
Anyone know how to copy an array to another name?
I'm assumming that $array1 = $array2; doesn't work (at
the zend ide @ www.zend.com is a pretty cool debugging env.
Steve
René Moonen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I'm using PHP for a few weeks now, so you can imagine that I'm making a
lot of typing errors...
Often I make a typing error in one
How can I check to see if a email has an attachment? Then download it if the
user clicks on it?
I've been working on a webmail for POP3 but I guess the idea is about the same.
To check if a an email has attachments you use the function imap_fetchstructure() and
then you can do something
Hi
I am transfering a NT IIS website with forms to APACHE and PHP, but need
examples of how the forms work, can you please guide as to where I can find
some and any other data to asist me as this is the first time I have used
PHP.
Many thanks
Denis Croombs
--
PHP General Mailing List
try this:
$query = SELECT songname FROM mp3 WHERE sgid = \$id\;
(or a little cleaner: $query = sprintf(SELECT songname FROM mp3 WHERE
sgid = \%d\, $id); )
instead of:
$query = SELECT songname FROM mp3 WHERE sgid = .$id;
- Original Message -
From: James Holloway [EMAIL PROTECTED]
--- example.php ---
?=$myText?
form method=post action=./example.php
input type=text name=myText value=?=$myText?br
input type=submit
/form
Denis Croombs [EMAIL PROTECTED] wrote in message
004701c11426$b94b7f10$[EMAIL
hi,
example:
html file
form action=form_send.php method=post
Your username: input type=text name=user
input type=submit name=login value=Login
input type=submit name=remove value=Delete Account
/form
php file
if (isset($login)) {
// Do login...
} else if (isset($remove)) {
// Remove
try to move the php4ts.dll library in C:\winnt\system32
Andrew Kirilenko [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi All!
Just installed PHP4 Apache.
Apache has started well.
Then I've added two strings from install.txt to the httpd.conf:
LoadModule
Hello,
I have a simple question.
How do I monitor two or more sockets in PHP?
Someone told me about register_tick_function() for multi tasking but I
played with it and nothing seems to come out of it.
I monitored the first opened socket using a while() loop containing a
fgets() function.
--
On Tue, 24 Jul 2001 11:00, Marty wrote:
Several months ago, I made a conscious decision not to
delete what I figured was just another junk e-mail.
Several seconds ago, I made a conscious decision to delete what I KNEW was
just another peice of F%$#ING SPAM. Then I got it out of the trash and
You wrote:
So sprach »PHP Junkie« am 2001-07-23 um 21:39:07 -0400 :
I'm taking in first name and last name data into a MySQL db through
a
form. Users sometimes don't capitalize their first and last names
when
entering the data. Is there a function to clean this up for
consistency? If
Hi,
How do I compile php to work as a stand alone. Right now it is working
thru the web but need to run it from a cron job.
TIA
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Please help me !
In phpinfo() i find my document root but existing some PHP variable which
had document_root inside.
Thankx
roman
for example : Document root : x:\php
maybe echo $Document_root show x:\php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
when you configure php, don't specify a web server to use.
./configure --with-mysql
would do the trick.
./configure --with-apxs=/path/to/apxs --with-mysql
would not do the trick
Tyler
-Original Message-
From: Adrian D'Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001
Hi,
What is the default viewer for this file format. I create graphs for users
and many of them cannot open the page with the embedded .png picture.
Tx
Bernie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
How do I compile php to work as a stand alone. Right now it is working
thru the web but need to run it from a cron job.
Have a look at http://www.php.net/manual/en/install.commandline.php
The easiest thing of course would be to just call lynx (or any other command line
browser taht is able to
I have been trying to add snmp support into PHP 4.0.4pl1 and 4.0.6 without
success. The box currently has ucd-snmp-4.2.1 on it and is working fine
with our mod_perl installation. When we configure it with --with-snmp
and --enable-ucd-snmp-hack it configures fine and lists the it has found
SNMP.
This code was working 4 weeks ago, i swear.
When i attempt a login, it goes through this script all the way to the
Header once a successful login as happened. Everything in this code
block works correctly, except that the variables don't exist in the
session. It's almost as if the
i don't think the last post was right, there is some stuff at phpbuilder
about using php with shell access, i guess you could write a shell script
that is called from cron ...
here you go ... http://www.phpbuilder.com/columns/darrell2319.php3
Steve
Adrian D'Costa [EMAIL PROTECTED] wrote in
i there a way in php to obtain the email address set in the client's
browser? i have no intention of spamming those who visit my site but
thought it a novel approach to keeping track of hits.
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi
I have a little scripting problem with php.I want to execute an extern URL with my php
file.But this url must be execute invisible.So how should i make this ?
Here is an example.
Any User opens sms.php. This file(sms.php) execute an URL like
www.xyz.com/scripts/sending.php and put out a
[EMAIL PROTECTED] (Scott Dudley) wrote:
i there a way in php to obtain the email address set in the client's
browser? i have no intention of spamming those who visit my site but
thought it a novel approach to keeping track of hits.
not possible, why not use their ip address to keep track
simply call it using file:
?php
file('http://www.xyz.com/scripts/sending.php');
?
[EMAIL PROTECTED] wrote:
Hi
I have a little scripting problem with php.I want to execute an extern URL with my
php file.But this url must be execute invisible.So how should i make this ?
Here is an
You seem to be on windows, check with phpinfo() for this var. (I use this on
unix
and assume it would be the same for win)
? echo $HTTP_SERVER_VARS["SCRIPT_FILENAME"]; ?
py
- Original Message -
From: "Roman" [EMAIL PROTECTED]
To: "Php-General" [EMAIL PROTECTED]
Sent: Tuesday, July 24,
hi,
If you've installed PHP in c:\apps\PHP\ you must use
LoadModule php4_module c:\apps\PHP\sapi\php4apache.dll
(LoadModule php4_module c:/php/sapi/php4apache.dll won't work !)
Arnaud wrote:
try to move the php4ts.dll library in C:\winnt\system32
Andrew Kirilenko [EMAIL PROTECTED] wrote in
Hi,
Are there any Freeware/Opensource PDF dll's?
Tx
BK
--
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 Bernie,
Tuesday, July 24, 2001, 3:33:53 PM, you wrote:
BK Hi,
BK Are there any Freeware/Opensource PDF dll's?
BK Tx
BK BK
You should have one in your distribution
--
Best regards,
Danielmailto:[EMAIL PROTECTED]
--
PHP General Mailing List
On Tue, 24 Jul 2001 07:32:37 -0500, [EMAIL PROTECTED] (Robert Covell)
Debug.log has:
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_md5'
I am having some trouble with storing a class in a session variable.
According to the information in the manual, an object will be serialized
at the end of each request and then unserialized at the beginning
automatically. However, with this code:
?php
session_register(objectvar, stringvar);
It looks like my attempt to send this bounced. Which is fine, since I've now
got a slightly different question.
I'm working on a network for my site and others related to it. We want to
keep track of which sites are the most popular by having everyone place on
their site something to the effect
On Tuesday, July 24, 2001 2:32 AM, Alexander Skwar said:
But this is not a good idea! There are Names (like Hans vom Bach or
somesuch) which do NOT have to be captialized. Actually, capitalizing
the vom would be wrong. Although this was just a German
example, I'd bet there are names in
Yes I have, but it says it has expired and I must get a new one from
www.pdflib.com. When I download one there it prints www.pdflib.com as a
background image on all my pages. I don't want to use it commercially and I
dont want to have that background image.
Daniel Rezny [EMAIL PROTECTED]
I have 2 machines running OpenLDAP, one as a master directory and the other
as a slave. I have the master directory replicating to the slave machine
and the slave machine is set up to refer the master url back to the client
when the client attepts to update the slave.
The machines seem to be
If I have a directory protected with an .htaccess file that requires users to
log in, is there anyway to determine what username they used in my PHP scripts?
--Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
I want to create an array like this:
$tree = array (
first = array (stuff1, stuff2, stuff3),
second = array (stuff1, stuff2)
);
based on tree of information, stored in a database table:
level parent_cat child_cat
--
1 first first
1
Jon,
Try $REMOTE_USER
-Jeremy
Email: [EMAIL PROTECTED]
--
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]
Can anyone tell me how to turn on .php3 extensions in PHP on Win2000? I've
looked in the php.ini file and can't seem to find it.
Thanks!
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
On Tuesday 24 July 2001 15:53, Phil Spitler wrote:
Can anyone tell me how to turn on .php3 extensions in PHP on Win2000? I've
looked in the php.ini file and can't seem to find it.
In the internet services manager (or whatever it's called in W2K) add a
script mapping for .php3 which is the
but remember, if you put your cron/admin scripts into
a directory on a publicly accessable webserver, you
run the risk of having anonymous websurfers run your
scripts at inopportune moments.
-Original Message-
From: Gunther E. Biernat [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24,
hi there,
have a problem getting a user input string as GET/query string.
what i wanna do is enable a user to append an additional string to the end
of the URL. there is no problem when the user inputs strictly english chars.
but whenever they input a latin-2 specific character (like eg. "latin
To be destructive, I would use a sensible data-representation in mysql,
yours seems to suck...
something like
table x
idx as integer, auto_increment, primary key
node as text
parent as int (this points to the parent primary key)
But here is what I would do with the current data structure
select * from whatnot order by timestampcolumn desc limit 1
if the limit 1 doesn't work with your db, just fetch the first result
only...
greets,
remo
-Original Message-
From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 8:28 AM
To: [EMAIL PROTECTED]
hi
i'm trying to index several files (ms office, pdf, txt, html) using php and
LINUX, are any suggestions and/or libraries for that around?
greets,
remo
Remo Pini
Pini Computer Trading
http://www.pct.ch
Tel: +41 1 822 1000
Fax: +41 1 882 4000
Mob: +41 79 216 1551
--
PHP General
you bring up something I've been wondering about, can I fetch just a single
row to output?
chris
- Original Message -
From: Remo Pini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 11:13 AM
Subject: RE: [PHP] Need some help with this idea!
select * from whatnot
Whatever they put in the name field of the .htaccess prompt is stored in
$PHP_AUTH_USER
and what they put in the password field is stored in
$PHP_AUTH_PW
You can read more about this here
http://www.php.net/manual/en/features.http-auth.php
Sheridan
- Original Message -
From: [EMAIL
IE 4.0b1 and above, Netscape 4.04 and above and Mozilla can all view
PNGs, I believe.
The PNG home page (http://www.libpng.org/pub/png/) has more information,
but it appears to be down right now.
--kurt
-Original Message-
From: Bernie Kruger [mailto:[EMAIL PROTECTED]]
Sent:
After replying to a .htaccess thread I read another reply which suggested they user
$REMOTE_USER.
I read the HTTP Authentication section and found
In order to prevent someone from writing a script which reveals the password for a
page that was authenticated through a traditional external
Sorry to again bring up the subject, but could somebody please help me with
multiple
file uploads. I've written the script below, but it doesn't seem to work
properly.
please help. Alternatively, could somebody give me a simple upload script.
My system is Win 98, Apache 1.3.17, php 4.0.5, IE5.
So sprach »Ryan Fischer« am 2001-07-24 um 07:35:37 -0400 :
Usually, the 3rd is written as John Doe, III, AFAIK, so that's not
really an issue.
Okay, III isn't an issue then. What about people with Dr. titles? Like
'Dr. med John Doe'. There the 'med' shouldn't be capitalized. And I'm
sure,
I have a string that contains \' and I want to remove \ and have only
'. Tried $mynewstring=ereg_replace(\',',$mystring); but no luck.
What is the way around this.
Regards
Ajdin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Try stripslashes or something like that (not sure on the name of the
function). It is the opposite of addslashes. If you look for addslashes in
the function list that you will see the other one.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Hi there,
Having problem with a snippet of code, the code works in php4 but not in php3.
Here is the snippet:
$imagesize = getimagesize($UPLOADFILE);
// print $imagesize[0] . . $imagesize[1];
if($imagesize[0] 360 or $imagesize[1] 252 or $UPLOADFILE_size 51024)
{
Hello all,
I'm discovering the joys of PHP as supplied by RH on their 7.1 release.
Actually, everything about it is SO much nicer than ASP or pure Perl. (Not
to take anything away from either--PHP's just a LOT easier to get hold of!)
I'm running PHP as an Apache module (default RedHat
this doesn't work,how should it be done?
insert into test (uid, companyUid)
values(1, select uid from companysTable where company = Micrsoft);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
this doesn't work,how should it be done?
insert into test (uid, companyUid)
values(1, select uid from companysTable where company = Micrsoft);
If you are using MySQL, it doesn't support sub selects...
Chris
Jeremy Morano wrote:
insert into test (uid, companyUid)
values(1, select uid from companysTable where company = Micrsoft);
insert into test (uid, companyUid) select 1,uid from companysTable
where company = Micrsoft;
I hope this works.
HTH
Wagner
--
Madness takes its toll. Please have
Does anyone know how to rename a directory? There is rename() for files
but I couldn't find anything for directories...
Thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
on unix I think it should work for both.. can't say I know on windows..
also, why not try exec or system and just run the normal system command for
it?
- Original Message -
From: Jeff [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 6:07 PM
Subject: [PHP] rename a
Hi everyone.
We have two webservers set up to be loadbalanced. As you could imagine
that's a bit of a problem with sessions, but I figured out how to get
around that. (actually that was kind of easy). You set up the php.ini to
save the session files in a mutual drive. For example, we have a
Take a look at tutorials on www.devshed.com .. or a few simular websites..
they sould help you..
I'm not sure about inserting data from a flash movie..
You should check this lists archive for more info on this.
Bye,
B.
At 17:37 23-7-01 -0700, Kyle Smith wrote:
ok i dont know the first
http://www.flashkit.com has got some fantastic examples/tutorials on passing
variables to/from flash, including to PHP and a database.. should have
everything you want there..
Take a look at tutorials on www.devshed.com .. or a few simular websites..
they sould help you..
I'm not sure about
You wrote:
So sprach »Ryan Fischer« am 2001-07-24 um 07:35:37 -0400 :
Usually, the 3rd is written as John Doe, III, AFAIK, so that's
not
really an issue.
Okay, III isn't an issue then. What about people with Dr. titles?
Like
'Dr. med John Doe'. There the 'med' shouldn't be capitalized.
So sprach »Ryan Fischer« am 2001-07-24 um 13:18:33 -0400 :
Never heard of that one before. Usually, a medical doctor adds an
M.D. at the end of his name indicating so.
Hmm, this maybe the case in the states. Dr. med. is the German title.
Alexander Skwar
--
How to quote:
You could write your own. . .
Just kidding... well, technically you could... but... that's not the
point.
http://sourceforge.net/projects/zipcodedb has a Raw ZIP code dump... It
has a little more data than just zip, city, state... I don't know what it
means, but maybe you would...
Sorry, it's
Yes, rename() does work on Windows as well as on *nix.
-Original Message-
From: Tom Carter [mailto:[EMAIL PROTECTED]]
Sent: 24 July 2001 17:54
To: [EMAIL PROTECTED]; Jeff
Subject: Re: [PHP] rename a directory
on unix I think it should work for both.. can't say I know on windows..
What is wrong with this code?
(note: the variables $email and $comments are sent from another page but i get the
error message from this page saying Warning: Could not deliver email. You are over
quota. in /web/sites/197/lk6/www.stupeedstudios.f2s.com/email.php on line 15 in which
line 15 is
So sprach »Justin Farnsworth« am 2001-07-24 um 04:52:57 -0400 :
Also is there any examples of this kind of app?
Just do something like this with shell, logically
while read_line_from_email_address_list ; do
cat your_text_file | mail -s Your Subject address_from_list;
sleep
$REMOTE_USER
On Tue, 24 Jul 2001 [EMAIL PROTECTED] wrote:
If I have a directory protected with an .htaccess file that requires users to
log in, is there anyway to determine what username they used in my PHP scripts?
--Jon
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
I have been trying to create a directory and a file in it on my server, but my
code is not working fine.
?php
$arquivo = fopen(publico/diretorio.txt,r);
$cont = fread($arquivo, 5);
$cont++;
fclose ($arquivo);
$arquivo = fopen (publico/diretorio.txt,w+);
fwrite ($arquivo,
get the difference in months between two dates
using a unix time stamp?
I know I can do something like this:
$startMonth = date( m, $startTimestamp );
$startYear = date( Y, $startTimestamp );
$endMonth = date( m, $endTimestamp );
$endYear = date( Y, $endTimestamp );
$numMonths = $endMonth -
Thanks! Next time I won't assume it won't work...
Jeff
Tom Carter wrote:
on unix I think it should work for both.. can't say I know on windows..
also, why not try exec or system and just run the normal system command for
it?
- Original Message -
From: Jeff [EMAIL PROTECTED]
To:
Hello everyone,
I've been reading the Profanity Filter thread in the list archives but
haven't found anything real helpful. Here's my code so far, this of course
won't work.
?
function filterWords($string, $result) {
$badwords=shit, fuck, ass, bitch;
$word=explode(, ,
What is wrong with this code?
(note: the variables $email and $comments are sent from another page but i get the
error message from this page saying Warning: Could not deliver email. You are over
quota. in /web/sites/197/lk6/www.stupeedstudios.f2s.com/email.php on line 15 in which
line 15 is
Whats wrong with this?
$sql = INSERT INTO $table_name
(uid,companyUid, first_name, last_name, address, state, zip_code, country,
company, occupation, telephone, fax, email, user_name, password)
SELECT
\\, \uid from companyTable WHERE company= Itsolutions\,
$numMonths += ( 12 + ( $endMonth - $startMonth ));
This last line should have read:
$numMonths += ( 12 + ( $endYear - $startYear ));
Too much cutting and pasting... :p
Chris
On 24-Jul-2001 Alexander Skwar wrote:
So sprach »Justin Farnsworth« am 2001-07-24 um 04:52:57 -0400 :
Also is there any examples of this kind of app?
Just do something like this with shell, logically
while read_line_from_email_address_list ; do
cat your_text_file | mail -s Your
So sprach »Don Read« am 2001-07-24 um 13:56:51 -0500 :
Folks whack at Sendmail for its past security sins (old news) + complex
( near impossible to master) .cf configuration. But I know i spent more hours
setting up my first UUCP box then i ever did on sendmail.cf ...
Once setup by a
I am running PHP in CGI mode on win2k. I keep getting an error when I try
to load a PHP page. I have 2 other servers set up exactly the same that
work just fine. Does anyone know what this could be?
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP
Okay, I need help with this one:
I have a table with a column in the MySQL DATETIME format. (2001-07-24
13:02:02)
I need a MySQL query that will select all the entries in it made within the
last hour.
I tried this, but it is not working correctly, what am I doing wrong?
SELECT *
On Tue, 24 Jul 2001 19:34:22 -0700, [EMAIL PROTECTED] (Kyle Smith)
wrote:
snip
i get the error message from this page saying Warning: Could not =
deliver email. You are over quota. in =
/web/sites/197/lk6/www.stupeedstudios.f2s.com/email.php on line 15 in =
which line 15 is the line under
How can you tell if your host has PHP installed as mod_php or in CGI mode on
the webserver (Apache in my case)? Is it in phpinfo.php? If so, where - I
couldn't find it...
Thanks
Tom Malone
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
http://www.php.net/manual/en/function.php-sapi-name.php
On Tue, 24 Jul 2001, Tom Malone wrote:
How can you tell if your host has PHP installed as mod_php or in CGI mode on
the webserver (Apache in my case)? Is it in phpinfo.php? If so, where - I
couldn't find it...
Thanks
Tom Malone
--
On Tue, 24 Jul 2001 15:09:14 -0400, [EMAIL PROTECTED]
(Ryan Shrout) wrote:
I need a MySQL query that will select all the entries in it made within the
last hour.
I tried this, but it is not working correctly, what am I doing wrong?
SELECT *
create a file on one of your websites, say call it test.php and in it put
the following
?
phpinfo();
?
- Original Message -
From: Tom Malone [EMAIL PROTECTED]
To: PHP Users [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 8:14 PM
Subject: [PHP] Apache/phpinfo
How can you tell if your
Run phpinfo() and if it is in CGI mode Server API, at the top, will say
CGI or if in is mod_php Server API will say Apache.
Corin Rathbone
-Original Message-
From: Tom Malone [mailto:[EMAIL PROTECTED]]
Sent: 24 July 2001 20:15
To: PHP Users
Subject: [PHP] Apache/phpinfo
How can you
Think of it this way:
WHERE session.Date DATE_SUB(NOW(), INTERVAL 1 HOUR) is equal to:
WHERE 2001-07-24 15:03:24 SUBTRACTION( 2001-07-24 15:30:21, 00:01:00) =
WHERE 2001-07-24 15:03:24 2001-07-24 14:30:21
That seems right now, but it doesn't work
Ryan
-Original Message-
From:
You wrote:
I've been reading the Profanity Filter thread in the list archives
but
haven't found anything real helpful. Here's my code so far, this of
course
won't work.
?
function filterWords($string, $result) {
$badwords=shit, fuck, ass, bitch;
$word=explode(, ,
I waste my time because the clients pay me to. ;-)
They get what they want. I told them there would very easy ways around the
filters. but they insisted.
Thanks!
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
- Original Message -
From: Ryan
1 - 100 of 186 matches
Mail list logo