Re: [PHP] Form Submission

2004-06-25 Thread Matt M.
> Thanks for your reply, the problem here is that if I loop through the values > and them to the URL when the other button is pressed to submit the form the > form action will still kink to itself rather than opening a new popup > window... that should stop form submission if they click your but

Re: [PHP] string function that adds before and after

2004-06-25 Thread Matt M.
> There's a number of functions in PHP that will give me the position of > the *first* instance of the matched string, but it doesn't look like the > function would keep searching after the first match. Anyway, am I > overlooking a function that already has the functionality that I'm > searching f

Re: [PHP] word count on record insertion

2004-06-25 Thread Matt M.
> I want to have something similar to this but as mentioned above want > something more reliable so does anyone know a php function to do this or > have a better option? http://us3.php.net/manual/en/function.str-word-count.php, also some good suggestions in the user comments -- PHP General Maili

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

2004-06-28 Thread Matt M.
> 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... there might be some things you could try in this thread http://marc.theaimsgroup.com/?l=php-general&m=108361967402210&w=2 -- PHP General Mailing List (http

Re: [PHP]

2004-07-01 Thread Matt M.
On Thu, 01 Jul 2004 11:52:47 -0400, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > > Hi, > I need another variable. I need the filename itself. I want to substitute > > /var/www/html/new1/foo.html > > for > > /var/www/html/new1/phpinfo.htm I am not exactly sure what you want to do but I th

[PHP] Online Users

2004-07-01 Thread Matt Palermo
n how to do this? Thanks, Matt http://sweetphp.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Online Users

2004-07-01 Thread Matt Palermo
ll in existance. Is this possible to do? Thanks, Matt http://sweetphp.com "Zareef Ahmed" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > If you are using a database on your server you can > do this as follows: > 1. Make a table named > active_us

Re: [PHP] Online Users

2004-07-02 Thread Matt Palermo
This looks like a good solution. What is the best way to list the current users, since the sesssionData seems to be serialized in the db or something? I just want to list out all the users from the db. Thanks, Matt http://sweetphp.com "Greg Donald" <[EMAIL PROTECTED]> wrote

Re: [PHP] Online Users

2004-07-02 Thread Matt Palermo
Okay, I actually found out how to list the users, but you have the following line of code: define('SITE_ONLINE_EXPIRE', 900); What is the 900? Is that 900 seconds? Thanks, Matt http://sweetphp.com "Matt Palermo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROT

Re: [PHP] Malicious SQL

2004-07-07 Thread Matt M.
> SELECT autoQuesID, fldQuesTitle, fldBody FROM tblFAQ_Question WHERE > (blnHidden = FALSE AND ((fldBody LIKE '%$strCriteria%') OR (fldQuesTitle > LIKE '%$strCriteria%'))); Say $strCriteria comes from one of the values in the $_REQUEST array, a user change is coming through in that variable. so

Re: [PHP] Link only active letters in alphabetical search

2004-07-08 Thread Matt M.
> 1. pull a list of products from the database > 2. truncate each product id down to it's first letter > 3. remove all the duplicates > 4. use this list to build the links. I would let sql do some of the work. select count(*) from products where product_name like 'A%' if count does not return 0

Re: [PHP] How to handle cookies?

2004-07-09 Thread Matt M.
> How can I handle this cookie when using php? Is there an easy way? It > would be best just to use fopen("http://...";). http://pear.php.net/package/HTTP_Client -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Page Loading Problem

2004-07-09 Thread Matt M.
> Anyone have any ideas why this happens??? You have any code examples? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] eregi_replace()

2004-07-09 Thread Matt M.
> $mydata->JR = eregi_replace($searchenquiry, "".$searchenquiry."", > $mydata->JR); > echo $searchenquiry; > > What I should display is if $searchenquiry = $mydata->JR in a case insensitive way > then > echo "".$searchenquiry.""; > > Do I use if (x =~ b) {} or some sort of string compare or ...

Re: [PHP] eregi_replace()

2004-07-09 Thread Matt M.
> The problem is $searchenquiry would be contained inside $mydata->JR so I would need > to see if it exists and then put ... around it, without changing the original > case. what do you have in $searchenquiry? try this echo preg_replace ('/('.$searchenquiry.')/i' , "$1", $mydata->JR); -- PH

Re: [PHP] after submitting, working with data on same page

2004-07-09 Thread Matt M.
>:if ($calcentry) {...}part of my code and do some calculations with php and mysql >and put my output into textarea2. if ($_POST['calcentry'] == 'Calc Your Entry') { } is one way to do it >So my first question is how do I keep the data in textarea1 so when I perform my >submit I can do some calc

Re: [PHP] eregi_replace driving me nuts

2004-07-09 Thread Matt M.
> What I'm trying to do: > > I'm trying to have the proper variables for the eregi_replace so that each > word in the $dico array is replaced by a link to its definition respecting > the following rules : > -only exact match makes a link to the definition, for example : > - "abaisseraient" do

Re: [PHP] eregi_replace()

2004-07-09 Thread Matt M.
> $searchenquiry = "Never cry Wolfe" > and > $mydata->ST contains "... Never Cry Wolfe ..." > > This code echos: > ".preg_replace ('/('.$searchenquiry.')/i' , "$1", > $mydata->ST)."  > > ... Never cry Wolfe ... > > But I want it to use the original text and echo: > > ... Never Cry Wolfe ... I

Re: [PHP] How to use multiple cookie statements

2004-07-12 Thread Matt M.
> setcookie("cookie[name]","$_POST['name']", time()+86400) > setcookie ("cookie[email]","$_POST['email']", time()+86400) > setcookie ("cookie[bgcolor]","$_POST['bgcolor']", time()+86400) > setcookie ("cookie[tcolor]", "$_POST['tcolor']", time()+86400) > > ?> you could try this: setcookie ('val

[PHP] How to make HTTP call to another address?

2004-07-12 Thread Matt Busche
l PHP request. Can someone help me? FYI: I'm a newbie. Please forgive me if this is an old-hat question. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Excel

2004-07-13 Thread Matt M.
> I want to use a large Excel sheet in a website. The Excel sheet exists of > lots of functions and the developer of it is a financial person who is used > to programmning in Excel, not in other "programming languages". How can i: > insert the data that's filled in in several forms on web pages (i

Re: [PHP] Regular Expressions

2004-07-15 Thread Matt M.
> Obviously the new-line is missed. Any thoughts on this? > > sample code: > ereg("Last Name:\s*(.*)\n", $strInput, $regs) > echo $regs[1]; try this: ereg("Last Name:\s*(.*[^\n])", $strInput, $regs); echo $regs[1]; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] File locking in PHP???

2004-07-15 Thread Matt M.
> Hi! I saw the php function flock(), since I never used it before so I > thought I would ask you folks a couple of questions. did you read all of the user comments on http://us2.php.net/flock There is a bunch of good info in there -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Checking for character absence with regular expressions

2004-07-16 Thread Matt M.
> I need to check that the substring " R" (that's a space followed by an > uppercase R) is not contained within my haystack. Just one way to do it: $strings[] = 'Blah Blah R 99.99'; $strings[] = 'Blah Blah R99.99'; $strings[] = 'Blah Blah 99.99CR'; foreach($strings as $value) { if (preg_match('/

Re: [PHP] Putting $_POST into string to send to ASP

2004-07-16 Thread Matt M.
> How do I gather up all the variables in $_POST and attach them as a > string after the question mark? Thanks. this is untested: $arr = array(); foreach($_POST as $key => $value) { $arr[] = $key.'='.urlencode($value); } $URL = "https://example.com/script.asp?".implode('&',$arr); header

Re: [PHP] Populating a Dropdown Menu From a Query

2004-07-16 Thread Matt M.
> I have a form where one option is a dropdown menu. I'd like that menu to > only have items in it that are actually available. Selecting the items with > a query is easy enough but I wondered if anyone could tell me where to start > wit the code. I dont know what kind of db so I will just use mys

Re: [PHP] Re: Putting $_POST into string to send to ASP

2004-07-16 Thread Matt M.
> Thanks for the helpful examples. One other question. Is there an > advantage to sending the URL via a header as opposed to doing http_post > like this? > http://shiflett.org/hacks/php/http_post > Jeff Like someone mentioned earlier. URL's have length limits. That would be one reason to do a po

Re: [PHP] quotes in text.

2004-07-16 Thread Matt M.
> Ok then, I want to know how to do it the right way but just using > $_POST['text'], as stated before, in my query still cuts off the text at > the quote. > > While passing this field between pages I don't do anything to it but when > I want to show it to the user I would use stripslashes($_POST[

Re: [PHP] Importing Excel data using PHP

2004-07-19 Thread Matt M.
> Anyway to do it using PHP? Com objects or use perl http://search.cpan.org/~kwitknr/Spreadsheet-ParseExcel-0.2603/ParseExcel.pm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Money format

2004-07-20 Thread Matt M.
> Hi to all, > is there any function wich can format a "double" or "string" into "money > format".for example: 1526789,99 to 1.526.789,99 or something like that.? > Regards Lukas > You could try http://us2.php.net/manual/en/function.money-format.php or http://us2.php.net/manual/en/function.numbe

Re: [PHP] Problem of a beginner with Array

2004-07-20 Thread Matt M.
> Now, I want to know which numbers have been checked by the player. > I have a : > "input name="Grid1" type="checkbox" > for the first grid. Grid2 for the grid #2... if the user checks any Grid1[] boxes then $_POST['Grid1'] will be an array and so on. -- PHP General Mailing List (http://www.

Re: [PHP] textarea/display question...

2004-07-20 Thread Matt M.
> ps.. to you guys who said that the doesn't have a value=''.. it > does... Where did you find this out? I was pretty sure that is did not have the value attribute. http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/textarea.asp http://www.w3.org/TR/REC-html40/interact/forms.htm

Re: [PHP] file_exists() to search for *.xml file with a wild card???

2004-07-20 Thread Matt M.
> I would like to use the file_exists() or something similar to check for the > existance of any of the xml files regardless of what filename it use. Like > file_exist("*.xml") for example. Anyone know?? http://us3.php.net/readdir -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] htmlArea look-a-like

2004-07-21 Thread Matt M.
> I am developing an app in which my visitors must be able to enter text and > do some minimal HTML formatting including making some of the text > hyperlinks. I like the looks of htmlArea, but can't get either available > version to work in any Mac browsers. I've also found EditLive! and am > intri

Re: [PHP] Problem of a beginner with Array

2004-07-21 Thread Matt M.
> I would prefer to have if possible: > input name="Grid1[]" type"checkbox" //1st grid, 1st > checkbox > input name="Grid1[]" type"checkbox" //1st grid, 2nd > checkbox... > > That's what Matt M proposed. > If I do: echo $_P

Re: [PHP] URL

2004-07-21 Thread Matt M.
> Since you are getting the information from the page anyways, just simply > do: > > $_SERVER[PHP_SELF]?parameter1=$_GET[parameter1]¶meter2=$_GET[paramet > er2]¶meter3=$_GET[parameter3] etc... should also make sure to urlencode the data here is another thrread about it http://marc.theaimsgroup.

Re: [PHP] Coding Advice

2004-07-21 Thread Matt M.
> I am writing an app and right now im working on code that will display x > number of items on one page, and if there is overflow, provide a link to > the next. The url coming into the page looks something like: > > projects.php?action=view&completed=no&start=0 > > My code so far, i just took t

Re: [PHP] how to use session?

2004-07-21 Thread Matt M.
> If I don't want to use session cookie , how to set it? > thanks. ini_set('session.use_cookies','0'); before all of your session_start() calls. or set it in the php.ini, .htaccess or httpd.conf file -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] Re: change value of session variable?

2004-07-21 Thread Matt M.
what do you get when you print_r($_SESSION) ? try session_write_close() at the end of your scripts. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] run perl script with php

2004-07-22 Thread Matt M.
> I never tried but i think it is possible using the pecl extension: > > http://pecl.php.net/package/perl Here is a short tutorial http://www.zend.com/php5/articles/php5-perl.php?print=1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Alternative to file_exists()???

2004-07-22 Thread Matt M.
> I have decided to look for an alternative to file_exists() because it is > taking too long. Is fopen() a good alternative or what? maybe stat() http://us4.php.net/manual/en/function.stat.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mutiple copies of php with windows iis6

2004-07-22 Thread Matt M.
> If anyone knows how to setup IIS6 to allow the same .php extension to be used > with dedicated copies of php.exe + ini files I would really appreciate the > assistance. Maybe some clue I am missing about the behavior of the web extensions > manager or a method of defeating it? Have you tried a

[PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread Matt Livingston
Hey List, I want to know if it is possible to use PHP to find out if a visitor has Java Runtime Environment installed on a computer. Is there a way to use PHP to find this similiar to how PHP can be used to find out browser info? Thanks in advance for your help. -- -Matt Livingston

Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread Matt Livingston
installed and provide a link to the Java site where they can download it. Thanks again all! -Matt On 9/5/07, David Powers <[EMAIL PROTECTED]> wrote: > > tedd wrote: > > At 3:17 PM -0600 9/5/07, Matt Livingston wrote: > >> > >> I want to know if it is possible

Re: [PHP] Which PHP-Editor to use?

2007-10-16 Thread Matt Livingston
enough to cause damage to my PC that could not easily be cleaned up - I would simply reformat the HD and reinstall the OS ;) (and that process of reformatting and reinstalling takes a mere 30 minutes to 2 hours - latter being the Windows and former being Ubuntu) -Matt On 10/16/07, Bastien Koe

Re: [PHP] ldap_search results limited

2008-05-07 Thread Matt Burtch
Thanks for the tips. phpLDAPAdmin was hanging while trying to authenticate, but I'll give it a try again later. Nathan: splitting up the search; I hadn't considered this! It is working nicely for the time being, thanks. - MB On Wed, May 7, 2008 at 3:23 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote

[PHP] Recursion... Sort of...

2008-05-08 Thread Matt Neimeyer
t that approach... Unless that really is the easiest way. Thanks in advance! Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recursion... Sort of...

2008-05-09 Thread Matt Neimeyer
s on it's own output like a factorial... Not just a function that is called inside itself. This got me where I needed to be and it is GREATLY appreciated! Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] should I be looking to eliminate all notices?

2007-04-21 Thread Matt Carlson
I really have to agree here. I have gone through a mature open source project over the last month or so, and removed EVERY notice. It honestly took all of about 2 hours to actually fix the notices. It really isn't hard to eliminate them, and if you are coding something the may be released, yo

[PHP] Sessions VS MySQL

2007-05-30 Thread Matt Fielding
I've recently begun work on a web-based RPG game with some friends, and have recently been thinking about the best solution for loading and saving persistent variables like player life/stats and other information. I am both familiar with sessions and mysql for saving and loading variables, and tha

Re: [PHP] Sessions VS MySQL

2007-05-30 Thread Matt Fielding
As far as scalability goes, there's actually a game we're referencing a lot to help us make it work at the get go called Kingdom of Loathing ( http://www.kingdomofloathing.com ). This game seems to have on average around 1,000-1,500 users on at any given time. I've noticed when visiting the page a

[PHP] Find file version

2007-07-24 Thread Matt Carlson
it a brick wall though. I know binary files have version information available, but can't find anything for php to read this. Has anyone run across something like this in the past? Anyone have any hints of where to go to start reading this info? Thanks Matt -- PHP General Mailing List (htt

Re: [PHP] Find file version

2007-07-26 Thread Matt Carlson
Message From: Richard Lynch <[EMAIL PROTECTED]> To: Matt Carlson <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Sent: Friday, July 27, 2007 12:52:08 AM Subject: Re: [PHP] Find file version On Wed, July 25, 2007 12:26 am, Matt Carlson wrote: > I've been recently toying with th

Re: [PHP] How to implement a plugin system?

2007-08-06 Thread Matt Zandstra
You might want to take a look at stickleback: http://sourceforge.net/projects/stickleback Documentation is very thin on the ground right now, but there's a presentation here: http://www.appulsus.com/resources/stickpres200706/img0.html mz On Mon, 6 Aug 2007, Hamza Saglam wrote: Hello Boro,

Re: Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-03 Thread Matt Todd
In my experience with the other frameworks (primarily Wasp, CakePHP, Symfony, eZ Components, and Zend Framework), I've found that I was not satisfied with the quantity of low-quality code they advocate. I have a high standard for code quality, readability, maintainability, and (more generally) sem

[PHP] FTP Copy

2006-09-19 Thread Matt Palermo
upload it to a different place (takes a long time). Is there an FTP that will just copy the file/folder from the FTP server without the need to download/upload it somewhere else? Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Zip Question

2006-10-24 Thread Matt Street
e.''; } zip_close($zip); to the bottom of my page it correctly displays, on screen, the 3 files I expect to be in the zip file. Any help would be very gratefully received as this is driving me mad!!! Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with EXEC and PASSTHRU

2006-10-25 Thread Matt Beechey
he service has restarted at which point they are returned to index.php - its as if the exec and the sleep and the refresh to index.php are all kind of running concurently. Can someone PLEASE tell me what I'm doing wrong - or shed light on how I should do this. Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problem with EXEC and PASSTHRU

2006-10-25 Thread Matt Beechey
o be lacking more in HTML and Browser server relationships - I'm basing things on my background in Basic programming as a kid - you do Print "Hello world" and it does that instantly to the screen - little different with browsers! Matt "Myron Turner" <[EMAIL PROTECTED]&

RE: [PHP] PHP Zip Question

2006-11-06 Thread Matt Street
tarts PK!!! Anyone any ideas??? Thanks in advance Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Zip Question

2006-11-07 Thread Matt Street
ll of this is that my code is now working and I can finish off my tests. Thanks again Matt -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: 06 November 2006 21:02 To: Matt Street Cc: 'php-general@lists.php.net' Subject: RE: [PHP] PHP Zip Question On Mon, Nov

Re: [PHP] Highjack?

2006-11-13 Thread Matt Carlson
With register_globals on, the globals super array ($_POST, $_GET, $_REQUEST) are automatically populated into variables. With that in mind www.example.com/index.php?path=remoteexplot.com/ would then yield include('remoteexplit.com/foo'); thus including ANY code they wish. - Original Me

[PHP] Beta Testers Wanted

2006-02-22 Thread Matt Palermo
I have available at http://sweetphp.com and they have become very successful because of all your help. Thanks, Matt Palermo [EMAIL PROTECTED] http://sweetphp.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How secure is this?

2006-02-23 Thread matt stone
vascript consoles outputs: Error: document.getElementById(update[0]) has no properties Source File: http://www.xn--ovg.com/aja/test.js Line: 35 Cheers Matt

Re: [PHP] HOW update time and date-fields to mysql....

2006-02-28 Thread matt stone
l .= ", insertDate='" . $dat . "'"; > $sql .= ", insertTime='" . time() . "'"; > $sql .= " WHERE IDForum=" . safeQuote($idForum); > $querys = mysql_query($sql); Use NOW() for both your date and time fields if the fields have been set up as that. MySQL will then add the date and time according to whatever those values are on your db machine. Cheers Matt

Re: [PHP] Re: is there a guide for pda friendly web pages

2006-03-21 Thread Matt Richards
> Rick Lim wrote: >> is there a guide for pda friendly web pages. > Yeah there is one. lol, would you like to tell us where its located please? > > -- > Smileys rule (cX.x)C --o(^_^o) > Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubs

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Matt Richards
Zouari Fourat: lol, bet you feel silly now :) Stut wrote: Zouari Fourat wrote: :) Gerry not that funny ;) I was affraid :o from the news Rule #1 on the Internet... Never trust any news without a link to an official source Rule #2 on the Internet... Never trust anything you read on April 1st

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Matt Richards
quote: Joe Wollard wrote: Just as long as everyone knows that everything I said was all in good fun. Next time I'll be sure to use just to be sure nothing is taken the wrong way ;-) Joe Wollard wrote: Just as long as everyone knows that everything I said was all in good fun. Next time I'

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Matt Richards
oops forgot the first .. oh well! :( Matt Richards wrote: quote: Joe Wollard wrote: Just as long as everyone knows that everything I said was all in good fun. Next time I'll be sure to use just to be sure nothing is taken the wrong way ;-) Joe Wollard wrote: Just as long as eve

Re: [PHP] microsoft PHP ?

2006-04-03 Thread Matt Richards
I wonder how long this is gonna go on for, its ironic that the name 'Microsoft' seems to spread through this mailing list just like it spreads through peoples computers ... humm another thing that implies the same rule is a virus ! derm derm drm... Ryan A wrote: Hey, Just as long

[PHP] Re: no offense to Rasmus... are you kidding me

2006-04-19 Thread Matt Todd
Yes, I absolutely agree that Rasmus is awesome and his accomplishments are far and beyond amazing, but I'm saying that I think that Rasmus is motivated to stay true to PHP's philosophies and not be willing to rethink them: that is what I meant by that. In no way am I saying that Rasmus doesn't DES

Re: [PHP] Re: no offense to Rasmus... are you kidding me

2006-04-19 Thread Matt Todd
There's nothing wrong with staying true to the philosophy at all, I just think that it may well be detrimental in the end. And that is what I said in the (toilet)paper, that there will be (emphasis on the eventuality, not on the present actuality) a time that PHP will become the old stuff because i

Re: [PHP] Re: no offense to Rasmus... are you kidding me

2006-04-21 Thread Matt Todd
You guys make me laugh... :) (And I really actually mean that in a nice way... that last bit was quite funny. And yes, size does matter... some don't like it _too_ big.) But, I digress. I'm OK with taking this off-list... though I'd rather publicly reply. Yeah, I meant procedural, not functiona

Re: [PHP] Wath�s wrong?

2006-05-26 Thread Matt Carlson
I think that one of the issues is that when you assign a variable using "" instead of '', it will auto-replace your variable names inline. I don't know, but I think you should be escaping the $ before the <. --- Jo�o C�ndido de Souza Neto <[EMAIL PROTECTED]> wrote: > Hi everyone. > > I ha

[PHP] Organizing a group project

2006-06-19 Thread Matt Palermo
with and learn from other developers as well. Thanks, Matt Palermo http://sweetphp.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Execute command line as a different user

2008-07-01 Thread Matt palermo
ere a command I can use to make PHP run a delete command as the admin user? If so, how can I do this? Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Execute command line as a different user

2008-07-01 Thread Matt Palermo
Okay, I'll have to look into that. I have very limited knowledge with shell scripts. You wouldn't have an example of one that can do what I need do you? Thanks, Matt "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Matt palermo wro

[PHP] Re: Execute command line as a different user

2008-07-01 Thread Matt Palermo
Is there something wrong with this command? Is there a different way to do it? Thanks, Matt ""Matt palermo"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] My PHP is running as a user with limited rights. I'd like to execute a command line as a diff

[PHP] rfc822_write_address() / CVE-2008-2829 problem

2008-07-07 Thread Matt Graham
Hello, list. A few days ago, a security scan said that our machines that were running PHP had potential vulnerability CVE-2008-2829 , a buffer overflow in rfc822_write_address(). Discussions about this are relatively easy to find with Google, but check out http://bugs.php.net/bug.php?id=42862 f

[PHP] Re: rfc822_write_address() / CVE-2008-2829 problem

2008-07-07 Thread Matt Graham
From: "M. Sokolewicz" <[EMAIL PROTECTED]> > Matt Graham wrote: >> PHP had potential vulnerability CVE-2008-2829 >> http://bugs.php.net/bug.php?id=42862 for a reasonable discussion and >> an (unofficial) patch. >> >> I'm just curious

[PHP] PHP job available, Phoenix, AZ, USA

2008-10-02 Thread Matt Graham
*off-list*. Hope this helps, -- For every complex problem, there is a solution that is simple, neat, and wrong. My blog: http://crow202.org/wordpress/ Matt G|There is no Darkness in Eternity/But only Light too dim for us to see -- PHP General Mailing List (http://www.php.net/

[PHP] Re: Accessing mysql_fetch_object with variable names

2008-11-14 Thread Matt Jones
I have been thumped with the clue bat and now have a solution. Thanks for your time! -- Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] create a file

2004-01-26 Thread Matt Matijevich
How can I create a file (txt) in client-side? I dont think there is a way unless you are using some kind of java applet. You can create the text on the server and give the user a link to save the text file on their computer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] How to prevent - Page has expired

2004-01-26 Thread Matt Matijevich
I know that this is not a PHP problem, but Is there a way to prevent the 'Page has expired...' when the user press 'Back' post to a page that does nothing but process the form post. When it is done, it redirects to another page. -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] random alphanumeric value generator

2004-01-26 Thread Matt Matijevich
because it is MySQL, couldn't you just use mysql_insert_id http://www.php.net/manual/en/function.mysql-insert-id.php instead of this: //now get the random number, and MD5 it to get it alphanumeric $query = 'SELECT MAX(uiIndex), cKey FROM randomKey GROUP BY cKey'; $result = mysql_query($qu

Re: [PHP] Remove Dynamic String between StringA and StringB

2004-01-26 Thread Matt Matijevich
Hi :), i'm looking for a function to remove multiple dynamic parts of a string, there are only the start and end strings given (remove all between string A and string B) got somebody a working procedure for that? regards a start of a procedure I have $stringA = "string A"; $stringB = "stri

[PHP] Googlebot

2004-01-27 Thread Hartley, Matt
Is Googlebot (or any other bot) able to follow links that are php? e.g. Contact Us Is there a way to invite bots to your site? Thanks Matt

Re: [PHP] working with files

2004-01-28 Thread Matt Matijevich
replace "); } while (true); fclose($handle); ?> with this \n"); } while (true); fclose($handle); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Create a zip archive from a folder

2004-01-29 Thread Matt Palermo
easy like this for creating zip files. Please let me know. Thanks, Matt http://sweetphp.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Transferring an initiated Session to a Browser !!

2004-01-30 Thread Matt Matijevich
But I am also in need of a Mechanism where I can transfer an Initiated session to the User's Browser ... ( Not Just OutPutting the above variable .. But actually Transferring the Session to the User's Browser ) not sure I understand 100% what you mean. You could send a cookie or form field

[PHP] formated text after Submit in MySQL/PHP

2004-01-31 Thread Matt Hedges
possible? thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] formated text after Submit in MySQL/PHP

2004-01-31 Thread Matt Hedges
Can someone help me with the following? Preferably someone other than the wise ass below? thanks matt "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Matt Hedges wrote: > > Hello, > > > > I have a page where users can ente

Re: [PHP] Str_Replace Command

2004-02-02 Thread Matt Matijevich
$StockURL = "http://finance.yahoo.com/d/quotes.txt?s=xrx,ikn,danky&f=sl1&e=.txt";; $StockResults = implode('', file("$StockURL")); $Rows = split("\n", $StockResults); foreach($Rows as $Row) { list($Symbol, $Price) = split(",", $Row); $Symbol = str_replace('"', "", $Symbol); echo $

Re: [PHP] Need Help - extract unstructured data for parse reformat and import into DB

2004-02-02 Thread Matt Matijevich
Would PHP be a good program to use for this project? Has anyone had to reformat unstructured data to insert into a database? If anyone has any suggestions or examples please let me know. J If you have not already, look at regular expressions. imho, by far the best way to parse reports like th

Re: [PHP] Help with mail() function

2004-02-02 Thread Matt Matijevich
[snip] [/snip] What is happening when the form is posted? This is just a guess, but I think registar_globals is probaby off. try this -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with mail() function

2004-02-02 Thread Matt Matijevich
ahh, I have to correct myself replace this: if ($_POST['TextArea']="") { with this: if ($_POST['TextArea']=="") { -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help with mail() function

2004-02-02 Thread Matt Matijevich
did you replace ($TextArea="") with ($TextArea=="") ? ($TextArea="") will reassign $TextArea to "" >>> "Pooya Eslami" <[EMAIL PROTECTED]> 2/2/2004 3:00:32 PM >>> Well the problem is not that it won't get executed, its that every thing will be sent except the message in the textarea! subject, t

Re: Re[2]: [PHP] Pulling unique data from database into an array

2004-02-02 Thread Matt Matijevich
[snip] while (!$recordSet->EOF) { $arrX = $recordSet->fields['user_id'] => $recordSet->fields['field_value']; $recordSet->MoveNext(); [/snip] while (!$recordSet->EOF) { $arrX[$recordSet->fields['user_id']] = $recordSet->fields['field_value']; $recordSet->MoveNext(); } -- PHP General Mailing List

[PHP] Retrieve specific data from MySQL

2004-02-02 Thread Matt Hedges
Hello, I have a basic question I can't figure out. My site lets people enter in their information... I now want to be able for a user to search the database. For example, enter in "firstname" or "lastname" in a text box, hit submit, and have the results returned. How do I write this in PHP? I'

[PHP] Re: Retrieve specific data from MySQL

2004-02-02 Thread Matt Hedges
d linked by id. How do I do this? thank you very much, Hedges Now, How do I get "Matt Hedges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I have a basic question I can't figure out. > > My site lets people enter in their in

<    9   10   11   12   13   14   15   16   17   >