Thanks, but all these methods require modification of the scripts
already on the server, and it won't ensure any new script being written
by a user on my system to comply.
Are you all saying that there are no logs kept by default of errors
generated on php/mysql pages at all unless
Hello,
On 07/23/2002 03:14 AM, Miguel Cruz wrote:
Anyway, would you object to develop a system for a customer where it is
needed to send messages to clients that do not oppose to receive
messages in HTML? If so, why?
I have never had a customer say We have three people, and I personally
Hello,
when applying patch on version 4.2.1 then in phpinfo(); is still PHP
Version 4.2.1 but SERVER_SOFTWARE: Apache/1.3.26 (Unix) PHP/4.2.2
mod_ssl/2.8.9 OpenSSL/0.9.6d-beta1
Regards,
Michal Dvoracek [EMAIL PROTECTED]
Capitol Internet Publisher, Korunovacni 6, 170 00
restart apache
-Original Message-
From: Michal Dvoracek [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 23 July 2002 4:34 PM
To: Jason Soza
Cc: [EMAIL PROTECTED]
Subject: [PHP] PHP security bug and patch
Hello,
when applying patch on version 4.2.1 then in phpinfo(); is still PHP
Okay, I removed that line and I no longer get the invalid File-Handle
resource error, but I also don't get anything useful. Maybe my fscanf() line
needs some work? With this new code, if I print_r($headlines); I get 229 of
these: Array ( [0] = )
Code:
$filename =
On Tuesday 23 July 2002 14:16, Jason Soza wrote:
I'm fairly certain that fopen() is working fine - I can echo $contents;
and it works great, but it displays the entire page that I fetched. I just
want certain parts of the page and unfortunately, fscanf() doesn't seem to
think $contents or
Once they've been redirected, can they just bookmark the resulting page
and never have to log in again?
Actually, yes - after a couple hours of playing around with the login and
finally getting the Meta tags to work for me, I found that if the person
were to simply type in the URL of the
why don't u do something like
if (!username)
{ you can not access this page
}
else
{
//page content
}
?
that's a quick fix but might be all you need to do..
-Original Message-
From: Tim Thorburn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 23 July 2002 5:01 PM
To: [EMAIL PROTECTED]
Hey all,
I want to point something out to aspiring authors. The truth is, that few
books and web pages out there show examples using OO methods. For example,
the book I use as my primary reference has one chapter on OO PHP and that
is it. The rest of the examples in the book are in regular
Hello,
Any one please let me know how to use PHP to add new user to a domain for
using mail (sendmail). And also any funtions to check the availibility of a
domain name.
Regards,
Anan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alright, I see that this is probably the way to go, but I'm dying here. I
have this:
$filename =
fopen(http://www.kinyradio.com/juneaunews/latest_juneau_news.html;, r);
$contents = fread($filename, 100);
preg_match_all(|font face=\Verdana\ size=\3\b+[-a-zA-Z0-9,.
what doesn't work is after they login to Page 1, the
redirect sends them to
Page 2 and right back to Page 1 because the global session
isn't staying
registered.
Are you putting session_start() at the top of each page where you want
to be able to use the session stuff you've set?
After executing the exact script I get the following (rough)error:
Warning: Undefined offset: 1 in :/Inetpub/co2_busters_mk2
The script(Which is being executed about 25m away) soon cause my computer to
fill up up it's memory(96mb used to about 256)
That is why I couldn't give you the message(IE
On Tuesday 23 July 2002 15:38, Jason Soza wrote:
Alright, I see that this is probably the way to go, but I'm dying here. I
have this:
$filename =
fopen(http://www.kinyradio.com/juneaunews/latest_juneau_news.html;, r);
$contents = fread($filename, 100);
I've been developing a simple (protecting nuclear secrets it aint) login /
authentication class library.
This code is designed to -
1. check unname password are completed
2. check uname password contain only permitted chars (a-z,1-9)
3. match user against dbase user table
4. generate a
why don't u do something like
if (!username)
{ you can not access this page
}
else
{
//page content
}
?
that's a quick fix but might be all you need to do..
Umm...I hope register_globals is off...
www.yourdomain.com/yourpage.php?username=a_bad_user
---John Holmes...
--
PHP
I guess I missed the part where you wanted to implement something w/o
changing existing scripts.
There's no easy way to do it right now. You could write a script that'll
run in the background and combine all of the error logs together. You
can turn on error logs for PHP and for MySQL. You'll
For a really good overview of the OO programming read Thinking in Java by
Bruce Eckel. What you learn can then easily be applied to your coding
practices in PHP.
The author has made the book available for free from his site
www.mindview.com
Umm...I hope register_globals is off...
And if not.
form action=http://www.yourdomain.com/yourpage.php; method=post
input type=text name=username
input type=submit
/form
Can be used from every server to login.
Op dinsdag 23 juli 2002 12:42, schreef John Holmes:
why don't u do something
It´s a silly question, but how can I create a directory on web?
From another list
[EMAIL PROTECTED]
---
Life must be lived as play.
- Plato (427 - 347 BC)
- Original Message -
From: John Best [EMAIL PROTECTED]
To: Web Developer's Journal - Discuss
[EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 12:01
Im getting Warnings about headers being already sent. But not on my local
web server
Im sending the headers (to try and make the page not cache) before anything
is echoed to the browser.
I set the error reporting to E_ALL at the top of the script, turning error
reporting off suppresses the
[snip]
Well, trying to updrade on Slackware Linux 8.0 and compiling with the GD
(1.8.4) libraries are giving us some headaches. Some of what seems to be
wrong;
...
You're simply looking at the old PHP.
You did stop/start Apache, right?... Cuz the new PHP won't kick in until
you do.
If so,
[snip]
A site I'm working on requires a login screen where various individuals
will log into the site and add information for their various
departments. Rather than setup a different script for each department, I
was hoping to create one script that would either accept or deny a login
based on
[snip]
For a really good overview of the OO programming read Thinking in Java by
Bruce Eckel. What you learn can then easily be applied to your coding
practices in PHP.
The author has made the book available for free from his site
www.mindview.com
[/snip]
Try http://www.mindview.net
HTH!
Who said anything about M$? I don't use their crappy products so I
don't have to deal with their security issues.
I'm the one who brought up Microsoft, I'm saying it's a whole lot better
then the alternatives.
If PHP 4.2 is unsafe then why is it listed at the top of the page for
Using Win2K Professional Server, IIS
PHP Version 4.2.1
mt_getrandmax() returned 2147483647
I have an array of 26 characters. I want three random values from the array,
I use the following:
$rand_al = array_rand ($arralpha, 3);
I get the same characters each and every time.
The way I am handling
I am trying to test a Script which I got online and
will modify later (its from devshed)... It fails to set
up a connection...
#!/usr/local/bin/php -q
?
// don't timeout!
set_time_limit(0);
// set some variables
$host = 1.2.3.4...;
$port = 1234;
$command = /usr/games/fortune;
// create socket
First I seed the generator with
mt_srand ((double) microtime() * 100);
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
t]On Behalf Of Naintara Jain
Sent: Tuesday, July 23, 2002 6:36 PM
To: Php-General@Lists. Php. Net
Subject: [PHP] array_rand() and seed
Using
Hi,
1. Every peice of software has bugs - PHP still bugs - it always will
have. Deal with it.
2. It is no-one's responsibility other than your own to *test the
software*. Anyone using any form of software in a production environment
has at least one test bed to install new versions of software
Have you seeded the random generator?
Read up on srand and mt_srand.
- Dan
Using Win2K Professional Server, IIS
PHP Version 4.2.1
mt_getrandmax() returned 2147483647
I have an array of 26 characters. I want three random values from the
array, I use the following:
$rand_al = array_rand
Richard,
snip
This Programmer has actually read the Documentation and believed the
warnings that some day just plain old $strName might not be enough.
Where might these warnings be? I just perused this URL:
http://www.php.net/manual/en/language.types.string.php
especially where it talks
I saw a comment in the online docs about setting the return-path for
sendmail for virtualhosts. However, the note did not say WHERE to put the
line - I attempted to put it into apache's virtual host tag and that failed.
The line was:
php_admin_value return-path /usr/sbin/sendmail -t -i -f [EMAIL
[ straying even more off-topic... ]
It's doing this as a favor to you. If it displayed the From you'd know
less about the message than you know this way.
I replied to Michael off-list, but since this popped up again...
Pine uses a value called 'index-format' (configurable in the main config
I have an embedded object in my webpage which will play a DVD movie right in
the page (provided you have a disc in teh dvdrom drive). One of the
javascript methods attached to this object returns the current time. OK, on
to the php/mysql part. I have a mysql database which has a table to
is there a more programmatically elegant way of saying...
$isError = ;
function main() {
doStep1();
if (!$isError) {
doStep2();
}
if (!$isError) {
doStep3();
}
// etc. etc.
}
function doStep1() {
if ($something) {
$isError = 1;
}
}
For steps and sequences, I always use switches. Most commonly associated with the
action variable, it would look like this:
switch($action) {
default:
// what to show if no variable exists, or is set to a value
// that is not acceptable below
break;
case add_file:
//
I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
announce in the web site. When I do make install, it stopped with
errors. The following are the last few lines from the output:
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so
So refering back, i re-wrote the original example using the switch syntax...
switch (true) {
case doStep1():
case doStep2():
case doStep3():
error();
break;
default:
valid();
}
Each case expressions is evaluated, until one of them evaluates to a value
equal (==) to the switch expression
Is anyone aware of a php benchmarking suite comparable in functionality
to perls Benchmark.pm?
// George Schlossnagle
// Principal Consultant
// OmniTI, Inc http://www.omniti.com
// (c) 240.460.5234 (e) [EMAIL PROTECTED]
// 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100
Hi,
I'm using PHP to connect and perform queries with a MySQL database. I've noticed that
it there is an error performing certain
commands like 'mysql_connect()', I'll get a warning message in the browser.
I'd like to suppress these messages as I am storing the error, mysql_error(), in an
Paul == Paul Dionne [EMAIL PROTECTED] writes:
[. . .]
Paul So, I guess my point is that if people want to encourage use
Paul of OO programming, they need to use more examples in their
Paul books instead of what is easy.
I read the useful document about XML in PHP on
http://www.analysisandsolutions.com/code/phpxml.html. I still haven't made
much progress on XML. I'm still confuse about XML. I had to write XML
stuffs on the client-side with the build-in XML request and it doesn't make
sense that the client
I don't know how to appy patches to the PHP software. I just finish
upgrading the website to work with PHP 4.2.1 from PHP 4.0.6. And now
this So, just patched it then configure openssl, mycrypt, curl, modssl
then do the usual stuff for PHP then apache, right??
Adam Alkins [EMAIL
On Tuesday, July 23, 2002, DonPro wrote:
I've noticed that it there is an error performing certain commands
like 'mysql_connect()'
I'd like to suppress these messages as I am storing the error,
mysql_error(), in an array. So if there is an error, I would simply
display the contents of the
You forgot the session_start(); call. You will have to do that before you
can tap into registered vars. Hope that helps.
Jas
Alexander Ross [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm trying to understand sessions so I can set session variables. I set
If i can suggest...
I'm working on a project for the Quebec Junior Major Hockey league and i
found out that objects can be quite usefull in a large scale web application
like this one.
What i am doing is an object that connects to the database and stores
pertinent information into it. Also, i
On Tue, Jul 23, 2002 at 12:33:19PM -0400, Scott Fletcher wrote:
I read the useful document about XML in PHP on
http://www.analysisandsolutions.com/code/phpxml.html.
Thanks. But, you mean:
http://www.analysisandsolutions.com/code/phpxml.htm
I had to write XML
stuffs on the client-side
Very cute! Upgrade Now! It will work well with PHP newbies. Not!
Richard Lynch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
Not being an expert in php..i couldnt understand the vulnerability.
Can someone shed some light here.
Very short explanation:
Upgrade.
Now!
Put an ampersat symbol (@) in front of the function name to suppress errors.
$link = @mysql_connect(host, user, pass);
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
DonPro [EMAIL PROTECTED] 07/23/02 12:08PM
Hi,
I'm using
Sorry about the old posting, didn't realize it was a yesterday posting.
Anyway, how do I apply the patch, php 4.2.2 to php 4.2.1?? I never done it
before and yes, lots, lots of webpages use POST method. Isn't stress
great?
Thanks
FletchSOD
--
PHP General Mailing List
Amended to this recent posting. Already started a new posting from scratch.
Scott Fletcher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I don't know how to appy patches to the PHP software. I just finish
upgrading the website to work with PHP 4.2.1 from PHP
---
Eynar Alberto Gaitán Rivas.
Sysop
Tiempos Nicaragua, S.A.
Managua, Nicaragua
Tel. 268-2945 ext. 22
http://www.tdm.com.ni
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
With php 4.2.2 I get this when trying to compile with apache 2 support:
Making all in apache2filter
/bin/sh /usr/local/download/apache/php-4.2.2/libtool --silent --mode=compile
gcc -I. -I/usr/local/download/apache/php-4.2.2/sapi/apache2filter
-I/usr/local/download/apache/php-4.2.2/main
Ha ha, I'm so used to html instead of htm. :-)
It have been my thought that I write a script as a post method to send data
to the server then have hte PHP webserver do the dirty work. I haven't
figure out how to get PHP to put in the xml stuffs into the data and send it
to the credit bureau.
Hi,
Someone please tell me how to install apache on redhat
linux.
-Varsha
__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wednesday 24 July 2002 01:01, Scott Fletcher wrote:
Very cute! Upgrade Now! It will work well with PHP newbies. Not!
If 'PHP newbies' aren't able to perform the upgrade themselves, they should
ask someone who can. If it was the 'PHP newbies' who originally did the php
installation then
On Wednesday 24 July 2002 01:22, Varsha Agarwal wrote:
Hi,
Someone please tell me how to install apache on redhat
linux.
This is neither an Apache list, nor a Redhat list. Best ask on the relevant
list.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems
Is there a newsgroup list for PHP and OOP?
It would be great to split up this large topic and create an OOP specific
list.
InsaneCoder
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 12:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: PHP Security Advisory: Vulnerability
in PHP versions 4.2.0
I don't know how to appy patches to the PHP software. I just finish
upgrading the website to
Try http://www.phpclasses.org;
Warren Vail
Tools, Metrics Quality Processes
(415) 667-7814
Pager (877) 774-9891
215 Fremont 02-658
-Original Message-
From: Mathieu Dumoulin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 10:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP OOP
Is there a way to limit the total number of persistent connection to an
oracle database? I know this functionality exists for MySQL through a
setting in the php.ini but I haven't found it for oracle. I am in an
environment where we have about 10 users that connect to oracle from
each of 10
Um...did you happen to modify this to have a valid IP address or host
name for $host and a valid port number for $port? It would also help to
have a valid path for $command that is going to talk to a daemon on the
port you specify (ie. making a connection to port 80 and asking for
Just wondering if anyone has come across the need to develop a class to test
a string of numbers based on a credit card type. If you have where would I
be able to get information on what string of numbers is consistent with each
of the different credit cards? Any help would be appreciated!
Jas
Well, I'm not sure about the 'you get what you pay for'. Some paid for
software has less support and documentation than PHP!
Justin French [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Greg,
Your attitude stinks.
PHP is a FREE scripting language. Think
Try this:
http://www.AnalysisAndSolutions.com/code/ccvs-ph.htm
Rick
A sense of humor can help you over look the unattractive, tolerate the
unpleasant, cope with the unexpected, and smile through the unbearable. -
Moshe Waldoks
From: Jas [EMAIL PROTECTED]
Date: Tue, 23 Jul 2002 12:09:48
Michael Sweeney [EMAIL PROTECTED] wrote in message
1027447470.3349.28.camel@catalyst">news:1027447470.3349.28.camel@catalyst...
Um...did you happen to modify this to have a valid IP address or host
name for $host and a valid port number for $port? It would also help to
*Obviously* I modified
popen() opens a named pipe to a program - you can read and write to it
if the program you're piping to supports that kind of interactivity
(mostly you just read the output from the command). However, in this
case, I don't think you want either popen() or fopen() (certainly not
fopen() - that just
On Tue, Jul 23, 2002 at 11:00:43AM -0700, Eric Thelin wrote:
Is there a way to limit the total number of persistent connection to an
oracle database? I know this functionality exists for MySQL through a
setting in the php.ini but I haven't found it for oracle. I am in an
environment where
Basic scenario. There's really nothing else to tell
except for that.
I'm trying to upload a file via a TYPE=FILE control in
a form. When I press submit, my $uploadedfile is what
it should be, but my $uploadedfile_name is blank. So
is my $uploadedfile_size. Any reason?
That is what I figured. The problem is that oracle doesn't even seem to
have per-process limits.
Eric
On Tue, 23 Jul 2002, Thies C. Arntzen wrote:
On Tue, Jul 23, 2002 at 11:00:43AM -0700, Eric Thelin wrote:
Is there a way to limit the total number of persistent connection to an
oracle
You should contact Visa International Service Association to determine
what constitues a valid credit card number. Just FYI, a valid format
is 16 digits; ---. I believe VISA normally begins with
41 as the first two digits, however, I am not a Visa Int. agent but I
am a
Check to make sure that your FORM tag has: enc-type=multpart-formdata
i had SO much trouble finding this out. hope it helps ya
InsaneCoder
Liam Gibbs [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Basic scenario. There's really nothing else to tell
except
So there is no way to use some sort of string comparison to check the number
then? I would have to have a merchant account? Sorry for being nieve, just
never tried to work with credit card numbers etc.
Jas
Kristopher Yates [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Visa starts with 45
Mastercard starts with 51
=P
InsaneCoder
Kristopher Yates [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
You should contact Visa International Service Association to determine
what constitues a valid credit card number. Just FYI, a valid
Hi!
I have a challenging part to this project. Let's say the PHP webserver
establish a connection to a different website and received the ssl
connection from there. How do I get the certificate information from that
website and display it? I can use print_r($GLOBALS) but it only display the
I'm trying to connect to a Java application that's listening on a socket
using SSL. I am trying to use fsockopen with the address beginning with
ssl://, but it doesn't work. There's no error message that I can find,
it just doesn't create the file-handler.
Here's some sample code:
?
Here's how to get it to work (thanks to somebody on Google Groups)...
1. Open up the file php_functions.c in /sapi/apache2filter/
2. Change MODULE_MAGIC_AT_LEAST to AP_MODULE_MAGIC_AT_LEAST (Note the
addition of AP_)
3. Save the php_functions.c file and try running configure again
--
Yeah, I have looked at that class file and I don't want someone elses
example to use, I want to build my own but have no way of knowing what makes
up a valid visa number etc
Jas
Richard Baskett [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Try this:
Correct. Your first parsing of the credit card number could be done
by the web server, just to check its length and format: you could use
strlen() function in PHP to count the digits, to verify it is correct.
You could strip the dashes with ereg_replace(-, ,
$credit_card_number) then count
Ok how's this then?
http://www.beachnet.com/~hstiles/cardtype.html
Don't dismiss a good idea simply because you don't like the source. -
Unknown
From: Jas [EMAIL PROTECTED]
Date: Tue, 23 Jul 2002 12:33:17 -0600
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Credit card checks?
Yeah, I have
This may help with the specific formats. (And how to calculate the check
digit yourself to verify)
http://www.beachnet.com/~hstiles/cardtype.html
Jaime Bozza
-Original Message-
From: Kristopher Yates [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 1:42 PM
To: [EMAIL
I just wrote this message in the wrong list so i'll be short...
I have two classes:
- mysql_connection
- data_collection
data_collection REQUIRES a mysql_connection object to work. So i decided to
pass this object in the constructor for the data_collection, but when i do
so it seems it
Okay,
I want to know if anybody has a clue which is more efficient,
processorwise/parsingwise:
this:
--
echo
tabletrtdb.$somevar./bbr.$somevardesc./td/tr/table;
or this:
--
echo tabletrtdb{$somevar}/bbr{$somevardesc}/td/tr/table;
I almost always use the first method (just seems more
try
echo tabletrtdb$somevar/bbr$somevardesc/td/tr/table;
which is probably better than the other two but don't quote me on that!
You can just include the variables because you have used rather than ' (I
think it works for echo as well as print)
Dave At Sinewaves.Net [EMAIL PROTECTED] wrote in
Greetings PHPers. For those of you with MS COM experience or those who want to know
how to send a MULTI MIME type message read on.
I'm trying to find out the syntax for sending an HTMLbody and TEXTbody in the same
message thus making it a TRUE MULTI message. (see code)
This is what I have...
Kristopher == Kristopher Yates [EMAIL PROTECTED] writes:
[. . .]
Kristopher I dont know about AuthorizeNet, but LinkPoint has an
Kristopher API written in PHP that is supposed to be inexpensive,
Kristopher and easilly integratable into any PHP apps. I
Placing the line
$message-TEXTBody = This is my plain Text Body!
AFTER your HTMLBody tag did the trick.
Try it out Solved my own problem, but I hope this helps someone else out.
-Original Message-
From: Shane
Sent: Tuesday, July 23, 2002 12:21 PM
To: [EMAIL PROTECTED]
Subject:
Dave == Dave At Sinewaves Net [EMAIL PROTECTED] writes:
Dave Okay, I want to know if anybody has a clue which is more
Dave efficient, processorwise/parsingwise:
Dave this: -- echo
Dave tabletrtdb.$somevar./bbr.$somevardesc./td/tr/table;
Dave or this: -- echo
I just benched it. If there is a difference in performance then it is too
small to detect with microseconds. I'd say there's no need to parse the
vars by hand unless the syntax requires it.
-Kevin
- Original Message -
From: Dave at Sinewaves.net [EMAIL PROTECTED]
To: PHPlist [EMAIL
thanks it worked ^^
-Nick
Tom Rogers [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
Tuesday, July 23, 2002, 5:16:43 AM, you wrote:
N Tom Rogers [EMAIL PROTECTED] wrote in message
N [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello Nick,
Monday,
On Sun, Jul 21, 2002 at 11:43:25AM -0400, WANDA HANSEN wrote:
Is there a way to handle data gathered from a drop down menu that
allows multiple selections using PHP?
Yes. The way I normally do this is to use HTML that looks something
like:
select multiple='multiple' name='test[]'
option
Lee, yes you're right. Using single quotes to denote a litteral string does
speed things up a bit. My bench sped up by about .08 seconds over 10,000
echos. That's about 5 pages worth of text. Is .08 seconds worth worrying
about? I'm gonna go out a limb here and say.. no. :)
-Kevin
-
I am hoping someone can help me with a desperate problem I am having
I know nothing about PHP and hoping that it might be able to solve a problem
I have with HTML tables.
I want my web background to cover the entire screen regardless of screen
size. The background has a header, a left side nav
PHP is server-side, so it can't do anything that would help with the layout of HTML on
the client-side. You might want to look into Cascading Style Sheets (CSS) to format
the page so that it validates the way you want it to :o)
HTH!
Martin Clifford
Homepage: http://www.completesource.net
Is there any way to get the day of the week given a date.
For example if the date is the 22nd July 2003 I want to know if it will be a
Monday or Wednesday, etc..
Any help appreciated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Jul 23, 2002 at 04:24:37PM -0800, Cirkit Braker wrote:
Is there any way to get the day of the week given a date.
Check out the date() function.
--
Jason Stechschulte
[EMAIL PROTECTED]
http://www.ypisco.com
--
Campus sidewalks never exist as the straightest line between two points.
You can use the one or the combination of:
date();
mktime();
strtotime();
eg:
echo date(l, strtotime(22 July 2003));
Check the php online doc for explanation of each function.
Rdb
On Tue, 2002-07-23 at 20:24, Cirkit Braker wrote:
Is there any way to get the day of the week given a date.
Hi Josh,
I have not done this myself but afaik, you can use curl to so this.
http://www.php.net/manual/en/ref.curl.php
Best Regards,
Patrick Lynch.
Optip Ltd, Internet Mobile Development
Co. Clare, Ireland.
http://www.optip.com/
-Original Message-
From: Josh Levine [mailto:[EMAIL
I have had some success with something similar to what you want to do, using
frames.
The bottom footer always remains at the bottom of the browser page with the
upper body becoming scrollable when it fills up and no longer fits. Perhaps
you can use some variation of this.
HTML
HEAD
TITLEMy
1 - 100 of 215 matches
Mail list logo