Re: [PHP] Destroy all session data...

2004-01-13 Thread Matt Matijevich
[snip] I do't know to be honest, how do I find out? (I'm on a unix server) [/snip] you could use the phpinfo() function and check the value of session.save_handler, if it is "files" the session data is in files in the session.save_path directory. -- PHP General Mailing List (http://www.php.net

Re: [PHP] Destroy all session data...

2004-01-13 Thread Matt Matijevich
[snip] Until I get this sorted, can I kill everyones stored session data? [/snip] How is the session data saved? It is to files, you could just delete all of the session files. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] to array or not to array..

2004-01-12 Thread Matt Matijevich
[snip] That works great, I am messing myself up, however because I am using checkboxes so when I run this, if I have unchecked the checkbox, the value doesn't come through and I want an unchecked box to be 0 for example so I may need some javascript... [/snip] Can only one option be checked per us

Re: [PHP] Form validation: client- or server-side?

2004-01-09 Thread Matt Matijevich
[snip] why would you validate data on the server if you have a JavaScript that checked the user's input before it gets submitted to the server ? I mean the whole point of you having that JavaScript is to make sure the the correct data gets entered so why bother checking it once again on the server

[PHP] Re: Form validation: client- or server-side?

2004-01-09 Thread Matt Grimm
being relied upon for more serious validation. -- Matt Grimm "Matt Grimm" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is there a distinct advantage to doing form validation / error checking on > the server side using PHP? That's how I've always don

[PHP] Form validation: client- or server-side?

2004-01-09 Thread Matt Grimm
was ever posted? I'm just talking about the basics, like empty required fields, illegal characters, string lengths, etc. What are your preferred methods? I do an awful lot of content management with HTML forms, so it's not an entirely spurious question. -- Matt Grimm Web Developer The H

Re: [PHP] open_basedir clarification

2004-01-08 Thread Matt Grimm
Can anyone clarify this for me? Is open_basedir recursive or restricted to the exact paths specified? -- Matt Grimm "Matt Grimm" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If my server has an open_basedir restriction in place for my home directory, >

Re: [PHP] post vars not by form

2004-01-08 Thread Matt Matijevich
[snip] Anyone can help , how to post variables from server side .. as from php page to other without HTML form and submistion ??? [/snip] I have never used it but I think http://pear.php.net/package/HTTP_Client is what you want to look at -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] upload and RENAME picture

2004-01-08 Thread Matt Matijevich
[snip] any ideas? [/snip] Have you tried move_uploaded_file? http://www.php.net/move_uploaded_file -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upload and RENAME picture

2004-01-08 Thread Matt Hedges
Hello, thanks to ya'll I've gotten a picture uploaded... but now what I can't figure out how to do is rename it. I want to rename it something like $id.extension... right now it is just showing up in the directory as the original file... any ideas? thanks matt -- PHP Gener

[PHP] open_basedir clarification

2004-01-08 Thread Matt Grimm
If my server has an open_basedir restriction in place for my home directory, I understand that to mean I can only open files in the same directory as whatever script is currently running. Is that correct? -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820

[PHP] Re: Not working?

2004-01-08 Thread Matt Grimm
You can't use variables inside single quotes, either. This: '/path/to/old.$today' ought to be: "/path/to/old.$today" -- Matt Grimm "Jas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I think I must be missing something but this

[PHP] Re: getenv of "document_name" in php

2004-01-08 Thread Matt Grimm
$_SERVER['SCRIPT_NAME'] or $_SERVER['PHP_SELF'] -- 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.

Re: [PHP] PHP code documentation tool

2004-01-08 Thread Matt Matijevich
[snip] What is the best way to document such projects? How you developers document your project? [/snip] GIYF http://phpdocu.sourceforge.net/ http://www.epersonae.com/snapping/archives/000390.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

[PHP] Re: Sorting data into columns vertically

2004-01-07 Thread Matt Grimm
th: '.count($l_aTest); } // Do high columns first for ($i = 0; $i < $l_iMod; $i++) { $l_aTable["column$i"] = $l_iHigh; } // Do the rest for ($i = count($l_aTable); $i < $l_iColumnWidth; $i++) { $l_aTable["column$i"] = $l_iLow; } echo 'Result:'; prin

[PHP] Re: Sorting data into columns vertically

2004-01-07 Thread Matt Grimm
s 3, 2, 2, which the code will give you. If you want, echo the other variables and it will make more sense. -- Matt Grimm "Dareal Hamsta" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I get: > > Your columns are: 102, 101, 101 > > ??? > > The o

[PHP] Re: Sorting data into columns vertically

2004-01-07 Thread Matt Grimm
> $l_iSecond = ($l_iMod < 2 ? $l_iHigh - $l_iMod : $l_iHigh); This should actually be: $l_iSecond = ($l_iMod == 1 ? $l_iHigh - $l_iMod : $l_iHigh); but it works both ways. -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchora

[PHP] Re: Sorting data into columns vertically

2004-01-07 Thread Matt Grimm
($l_iMod < 2 ? $l_iHigh - $l_iMod : $l_iHigh); $l_iThird = $l_iLow; echo "Your columns are: $l_iFirst, $l_iSecond, $l_iThird"; -- 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

[PHP] upload picture

2004-01-07 Thread Matt Hedges
Hello... could anyone please tell me how to upload a picture using php? I have this but don't know how to specify how to store the pictures on the server... thanks! thanks Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: basic ?id=x question

2004-01-07 Thread Matt Hedges
figured it out i had the sort before the where clause and that messed it up. "Matt Hedges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I'm trying to pull from a database... I can pull an array, but I want to > just be able t

[PHP] basic ?id=x question

2004-01-07 Thread Matt Hedges
Hello, I'm trying to pull from a database... I can pull an array, but I want to just be able to pull one item instead of all of them... I know somehow you can do this with page.php?id=x... but can't figure it out... any help greatly appreciated, thanks, Matt -- PHP General Mailing

Re: [PHP] Is there a way to protect PHP's $_POST, $_GET when user tamper with post string in URL toolbox

2004-01-07 Thread Matt Matijevich
[snip] I noticed when I use the hidden html input tag with hidden data in it then when I click the submit button to submit the webpage, the hidden data then show up in the URL address. [/snip] I think if you just change the request method to post, the data will not show up in the url. -- PHP

[PHP] Re: readfile from startpos to endpos

2004-01-05 Thread Matt Grimm
Close. You need to adjust for the length of your pattern. So if you're matching against "", then your actual start position (minus the start comment) is the strpos plus strlen($pattern), or 14 in this case. $startPos = strpos($file, '') + 14; -- Matt Grimm Web Develo

[PHP] Re: Remove quotes from form field

2004-01-05 Thread Matt Grimm
In the very simplest way? Just use a str_replace on the quotes: $words=explode(" ", str_replace('"', '', strtolower($keywords))); -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508

[PHP] Re: Question about an array

2004-01-03 Thread Matt Grimm
; ", "your long string"); -- 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 "Vernon" <[EMA

Re: [PHP] No cookie is being set?

2004-01-02 Thread Matt Grimm
ll return TRUE. This does not indicate whether the user accepted the cookie." http://us2.php.net/manual/en/function.setcookie.php -- 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

Re: [PHP] returning early from a function.

2003-12-31 Thread Matt Matijevich
[snip] function test($s) { if($s = 'this') return false; if($s = 'that') return false; return true; } [/snip] try this: function test($s) { if($s == 'this') return false; if($s == 'that') return false; return true; } -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] urlencoding.

2003-12-31 Thread Matt Matijevich
[snip] My problem is that any field that contains a double quote, all data after the first double quote is missing from the form field. When I look at the long URL I do see a %22 where the " are supposed to be, and all other data is there too. [/snip] Take a look at the html source. What is p

Re: [PHP] Another Session Question

2003-12-31 Thread Matt Matijevich
[snip] session_start(); if($_SESSION['counter_file'] !==$counterFile)//See if visitor has already been counted for this page {$num += 1; $_SESSION['counter_file'] = $counterFile; } echo $_SESSION['counterFile'] . '

[PHP] Re: PHP and SSL Path Reference

2003-12-29 Thread Matt Grimm
uot; http://us3.php.net/manual/en/features.remote-files.php -- 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 "D.H.&quo

[PHP] Re: apache/web site question...

2003-12-24 Thread Matt Grimm
res.remote-files.php -- 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 "Bruce" <[EMAIL PROTECTED]> wr

[PHP] Re: Removing/unsetting session variables.

2003-12-24 Thread Matt Grimm
PHP manual recommends this, which works for me: // Unset all of the session variables $_SESSION = array(); // Destroy the session session_destroy(); -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508 907.770.6200 ext

[PHP] Re: array data to XML

2003-12-24 Thread Matt Grimm
> PHP script that you can find here, although it may be more than you are looking for: http://www.devdump.com/phpxml.php I've written a DOMXML-based PHP -> XML function that takes Kris' structure as input, if you're interested. -- Matt Grimm Web Developer The Health TV Cha

Re: [PHP] Assist with session persistance

2003-12-23 Thread Matt Matijevich
[snip] ex: display.php session_start(); $agencyID=$_SESSION['agencyID']; $agencyName=$_SESSION['agencyName']; But after awhile, the session seems to fail and I end up back at the index page because the $agencyID gets voided. Is there a timeout on sessions other than c

[PHP] Re: Assist with session persistance

2003-12-23 Thread Matt Grimm
The directive session.cookie_lifetime in your php.ini is what a session cookie timeout defaults to. You can manually set the lifetime when you create it using session_set_cookie_params(). http://us3.php.net/manual/en/function.session-set-cookie-params.php -- Matt Grimm Web Developer The Health

Re: [PHP] [Q] Best Practices Question - Directory Structures for WEB site dev using PHP

2003-12-23 Thread Matt Matijevich
[snip] 1) How do experienced developers layout their [dev] directory hierarchy? For example, is there an accepted place to put one's function libraries? On IIS (Windows XP), the default directory structure is c:\inetpub\ AdminScripts iissamples mailroot Scripts wwwroot\

[PHP] Simple fwrite question

2003-12-23 Thread Hartley, Matt
ll it when $counter is @ the last line in my "tips" file to reset to zero thanks Matt

[PHP] Re: sorting a mulit-dimensional array

2003-12-22 Thread Matt Grimm
Your subject line raises a completely different question than your message. Are you looking to sort a multi-dimensional array or "select distinct values" from one? -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage

RE: [PHP] evaluating a variable

2003-12-22 Thread Matt Matijevich
[snip] Eval ($contentfunction); gave me a parse error: Parse error: parse error in /home/pickled/public_html/main/inc/html.php(145) : eval()'d code on line 1 [/snip] try to add a semicolon to the end of the variable $contentfunction = "newsadmincontent();"; -- PHP General Mailing List (http://

Re: [PHP] onChange

2003-12-22 Thread Matt Matijevich
[snip] I have 2 list fields in a form. The second is populated basing on selection in field 1. Can anyone pls tell me how to do this in PHP ? [/snip] you can't, onchange is fired with javascript on the client. You have a number of ways you can do it a few are. 1. have on change submit the form to

Re: [PHP] evaluating a variable

2003-12-22 Thread Matt Matijevich
try eval($contentfunction); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Parse error in mysql_query()

2003-12-22 Thread Matt Matijevich
[snip] I put this right above like 871: print "$_POST[domainregister_domain$i]"; So now that "print" line is 871. It produces the exact same error as the mysql_query() line. [/snip] I should have mentioned this in my last email. You should try a print_r of the $_POST array. print ""; print_r($

Re: [PHP] reading excell and writing to text file..

2003-12-22 Thread Matt Matijevich
[snip] I was wondering a good place I could get started on reading excel spreadsheets in PHP ive seen a couple of things out there that will take data from the web and transform it into a .xls file. I was wondering if I could take a XLS file with php and read it, and rip out certain data from it :-

RE: [PHP] Parse error in mysql_query()

2003-12-22 Thread Matt Matijevich
[snip] Sorry, should have mentioned that I tried quoting them already. That gives a T_VARIABLES parse error. Thanks for the reply, Tyler [/snip] What happens if you comment out the mysql statement and just echo the variables? echo $_POST[domainregister_domain$i] $_POST[domainregister_ty

Re: [PHP] Working pop-up progress window

2003-12-22 Thread Matt Matijevich
[snip] I've had the most luck using the pop-up window method. In the element I call onSubmit="{open some window here}" This works as the pop-up appears while the file is transferring. Here's where I run into problems. I've tried all kinds of examples found on google and can never get it to work r

Re: [PHP] need help getting one variable

2003-12-22 Thread Matt Matijevich
[snip] hello all i need help to enter one variable in a cookie and then retreive it back later, i know this probably sounds dumb to most but this is really the first time ive tried working with cookies so please bear with me, thanks for any help. [/snip] this should give you a good start http://ww

Re: [PHP] Page Redirects - How can it be done

2003-12-17 Thread Matt Matijevich
What if you use something like SourceForge. If you try to access a page the requires you to be logged in when it redirects you to the login page it includes in the URL the page that the user tried to access (ie login.php?redirect=page3.php) Then when the user successfully logs in they redirect to

[PHP] PHP causing IE to crash

2003-12-17 Thread Matt MacLeod
would cause this crash, and if so, whether or not there are any work arounds. This only occured in IE6 on Win XP. Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Subject: searching for open source php module

2003-12-15 Thread matt shultz
hi, i am looking for an open source php module that does some simple content management. it seems that something like this must exists, since it is a pretty common need, but i'm not sure where to find such a thing. here is a description of the functionality i am looking for: ability to updat

[PHP] Email Forwarders

2003-12-13 Thread Matt Palermo
specific address, it will automatically be distributed to everyone on the forwarding list. Please help if you have any ideas or suggestions. Thanks, Matt http://sweetphp.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP header command crashes IE6x/PC

2003-12-12 Thread Matt MacLeod
John, Have tried this but unfortunately had no effect. Everything appears to fine if the session variable does not exist ie: the user is redirected to the log in page. It's just when the user has logged in and the session is set that IE throws it's toys out of the pram. Cheer

[PHP] PHP header command crashes IE6x/PC

2003-12-12 Thread Matt MacLeod
(!ISSET($_SESSION['loggedin'])) { header("Location: /admin/login/"); } else { //rest of the page. } ?> Any ideas why this would cause IE to crash Cheers, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] rss/rdf feed classes

2003-12-11 Thread Matt Matijevich
I'm looking for a class that returns a rss/rdf feed with each of the items as an array, or suggestions on how to items into an array... try google and freshmeat.net You should be able to find plenty of examples and classes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] XML Strategdy

2003-12-11 Thread Matt Matijevich
Question is this. As a seasoned developer, my natural instinct is to just write a script(s) to access all the information that I need and write the appropriate information out to the file. Is there a better way to do this? Is there some type of application that has been developed that will take a

RE: [PHP] upload script

2003-12-10 Thread Matt Matijevich
hi, I was wondering if anyonehad a script to upload files. Thank You http://www.php.net/features.file-upload -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] date conversion

2003-12-10 Thread Matt Matijevich
Hi, is there a PHP function that will convert MM/DD/ to MMDD? Also I will need to take into affect some people may put in M/D/ (some people may put in 1 instead of 01, 2 instead of 02, etc). Is there a way to do this? take a look at these functions http://www.php.net/mktime ht

[PHP] display settings

2003-12-09 Thread Hartley, Matt
I am sort of new at this, I am wondering if it is possible to find the display settings of the user I know that will give you Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) is there one that will recover the display settings of the user? Matt

Re: [PHP] Operator question

2003-12-09 Thread Matt Matijevich
In PHP, what does the operator "-=" do? $var -= 1 is the same as $var = $var - 1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP RSS sites and SlashDot

2003-12-05 Thread Matt Matijevich
Any idea how I can get a feed from Slashdot? or any other good programming\tech sites am basically trying to get a feed from around 4 sites for around 5 links each... http://slashdot.org/slashdot.rss try google, there is a bunch of good ones. -- PHP General Mailing List (http://www.php.net/

Re: [PHP] PHP Web Services

2003-12-04 Thread Matt Matijevich
I am wondering if it is possible to create web services using php? If so, where would I go to find some resources about it? try google GIYF http://www.google.com/search?q=web+services+using+php&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8 -- PHP General Mailing List (http://www.p

[PHP] Sort Array by date

2003-12-04 Thread Matt Palermo
;date_file_sort'); // output results for($x = 0; $x < count($menu_item); $x++) { echo $menu_item[$x].""; } Here are the the results I get: 01-04-2004 08-13-1982 12-04-2003 11-19-2003 12-24-2003 Anyone know why these results seem totally random? Please help. Thanks, Matt

Re: [PHP] related products, how to's best practices

2003-12-04 Thread Matt Matijevich
** Low Priority ** >>> Jon Bennett <[EMAIL PROTECTED]> 12/4/2003 9:43:53 AM >>> Would I be right in thinking that php alone can't change the content of a dropdown once the browser has loaded the file without a page refresh ??? In which case I need to source out some javascript, anyone got any

Re: [PHP] Session Expiration Problem....

2003-12-03 Thread Matt Matijevich
** Low Priority ** Is there a way to extend the php session timeout for particular pages? Alternatively, is there a way, other than using cookies, to store user data from page-to-page? I think you can use ini_set() to change session.gc_maxlifetime, that will change your session timeout. You co

Re: [PHP] Session Expiration Problem....

2003-12-03 Thread Matt Matijevich
Is there a way to extend the php session timeout for particular pages? Alternatively, is there a way, other than using cookies, to store user data from page-to-page? I think you can use ini_set() to change session.gc_maxlifetime, that will change your session timeout. You could pass data around

[PHP] Refreshing in forms using post

2003-12-01 Thread Matt Grimm
ll re-parse that post data and create a duplicate record. How can I prevent this? Cache control? Thanks, -- 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 PROT

Re: [PHP] string

2003-12-01 Thread Matt Matijevich
Name|17|5|7|12|26|8|4|0|2|0|40|12.50|3|33.30|19 it should 16 pieces. Any thoughts on how I can get it to cut off at the 19, one thing that I should say is 19 is value that can change. Can't you just use the explode function? http://www.php.net/manual/en/function.explode.php -- PHP General M

[PHP] Communicating with remote server

2003-11-17 Thread Matt Palermo
, but I don't know how to connect to the remote server page and get all the results. I am new to cross-server comunication programming, so if anyone knows of a very detailed and easy to learn tutorial please send me the link. I would appreciate any help you are willing to offer. Thanks,

Re: [PHP] To Loop or Not to Loop?

2003-11-17 Thread Matt Matijevich
The code below inserts the same inventory item into the db multiple times - I just need 1 line entry for each inventory item, but multiple photos of each itemHow to do this? I know the code I wrote below is extremely awful, but I am a nebie and that was the only way I could get it to half-

[PHP] Get value between 2 strings

2003-11-16 Thread Matt Palermo
TWO". In this example it should return the value " and word ". Is there some sort of function I could use to easily do this? Please let me know if you have any ideas. Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mysql_list_fields() bug?

2003-11-10 Thread Matt Babineau
Ok, this ended up working well. I'm still wondering why in my example function two() works, without needing to provide the resource identifier to mysql_query(), how can mysql_query() pick up the resource identifier automatically while mysql_list_fields does not? Thx- Matt On Mon, 2003-11-

RE: [PHP] mysql_list_fields() bug?

2003-11-10 Thread Matt Babineau
two() still works! > > Am I doing something wrong here? > [/snip] > > It's just a small misunderstanding Matt. Your > > $db = mysql_pconnect("ip", "user", "password"); > > is LOCAL to the function http://us3.php.net/language.variab

[PHP] mysql_list_fields() bug?

2003-11-10 Thread Matt Babineau
= "SELECT * FROM user"; $result = mysql_query($q); return $result; } So the end result being if I take the connect statement out of the function one(), it fails, but function two() still works! Am I doing something wrong here? Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multiple instances of php.exe

2003-11-10 Thread Matt Warner
couple of months but the code hasn't changed in years. Has anyone experienced anything like this or have any ideas how to solve it? Thanks, Matt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MX lookup email verification on Windows

2003-11-07 Thread Matt Palermo
Is there any way to accomplish this without the use of exec() or system() functions? "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday 08 November 2003 03:39, Matt Palermo wrote: > > Does anyone know of a way to perform an MX look

[PHP] MX lookup email verification on Windows

2003-11-07 Thread Matt Palermo
Does anyone know of a way to perform an MX lookup on a Windows server to perform an email verification? Any help on this would be great, since I can only find code for this that will work on *nix servers. Please let me know if you can help. Thanks, Matt -- PHP General Mailing List (http

[PHP] Re: Calendar Tool

2003-10-28 Thread Matt Palermo
Oops... The link to the site is: http://www.sweetphp.com/projects/TotalCalendar/ Sorry. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Calendar Tool

2003-10-28 Thread Matt Palermo
Hey everyone. I am the creater of a PHP script called TotalCalendar (http://sweetphp.com/TotalCalendar/) and I am looking for a little advice and suggestions about making a tool for it. I want to build an application that users can download and install on their local machines which connects to a

[PHP] Weird problem when creating a db connection and trying to reference it in a function

2003-10-24 Thread Matt Babineau
($dbname, $table); return $fields; } The problem is this always errors saying it cant find the database. However, if I ran a mysql_query("select * from users") function, it would work fine. Any ideas on what the deal is with this function?? Thanks, Matt -- PHP General Mailing

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Matt Babineau
f its not already been suggested. -Matt On Fri, 2003-10-24 at 17:03, Chris Shiflett wrote: > --- Nathan Taylor <[EMAIL PROTECTED]> wrote: > > This problem should be handled by modifying the php.ini. In my > > experience W3C is a whiney bitch that always gets it's way. Just &g

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Matt Palermo
I don't know much about that, but it definitely sounds better, escpecially since it's still PHP based. Do you know of any websites or tutorials I can go to to learn more about it? It sounds like a much better option. Thanks, Matt "Ray Hunter" <[EMAIL PROTECTED]> wr

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Matt Palermo
P image gallery. I got a long way to go before I will have this created though, since I'm very new to JAVA (I'm much stronger in PHP). Anyway, I'm sure you get the idea. Matt "Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi

[PHP] Using PHP with JAVA

2003-10-24 Thread Matt Palermo
ers machine. I have been searching the web for hours trying to find a tutorial, or advice on how to accomplish this, but so far I have had no luck. If anyone has any advice or suggestions please let me know. Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] cURL > Authorize.Net > Super slow processing times!!

2003-10-15 Thread Matt Babineau
Khalid wrote: > Matt Babineau wrote: > > > Hey All- > > > > Just built a cart, and I want to connect it to Authorize.net with cURL > > and I am able to do that fine. The problem is, it takes a while to > > process the transaction. Sometimes the user's browser

[PHP] cURL > Authorize.Net > Super slow processing times!!

2003-10-14 Thread Matt Babineau
r have any suggestion for "the best" speed related solution? Thanks!! Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header() refresh vs location

2003-10-14 Thread Matt Babineau
e_URL since the browser already knows what Host you are connected to. I could be totally wrong, just my experience in the path month or so. Cheers! Matt On Tue, 2003-10-14 at 15:08, Chris Shiflett wrote: > --- Chris Hubbard <[EMAIL PROTECTED]> wrote: > > header('Location: index

Re: [PHP] Global varialbes in functions

2003-10-04 Thread Matt Schroebel
Jeff McKeon said on Saturday, October 04, 2003 at 11:35 AM >However on the third funtion I get an undefined index error for '>ticketid' Post some code ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sort an array of objects

2003-10-01 Thread Matt Palermo
nks a lot! Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Initial Value for Input Box

2003-09-29 Thread Matt Palermo
allow the double quotes to be initially inserted into the input box? Please let me know. Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fopen

2003-09-25 Thread Matt Grunden
$write = (fwrite($fp, $header)); fflush($fp); fclose($fp); Matt Chris Grigor wrote: Hi I am writing to a file different sources. The one writes the date and the next starts writing data. The date writes fine. $header = "0$gpsdate"; echo $out_file; $fp = fopen($out_file,

Re: [PHP] Help with Displaying RSS feed links

2003-09-09 Thread Matt Matijevich
could you use this for your loop? $sizeArr = sizeof($items); for ($row=0; $row<$sizeArr; $row++) { echo "" . $items[$row]['title'] . "" . $items[$row]['description'] . ""; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is there an issue using sessions with IE/Mac?

2003-09-09 Thread Matt MacLeod
lems. Are there any known issues using php sesisons with IE5/Mac? Cheers, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Beta Testers Needed - Free software opportunity

2003-09-08 Thread Matt Palermo
everyone who has helped me out. 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] Passing Objects between scripts and guarateeing that a language has been choosen.

2003-09-04 Thread Matt Matijevich
[snip] How can I guarantee that a language is always choosen? I mean how is this done professionally? What do I have to write at the beginning of every page? [/snip] You have a bunch of options. on each page you could add something like this to everypage: if (!isset($_SESSION['language'])){

Re: [PHP] Q on Class and EXTEND

2003-09-03 Thread Matt Matijevich
I dont know much about classes, but dont you want $a = new THECHILD('walter'); //so you can access $a->abc instead of $a = new THEPARENT ('walter'); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to include() N lines?

2003-09-02 Thread Matt Matijevich
[snip] i need to include() only a given amount of lines (the first 10 for example) instead of a whole file. [/snip] I have never tried it, but I think you could open up the file you want to include, import n lines into a variable, then use the eval function to turn that variable into php code. S

Fwd: Re: [PHP] Form variables lost when duplicate records arefound !

2003-09-02 Thread Matt Matijevich
Tuesday, September 2, 2003, at 05:13 PM, Matt Matijevich wrote: > [snip] > when the user comes back to the "add_new.php" > [/snip] > > I would use session vars in this case. > > You could also use get variables. > > Say the company name is in the database and you h

Re: [PHP] Form variables lost when duplicate records are found!

2003-09-02 Thread Matt Matijevich
[snip] then the forms variables are stored and NOT LOST ?? [/snip] Have you looked into sessions? http://www.php.net/manual/en/ref.session.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] evaluating dynamic variable

2003-09-02 Thread Matt Matijevich
this worked for me. "; } } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Interview questions

2003-08-28 Thread Matt Matijevich
Can you do it programmitically (with pseudo-code)? After all, we need to keep this on-topic :) not pseudo code and it could definatley be cleaned up or done better but her is my quick try at it echo "We are walking to up to a fork in the road."; $randval = rand(1, 500); $randval2 = rand(1, 500

Re: [PHP] In need of a script

2003-08-24 Thread Matt
On Sunday, August 24, 2003 at 9:49 AM Stevie D Peele wrote: > Can someone show me an example of some code that works something like > this : > > > if cookie is present > redirect to a certain page > > ?> http://www.php.net/header for explanation if ($_COOKIE['cookie_I_want_to_know_about']) { h

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