Re: [PHP] order of elements in $_POST super global

2006-06-08 Thread Ron Clark
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

Re: [PHP] 404 After Setting session.save_path to /tmp

2006-05-17 Thread Ron Clark
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

RE: Re[3]: [PHP] How to argue with ASP people...

2005-01-05 Thread Ron Clark
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

Re[3]: [PHP] How to argue with ASP people...

2005-01-05 Thread Ron Clark
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

Re[2]: [PHP] How to argue with ASP people...

2005-01-04 Thread Ron Clark
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

Re: [PHP] a question about the PHP manualB

2004-12-09 Thread Ron Clark
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

Re: [PHP] system command

2004-08-24 Thread ron clark
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

[PHP] Re:[PHP] system command

2004-08-23 Thread ron clark
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

[PHP] system command

2004-08-23 Thread ron clark
!!! 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

Re: [PHP] Re: Free news feeds

2004-06-10 Thread Ron Clark
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

[PHP] XML to PHP help

2003-08-31 Thread Ron Clark
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

[PHP] Re: Why Can't I get this to work

2003-06-28 Thread Ron Clark
;,'$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

[PHP] Why Can't I get this to work

2003-06-25 Thread 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

[PHP] New mailing list

2003-03-10 Thread Ron Clark
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

[PHP] passing variable question

2002-11-11 Thread Ron Clark
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

Re: [PHP] How to remove ^M characters from a directory?

2002-03-26 Thread Ron Clark
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

[PHP] Help with showing tables in DB

2002-02-26 Thread Ron Clark
-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

[PHP] Syntax ???

2002-02-08 Thread Ron Clark
-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

[PHP] Newbie Question about PHP / MySQL

2002-02-08 Thread Ron Clark
-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

[PHP] Parse error

2002-02-04 Thread Ron Clark
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

[PHP] Re: Computer Science and PHP

2002-01-18 Thread Ron Clark
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

[PHP] php-4.1.1 and pspell

2002-01-16 Thread Ron Clark
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