Re: [PHP] If you ever had a Vic20

2003-08-15 Thread Matt Babineau
mysql_num_rows($news) On Fri, 2003-08-15 at 17:42, John Taylor-Johnston wrote: OK, I tried this, but am getting this error: Warning: Wrong parameter count for mysql_num_rows() in /.../testals.php on line 189 189 if (mysql_num_rows() == 1) What's up? John $myconnection =

RE: [PHP] Unzipping Files

2003-08-14 Thread Matt Palermo
familiar with this subject. Matt -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 11:45 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Unzipping Files On Wednesday 06 August 2003 10:19, Matt Palermo wrote: Yeah, I know someone mentioned using

Re: [PHP] OT - my apologies

2003-08-14 Thread Matt Babineau
No problems :-) It sounds like Outlook was working like a charm? On Wed, 2003-08-13 at 13:48, [EMAIL PROTECTED] wrote: Aloha all, I just wanted to apologize for some of the Out of Office alerts some of you may have gotten from me yesterday. I had thought I had disabled the function, but it

Re: [PHP] Reading remote, script-generated files

2003-08-14 Thread Matt Daleo
Matt Daleo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Analysis Solutions [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey Matt: On Tue, Aug 12, 2003 at 10:07:10AM -0700, Matt Daleo wrote: I'm attempting to read a remote file and parse it for data

[PHP] Extracting Compressed Files

2003-08-14 Thread Matt Palermo
Does anyone know of easy ways to be able to extract all files/folders/subfolders from different types of compressed files (.zip, .tar.gz, etc.)? If anyone could help me out with this, I would really appreciate it. Thanks, Matt

RE: [PHP] Correct Coding

2003-08-14 Thread Matt Schroebel
Roger B.A. Klorese wrote: if (Add == $Task) I call that 'defensive programming', defending yourself from yourself! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help with email problem

2003-08-14 Thread Matt Giddings
this PHP list due to that fact! Matt --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] LAMP

2003-08-14 Thread Matt Babineau
I have RH9, Apache 2.0.47 running in SAPI compiled with apxs2, PHP 4.3.2, and MySQL 4.0.14-standard I compiled all of these as doing it the rpm was too annoying. On Tue, 2003-08-12 at 14:54, Rankin, Randy wrote: I am setting up a new Redhat Linux 9 box for use as a non-production test server.

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Matt Babineau
Take a look at cURL: http://www.php.net/manual/en/ref.curl.php On Tue, 2003-08-12 at 20:13, Dan Anderson wrote: I have noticed that sometimes I cannot fopen($web_address,'r') or use any similar files if the web address contains a form get in it. (i.e. ends in a ?var1=xxxvar2=xxx...). I was

[PHP] How to Authenitcate using PHP (RH9, PHP 4.3.2, MySQL 4)

2003-08-14 Thread Matt Babineau
been put in place but which one might be the best? Opinions? Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reading remote, script-generated files

2003-08-14 Thread Matt Daleo
I'm attempting to read a remote file and parse it for data. The problem I've having is that the file seems to be generated by Perl (http://alert.dot.pima.gov/scripts/1brpssd.pl) and when I read it the script-generated portion is not available. When I view the page with a browser it is displayed

[PHP] LAMP I need a good tutorial on how to install and configure GD2

2003-08-14 Thread Matt Babineau
Anyone have a good place to help with this... Google was seeming a bit light on good help. I tried to get it going but there seemed to be some dependant libraries tha tI could not build myself, they were erroring out..blah blah. Is there any easier way to do this? Thanks, Matt -- PHP General

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Matt Babineau
Yeah, I believe on Apache/Linux, it needs to be compiled in, and on windows there is just some configuration and file moving to do. cURL will do what you need it to, there is even code on the PHP site for making the POST happen. Matt On Tue, 2003-08-12 at 20:27, Dan Anderson wrote: Doesn't

RE: [PHP] string concatenation from array

2003-08-14 Thread Matt Giddings
Use the . concatenation operator. : ) $wresult = ; foreach ($search_string as $word_result) { $wresult = $wresult . . $word_result; } echo $wresult; Matt -Original Message- From: Micah Montoy [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 3:58 PM To: [EMAIL

Re: [PHP] Reading remote, script-generated files

2003-08-14 Thread Matt Daleo
Analysis Solutions [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey Matt: On Tue, Aug 12, 2003 at 10:07:10AM -0700, Matt Daleo wrote: I'm attempting to read a remote file and parse it for data. The problem I've having is that the file seems to be generated by Perl (http

RE: [PHP] Unzipping Files

2003-08-14 Thread Matt Palermo
I am doing this for a client, and he doesn't have the ZZIPlib installed, and would like to avoid it if possible. Any other ideas? Thanks, Matt -Original Message- From: Adam Alkins [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 8:24 PM To: Matt Palermo Cc: [EMAIL PROTECTED

[PHP] Unzipping Files

2003-08-14 Thread Matt Palermo
, and other types of compressed files using a PHP script. Let me know if you can help. Thanks, Matt

[PHP] Persistent connection extension not freeing connections until serveris restarted

2003-08-11 Thread Matt Anderson
/viewcvs.cgi/evopvr/evopvrd/src/evophp/php_evopvr.c?rev=1.8content-type=text/vnd.viewcvs-markup is my module source in CVS. Appreciate any help or feedback, Thanks Matt Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Unzipping Files

2003-08-10 Thread Matt Palermo
Yeah, I know someone mentioned using the exec for this, but I was wondering if anyone knew where I could find the command-line code for this to use in PHP... Anyone know? Thanks, Matt -Original Message- From: Mike Migurski [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 8:53

RE: [PHP] Best PHP CMS

2003-08-09 Thread Matt Schroebel
-Original Message- From: Anthony [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9:52 AM To: [EMAIL PROTECTED] Subject: [PHP] Best PHP CMS I'm just looking for some opinions. I've been going though sourceforge looking at different CMS systems. There are a lot of

RE: [PHP] Extracting Compressed Files

2003-08-08 Thread Matt Palermo
Do you happen to know where I can find some examples or sample code for these? The exec function on php.net didn't go into much detail about extraction from compressed files. Anyone know of any good references? Thanks, Matt -Original Message- From: Jason Sheets [mailto:[EMAIL

[PHP] weird php error

2003-08-01 Thread Matt Giddings
: Failed opening '/var/www/main/htdocs/login.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0 Any clues? I can send a copy of the script if anybody would like. Also, this is running on a Debian/Apache system with PHP version 4.2.3. Thanks, Matt --- Outgoing mail

RE: [PHP] weird php error

2003-08-01 Thread Matt Giddings
David, This is what my php.ini file looks like and I don't seem to have any .htaccess files. Could it be something in the httpd.conf file thats pointing to an invalid file/directory? ; Automatically add files before or after any PHP document. auto_prepend_file = auto_append_file = Matt

RE: [PHP] weird php error

2003-08-01 Thread Matt Giddings
Haven't found anything yet. The login.php file is the one I'm trying to view when I get that error. I have a second file info.php that works fine, but all it contains is ?php phpinfo(); ?. So I know apache/php is working, I just don't know why it isn't working with my login script. Matt

RE: [PHP] weird php error

2003-08-01 Thread Matt Giddings
Duh, I figured it out. I had the permissions screwed up on the file. Thanks for your help and sorry for bothering everybody else with my ignorance. Matt -Original Message- From: Matt Giddings [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 11:25 PM To: 'Jim Lucas'; 'David

[PHP] Right Click Hyperlink

2003-07-31 Thread Matt Palermo
of anything that can do this? Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include help please

2003-07-31 Thread Matt Matijevich
snip INDEX.PHP ?php require 'files.inc.php'; $page = '$home'; include '$page'; ? the problem must be when i am trying to include the $page variable /snip get rid of the ' around the variable. $page = something.php; include $page; -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP Hosting (somewhat OT)

2003-07-31 Thread Matt Giddings
Hello, I'm currently looking at http://www.phpwebhosting.com/ to move a medium size site to. Has anyone had any experience with them, could you pass any comments about their service on to me? Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: include help please

2003-07-31 Thread Matt Matijevich
I think you want ?php $home = 'home.html'; $forum = 'forum/index.php'; $contact = 'contact.html'; include $contact; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using $PHP_SELF

2003-07-31 Thread Matt Matijevich
try $_SERVER[PHP_SELF] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: include help please

2003-07-31 Thread Matt Matijevich
snip is there anyway where i can check if page is defined in the url? /snip not sure I know exactly what you mean but I think you could use something like this $foo = @include(index.php); if ($foo) { //index.php was valid } else { //index.php was not valid } there also might be a better way

RE: [PHP] Using link to submit a form

2003-07-30 Thread Matt Palermo
a // button like this, you can also do this... echo input type=\submit\ value=\Rename Files\ name=\RenameButton\ onclick=\javascript:LetsSubmit('any_page.php');\ ; I spent a while trying to figure this one out myself, so I hope this helps you. Matt = Original Message From Tyler

Re: [PHP] learning php - problem already

2003-07-29 Thread Matt Matijevich
snip I do understand for loops and while loops but this is a bit confusing...do you haev any links I can read up on these? /snip http://www.php.net/manual/en/ has all the info you need -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Link acting as a submit button

2003-07-25 Thread Matt Palermo
I have tried this method as well, but I still seem to get the same error. I have the form tag put in there and everything, with this bit of script inside the tags, but still no luck. Is there an easier way to accomplish what I want to do? Please let me know if there is. Thanks. Matt

RE: [PHP] Link acting as a submit button

2003-07-25 Thread Matt Palermo
I just remembered (I'm not sure if it makes a difference) that I am using frames on this page. Does this matter at all? Thanks. Matt = Original Message From Matt Palermo [EMAIL PROTECTED] = Fixing the javascript that you specified still gave me the same errors... Got any more

RE: [PHP] Link acting as a submit button

2003-07-25 Thread Matt Palermo
into a link instead? Thanks, Matt = Original Message From Comex [EMAIL PROTECTED] = [EMAIL PROTECTED] Matt Palermo: I just remembered (I'm not sure if it makes a difference) that I am using frames on this page. Does this matter at all? Thanks. Matt No, it doesn't... well

RE: [PHP] Link acting as a submit button

2003-07-25 Thread Matt Palermo
I found out that it works fine without the submit button that I had in there. When I take the submit button out, it works, if I put it back in there I get the error message again. Any ideas? Matt = Original Message From [EMAIL PROTECTED] = On Fri, 2003-07-25 at 05:30, Matt Palermo

RE: [PHP] Link acting as a submit button

2003-07-25 Thread Matt Palermo
Okay, I got it to work. I just put the id parameter in the submit button tag and it works fine now. Thanks for all your help guys... = Original Message From [EMAIL PROTECTED] = Why do you have a submit button and a link to submit the form. Dont u want them to use the submit button for

[PHP] PHP Webpage like MySql- need to be able to see all fields and edit

2003-07-24 Thread Matt Hedges
a script that shows all the rows and columns and allows someone to go in and change whatever field they want. Any help greatly appreciated, Hedges -- ___ | Matt Hedges | http://hedgesinnovations.com | -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] PHP webpage like MySQL, PART 2

2003-07-24 Thread Matt Hedges
td align='center'input type='text' name='MarriedName' size='20' maxlength='20' value='$MarriedName' /td /tr trtd/tdtd align='center' brinput type='submit' value='Update Sister'/td /tr /table /form; ? /body /html Thank you. Matt

[PHP] Link acting as a submit button

2003-07-24 Thread Matt Palermo
: Object doesn't support this property or method. Code: 0 Like I said before, this code works perfectly fine if I have it an html document. Anyone got any ideas? Thanks, Matt

RE: [PHP] Link acting as a submit button

2003-07-24 Thread Matt Palermo
Fixing the javascript that you specified still gave me the same errors... Got any more suggestions? Thanks for your help, Matt -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 6:40 PM To: Matt Palermo Subject: Re: [PHP] Link acting as a submit

[PHP] PHP CMS for high load

2003-07-23 Thread Matt Schroebel
Is anyone using a php/mysql/apache CMS (either custom or open source) that is performing well serving on the order of 1 million page views a month with 2600+ items of content? If so, I'd like to know what your using and a description of your server setup, such as if the backend runs on a

[PHP] replacing everything between 2 strings

2003-07-21 Thread Matt Palermo
it keeps the two end points but just replaces everything in the middle with a new specified string. Please help me if you can. Thanks. Matt

RE: [PHP] replacing everything between 2 strings

2003-07-21 Thread Matt Palermo
That doesn't really help much... I think you just replied to the wrong post. That answer really doesn't have anything to do with my question, I don't think... Thanks anyway. Matt -Original Message- From: Daryl Meese [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 8:09 PM

Re: [PHP] Multidimensional arrays

2003-07-18 Thread Matt Matijevich
snip select id, name from customer redim custarray(recordcount,2) i = 0 while not eof custarray(i,0) = id; custarray(i,1) = name; i = i+1; movenext wend /snip Not sure what kind of db you are using but I put this together using postgresql using the manual. So this is untested.

[PHP] Problem adding value to session array

2003-07-17 Thread Matt Palermo
: .$sessionArray[1];// result: nospace // This doesn't work $sessionArray[1] = with space; echo result: .$sessionArray[1];// result: with // should be result: with space Anyone know how to fix or avoid this from happening? Thanks, Matt -- PHP General

Re: [PHP] back button and session variables

2003-07-17 Thread Matt Matijevich
snip To make matters more confusing the problem occurs on Windows machines but does not occur on Macintoshes /snip Could you give me a little more info about what is happening? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array key names - can they be called as strings?

2003-07-17 Thread Matt Matijevich
snip The question is the - the assigned string key - is there a way to retrieve that in a loop? Foreach, for, while or otherwise? /snip I think this is what you want. http://www.php.net/manual/en/control-structures.foreach.php foreach(array_expression as $value) statement

[PHP] Input Submi Help

2003-07-17 Thread Matt Palermo
. Is this possible to have 2 buttons going to 2 different places, but using the same data for all other form elements? I would really appreciate any help I can get. Thanks. Matt

Re: [PHP] Re: Object can not be used after a session

2003-07-16 Thread Matt Silva
() function it automatically serializes but again I'd like to avoid that. Right now it seems I have many unkowns, so i'm going to narrow them down Matt Mike Migurski wrote: $customer = new Customer($_GET['facilityID'], $_GET['customerID']); $_SESSION['acceptPayment']['serializedCustomer

Re: [PHP] Re: Object can not be used after a session

2003-07-16 Thread Matt Silva
the __sleep() and __wakeup functions and then serializing/unserializing within those functions? so far manually serialize-ing and unserialize-ing prior to assigning the object and after retrieving the object seems to work. Matt Mike Migurski wrote: Wow thats strange?? I am using PHP 4.3.2

[PHP] Object can not be used after a session

2003-07-15 Thread Matt Silva
my head in confusion. I require_once the Customer class and start the session after the requires and includes, so then I thought ok require_once so I change it to require and then it doesn't load the class the for some reason (sigh). Thanks for your help in advance Matt -- PHP General Mailing

[PHP] Insert leading zeros

2003-07-15 Thread Matt Palermo
that will force the incremented value to be exactly 4 digits no matter what number it increments? Please let me know if there is a function that will insert these leading zeros or truncate it to 4 digits if necessary. Thanks. Matt

RE: [PHP] Insert leading zeros

2003-07-15 Thread Matt Palermo
Thanks a lot. It works like a charm! -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 8:45 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Insert leading zeros Matt Palermo [EMAIL PROTECTED] wrote: I have a string of digits that looks like

[PHP] Re: Object can not be used after a session

2003-07-15 Thread Matt Silva
']['serializedCustomer']); and now you can access the object. There is a hidden jewl about this method, I now no longer have to include or require the class file because it is already defined in the serialized string. Matt Matt Silva wrote: Hi I was wondering if anybody has any Ideas about or has

[PHP] Sessions and objects

2003-07-14 Thread Matt Silva
the session after the requires and includes, so then I thought ok require_once so I change it to require and then it doesn't load the class the for some reasone (sigh). Any Ideas? Thanks for your help in advance Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Long lines

2003-07-11 Thread Matt Matijevich
snip can you tell me How can I set a line break in longs line of my code?. /snip I think you want to use \n -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] So in summary this can't be done due to permission problems?

2003-07-11 Thread Matt Schroebel
-Why the concern about letting that user have execute permissions, and then prevent anyone (except those that have valid reasons) from having write/execute permission to the webroot. The permissions are Read, Write, and Execute. Read and Write are self explanatory (for directories Write means

[PHP] Re: Using DOMXML with homogenous elements

2003-07-11 Thread Matt Grimm
And nevermind, problem solved in another thread. -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508 907.770.6200 ext. 686 907.336.6205 (fax) E-mail: [EMAIL PROTECTED] Web: www.healthtvchannel.org Matt Grimm [EMAIL

[PHP] Get previous folder

2003-07-10 Thread Matt Palermo
out? I appreciate it. Thanks. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Object assignment

2003-07-10 Thread Matt Grimm
source is here: http://www.healthtvchannel.org/test/php2xml.phps -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508 907.770.6200 ext. 686 907.336.6205 (fax) E-mail: [EMAIL PROTECTED] Web: www.healthtvchannel.org Tom Rogers

Re: Re[2]: [PHP] Object assignment

2003-07-10 Thread Matt Grimm
Interesting -- the clone_node() function does make certain that each element gets its own representation in the output, for any XML I tested. I guess then my problem lies with how I'm looping through the aforementioned array structure to get the values themselves. Thanks, -- Matt Grimm Web

Re: Re[2]: [PHP] Object assignment

2003-07-10 Thread Matt Grimm
and distinguishing them with attributes. I'd still like the code to work with XML that did have similarly named elements in the same node level.. can you see anything in my DOMXML calls that might indicate the problem? Source: http://www.healthtvchannel.org/test/php2xml.phps -- Matt Grimm Web Developer

Re: [PHP] Excel Parser

2003-07-10 Thread Matt Matijevich
snip Does anyone know of any free Excel parsing non-COM code available on the net? Just straight php driven? /snip I have not tried any of these but there might be something in here you can use. http://www.phpclasses.org/search.html?words=Excelgo_search=1 -- PHP General Mailing List

[PHP] download hyperlink

2003-07-10 Thread Matt Palermo
Does anyone know how I can set a hyperlink to a file so that someone can download the file instead of viewing it in the browser? Please let me know. Thanks. Matt

[PHP] Using DOMXML with homogenous elements

2003-07-10 Thread Matt Grimm
] = Value 2 ) ) ) ) ) [/array] Source: http://www.healthtvchannel.org/test/php2xml.phps Thanks, -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK

[PHP] Re: Using DOMXML with homogenous elements

2003-07-10 Thread Matt Grimm
I failed to show the output XML in my last message. It's outputting like so: [xml] rootElement record id=2Value1Value2/record /rootElement [/xml] -- Matt Grimm Matt Grimm [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a final kink to work out of an array to XML parser

Re: [PHP] linking with home directory

2003-07-09 Thread Matt Matijevich
[snip] Like I said before, the style sheets load up fine on my Windows XP IIS server, but not the Windows 2000. In order to get it to work on the Windows 2000 IIS server, I have to link the style sheets relative to the folder I am working in, but I want to be able to move certain files into

RE: [PHP] linking with home directory

2003-07-09 Thread Matt Palermo
The XP and 2000 are two different machines. = Original Message From Matt Matijevich [EMAIL PROTECTED] = [snip] Like I said before, the style sheets load up fine on my Windows XP IIS server, but not the Windows 2000. In order to get it to work on the Windows 2000 IIS server, I have

RE: [PHP] linking with home directory

2003-07-09 Thread Matt Palermo
I have done that, and it displays the correct location. I don't know what else to do. Is there maybe something in the php.ini file? = Original Message From Mike Brum [EMAIL PROTECTED] = First, I'd create a simple test to see what the value of $newDir = $HomeDir.themes/.$ThemeFolder;

RE: [PHP] linking with home directory

2003-07-09 Thread Matt Matijevich
I mean, when you actually call the script on the XP machine, where do you test it at? Do you use a browser that is on the XP machine that is running IIS, or do you do it from a different machine? Matt Palermo [EMAIL PROTECTED] 07/09/03 10:52AM The XP and 2000 are two different machines

RE: [PHP] linking with home directory

2003-07-09 Thread Matt Palermo
I am testing it from the same machine for right now. = Original Message From Matt Matijevich [EMAIL PROTECTED] = I mean, when you actually call the script on the XP machine, where do you test it at? Do you use a browser that is on the XP machine that is running IIS, or do you do it from

Re: [PHP] Simple forms query

2003-07-09 Thread Matt Matijevich
I am not 100% sure but I think you could use the $_POST array or the $_GET array (depending on the method of your form) with the print_r function. Enda Nagle [EMAIL PROTECTED] 07/09/03 11:04AM I know this has prob been gone through hundreds of times... I have a form, and I want to display all

Re: [PHP] nested for loops

2003-07-09 Thread Matt Matijevich
your syntax is correct, just need to change for ($j=0: $j 5; $j++) to for ($j=0; $j 5; $j++) Micah Montoy [EMAIL PROTECTED] 07/09/03 12:56PM Anyone ever do a nested for loop? $i =0; $j =0; for ($x=0; $x 50; $x++){ echo (1 to 50); for ($j=0: $j 5; $j++) { echo (less

[PHP] Can anyone please help me? Re: Using PHP to change unixenvironment

2003-07-09 Thread Matt Matijevich
snip Does anyone know if there is a way to change the referer information prior to using php's header function? I've tried things like: header(Referer: $referer); where the $referer variable holds the original referer minus the search term without luck. /snip How is the search term passed? Is

Re: [PHP] nested for loops

2003-07-09 Thread Matt Matijevich
snip $result = mssql_query(SELECT * FROM files WHERE file_id = '$cat_name' ORDER BY file_name ASC); $i = $col_num; $j = 0; $filename= mssql_result($result,0,file_name); $fileID = mssql_result($result,0,file_id); for ($k = 0; $k mssql_num_rows($result); $k++) { //changes row color if

Re: [PHP] Object assignment

2003-07-09 Thread Matt Grimm
is outputting this: rootElement record id=2Value 1Value 2/record /rootElement Any ideas? -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508 907.770.6200 ext. 686 907.336.6205 (fax) E-mail: [EMAIL PROTECTED] Web

Re: [PHP] Credit card/Debit card validation

2003-07-09 Thread Matt Matijevich
I have a mod10 validation script written in another scripting language. I could try to convert it if you would like but I am sure that someone has already done it. Did you try google? http://www.google.com/search?hl=enlr=ie=UTF-8oe=utf-8q=php+mod+10spell=1 -- PHP General Mailing List

[PHP] Object assignment

2003-07-08 Thread Matt Grimm
level, I'm overwriting the $thisChild object that I just created. How can I dynamically name these objects so that I can have an indeterminate number of elements by the same name, in the same level? Source: http://www.healthtvchannel.org/test/php2xml.phps Thanks, -- Matt Grimm Web Developer

Re: [PHP] reposting data into forms after confirmation screen

2003-07-07 Thread Matt Matijevich
You could save all of the form data in session variables, when they click edit re-populate the form fields with the session data. Artoo [EMAIL PROTECTED] 07/07/03 04:00PM Anyone know where I can view some sample code that does the following? When the user clicks on SUBMIT, they are taken to a

[PHP] DOMXML usage

2003-07-03 Thread Matt Grimm
to a member function on a non-object How can I reference that ancestor object when I come back into the function? (PHP version is 4.3.2, Apache 2.0.44 on Win2k) Thanks, -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Matt MacLeod
is that it doesn't appear to be possible to force the data to be written without also closing the session. Mike - can you expand on your point above? Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Quickie - manipulating strings

2003-07-02 Thread Matt MacLeod
Hi, I need to manipulate a string to insert a space 3 characters from the right end. eg: turn 'ng23fgh' into 'ng23 fgh', or 'hfdgskfjgh23kj' into 'hfdgskfjgh2 3kj'. Any help gratefully received. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] PHP Sessions and Cookies

2003-06-30 Thread Matt MacLeod
); // END } ? If anyone can point out an error, please do! Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Matt Matijevich
John Manko [EMAIL PROTECTED] 06/30/03 02:08PM Hello, I'm wondering why the listed Reply To address is not [EMAIL PROTECTED] Thing would be so much easier to just reply than cut-n-paste when reply to the entire list on a subject (which is the norm). Can the maintainer set this up? John

Re: [PHP] quotes

2003-06-25 Thread Matt Matijevich
When you view the html source is all of the text including the quotes there? Lso . [EMAIL PROTECTED] 06/25/03 12:06PM go ahead an try it. the quote is quite clearly in the database, but when i try to put it back in a form field everything is cut off after the quote. and i tried stripslashed,

[PHP] return all non-tag characters

2003-06-21 Thread Matt Palermo
to just throw out everything from the to the and just keep everything that is NOT located inside any characters? Anyone have any ideas on how this can be done? Please let me know. Thanks, Matt

[PHP] updateable database- please help- only displaying first word from field

2003-06-20 Thread Matt Hedges
, in the Name text box, let's say the wine's name is Norton Malbec, it only displays Norton. Does anyone know how to fix this? thanks very much Matt Hedges ?php $db = mysql_connect(host, username, pw) or die (The Database is momentarily down. Sorry for the delay.); mysql_select_db(username

[PHP] Re: updateable database- please help- only displaying first word from field

2003-06-20 Thread Matt Hedges
Thanks! Matt Hedges [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello. I am making an online database of my wines that I want my friends to be able to edit. The page below displays the wines. I want the fields in text boxes so later they can be easily edited. However

[PHP] updateable database 2nd question

2003-06-20 Thread Matt Hedges
='$Bodega',Name='$Name',Grape='$Grape',Year='$Year',Region='$Region',S ubRegion='$SubRegion' WHERE id='$id'; ? How do I set it up with the submit, etc? thanks so much for the help Matt ?php $db = mysql_connect(host, username, pw) or die (The Database is momentarily down. Sorry for the delay

[PHP] PHP Problem regarding updating through text boxes

2003-06-20 Thread Matt Hedges
Please take a look at http://hedges.org/code/wine.php - You'll see what I can't figure out how to do. thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to UPDATE only certain fields

2003-06-19 Thread Matt Hedges
? thanks very much for any help, Matt Hedges -- ___ | Matt Hedges | http://hedgesinnovations.com | -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] print all variables

2003-06-18 Thread Matt Palermo
Could anyone tell me how to print all the variables and values from a submitted form, so that I can check them? Thanks, Matt

[PHP] working with forms

2003-06-18 Thread Matt Palermo
to the form page, all the entries they made are erased and they need to redo everything. Is there and easy way to have them go back with all their previously inputted data still filled in? Let me know. Thanks, Matt

[PHP] session question

2003-06-15 Thread Matt Palermo
if it can be changed)? Thanks, Matt

[PHP] create a chmod'd file

2003-06-13 Thread Matt Palermo
I have a script that creates a php file based on user input. I need this newly created file to have write permissions - chmod 777. How can I have the script create the file with these permissions already set? Is this possible? Thanks, Matt

Re: [PHP] create a chmod'd file

2003-06-13 Thread Matt Palermo
I am using the fopen(), then using fwrite() to write text to it. After this I am trying this command which doesn't work: chmod($filename, 0777); But, this doesn't work, and I'm not sure how to go about chmod'ing the file for these permissions so that it can be changed later on. Matt

Re: [PHP] create a chmod'd file

2003-06-13 Thread Matt Palermo
It just doesn't chmod the file. It doesn't produce errors except for later on in the script when it says it can't access the file with write permissions (but it should already be chmod'd by then). Thanks. Matt - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED

RE: [PHP] create a chmod'd file

2003-06-13 Thread Matt Palermo
How do I get the script to own the file? Are there special commands needed for this? Matt -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 3:08 PM To: Matt Palermo; [EMAIL PROTECTED] Subject: RE: [PHP] create a chmod'd file [snip] It just

<    4   5   6   7   8   9   10   11   12   13   >