Re: [PHP] anyone have any idea as to how to display a messageafter a page has started loading??

2003-08-22 Thread Matt Babineau
Perhaps you wrap a table around your image and set the background="" of the table to an image of the same size that says "Loading Thumbnails", then when the image loads, it loads over the background. Matt On Fri, 2003-08-22 at 15:08, Jeffrey D. Means wrote: > I am looking

Re: [PHP] HTTP transactions with PHP?

2003-08-21 Thread Matt Matijevich
Is it possible to make a complete HTTP transaction from within PHP? Like: - PHP sends request headers (with POST data) to $url - $url sends response back to calling script - PHP works with the response http://www.php.net/http http://nf.wh3rd.net/projects/http.inc/ I have not tested the functi

[PHP] Need help with GD installation on RH9

2003-08-21 Thread Matt Babineau
Hey All- If anyone has some experience getting GD setup on RH9, I could really use some. Please email me off list if you are willing to answer a few questions. Thanks! Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] String parsing help

2003-08-20 Thread Matt Matijevich
I have have a string that I need to split into 3 different variables: City,State, and Zip. Here is a couple examples of the strings I need to parse: ANCHORAGE AK 99507-6420 JUNEAU AK 99801 NORTH LITTLE ROCK AR 72118-5227 Does anyone have an idea how I could slit this into the appropriate v

[PHP] is the list getting virus spammed?

2003-08-19 Thread Matt Babineau
Hmmwondering why I keep receiving email sent to the list, that has this stupid attachment...anyone else getting these? Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Stripping out and URL hacking characters from a URL

2003-08-19 Thread Matt Babineau
Hi All-- Does anyone have a function or something they have already written to remove any URL hacking characters, mainly the single quote, but I'm looking for a nice function to filter my _GET variables against. Gotta protect the database...ya know :) TIA- Matt -- PHP General Mailing

[PHP] Stripping out and URL hacking characters from a URL

2003-08-19 Thread Matt Babineau
Hi All-- Does anyone have a function or something they have already written to remove any URL hacking characters, mainly the single quote, but I'm looking for a nice function to filter my _GET variables against. Gotta protect the database...ya know :) TIA- Matt -- PHP General Mailing

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 = mysql_co

Re: [PHP] Checkboxes

2003-08-15 Thread Matt Babineau
You could try this: So basically when it get submitted, you'll have either a 0 or 1 response to know whether or not it has been checked. Does this help? Matt On Fri, 2003-08-15 at 14:25, Cesar Aracena wrote: > Hi all, > > I am wondering what would be the best way to handle

[PHP] Unzipping Files

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

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 PROT

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

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

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: > Does

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.

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

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] 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 jus

[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
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=xxx&var2=xxx...). I wa

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

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,

RE: [PHP] Unzipping Files

2003-08-14 Thread Matt Palermo
very 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 u

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

2003-08-11 Thread Matt Anderson
taking a look, http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/evopvr/evopvrd/src/evophp/php_evopvr.c?rev=1.8&content-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

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

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

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 "". So I know apache/php is working, I just don't know why it isn't working with

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 that’s pointing to an invalid file/directory? ; Automatically add files before or after any PHP document. auto_prepend_file = auto_append_file =

[PHP] weird php error

2003-08-01 Thread Matt Giddings
: Warning: 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

Re: [PHP] Re: include help please

2003-07-31 Thread Matt Matijevich
is there anyway where i can check if page is defined in the url? 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 to do th

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

[PHP] Re: include help please

2003-07-31 Thread Matt Matijevich
I think you want -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

Re: [PHP] include help please

2003-07-31 Thread Matt Matijevich
INDEX.PHP the problem must be when i am trying to include the $page variable get rid of the ' around the variable. $page = "something.php"; include $page; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Right Click Hyperlink

2003-07-31 Thread Matt Palermo
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] Using link to submit a form

2003-07-30 Thread Matt Palermo
a while trying to figure this one out myself, so I hope this helps you. Matt >= Original Message From Tyler Longren <[EMAIL PROTECTED]> = >Hi everyone, > >Can I replace "Submit" buttons on forms with a text button? >I need to be able to click on a link: >

Re: [PHP] learning php - problem already

2003-07-29 Thread Matt Matijevich
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? 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
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

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

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?

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

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-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] Link acting as a submit button

2003-07-24 Thread Matt Palermo
orms[0].submit(); } //--> "; This displays the link fine for the submit hyperlink, but it gives the javascript error: Error: 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

[PHP] PHP webpage like MySQL, PART 2

2003-07-24 Thread Matt Hedges
); extract($row); } /* Display user phone in a form */ echo " Please check the sister below and correct if necessary. $id

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

2003-07-24 Thread Matt Hedges
o I'd like 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/)

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

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,

[PHP] replacing everything between 2 strings

2003-07-21 Thread Matt Palermo
$str = "replace NOTHING here."; So 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] Multidimensional arrays

2003-07-18 Thread Matt Matijevich
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 Not sure what kind of db you are using but I put this together using postgresql using the manual. So this is untested. $conn = pg_c

[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] Array key names - can they be called as strings?

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

Re: [PHP] back button and session variables

2003-07-17 Thread Matt Matijevich
To make matters more confusing the problem occurs on Windows machines but does not occur on Macintoshes 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

[PHP] Problem adding value to session array

2003-07-17 Thread Matt Palermo
ho "result: ".$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 t

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 as

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

2003-07-16 Thread Matt Silva
ession_register() 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']); $

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

2003-07-15 Thread Matt Silva
: $customer = unserialize($_SESSION['acceptPayment']['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

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 l

[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

[PHP] Object can not be used after a session

2003-07-15 Thread Matt Silva
sion.auto_start was set to 0, so I am now scratching 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). Than

[PHP] Sessions and objects

2003-07-14 Thread Matt Silva
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 reasone (sigh). Any Ideas? Thanks for your help in advance Matt -- PHP General Mailing List (ht

[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&quo

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 mea

Re: [PHP] Long lines

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

[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] Value1Value2 [/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 I'

[PHP] Using DOMXML with homogenous elements

2003-07-10 Thread Matt Grimm
[VALUE] => 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 995

[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

Re: [PHP] Excel Parser

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

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

2003-07-10 Thread Matt Grimm
names 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 We

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 Grim

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

2003-07-10 Thread Matt Grimm
[VALUE] => Value 2 ) ) ) ) ) And my 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

[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: [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=en&lr=&ie=UTF-8&oe=utf-8&q=php+mod+10&spell=1 -- PHP General Mailing List (htt

Re: [PHP] Object assignment

2003-07-09 Thread Matt Grimm
ple I used below is outputting this: Value 1Value 2 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: www.healthtvchannel.org &

Re: [PHP] nested for loops

2003-07-09 Thread Matt Matijevich
$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

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

2003-07-09 Thread Matt Matijevich
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. How is the search term passed? Is it passe

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++) {

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 dis

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

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 ar

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/".$ThemeF

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

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 othe

[PHP] Object assignment

2003-07-08 Thread Matt Grimm
x27;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 The Health

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 ta

[PHP] DOMXML usage

2003-07-03 Thread Matt Grimm
nd_child($thisChild); The error is: "...Call 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 -

[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/) T

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Matt MacLeod
port 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] states

2003-07-01 Thread Matt Palermo
Does anyone know of any built in functions or options for the US states? I want to make a drop down menu and some other things which have the 50 states in it. Is there any shortcut for this with PHP, or do I need to do it all manually in HTML? Please let me know. Thanks. Matt

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 u

[PHP] PHP Sessions and Cookies

2003-06-30 Thread Matt MacLeod
IE setcookie("usr", $_SESSION['usr'], mktime(21,00,0,12,31,2014),"/","bigbarn0.kbnet.net", 0); // 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] 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 stri

[PHP] return all non-tag characters

2003-06-21 Thread Matt Palermo
t; 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] 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] updateable database 2nd question

2003-06-20 Thread Matt Hedges
ines SET Bodega='$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 Wines in Database

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

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