ay as $value) {
if (isset($_POST[$value]) {
do something;
}
}
--
Ron Clark
System Administrator
Armstrong Atlantic State University
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
f
you want to run apache as user apache group apache then you will have to
edit httpd.conf and change the User and Group directives. Otherwise
chown chgrp the tmp directory to the user/group that is listed in the
httpd.conf file.
--
Ron Clark
System Administrator
Armstrong Atlantic State
On Wed, 5 Jan 2005, Jay Blanchard wrote:
> [snip]
> ...stuff...
> [/snip]
>
> I think we can all agree that PHP and ASP can do the same things, so the
> one glaring difference is COST. An efficient Apache / PHP server can be
> set up for much less than an IIS / ASP server, even if you take the s
On Tue, 4 Jan 2005, Richard Davey wrote:
> Hello Ron,
>
> Tuesday, January 4, 2005, 5:59:31 PM, you wrote:
>
> RC> You then do <%=filen%> to go back into ASP to get the value of the
> RC> variable into the HTML code that you wrote. ASP is not including the file,
> RC> it is only supplying a fi
ML.
You then do <%=filen%> to go back into ASP to get the value of the
variable into the HTML code that you wrote. ASP is not including the file,
it is only supplying a file name for SSI includes whether apache SSI or
IIS SSI. The server parsing the HTML recognizes the HTML comment is
sentax for
hat function that you never thought you would
need. It never hurts to no what's available even if you don't think you
will need it.
Ron Clark
System Administrator
Armstrong Atlantic State University
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Schierbeck wrote:
Ron Clark wrote:
Capture the output in the $output variable then ob_clean to empty the
output buffer before printing the the desired message.
ob_get_clean() is preferable:
$output = ob_get_clean(); // Gets the buffered output and cleans
the buffer
Didn't nee
John Holmes wrote:
From: "ron clark" <[EMAIL PROTECTED]>
I an trying to add virus scanning to the file upload section of our
portal using uvscan. The virus scanning is working properly using a
system call , but I am having problems with formatting the output. I
need to check
!!!
A virus was found in your file.
Found the W32/[EMAIL PROTECTED] virus !!!
How can get rid of the first line and still have data $output? I tried
adding a 2 > &1 to the system call and tried redirecting the output to
/dev/null. This got rid of the first line but also resulted in $output
benramsey.com
Attached is a text file containing a list of rss and xml news feeds we
use in our portal. You have to write the code to convert the xml to plain
text.
--
Ron Clark
sysadmin/webmaster
Armstrong Atlantic State UniversityFaculty / Staff Applications|Information Retrieval|IR|
Faculty
of a working
script and compare it to my own.
Thanks,
Ron Clark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;,'$line[7]', '$line[8]',
'$line[9]', '$line[10]', '$line[11]', '$line[12]')";
$results = mysql_query($IPFWsql) or die ("Could not execute query");
}
Again, any help with this issue is appreciated.
Thanks,
Ron Clark
Hello all,
I have a php script that reads a flat text file with fields seperated by a
space. I explode them into an array just fine, but when I try then to load
that array into a mysql database, it doesn't work. Here is my script:
for ($i=0; $i<$number_of_alerts; $i++) {
// Split each lin
get programmers
thinking about security.
--
Ron Clark
System Administrator/Web Coordinator
Armstrong Atlantic State University
11935 Abercorn Street
Savannah, Ga 31419
Phone: 912 961 3234
Fax: 912 927 5353
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hello all,
I have a php script that reads all the files in a directory (pictures), the
outputs each picture as a link to be displayed in the main frame of the html
page. All of that works fine. I want to be able to "pretty up" the picture
out put by placing the picture into a html table so it is c
ION
The dos2unix utility converts characters in the DOS extended
character set to the corresponding ISO standard characters.
--
Ron Clark
System Administrator/Web Coordinator
Armstrong Atlantic State University
11935 Abercorn Street
Savannah, Ga 31419
Phone: 912 961 3234
Fax: 912 927
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Consider the following:
mysql_select_db($db_name);
$result = mysql_query("show tables");
while ($rows = mysql_fetch_object($result)) {
echo $rows;
}
So why does this not return the Table names? I have even tried "echo
rows->T
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello all again,
Here is my line in my script:
$ynumber = mysql_query("SELECT COUNT(*) FROM responses WHERE
response=y");
But it returns a blank or empty. How do I convert this MySQL command
to PHP?
mysql> SELECT COUNT(*) FROM responses WHERE resp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello All:
How do I read all of the data from just one column, then develop a
count based on those items? I think I start with mysql_fetch_field(),
but right there I get stuck. Any ideas to point me in the right
direction?
Thanks in advance,
Ron C
t;phpkid","d0wn") or die
("Could not connect to server");
Anyone have any ideas?? I am so stuck and running out of hair to
pull out!
Thanks in advance,
Ron Clark
-BEGIN PGP SIGNATURE-
Version: PGP 7.1
iQA/AwUBPF7Th0SpEYIqgLQzEQInoACeOGf5f1LhIowxzrkwlbQGbp9
age to a language like perl or PHP than the
reverse after graduation. At our university we offer special topics
courses that are not on the curriculum when requested by students -
courses on PHP perl visual basic. Maybe you should talk to the CS
department head about special topic classes or department
fine. Does anyone know if this is a bug with php-4.1.1.
Operating system is solaris-8 on a sun enterprise 450
Thanks in advance,
--
Ron Clark
System Administrator/Web Coordinator
Armstrong Atlantic State University
11935 Abercorn Street
Savannah, Ga 31419
Phone: 912 961 3234
Fax: 912 927 5353
22 matches
Mail list logo