[PHP] Modifying data in forms with values

2005-09-13 Thread Robert Sossomon
+ if statements for checking to see if the value of $county equals the value of the field I am drop down choice. Anyone have some quick solutions? I have radio buttons as well, but going to use a drop-down list for the editing pages to make it all simple. Thanks! Robert -- Robert Sossomon, Business

Re: [PHP] Automatically generated emails

2005-08-29 Thread Robert Sossomon
in the ini file and on the same system), but without more information, can't really help you except to point you to the manual or Google. PHP.net: http://us2.php.net/mail Google: http://www.google.com/search?sourceid=mozclientie=utf-8oe=utf-8q=PHP%3Amail HTH, Robert -- Robert Sossomon

[PHP] redirect based off server string

2005-08-10 Thread Robert Sossomon
/help would be greatly appreciated! Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 512 BrickHaven Drive Suite 220L, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED

Re: [PHP] running number

2005-07-25 Thread Robert Sossomon
--- Sign Up for free Email at http://ureg.home.net.my/ --- -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 512 BrickHaven Drive Suite 220L, Campus Box 7606 N.C. State University Raleigh NC

[PHP] Working with 3 arrays

2005-03-10 Thread Robert Sossomon
] char[0] process the data and then move to the next one in all three. I am thinking $fields = $_POST[field]; foreach ($fields as $field) { Do the stuff } But I am a bit perplexed on how to operate on all three. Thanks, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth

Re: [PHP] Re: Working with 3 arrays

2005-03-10 Thread Robert Sossomon
!--SNIP -- $fields = $_POST[field]; foreach ($fields as $field) { $currentType = next($type); $currentChar = next($char); // Do the stuff } Thanks!! I knew I was missing something simple in doing this! Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development

Re: [PHP] Prevent browser back...

2005-02-09 Thread Robert Sossomon
came from? Or should I redirect to an interim page that simply redirects again to the thankyou.php one (which won't stop someone from hitting back twice, but it's just an extra thing.) What (other) ways have people found that works? -- A -- Robert Sossomon, Business and Technology

[PHP] Primer for working with arrays

2005-02-09 Thread Robert Sossomon
I need a really good primer for working with arrays in PHP and with MySQL. I can do what I need to do without them right now, but I would really like to get arrays figured out. Any have some good ones? Thanks! Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth

[PHP] Access

2005-01-31 Thread Robert Sossomon
Anyone know of any classes or files for a way to write an Access readable file from PHP and MySQL? Thanks! Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone

Re: [PHP] upload file size limit

2005-01-31 Thread Robert Sossomon
Look in /etc/httpd/conf.d/php.conf For a buddy with a file upload need I set it to this: Files *.php SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 760217600 /Files You will need to set your upload limit higher in this file for it to work correctly. Robert -- Robert Sossomon

Re: [PHP] Search engine

2005-01-20 Thread Robert Sossomon
of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State

[PHP] Free Auction Scripts

2004-12-14 Thread Robert Sossomon
Anyone have some good free auction scripts? I can write what I want it to do, but why re-invent the wheel if I can find one at a great price (FREE)? Thanks, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606

[PHP] MMS?

2004-12-14 Thread Robert Sossomon
Anyone know of some scripts to email ringtones/graphics to your cell phone? Thanks, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919

Re: [PHP] Making variables with an iteration?

2004-12-06 Thread Robert Sossomon
SNIP Parse error: parse error, expecting `';'' coded: ?php for ($j=1, $j5, $j++) { $choices.$j= $_POST['choice'.$i]; echo $choices.$j; } ? -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University

[PHP] Making variables with an iteration?

2004-12-06 Thread Robert Sossomon
to use checkboxes with different names with the javascript checkers I am using, since they seem to be working, however I can't seem to get the PHP in the parser to write the variables. Any ideas? SNIP for ($j=1, $j5, $j++) { $choices.$j= $_POST['choice'.$i]; } Thanks, Robert -- Robert Sossomon

[PHP] Making variables with an iteration? STILL

2004-12-06 Thread Robert Sossomon
$choice2; echo $choice3; echo $choice4; ? /snip The problem seems to be that it is only doing this on the last one, no matter which one it is... I know it is in the iterations, but I can't place my finger on where I need to change things up. -- Robert Sossomon, Business and Technology

[PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread Robert Sossomon
[former]; $achieve= $_POST[achieve]; ? /SNIP I pulled out the iterations above that line of code and tested it separately. Everything worked OK, so I copied it into the rest of the PHP processing. This thing is driving me bonkers. Any suggestions? -- Robert Sossomon, Business and Technology

Re: [PHP] Parse error: parse error, expecting `']'' in

2004-12-02 Thread Robert Sossomon
Richard Lynch is quoted as saying on 12/1/2004 2:57 PM: Robert Sossomon wrote: Parse error: parse error, expecting `']'' in file.php SNIP Unfortunately?? I knew exactly where the code was breaking (the lines I posted) since before I added those lines of code the script worked without any

[PHP] Cleaner way to do this?

2004-12-02 Thread Robert Sossomon
combinations, and am sure it is something simple I have boffed. Thanks, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812

[PHP] Working with Dates

2004-12-02 Thread Robert Sossomon
\ type=\radio\ value=\Registration\/td/tr; print trtdRegistration for Saturday Only (01-15-05 thru 01-31-05)/tdtd$70/tdtdinput name=\Conference\ type=\radio\ value=\Saturday Only\/td/tr; } ? Thanks, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development

Re: [PHP] Newbie, project..

2004-12-02 Thread Robert Sossomon
-yr project when they opted to outsource). -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General Mailing

[PHP] Parse error: parse error, expecting `']'' in

2004-12-01 Thread Robert Sossomon
is showing up on the $cart1 = ' line of code Any suggestions? Thanks, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL

[PHP] imagesx(): supplied argument is not a valid Image resource

2004-11-30 Thread Robert Sossomon
But I get this error: imagesx(): supplied argument is not a valid Image resource when I try to get the information from a file. anyone have a clue? Thanks, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C

[PHP] imagesx(): supplied argument is not a valid Image resource (CODE)

2004-11-30 Thread Robert Sossomon
]; // this creates the path name to the random file // $path becomes the path name (duh) for the file $path = $dir . $random; $width = imagesx($random)/4; $height = imagesy($random)/4; // this is set up as an img tag and will show a random image print img src=\$path\ height=\$height\ width=\$width\\n; ? -- Robert

Re: [PHP] imagesx(): supplied argument is not a valid Image resource (CODE)

2004-11-30 Thread Robert Sossomon
is not a valid Image resource in bC:\fourh\spotlight3.php/b on line b32/bbr / img src=images/youthtoday2.gif height=0 width=0 -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606

Re: [PHP] imagesx(): supplied argument is not a valid Image resource (CODE)

2004-11-30 Thread Robert Sossomon
!! -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Date handling

2004-11-16 Thread Robert Sossomon
SNIP ?php echo strtotime('1950-01-01'); ? I'm guessing Red Hat Enterprise or at least the kernel I'm using (which is the latest RH kernel) qualifies under the Linux category above. Also, with the application I'm writing, I need to deal with dates after 2038 too. So that is why I'm investigating

Re: [PHP] Re: Date Conversions?

2004-11-15 Thread Robert Sossomon
Matthew Weier O'Phinney is quoted as saying on 11/15/2004 3:01 PM: * Robert Sossomon [EMAIL PROTECTED]: SNIP http://php.net/strtotime Specifically, try the following: // $date is the date as pulled from the MySQL table $convertedDate = date(m-d-y, strtotime($date)); Here's what I wound up using

[PHP] Date Conversions?

2004-11-15 Thread Robert Sossomon
it. Any suggestions? Thanks, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] probably stupid, but...

2004-11-12 Thread Robert Sossomon
? or do I just need to write 20 if/else statements and separate inserts? Thanks, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919

Re: [PHP] probably stupid, but...

2004-11-12 Thread Robert Sossomon
as to what the new error message looks like. Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP

Re: [PHP] Re: probably stupid, but...

2004-11-12 Thread Robert Sossomon
. Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] HTML-PDF

2004-11-12 Thread Robert Sossomon
-- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] No luck creating dynamic images

2004-11-01 Thread Robert Sossomon
); $text_color = imagecolorallocate($im, 233, 14, 91); imagestring($im, 1, 5, 5, A Simple Text String, $text_color); imagepng($im); imagedestroy($im); ? -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State

Re: [PHP] Date Calculation

2004-10-29 Thread Robert Sossomon
= strtotime(now); $timed = ($after - $before); echo 'Time for script to execute: ' . $timed .' seconds'; ? Robert SNIP Mike Tuller is quoted as saying on 10/28/2004 5:19 PM: Ok, so here is what I have. Please check to see if there is a better way. There are a lot of database calls to me. /SNIP -- Robert

Re: [PHP] Upload problems

2004-10-06 Thread Robert Sossomon
Gearon wrote: Would you mind sharing what it was so that it hits the archives and a few 'enquiring minds'? it probably was the LimitRequestBody apache directive which is set to 512 Kb in some 'out of the box' installations. -- Robert Sossomon, Business and Technology Application Technician 4-H

Re: [PHP] Newsgroups Space

2004-10-06 Thread Robert Sossomon
Jay Blanchard is quoted as saying on 10/6/2004 4:49 PM: [snip] i know this isn't completely related to php but i am creating a web based news reader in php, how much disk space do you think i need to run my own local news server? [/snip] I'd go with a 1TB RAID Only 1TB?? -- PHP General Mailing

[PHP] Parse file and input into DB

2004-10-04 Thread Robert Sossomon
What I would like to do is upload a file and have PHP parse the file and dump the information into a MySQL database, putting the information into select tables. I believe I can do everything EXCEPT parse the page. Anyone have some insight (or direct links) to some examples on what to use to

Re: [PHP] Parse file and input into DB - More

2004-10-04 Thread Robert Sossomon
Whoops. I am planning to do an upload of HTML files that are written from Belarc Advisor or from another utility that checks your system and creates a profile. Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Website with a Instant Messenger

2004-09-28 Thread Robert Sossomon
start? [/snip] http://www.google.com -- Robert Sossomon, Webmaster and IT Guru 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

[PHP] Structure of Directories?

2004-09-27 Thread Robert Sossomon
to go around doing this so that it is dynamically created? Thanks, Robert -- Robert Sossomon, Webmaster and IT Guru 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General

RE: [PHP] multiple checkboxes

2004-08-03 Thread Robert Sossomon
You need to do: input type=checkbox name=checkBoxGroup1 value=first/ input type=checkbox name=checkBoxGroup2 value=second/ Keeping the name the same makes them a RADIO button and you will only get the last one. Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] multiple checkboxes

2004-08-03 Thread Robert Sossomon
Sorry, day late and a dollar short on that one... Never once thought about using an array, but after seeing John's and Curt's emails on it (when I realized I was NOT at the top of my emails) I saw how brilliant a solution that is... Robert -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Is there a brian I can pick?

2004-07-26 Thread Robert Sossomon
It looks like you need to reset the $state variables each loop through so that they are all empty, hence when you get to west virginia and wisconsin they are but empties behind them Heck, personally I'd just add another cell to the table and make it have the full name in, then just use that

RE: [PHP] URL

2004-07-21 Thread Robert Sossomon
SNIP -Original Message- From: Bruno Santos [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 11:05 AM To: [EMAIL PROTECTED] Subject: [PHP] URL Hello All. Im developing a couple of pages and i need to do some redirecting to another page depending on the choice of a user. /SNIP

[PHP] Log all GET AND POST?

2004-07-15 Thread Robert Sossomon
I was wondering if anyone knew of a way to log all GET and POST information being passed to a log file? Thanks, Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Dynamic to Static

2004-07-15 Thread Robert Sossomon
Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? I looked at doing it, wrote a single PHP-page that when I accessed would make static

[PHP] Pocket Excel files?

2004-07-07 Thread Robert Sossomon
Anyone know how to write pocket excel files and how to write the contacts file for pocket PC? I want to let my users download files straight to their pocket PCs without having to run a conversion process in the middle. Thanks, Robert -- PHP General Mailing List (http://www.php.net/) To

[PHP] Works in Mozilla, not in IE

2004-06-28 Thread Robert Sossomon
I have the script below from another source, and it works prefectly in Mozilla, however IE keeps wanting to save the PHP page and then barfs. Any ways to fix and make it work for both? TIA! Robert CODE ?php //Written by Dan Zarrella. Some additional tweaks provided by JP Honeywell //pear excel

RE: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Robert Sossomon
That just put me right back at the beginning, IE trying to DL the PHP page... I have php 4.2.2 installed at this moment as well... Robert -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 3:58 PM To: Robert Sossomon Cc: [EMAIL PROTECTED

RE: [PHP] Posting Data to MySQL

2004-06-24 Thread Robert Sossomon
I actually found the perfect answer to this task in Google Answers. First you will need to know how your database tables are set up, secondly you need to figure out field names and such, thirdly you grab the data from the form and dump it into an insert statement (or update if the information was

[PHP] Getting values?

2004-06-18 Thread Robert Sossomon
I have a form that uses -$i in it to create multiple write boxes for editing the information. It then passes that information to another script that read through and modifies the DB based on the information. I have this code in my parsing script and I know it is BC of the way I am accessing

RE: [PHP] Getting values?

2004-06-18 Thread Robert Sossomon
THANKS!! Worked like a charm. Robert -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 8:52 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Getting values? On Friday 18 June 2004 20:38, Robert Sossomon wrote: if ($_POST[comment-$i] != ) Put

[PHP] OT?? - calling frames within frames

2004-06-18 Thread Robert Sossomon
I have two frames (A and main) When I pull up one page it reloads main with the full page, however what I need the system to do when I click off that page is to jump to main.html and load item.html in the top. Main.html currently loads 2 other pages at the beginning. I have tried to jump them in

[PHP] in data

2004-06-18 Thread Robert Sossomon
I have data with something in it and when I pull that data and dump it into an HTML form I am losing everything that is after the first . Has anyone encountered this before, and have a way to patch it? TIA RObert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] in data

2004-06-18 Thread Robert Sossomon
I tried the addslashes on the pages and in combination of using quot; to bring in the data to begin with, it works somewhat, where I am running into a problem now is the 2nd time it pulls the data out (it adds it back in with ) I am getting the same errors. I have tried using the addslashes and

RE: [PHP] in data

2004-06-18 Thread Robert Sossomon
=10in. COMP.PLATE CONCORDE 4/125 Robert -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 2:58 PM To: Robert Sossomon; [EMAIL PROTECTED] Subject: RE: [PHP] in data [snip] I guess I need to figure out how to read my $_POST[data] and parse

[PHP] Excel files with multiple sheets

2004-06-15 Thread Robert Sossomon
I have been looking but have not found yet of a way to generate an excel file with multiple pages using a PHP page. I was hoping someone here might have hit on a multiple page document. I can do a single file, but was looking for something a little more powerful before I try to create my own.

[PHP] Load a frame and work on another?

2004-06-14 Thread Robert Sossomon
Here is a piece of my code in my PHP, I am trying to reload frame C with updated information and reload the current page into the current frame. Can someone tell me where I am going wrong? if (mysql_num_rows($get_query_res) 1){ //invalid id, send away header(script

[PHP] Erroring out?!

2004-06-14 Thread Robert Sossomon
I am trying to figure out why if there is an error in my query it throws an error message to the screen instead of parsing the rest of my script to get the rest of the information. I have error checking in my script and if there is no information I want it to process and do things. I run this: ?

RE: [PHP] Erroring out?!

2004-06-14 Thread Robert Sossomon
pages. Any thoughts? -Original Message- From: Robert Sossomon [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 2:44 PM To: PHP List Subject: [PHP] Erroring out?! I am trying to figure out why if there is an error in my query it throws an error message to the screen instead

[PHP] Load 2 Frames (possibly OT)

2004-06-14 Thread Robert Sossomon
I need to load 2 frames from within PHP, I just don't know how to do it. I have tried header calls, I've tried echoing out the javascript command, but I need a way to load the pages at one time. Layout: add List see You use list to add information, when things are added in add

RE: [PHP] php and CSS

2004-06-14 Thread Robert Sossomon
Bruno, Drop some code our way, it's just a guessing game for me without it. Robert -Original Message- From: Bruno Santos [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 3:28 PM To: [EMAIL PROTECTED] Subject: [PHP] php and CSS Hello all. Im deleloping some PHP pages for

RE: [PHP] php and CSS

2004-06-14 Thread Robert Sossomon
-Original Message- From: Bruno Santos [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 4:04 PM To: Robert Sossomon Cc: [EMAIL PROTECTED] Subject: Re: [PHP] php and CSS Robert Sossomon wrote: Bruno, Drop some code our way, it's just a guessing game for me without it. Robert

[PHP] Refresh a frame?

2004-06-09 Thread Robert Sossomon
I am in need of a way to reload a page within a frame as the other frames are used to modify the information. I have a 3-frame site now that I am using 1 frame as a list, another frame to add the information, and the 3rd frame to show the results of the 2nd frame. I know how to do the location:

[PHP] Re: Coloured rows

2004-06-05 Thread Robert Sossomon
Yeah, you have $number which is the total number of rows, right? so just change the if piece to actually count... $j = 0; while ($i = $number){ //first 8 rows done here if ($j = 8) { //print statement here $j++; $i++; } //this piece does the next 8 rows else { //other print statement

Re: [PHP] Bulk table updates

2004-06-04 Thread Robert Sossomon
. Hopefully this will work, or lead you in the right direction. -Original Message- From: Robert Sossomon [EMAIL PROTECTED] Sent: Jun 3, 2004 6:23 PM To: [EMAIL PROTECTED] Subject: [PHP] Bulk table updates I am looking for a tutorial or a already created class or file that I can use

Re: [PHP] select from db

2004-06-04 Thread Robert Sossomon
!SNIP table name 'Selections' (rows) RoundGameName Winner Points data eg 1 1mark Hawthorn 4 (if team is a winner then 4 points added) 1 2mark Geelong 0 ! End Snip

RE: [PHP] MySQL PHP

2004-06-04 Thread Robert Sossomon
Run: rpm -q php-mysql From the command line as root and see if it is there, if not go out and download the fedora rpm with that in the title, since that would be the missing piece. HTH, Robert -Original Message- From: Nunners [mailto:[EMAIL PROTECTED] Sent: Friday, June 04, 2004 8:07

[PHP] Bulk table updates

2004-06-03 Thread Robert Sossomon
I am looking for a tutorial or a already created class or file that I can use to learn how to create a form that is populated from a database table that can be edited in every row and column and takes only 1 SAVE button to upload all the changes. Thanks, Robert -- PHP General Mailing List

RE: [PHP] a passion to perform ;)

2004-05-13 Thread Robert Sossomon
I still stick with the old rule: If it takes more then 2 seconds to load anything, 5 seconds to do a complete page with lots of images on dial-up then you have to go back to the drawing board. 2-5 seconds has always been your window to get a page to load and keep the visitor. On top of that stay

[PHP] Max file size for uploads?

2004-05-12 Thread Robert Sossomon
I have an upload script that I am trying to allow for 725MB, I have written the script to handle files of that size, and I modified the upload_max_filesize = 730M I tried uploading a 15MB file and it blew up (current error message is not in my brain). Is there a true max size or do I just have

RE: [PHP] Max file size for uploads?

2004-05-12 Thread Robert Sossomon
I get this error message now in my httpd error log: [Wed May 12 10:07:01 2004] [error] [client 66.43.177.38] Requested content-length of 69888498 is larger than the configured limit of 524288, referer: http://dinghy.homeip.net/upload.php Any thoughts? TIA! Robert -Original Message-

[PHP] FIXED: Max file size for uploads?

2004-05-12 Thread Robert Sossomon
It's fixed now.. If using Apache on RedHat here is everything to fix at once: FIRST AND FOREMOST DECIDE THE MAX SIZE YOU WANT IN MB, ADD A COUPLE MORE TO IT, AND THEN CONVERT TO BYTES (MB * 1024 * 1024) 1. httpd/conf.d/php.conf LimitRequestBody ?? #byte size you calculated

[PHP] Remove white space?

2004-04-22 Thread Robert Sossomon
I am pulling data from a MySQL DB and I need to remove the whitespace on the variable and turn it to lowercase. ! Code Snippet $get_items = select * from PFS_items; $get_items_res = mysql_query($get_items) or die(mysql_error()); while ($items = mysql_fetch_array($get_items_res)) { $item_id =

[PHP] Adding includes to files

2004-04-22 Thread Robert Sossomon
I need to add PHP calls to include a file to each page as it is generated, the only thing is I can't get the includes to come through correctly: ! Code $display_block .= ?php include(\nav/top_nav.html\); ?; $display_block .= ?php include(\nav/side_nav.html\); ?; ! End Code At the end of

RE: [PHP] Adding includes to files

2004-04-22 Thread Robert Sossomon
Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 11:33 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Adding includes to files From: Robert Sossomon [EMAIL PROTECTED] I need to add PHP calls to include a file to each page

RE: [PHP] Adding includes to files

2004-04-22 Thread Robert Sossomon
the right files. It's on track and working all neat and tidy now. Thanks for the help guys! I still feel like a doofus though... Robert -Original Message- From: Richard Harb [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 11:46 AM To: Robert Sossomon Cc: [EMAIL PROTECTED

[PHP] Include Files Solution

2004-04-22 Thread Robert Sossomon
Here's the solution I came up with that works for the site: code snippet $display_block .= ?php\n; $display_block .= \n include(\../nav/top_nav.html\);; $display_block .= \n; $display_block .= include(\../nav/side_nav.html\);; $display_block .= \n?; end code snippet I am only

[PHP] What's wrong with this IF statement?

2004-04-22 Thread Robert Sossomon
My IF statement should be picking up on the numbers, and if the number matches not be displaying out the information, however I look at the outputted page and the information is still there, what have I got wrong on the code? CODE SNIPPET //Show categories first $get_cats = select id_num,

Re: [PHP] creating log files out of a delete statement

2004-04-11 Thread Robert Sossomon
How are you passing the name through?? If using a form to do it then just use the $_POST[name] or $_GET[name] in the logfile. You have to have the name pull in the previous page, just pass it through: input type=hidden name=delete_record_name value=selection_1 or: a

[PHP] PDF Creating

2004-03-17 Thread Robert Sossomon
I'm looking into this and getting all my ducks in a row before I get buried here, but I'm hoping you guys might have the answers since so far my search has been fruitless. I have the PDF librarys from FPDF and from Potential Tech, I have not decided which one to use yet. If you follow this and

RE: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Robert Sossomon
Just place ?php include box_info.php; ? In your web page in the location where the little box is. Word wrap typically only happens with images though, so you may have to turn your text into an image, in which case you could just use a javascript commands to change the image as needed. If you

RE: [PHP] PHP, Excel, and tab delimited files question

2004-02-09 Thread Robert Sossomon
It may wind up being a user-learning issue. I dump things to pipe delimited file (whether in *nix land or winDoze) and that way the users can open it in Excel. The ones who have to open the files I just go to their desks the first time and show them how to open the file, delimit it on the | and

[PHP] OT - Pocket PC/PALM Application making/syncing?

2004-02-09 Thread Robert Sossomon
I know this is way off topic, but I figured some or most have hit upon this problem, or may very well in the future. I have been looking for and not really found a reference online or a hardcopy book that will tell me how to write a PALM or winDoze pocket PC application that when I sync it to the

RE: [PHP] New lines

2004-02-03 Thread Robert Sossomon
There was a wong answer and then there is the right answer: $fp = fopen($file,r); while (!feof($fp)) { $line = fgets($fp, 4096); //gets one line at a time echo $line; // Or whatever else you want to do } fclose($fp); HTH. Robert -- PHP General Mailing List

RE: [PHP] New lines

2004-02-03 Thread Robert Sossomon
A LOT of this is pure speculation though, which is why I sent the one I did. Since with it he can patch whatever data he gets from $line into his code wherever he needs it, whether he flat file is pure text or some HTML or if the output is going to be a drop-down list (nl2br wouldn't work in this

RE: [PHP] Logging on to a web based application

2004-01-30 Thread Robert Sossomon
I use a DB table to manage my users, I do not have to worry about locking it down to one user, however one thought is to track the user into a temporary DB, if the user name is there and the sessionID does NOT match the one in the DB, then the user is not granted permission to access the programs.

RE: [PHP] Logging on to a web based application

2004-01-30 Thread Robert Sossomon
Yuck!! I personally turned off flash in all of my browsers and cut it out of the systems in the office. It's a resource hog, it's a pain in the buttocks on a page, and now sites are using it for ads. So on top of having most registered ad servers blocked via hosts file I run pop-up killers on

RE: [PHP] Re: how to open a webpage

2004-01-12 Thread Robert Sossomon
Output this to a new file each time and then use a blind page refresh via $output = script function openpopup(){ var popurl=\$launch\ winpops=window.open(popurl,\\,\width=400,height=338,toolbar,location, directories,status,scrollbars,menubar,resizable,\) } openpopup() /script ;

[PHP] Authentication

2003-12-16 Thread Robert Sossomon
I currently use a .htaccess file for users to login, and now I need to make some changes to how the site works. I need to be able to have the users login, and once that is done the login needs to be used to pass through the database. And to pull files from a directory as nobody seems to listen

RE: [PHP] Authentication

2003-12-16 Thread Robert Sossomon
Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 11:53 AM To: Robert Sossomon; [EMAIL PROTECTED] Subject: Re: [PHP] Authentication --- Robert Sossomon [EMAIL PROTECTED] wrote: I currently use a .htaccess file for users to login, and now I need

RE: [PHP] Authentication

2003-12-16 Thread Robert Sossomon
Duh, OK, Now I REALLY feel stupid. With the current setup using the .htaccess files and everything I have in place all I needed to do was get the information from: $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']. I kept thinking I had to use PHP to set those values. Thanks guys!! Works

RE: [PHP] DB / Tables Question

2003-12-04 Thread Robert Sossomon
Personally, as a design practice I would make the 2 tables in their own separate database. This would allow it to port anywhere, even a new server you bring online and shift everything to. I have been working on a catalog/quote system for our salesmen to use and have given it to a sister

[PHP] Sessions, ending and starting new with just a click

2003-12-03 Thread Robert Sossomon
Hey guys and gals, I am working on a shopping cart and using some code to write it from 2 temp databases to a full end databases (which will then be used via PERL to send to an archaic order system) but right now I need to come up with a way to clear their current session ID after finalizing the

[PHP] Changing case

2003-11-12 Thread Robert Sossomon
I have a form that allows for an item to be entered, the other pieces have been fixed so far that were bogging me down, but now I am looking for a way to convert any entry in the form to be UPPER case so that when the quote is listed, they are alphabetical. The problem is if someone enters

[PHP] RE: [PHP-DB] keyword searching

2003-11-12 Thread Robert Sossomon
Explode the kewords list. I have mine explode the keyword and search the description field. It CAN limit it by category AND/OR by Vendor. But this will do the trick without the limiters. $keyword = $_POST[keyword]; $keywords = explode( , $keyword); // so you can search for each word they enter

[PHP] Adding a log file

2003-11-05 Thread Robert Sossomon
I am seeing some errors with a program I wrote and I need to write everything to a log file that the program is doing. The following syntax I KNOW is wrong, but not sure they are important to put here correctly yet. //script addtocart $Addcart (info1, info2) Mysqlquey($addcart) I am seeing

RE: [PHP] Re: Adding a log file

2003-11-05 Thread Robert Sossomon
a log file $Addcart() -- is Addcart() a function (in which case you should remove the dollar sign) or are you specifically trying to do some magic there by running a function whose name is stored in that variable? Bogdan Robert Sossomon wrote: I am seeing some errors with a program I wrote

[PHP] Search and POST and keywords

2003-11-03 Thread Robert Sossomon
I have been modifying the quote system I have been writing like mad and have hit another brick wall of sorts. I am trying to do a couple of things... The search is now up and running on just a DESCRIPTION field. Anything else at this point is unwieldy. It works perfectly however I am trying to

  1   2   >