[PHP] Modifying data in forms with values

2005-09-13 Thread Robert Sossomon
0+ 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, Bus

Re: [PHP] Automatically generated emails

2005-08-29 Thread Robert Sossomon
so if the mail server is set correctly 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=mozclient&ie=utf-8&oe=utf-8&

[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
locking the best option here or is/are there better ways? Please advise. -- Roger --- Sign Up for free Email at http://ureg.home.net.my/ --- -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Departm

Re: [PHP] Re: Working with 3 arrays

2005-03-10 Thread Robert Sossomon
$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

[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

[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

Re: [PHP] Prevent browser back...

2005-02-09 Thread Robert Sossomon
p to see where a hit 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 Sos

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: SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 760217600 You will need to set your upload limit higher in this file for it to work correctly. Robert -- Robert Sossomon, Business and

[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] Search engine

2005-01-20 Thread Robert Sossomon
WARNING:This email contained partisan views - dont ever accuse me of using the veneer 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 Techn

[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

[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] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread Robert Sossomon
ne29 $0506distoffice= $_POST['05_06_dist_office']; $former= $_POST[former]; $achieve= $_POST[achieve]; ?> 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

[PHP] Making variables with an iteration? STILL

2004-12-06 Thread Robert Sossomon
s in the iterations, but I can't place my finger on where I need to change things up. -- 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/51

[PHP] Making variables with an iteration?

2004-12-06 Thread Robert Sossomon
ve 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? for ($j=1, $j<5, $j++) { $choices.$j= $_POST['choice'.$i]; } Thanks, Ro

Re: [PHP] Making variables with an iteration?

2004-12-06 Thread Robert Sossomon
Parse error: parse error, expecting `';'' coded: -- 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 PR

Re: [PHP] Newbie, project..

2004-12-02 Thread Robert Sossomon
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] Working with Dates

2004-12-02 Thread Robert Sossomon
ru 01-14-05)$65"; } else if ($today >= "01-15-05" || $today <= "01-31-05") { print "Registration (01-15-05 thru 01-31-05)$95"; print "Registration for Saturday Only (01-15-05 thru 01-31-05)$70"; } ?> Thanks, Robert -- Robert Sossomon, Business and T

[PHP] Cleaner way to do this?

2004-12-02 Thread Robert Sossomon
"submit" key? I've been trying different 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

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 Unfortunately?? I knew exactly where the code was breaking (the lines I posted) since before I added those lines of code the script worked witho

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

2004-12-01 Thread Robert Sossomon
POST[Attend_7_7]','$_POST[Attend_8_7]','$_POST[Attend_9_7]','$_POST[Attend_10_7]','$_POST[Attend_1_8]','$_POST[Attend_2_8]','$_POST[Attend_3_8]','$_POST[Attend_4_8]','$_POST[Attend_5_8]','$_POST[Attend_6_8]'

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

2004-11-30 Thread Robert Sossomon
works!! -- 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] imagesx(): supplied argument is not a valid Image resource (CODE)

2004-11-30 Thread Robert Sossomon
resource in < b>C:\fourh\spotlight3.php on line 32 -- 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

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

2004-11-30 Thread Robert Sossomon
and will show a random image print "\n"; ?> -- 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

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

2004-11-30 Thread Robert Sossomon
: 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. State University Raleigh

Re: [PHP] Date handling

2004-11-16 Thread Robert Sossomon
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 alternatives - just because I'd like some

[PHP] Date Conversions?

2004-11-15 Thread Robert Sossomon
ed 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

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]>: 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&#x

Re: [PHP] HTML->PDF

2004-11-12 Thread Robert Sossomon
"; $out_url = "/saved_quotes/$user-$num$time.pdf"; $tempfile = fopen($tempfilename,'w'); fwrite($tempfile, $html); fclose($tempfile); $last_line = system("/usr/local/bin/html2ps $tempfilename > $outps", $retval); $last_line = system("/usr/bin/ps2pdf $outp

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

2004-11-12 Thread Robert Sossomon
ould have had this done already doing it one line @ a time, however I want to be able to change either form at any time and have only 2 pieces of code to change. Thanks for the help so far guys. Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development De

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

2004-11-12 Thread Robert Sossomon
ith me 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] probably stupid, but...

2004-11-12 Thread Robert Sossomon
parse error, unexpected T_VARIABLE, expecting ']' in /home/public/html/depts/fourh/curriculum_form_post.php on line 19 - How can I go about iterating through the script? or do I just need to write 20 if/else statements and separate inserts? Thanks, Robert -- Robert S

Re: [PHP] No luck creating dynamic images

2004-11-01 Thread Robert Sossomon
no errors reported. Also ran phpinfo(); (as suggested by Jay Blanchard) which worked without problem. The settings under GD were all enabled for the common image types. Anybody see any glaring errors in the following? Here's the html: And here's the php: -- Rober

Re: [PHP] Date Calculation

2004-10-29 Thread Robert Sossomon
ter = strtotime("now"); $timed = ($after - $before); echo 'Time for script to execute: ' . $timed .' seconds'; ?> Robert 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

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 L

Re: [PHP] Upload problems

2004-10-06 Thread Robert Sossomon
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 Technic

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

[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 do

Re: [PHP] Website with a Instant Messenger

2004-09-28 Thread Robert Sossomon
TED] [snip] Where can I 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 Lis

[PHP] Structure of Directories?

2004-09-27 Thread Robert Sossomon
x27;s the BEST way 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 PRO

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 un

RE: [PHP] multiple checkboxes

2004-08-03 Thread Robert Sossomon
You need to do: 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: http://www.php.net/unsub.php

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 column

RE: [PHP] URL

2004-07-21 Thread Robert Sossomon
-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. Since you a

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 stati

[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

[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 unsubscr

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] Works in Mozilla, not in IE

2004-06-28 Thread Robert Sossomon
That just made IE put it out in "data" style, Excel didn't open up. :( Any other thoughts? -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 2:47 PM To: Robert Sossomon Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Works in Moz

[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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

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 i

RE: [PHP] " in data

2004-06-18 Thread Robert Sossomon
document: value="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 fi

RE: [PHP] " in data

2004-06-18 Thread Robert Sossomon
I tried the "addslashes" on the pages and in combination of using " 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 w

[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: http:

[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

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] != "

[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 data,

[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. No

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

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 school

[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] Erroring out?!

2004-06-14 Thread Robert Sossomon
cript load 2 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

[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: pa

[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("parent.C.location.href = \"show.html

[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: U

[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 statemen

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 A

Re: [PHP] select from db

2004-06-03 Thread Robert Sossomon
> 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 > Assuming y

Re: [PHP] Bulk table updates

2004-06-03 Thread Robert Sossomon
t; if (isset ($submit)) { > $query = "INSERT INTO . . . "; > $query_result = @mysql_query ($query); > } > > If the form is submitted, then the values in all the form fields > (including any changes) will go into the database. If it's not submitted, > the c

[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 (http:

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] 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 2.

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- Fro

[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 so

[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? //Show categories first $get_cats = "select id_num, id_name, descriptio

[PHP] Include Files Solution

2004-04-22 Thread Robert Sossomon
Here's the solution I came up with that works for the site: $display_block .= ""; I am only using the PHP parser once instead of twice, the \n makes the whole thing nicely readable in the HTML source files that are generated, and the paths were modified (and the navigation templates were as

RE: [PHP] Adding includes to files

2004-04-22 Thread Robert Sossomon
x27;t find 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: [

RE: [PHP] Adding includes to files

2004-04-22 Thread Robert Sossomon
ECTED] 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 as it is > generated, the only thing is I can't get the includes to come through > correctly: > > >

[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: $display_block .= ""; $display_block .= ""; At the end of the generation I write $display_block to a file as $display_block holds all the data i

[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. $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 = $items[id]; $i

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: or: got it will try that instead.. > > - Original Message - > From: "John W. Holmes"

[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 th

RE: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Robert Sossomon
Just place 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 are including the text into a

[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] 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 t

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] 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 (http://www.php.n

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 ev

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] 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 = " function openpopup(){ var popurl=\"$launch\" winpops=window.open(popurl,\"\",\"width=400,height=338,toolbar,location, directories,status,scrollbars,menubar,resizable,\") } openpopup() "; if($file=fopen($pop.h

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 lik

RE: [PHP] Authentication

2003-12-16 Thread Robert Sossomon
statement ~~~ -Original 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

[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 wh

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 corporat

[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 o

[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] 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 aa-12

RE: [PHP] Re: Adding a log file

2003-11-05 Thread Robert Sossomon
; 301; $i++){ $display_block .= "$i"; } $display_block .= " ~~~ A bachelor can only chase a girl until she catches him. -Original Message- Fro

[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 random

  1   2   >