email address is not valid. IMO, the only
way to verify that an email address exists *and* is being used by the person
who supplied it (I assume in most cases this is the whole point) is to send
a unique string or URL and check that the recipient responds with the string
in an email or visi
> "Steve Werby" <[EMAIL PROTECTED]> writes:
> > Like Tom said, use regex to check the email is of a valid format. A
small
> > percentage of servers can be contacted to find whether an email address
is
> > valid, but fewer and fewer are allowing this so it
rongly suggest adding authentication via an
.htaccess file and passing the user/pwd to lynx (see "man lynx") so that
your script which is probably only intended to be run via cron isn't
available for anyone on the web to access.
--
Steve Werby
President, Befriend Internet Servic
"Ben Bleything" <[EMAIL PROTECTED]> wrote:
> Interesting method, with the lynx... I imagine that if you've only built
> the DSO, then that would be the way to do it.. if it worked.
It works.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befr
for every problem. BTW, I split my shell scripting
between bash and PHP, used to do shell scripting in Perl, but I rarely use
it anymore so I'm much faster scripting in PHP.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http
st-Subscribe: <mailto:[EMAIL PROTECTED]>
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
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 admi
was directly within the
calling code then it needs it in the include'd file too and if it wouldn't
have in the calling code then it won't in the include'd file.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (htt
$ArrayName = 'Thing';
$$ArrayName = array(5,6,7,8);
now,
echo $ArrayName;==> Thing
echo $$ArrayName; ==> Array
echo ${$ArrayName}[0]; ==> 5
See
http://www.php.net/manual/en/language.variables.variable.php
for more info
{
echo "$F\n";
}
If you're using PHP4, you can replace everything after the
sort($FileList) with the more compact:
foreach($FileList as $F) { echo "$F\n"; }
See
http://www.php.net/manual/en/function.sort.php
for more info on sorting arrays.
php?
index.php if you're simply include()'ing the content from bio.php. If
you're using Apache AliasRewrite magic and the URLs for each file are
pointing to the script index.php then it will be set to bio.php. A good way
to learn is to write short test scripts, add phpinfo() to the code
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
VG(age) as avgage FROM bat_rost WHERE
ownerID = '$teamID'");
$row = mysql_fetch_array($age_result);
$average_age=$row["avgage"];
echo "Average age of ".$teamID." is ".$average_age;
read the php manual pages on stuff like mysql_fetch_row and
mysql_fetch_a
have a look at date_format in the mysql help and pull your sate filed out as
a date
Steve
> -Original Message-
> From: Jack [mailto:[EMAIL PROTECTED]]
> Sent: 12 July 2001 21:04
> To: [EMAIL PROTECTED]
> Subject: [PHP] time compare in my sql
>
>
> Hi folks
mysql front is by far my favourite
available from mysql download section.
Steve
> -Original Message-
> From: Steph [mailto:[EMAIL PROTECTED]]
> Sent: 12 July 2001 05:01
> To: [EMAIL PROTECTED]
> Subject: [PHP] Alternative to phpMyAdmin
>
>
> Hi all! I love php
if you install mysql on a windoze machine then you can administer ANY mysql
database going through the socket.
i do it all the time.
Steve
> -Original Message-
> From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
> Sent: 12 July 2001 19:15
> To: Matthew Loff
> Cc: '
ere
in the states.
i install mysql and php in windows and then develop at home, then i update
the live db throught mysql-front.
Steve
> -Original Message-
> From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
> Sent: 13 July 2001 10:15
> To: Steve Brett; Alexander Skwar; Matthew Lof
> -Original Message-
> From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
> Sent: 13 July 2001 10:57
> To: Steve Brett; Alexander Skwar; Steve Brett; Matthew Loff; Steve
> Brett; 'Steph'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Alternative to phpMyAdmin
&g
not relevant.
where is the problem ?
Steve
--
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]
use echo quite a lot. only use printf when i have to put cash amounts in
and stuff like that.
Steve
"Brother" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Why should I use printf instead of echo and vice versa?
>
> As fo
have a look at ereg() (regular expression match) functions in manual.
they'll do exactly what you want.
Steve
"Joseph Bannon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I need a search function (if statement) that perfor
r problems ? new records added to the db now have all html
chars translated on input and translated on query.
many thanks,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
sorry posted to wrong group
Steve
"Steve Brett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> i've got myself into a bit of a mess. i have a database with approx 4000
> records (mysql) and when i pop
i seem to remember reading somewhere that print acts like (is) a function,
presumably returning false if it cannot print to screen, whereas echo just
dumps it.
also you can drop vars in print like
print "you have $points points";
whereas to echo it you'd have to concatenate the
at you want. Those of you who need it should e-mail me.
--
JustThe.net LLC - Steve "Web Dude" Sobol, CTO - [EMAIL PROTECTED]
Donate a portion of your monthly ISP bill to your favorite charity or
non-profit organization! E-mail me for details.
--
PHP General Mailing List (http://www.php
how about using php mail functions if you've got the support on your server
then a simple form to send the mail and you can track everything you need to
...
Steve
"Jorg krause" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTE
as afr as i know it's a recompile with a path to sendmail ...
great when it works though !
Steve
"Patrick W. Rateliff" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am getting this error when using the trying to use the
dn't find it on a porn site. ;-)
Steve
"Slavomir Slizik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> So, try to surf some free erotic,porn sites. They're full of that
> window-spawing stuff :(
>
> slavko
>
>
page from then on has this include file
';
session_destroy();
exit;
}
i use the meta http=equiv to direct them to the index page of the site
if they are verified.
Steve
"Dosenbrei" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
it
certainly isn't the case. not as robust as postgresql for 100's of
concurrent users but feature rich and easy to use.
time to jump off the micro$oft bandwaggon - you'll never look back !!
Steve
> thanks everyone,
>
> - seb
>
--
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]
n get away
with installing the three progs and off you go.
let me know if you need any further help.
Steve
"Seb Frost" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks Steve that's exactly the kind of 100% definate answers I
id' resgister the session var first then change / set it.
don't actually know if it makes a diff ....
Steve
"Bernie Kruger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I use this simple session scrip
another thing you could try is find out where the php session data is stored
and see if the session files are there - i think on win2k they are in
c:\php\sessiondata ...
Steve
"Bernie Kruger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
i meant for writing your code etc and testing.
i generally write stuff on my windows machine and then ftp them to the
production server after i've tested/debugges them etc.
Steve
"Seb Frost" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTEC
you only need to register vars with the session once.
Steve
"Rudolf Visagie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi Bernie,
>
> Do a session_register in the second script as well:
> > session_start();
&g
http://www.php.net/manual/en/configuration.php#configuration.file
for more info. You can also check your config via the phpinfo() function.
- steve
At 1:45 AM -0400 7/20/01, Jack Sasportas wrote:
>I have some code that runs under php3, but under 4 I get a parse error
>on this sp
yup.
what you need is ob_start("ob_gzhandler"); at the beginning of the bit you
want to compress, usually at the top of the script and //ob_end_flush(); to
send the output to the browser.
bit of a time lag as the browser decompresses but should save you a bomb on
bandwidth.
check out the php man
anted to clarify that what
Susan suggested will reverse the sort direction which is not what the poster
asked for.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
rver. If you're running PHP as a CGI then it
runs with the privileges of the user who owns the CGI file.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
er
to
> display all of the tables with all of their information?
Get phpMyAdmin from http://www.phpwizards.net/. Or see mysql_list_tables(),
mysql_list_fields(), etc. See http://www.php.net/manual/en/ref.mysql.php.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.
Do you know if you've even made a valid database connection? Try
echoing $this->database as well. If that is null, you haven't
connected to your database; perhaps the username, password and or
permissions were changed, so that you're unable to connect from your
PHP program
'order by text asc' will sort in alphabetical order A-Z
.. and your query should be select [campo] from table where campo like 'A%'
... seems like an expensive way of sorting ...
i think mysql has natural order sorting functions in there somewhere ...
Steve
"
wouldn't the structure of the database be determined by the fact you have a
many to many relationship ?
i.e. the two tables would decompose into three with a 'link' table defining
the many to may part ?
steve
"Mike Gifford" <[EMAIL PROTECTED]> wrote in message
es.variable.php
On the other hand, are you absolutely sure that something (other than
whitespace) is actually IN $HTTP_POST_VARS['ld_val'] ??
- steve
At 5:36 PM + 7/23/01, [EMAIL PROTECTED] wrote:
>Please forgive my probably newbie question...
>I am cycling thru m
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.
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&quo
Some sites are able to disable the source view in ie. How do you do that?
Haemelinck Steve
Personal:
Haemelinck.be - Developers Unite :)
Junior WebDeveloper
http://www.haemelinck.com/
[EMAIL PROTECTED]
Work:
MCT IT Consulting - Take consulting 2 the next level
Junior IT Consultant
http
// no hits
echo "Sorry. Search on $searchstr
returned no results.\n";
}
pclose($fp);
}
?>
I think it centers around the line whcich contains but am not definate:
while( $buffer = fgetss ($fp, 4096 )) {
Any help
// no hits
echo "Sorry. Search on $searchstr
returned no results.\n";
}
pclose($fp);
}
?>
I think it centers around the line whcich contains but am not definate:
while( $buffer = fgetss ($fp, 4096 )) {
Any help much appreciated..
Steve Wright
does not have permission to write to /foo/bar/tmp'.
is there ANY way round this ?
Steve
--
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]
instalation under windows 2000 is very simple. just reinstall php.
Steve
"Amarjit Jutley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> We are presently running PHP on a Windows NT 4.0 platform and all is
working
> correctly,
the file creates a file called edb-backup_ which
is a zipped copy of the dump file.
should be simple for you to substitute the mysql dump commands etc.
Steve
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi I'm trying to create a scri
ive used a very similar function and found that javascript like single
queted strings passed into it.
i.e. java_function('link/to/file')
just noticed in the original post that double quotes were used
Steve
"Dave" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
check this in php.ini
session.gc_maxlifetime specifies the number of seconds after which data will
be seen as 'garbage' and cleaned up
Steve
"Sheni R. Meledath" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
indeed.
i also use the cgi version.
Steve
"Bernie Kruger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I am running PHP 4.0.5 on Win2K. The ISAPI module gave me lots of
headaches
> and crashed the server ever
Hey,
I have done a few tutorials, but they aren't very long, and have only covered a small
amount of what i need to know.
Can anyone recommend any good comprehensive tutorials out thier, and/or any good books
that would be worth purchasing.
Kind Regards,
Steven Wright
--
Hey, i am getting an error passed back for this line of code, the rest of the code is
below:
echo "Your feedback has been sent to mailto:$address";>$name";
the error is:
Parse error: parse error, expecting `','' or `';'' in
/www/customers/stevewrightonline.co.uk/form/do_sendform.php on line 2
I have to say, after only being a member of the list for a while that the
attitude of B van Ouwerkerk to be disgraceful.
Everybody needs help sometimes, and no one can know it all.. so if you don't
have anything positive to say, then don't say anything!
Thanks for reading,
St
I personally use a program called EditPlus, because it supports every darn
language that i can think of, Java, C, C++, PHP, Perl, HTMl, etc.. etc...
And it is really custimizable too!
- Original Message -
From: Anton Stroganov <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, Ju
else clicked
while in the process??
Thanks..
Steve
How can i go about doing a visual login on a web page... instead of the pop up window
i have at the min like with .htaccess ??
I apologize if this is in the manual, but i couldn't see it
Kind Regards,
Steve
Hi,
I have modified an authentication script to my own liking, but being new, don't know
how to go about my next stage.
Once the user has inserted the UN, and PW, it is campared against the MySQL database,
nowm what i want to do is get rid of the login form which still appears, and is very
an
check the cache settings in IE and change to check for new version always.
sounds like you're reading a cached version of your page.
Steve
wrote in message
news:[EMAIL PROTECTED]...
Hi:
I'm coding my first programs in PHP using MySQL in Windows. I
instaled the Xitami Web Server f
u're interested in
little speed tweaks, use single quotes - ' - rather than double
quotes - " - here. With double quotes, PHP searches the quoted string
for variables or escape characters to replace.
-steve
>
>-Original Message-
>From: Julian Simpson [mailto
7;ve found that it only makes sense when very few target users
will have javascript disabled and the potential contents of the select boxes
are less extensive than make and model detail.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (ht
> For those of you with a scientific disposition some Theories to ponder
> over . especially the cat one
>
> An American magazine held a competition, inviting its readers to submit
> new scientific theories on ANY subject. Below are the winners:
>
> 5th place (Subject: Probability Theory)
>
i tend to get this error when the page being called doesn't exist.
check the link and the file name
Steve
"Phil Driscoll" <[EMAIL PROTECTED]> wrote in message
01080909463405.04245@linux">news:01080909463405.04245@linux...
> On Thursday 09 August 2001 09:46, k
eed to declare the variables global within each function that access
them or access the variable via the $GLOBALS array.
$var = 'something';
function go()
{
return $GLOBALS["var"];
}
or
function go()
{
global $var;
return $var;
}
echo go();
--
Steve Werby
Pres
oh dear.
Steve
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Okay I got it working!
>
> http://www.futurebird.com/wordstream/index.php3
>
> go on give it a try!
>
> Susan
>
>
> --
> [EMAIL PROTECTED]
> ht
le to
programmatically determine, eg;
'Dr. Martin van Hooten Hears a Who'
in this case, van should be lower case, since it isn't referring to a
medium-capacity box-like automobile, tennis shoe brand, or naval
vanguard.
-steve
At 11:07 AM -0500 8/13/01, Boget, Chr
x27;$post[$i]' WHERE
> > ID='$counts'"
If each row has a unique value for ID then it will only update a single row.
When in doubt what is happening store the SQL statement in a var like $sql
and then echo $sql to the screen to check it over, pasting into database
commandl
' : ' '));
foreach ($EXCEPTION_LIST as $Word) {
$String = preg_replace("/(\s+)$Word(\s+)/i", "\\1$Word\\2", $String);
}
# Replace invariants
$String = " $String ";
foreach ($INVARIANT_LIST as $Word) {
$String = preg_rep
i think pgp has a quick install text file that is superb.
sorta step-by-step simple and complicated.
Steve
"Jean-Arthur Silve" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
check de readme or install files provided in each one !
At 15:
got me worried now, are there any problems with security doing it
that way
Steve
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have pages that uses session for security that looks something like
this:
rned string,
though.
- steve
At 4:59 PM +0200 8/16/01, Alexander Wagner <[EMAIL PROTECTED]> wrote:
>Paul S. wrote:
>> I design a website on a PC, and upload it to UNIX. Of course, there
>> are always one or two variables that I have to keep track of as to
>> w
Try giving the form a name?
I normally use something like...
Any it works in NS 4+
SL
- Original Message -
From: "Quentin Gillet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 19, 2001 10:06 AM
Subject: RE: [PHP] problems with a netscape post
> I have the same pr
then
you can test for its existence like so:
if (!isset($page)) { $page = false; }
or $page = 0...whatever's appropriate.
-steve
At 4:45 PM +0200 8/19/01, BRACK wrote:
>Hi
>
>I'm getting strange errors if I add
>"LoadModule php4_module ../php/sapi/ph
did you do it again ?
:-)
pasting you code is ok ...
Steve
<[EMAIL PROTECTED]> wrote in message
BB6D932A42D6D211B4AC0090274EBB1D2EF0EE@GLOBAL1">news:BB6D932A42D6D211B4AC0090274EBB1D2EF0EE@GLOBAL1...
>
> Here's the attachment - I hate it when I do that! :)
>
try using mysql_num_rows() to get the number of rows returned by the query.
you need to supply it with the identifier for the query not the sql you sent
to the query. not exactly sure what you're trying to do though ...
Steve
<[EMAIL PROTECTED]> wrote
okay - read all the code now.
this might be a better way:
0)
{
for ($x=0;$x<$numrows;$x++)
{
$id=$one["id"];
$title=$one["title"];
$description=$one["description"];
print "
$title$description\n
\n
";
} // end of for
}
else
{
print "
NO
RESULTS\n
\n
";
}
?>
--
PHP Ge
you're there already.
have an if statement on mail.php:
if (isset($posted_info))
{
// send mail here
// do db insert here
} // end of if
Steve
"Jack" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear all
> I was
HEy, i am having major problems trying to work out this regular expression.
Regular expressions are still quite new to me, and i don't fully understand
them, so please bear with me... thanks!
This is what i wanmt to do, turn the following block of text:
if (top != self) top.location.replace(sel
<<8) + $t] = $A;
instead, though. If you wanted 'em in REVERSE order, use krsort()
instead of ksort().
Usual 'untested code' warnings apply.
- steve
At 2:15 PM +1000 8/23/01, Chris Fry <[EMAIL PROTECTED]> wrote:
>Chris,
>
>Understand the problem now.
&g
in REVERSE order, use krsort()
instead of ksort().
Usual 'untested code' warnings apply.
- steve
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED]
i'd have a look at the table structure.
also if you're using <> to denote inequality then use !=
both of the previous posts are incorrect
Steve
"Chris Fry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Shoul
tion?
AtDhVaAnNkCsE,
Steve Orr
--
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]
What kind of PHP application development frameworks, class libraries, or
templates are widely used? Is SiteManager any good? How about phplib?
Others? Doesn't the future of object oriented PHP depend on good foundation
classes? Any comments on PHP object orientation?
Steve Orr
--
PHP Ge
konquerer is krap.
:-)
only kidding. i seem to remember that konquerer has specific settings for
script execution - it may be worth checking out the setup...
Steve
"Scott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a d
#x27;]
and
$HTTP_POST_VARS['age']
-steve
At 10:39 AM -0700 8/28/01, Mashrab Kuvatov wrote:
>Hi everybody,
>i'm a newie in php, but i have a general understanding
>of it.
>
>Recently, i've installed PHP as a static module on my
>Apache-1.3.19 and tried a
what i'd
>like to see.
function is_numeric($Something) { return (string)(1.0*$Something) ==
$Something; }
should work.
-steve
+----+
| Steve Edberg University of California, Davis |
| [EMA
.StupeedStudios.f2s.com
>Home of the burning lego man!
>
>ICQ: 115852509
>MSN: [EMAIL PROTECTED]
>AIM: legokiller666
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED]
PHP4's configuration syntax has changed; see
http://www.php.net/manual/en/configuration.php
Try using the line
php_flag engine on
-steve
At 11:35 AM -0700 9/4/01, PHP List wrote:
>Hi,
>I am trying to update my server to php4. Everything seemd to compile fine
ly works
because CF does output buffering implicitly. So, I'd guess you need
to do option (2).
-steve
At 10:37 AM -0400 9/10/01, Andrew Penniman wrote:
>I am trying to figure out how to use PHP to redirect the user to a new
>location *after* processing and most likely outputting
I learn something every day, here :)
According to my McGraw-Hill HTML Programmer's Reference [please, no
messages about HTML not being 'programming'!], the META tag _should_
only occur in the container. Of course, we all know how
closely browsers adhere to the HTML specs ;P
lease most more info, and perhaps the
relevant parts of the script if possible.
By the way, I'm pretty sure you don't need those trailing newlines
("\n\n") there; PHP takes care of that for you. I don't know if
that's the source of your problem or not...
n this to
$value = reset($array);
But if you need the key value as well, you (I think) WILL have to do
it _lallous' way:
reset($array);
list($key, $value) = each($array);
For more info, see
http://www.php.net/manual/en/ref.array.php
-steve
>
>"Brandon
y($query, $dbconnect) or die(mysql_error());
Also, you don't need a trailing ';' on the SQL query statement (you
DO need it, of course, at the end of the PHP statement).
See
http://www.mysql.com/doc/I/N/INSERT.html
for more information.
-steve
At 11:58 AM +0200 9
ntrol-structures.switch.php
http://www.php.net/manual/en/function.include.php
http://www.php.net/manual/en/function.header.php
for more information.
-steve
At 8:46 AM +0200 9/21/01, hvm wrote:
>Hi all.
>
>Is there a command to execute (run) from HTML or a php4 script
you need to update the page that the frame displays. call the page and then
use 'target=' to direct the output to the frame of your choice.
Steve
"Hvm" <[EMAIL PROTECTED]> wrote in message
001001c14270$8a563380$0601a8c0@Hans">news:001001c14270$8a563380$06
At 1:49 PM +0200 9/21/01, <[EMAIL PROTECTED]> wrote:
>lets have a php-beer for all the dot.com unenployed!
>
My PHP 4.0.5 doesn't have php_beer() function :( Is that available
in CVS tree?
--
+ Open source questions? -------
why not just drop access and move to postgresql or mysql.
go on .. make the leap; you know you want to
Steve
"Jon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> We are working with PHP & MYSQL, and we wou
1001 - 1100 of 1688 matches
Mail list logo