Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Mike Morton
p://www.ioncube.com/ > > Encrypt PHP scripts (there pretty cheap to). > > On Thu, 2003-01-30 at 09:30, Mike Morton wrote: > I want to use the mcrypt functions to encrypt credit card numbers for > storage in a mysql database, which mycrypt does admirably: > > $key = "thi

[PHP] HTTP_GET_VARS[]

2003-01-30 Thread Mike Tuller
#x27;t seem to carry to this script. I tested the sql statement by by having the asset_id = '3', and it updated the record, but the HTTP_GET_VARS didn't. How can I have the editsoftwareasset.php POST to the updatesoftwareasset.php and carry the HTTP_GET_VARS variable so that I ca

Re: [PHP] HTTP_GET_VARS[]

2003-01-30 Thread Mike Tuller
ement doesn't return anything. Can I carry the HTTP_POST_VARS to another page, or do I need to use hidden fields or something? On Thursday, January 30, 2003, at 10:10 AM, Matt Schroebel wrote: -Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30,

[PHP] Question

2003-01-31 Thread Mike Tuller
ers and print printf ("%s\n", htmlspecialchars ($row[$i])); } print ("\n"); } I understand most of what is going on here except for this line: printf ("%s\n", htmlspecialchars ($row[$i])); Can someone explain to me what the %s is? Mike -- PHP General Mailing List

[PHP] Form Processing - Multiple inputs of the same name

2003-01-31 Thread Mike Potter
Callow Peter Parker . . . This list of DeleteIDs will be build dynamically. I want the user to be able to check the boxes they want to delete and pull the IDs on the posted page. How do I get ALL the IDs passed. Right now it only passes the last ID. Thanks, Mike -- PHP General

Re: [PHP] Form Processing - Multiple inputs of the same name

2003-02-01 Thread Mike Potter
This worked perfectly. Thank you. As for the FAQ, I looked, but I guess not in the right place! Mike "Tracy Finifter Rotton" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Change the name of your checkboxes in your HTML

[PHP] Sessions

2003-02-03 Thread Mike Tuller
;$HTTP_GET_VARS[id]'"; I am stuck when I go to save the information because I can't get the $HTTP_GET_VARS to to carry onto the script for processing the changed information. One way I could do it is with a hidden field, but I would like to do it within sessions. How can I store the

[PHP] Reading Posted variable names

2003-02-05 Thread Mike Morton
usands of previous emails for what may take someone a quick 5 min to write it. :) Thanks :) -- Cheers Mike Morton * * E-Commerce for Small Business * http://www.dxstorm.com * * DXSTORM.COM * 824 Winston Churchill Blvd, * Oakville, ON, CA L6J

Re: [PHP] Client Side PHP

2003-02-06 Thread Mike Morton
vb?? >>> >>> One language across the whole web ;-) >>> >>> Posted this question in the evangelism so I'd be interested in more >>> reaction: >>> >>> Pete >>> >>> >

Re: [PHP] empty and isset

2003-02-06 Thread Mike . Kent
Actually, I believe it's not a matter of the input being set, but the fact that isset() returns true on an empty variable. Jason Wong

[PHP] Adding mhash function without recompile?

2003-02-06 Thread MIKE YRABEDRA
. TIA -- Mike Yrabedra President 323 Enterprises Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock ___ "in all your ways acknowledge Him a

Re: [PHP] empty and isset

2003-02-06 Thread Mike . Kent
Thanks for clearing that up. So input of type text does a set, which makes isset() true, but isset() does not return true if $var is merely empty.

[PHP] include_path doesn't seem to work

2003-02-07 Thread Mike D
ssing something here? Thanks Mike D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multi-User phpMyAdmin

2003-02-08 Thread MIKE YRABEDRA
ouldn't have any global privileges. For example, to grant the user real_user with all privileges on the database user_base:    GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password'; --snip-- -- Mike Yrabedra President 3

[PHP] Problems with SQL queries in PHP script

2003-02-08 Thread Mike Hilty
of apostrophies to designate my variables in the SQL query. How do I rewrite this to avoid this issue? Thanks, Mike Hilty -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] several buttons in form - which one was clicked

2003-02-10 Thread Vahldieck, Mike
n has been clicked... for ($i = 1; $i <= 30; $i++) { echo "checkbox No. $i"; echo ""; echo ""; echo ""; echo ""; } ?> I always get anyfile.php?box=1 ... What am I doing wrong? Better ways to do that? Thanks for your help greetings f

[PHP] Re: PHP 4.3 on win 2k

2003-02-12 Thread Mike Mannakee
What server are you using? Mike "Joe Njeru" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All, > > I get a "Invalid access to memory location." error when I install php 4.3 on > win2k as a isapi module. I

[PHP] PGP and PHP together???

2003-02-12 Thread MIKE YRABEDRA
Is it possible to use php and pgp together? Are there any good tutorials out there? -- Mike Yrabedra President 323 Enterprises Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock

[PHP] IS PEAR Secure?

2003-02-12 Thread MIKE YRABEDRA
I am looking into installing PEAR on my production server running 4.3. Are there any PEAR security issues to be concerned about? -- Mike Yrabedra President 323 Enterprises Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM

Re: [PHP] Database problem - works in Windows - not Linux

2003-02-12 Thread Mike Mannakee
Your MySQL servers may be set to refuse anonymous connections. Mike "Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Lee P. Reilly wrote: > > >Hi there, > > > >I'm moving an application from

[PHP] SNMPGET returns "Invalid object identifier: .1.3.6.1.2.1.1.1.0"

2003-02-13 Thread Mike Lindsay
h-apxs2=/usr/local/apache2/bin/apxs --with-snmp=/usr/local --with-gd=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local *whimper* help! Has anyone seen this behaviour before? The scripts that I am using for testing work fine on my windows server with php, apache, and mysql...any sugg

RE: [PHP] uploading files and MAX_FILE_SIZE and php.ini

2003-02-13 Thread Mike Kercher
You might also check out your timeout value in php.ini -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 12:57 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] uploading files and MAX_FILE_SIZE and php.ini On Friday 14 February 2003 02:44, David

[PHP] Use GnuPG with PHP?

2003-02-13 Thread MIKE YRABEDRA
I want to be able to encrypt a block of text using a passphrase. Then when I get the email, I just need to unlock it using that passphrase (no keys...i think). Can anyone tell me how to do this in PHP code? TIA -- Mike Yrabedra President 323 Enterprises Home of The MacDock and The

[PHP] Encrypted URL links?

2003-02-20 Thread MIKE YRABEDRA
I have a site that sells software and wants to have downloadable purchases. Is there a way to encrypt a URL that will still work when clicked on, BUT not show the customer where the file actually resides? Is it also possible to have it expire after a given amount of time? TIA -- Mike

[PHP] List folder contents with links?

2003-02-20 Thread MIKE YRABEDRA
Is it possible to display the contents of a given folder, list them , and make them links? -- Mike Yrabedra President 323, Inc. Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock

Re: [PHP] List folder contents with links?

2003-02-20 Thread MIKE YRABEDRA
on 2/20/03 11:49 AM, David Otton at [EMAIL PROTECTED] wrote: >> Is it possible to display the contents of a given folder, list them , and >> make them links? > > http://www.php.net/manual/en/function.readdir.php Thanks :-) -- Mike Yrabedra President 323, Inc. Home of T

[PHP] Opendir listing

2003-02-20 Thread MIKE YRABEDRA
"; } closedir($handle); } ?> -- Mike Yrabedra President 323, Inc. Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock ___ "Whatever

Re: [PHP] Opendir listing

2003-02-20 Thread MIKE YRABEDRA
on 2/20/03 3:34 PM, MIKE YRABEDRA at [EMAIL PROTECTED] wrote: > How do I remove the '.' and '..' from displaying with the following script? > I want just the files, not the dots. > > if ($handle = opendir('graphics/')) { > echo "Files:\n&qu

[PHP] Forms and MySql date

2003-02-20 Thread Mike Tuller
, but this will be a database that I want to keep track of purchases, and if it is entered in as text, I wouldn't be able to do calculations such as showing how old something is. How can I have a text field where a person enters the date and have that information entered into the database? Mik

[PHP] Getting a Multiple Select Form Field's Value

2003-02-21 Thread Mike Walth
Hello: I'm trying to get the value from the following form field. Value1 Value2 Value3 I can get it to return one value, but if I select multiple values I can't get all the values form it. Any ideas would be appreciated. Mike Walth CinoFusion -- PHP General Mailing

[PHP] Select Field Form Value

2003-02-22 Thread Mike Walth
ot;Array" prior to the values. Is there an easy way to strip that out? Any help is appreciated. Thank you, Mike Walth CinoFusion -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Locality from URL

2003-02-23 Thread Mike Mannakee
Does anyone know of an intelligent way to establish a user's location (roughly) from either IP address or some other variable available to the server from the browser? (Other than polling the user) Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Received: (from www@localhost) ???

2003-02-24 Thread MIKE YRABEDRA
I am using sendmail and php and it works great... However, It always says this in the header of the email Received: (from [EMAIL PROTECTED]) Is there a way I can change this to something less generic, more specific to my server? TIA -- Mike Yrabedra President 323, Inc. Home of The

[PHP] Fputs including php syntax?

2003-02-25 Thread MIKE YRABEDRA
Is it possible to use 'fputs' to write to a text file and include php code within it? That way the generated page will have working php syntax within. How do I make it so the php code is treated like text and not code? -- Mike Yrabedra President 323, Inc. Home of The MacDo

[PHP] Processing Form Input and MySQL - Best Practices?

2003-02-25 Thread Mike Walsh
could potentially be harmful when it is displayed however I also want to allow links stored in the database to be displayed correctly (as a valid link) when displayed on a web page. Thanks, Mike - mike_walsh at mindspring dot com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Preventing the "hijacking" of pictures

2003-02-28 Thread MIKE YRABEDRA
LinkLok that may do what you need. It encrypts the image tag so it will only work on your pages. Search for it in Hotscripts.com HTH -- Mike Yrabedra President 323, Inc. Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://m

[PHP] Phpadsnew?

2003-03-03 Thread MIKE YRABEDRA
Has anyone else had problems with this app opening tons of processes and never closing them? -- Mike Yrabedra President 323, Inc. Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock

[PHP] PHP & NNTP w/o IMAP?

2003-03-04 Thread Mike Walsh
ed up anything to date. I am trying to retrieve the newest 10 articles a newsgroup and display it as part of a web page. Thanks, Mike - mike_walsh at mindspring dot com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] form POST file upload mystery

2003-03-04 Thread Mike D
up in the $_FILES array arfter submitting... Array ( [userfile] => Array ( [name] => linker2_0_4.tar [type] => application/x-tar [tmp_name] => /temp/phpFSoKmc [size] => 0 ) ) thanks Mike D

[PHP] Configure with register_globals on

2003-03-07 Thread Mike Tuller
his is the problem with GoLive saying PHP is not installed. I don't have a php.ini file to change the values for register_globals to be on, so what do I need to add when I run configure to have register_globals turned on? Thanks, Mike -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Persistent values between executions

2003-03-10 Thread Mike Mannakee
ts of values remain persistent in the server's memory between calls from browsers, like environment variables, to reduce the back and forth calls to mySQL. As the data from the calls are almost always the same, it would seem easier this way. Any thoughts? Comments? RTFM suggestions? Mike

Re: [PHP] MySQL and PHP arrays

2003-03-10 Thread Mike Mannakee
You get at the data through $array = mysql_result($result,0,0); Mike "{R}Ichard Ashton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 10 Mar 2003 22:34:44 +0800, Jason Wong wrote: > > >On Monday 10 March 2003 22:30, {R}ichard Ashton wrot

Re: [PHP] Persistent values between executions

2003-03-10 Thread Mike Mannakee
Thanks, but what I need are static values accessible in the script, without having to fetch them from the database every single page view. They do occassionally change, but in the main they're fairly static. Mike "Rich Gray" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

[PHP] Re: Persistent values between executions

2003-03-10 Thread Mike Mannakee
of a pain, but once it's running it should be alright. Mike "Chris" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 10 Mar 2003 11:30:25 -0500, Mike Mannakee <[EMAIL PROTECTED]> > wrote: > > > I have some sets of values that

[PHP] Search all data in database

2003-03-11 Thread Mike Tuller
umn one by one or is there an easier, more efficient way of doing this? Thanks, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Random String Generation

2003-03-12 Thread Mike Walth
against the database and activate their account. Does anyone know an easy way to create this string? Thank you, Mike Walth CinoFusion -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Check to see if mysql_fetch_array result is empty

2003-03-12 Thread Mike Tuller
How can I check to see if a mysql_fetch_array is empty. I have a search page, and want to have it so that when there are no matches, it returns a message saying that there were no matches, and if there are, then display them. Here is what I have so far to give you an idea as to what I am tr

[PHP] Update Status Question

2003-03-12 Thread Mike Walth
report back fail? Or do I first need to check the status with a select? Thank you, Mike Walth CinoFusion -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Check to see if mysql_fetch_array result is empty

2003-03-12 Thread Mike Tuller
, at 05:45 AM, Michael Roger C. Bianan wrote: Mike, Use mysql_num_rows($db_query) ; - returns no of rows in the result set. - if none, returns 0. Thanks, Miches -----Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:17 AM To: php mailing list li

Re: [PHP] Check to see if mysql_fetch_array result is empty

2003-03-12 Thread Mike Tuller
} else { --- that should have been if ($num == 0) . Notice the two = (==). Thanks, Miches:) -Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 12:43 PM To: [EMAIL PROTECTED] Cc: php mailing list list Subject: Re: [PHP]

[PHP] Setting session variables from value in database

2003-03-13 Thread Mike Tuller
print $user_type I don't get anything in return. Any ideas as to what I am doing wrong? I have tried a separate query for the mysql_fetch_array, and that didn't seem to work either. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Do query strings get spidered by Google?

2003-03-15 Thread Mike Hillyer
search engines to spider them. Otherwise, I believe there is a way to convert the quert string to a trailing / so it looks like directory structure, does anyone have info on that? Thanks, Mike Hillyer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: HTMLENTITES(); & the pound sign

2003-07-01 Thread Mike Mannakee
What does the html look like? Mike "Bob pilly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am using PHP Version 4.3.2-RC1 > > Can someone please clarify the htmlentities() function > for me? I have a variable called $notes2 that is > pulled f

RE: [PHP] Sharing Cookies with Java?

2003-07-01 Thread Mike Migurski
>>Can php share cookies with java servlets? Specifically, can php use >>cookies written by a java servlet? > >I don't know about Java, but JavaScript can use php cookies and >vice-versa. A cookie is a cookie is a cookie, regardless of the originating technology -- browsers should treat them all i

Re: [PHP] Session vs Cookie Issues

2003-07-01 Thread Mike Migurski
> I know this topic has been talked about a LOT but all the info >I've managed to get from google is that there is no center / best option >to choose between using sessions or cookies. You're comparing apples and oranges -- cookies are one of the mechanisms by which PHP implements sessions.

[PHP] Using INCLUDES in SAFE MODE

2003-07-02 Thread MIKE YRABEDRA
x27;s config, to allow access to *specific* directories when in safe_mode? TIA +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1

RE: [PHP] Session vs Cookie Issues

2003-07-02 Thread Mike Migurski
> based on what you're saying, I gather that if I were to choose to >use cookies, and if cookies were rejected by the user, PHP will default >to using sessions? If you chose to use sessions, and cookies were rejected by the user, then PHP would append the session ID to each internal link, in

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Mike Migurski
>>The only major flaw I've found with PHP's session support 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? I've running into this problem wher

Re: [PHP] Authentication system

2003-07-02 Thread Mike Migurski
>At the point where they fill out the registration form, I am sending them >an email, informing them that they have been registered. On many sites >I've gone to, the process then includes a requirement that the person >reply to the message. > >Now I need to learn how to take the incoming message an

[PHP] Setting Cookie Going Nuts

2003-07-03 Thread Mike Morton
- 30 mins from now. $cookieexpiry=time()+$COOKIE_EXPIRY; setcookie($ADMIN_COOKIE_NAME,"$cookieid",$cookieexpiry,"/",$_SERVER["HTTP_HO ST"],0); unset($cookieexpiry); } unset($cookieid); } adminCookie(); //issue the cookie -- Cheers Mi

Re: [PHP] Incrementing counter from an HTML page.

2003-07-06 Thread Mike Migurski
>The problem I am facing is that my Index page can be an HTML page only.. >not PHP. I cant use framesets, redirects etcetera. I want to build my >own Counter using PHP & mySQL Database.. with the "Users Online" and >"Total Hits" feature. How can I increment the counter or affect a PHP >code using

[PHP] Security-other than safe mode?

2003-07-07 Thread MIKE YRABEDRA
ould greatly be appreciated. TIA +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTECTED]

[PHP] Re: connect to MAS 90 & 200 with PHP

2003-07-07 Thread Mike Smith
I have used MAS90. If you're using MAS90 you'll need to create an ODBC connection (http://us3.php.net/manual/en/ref.odbc.php). If it's MAS200 (SQL) use mssql functions (http://us3.php.net/manual/en/ref.mssql.php). By installing the MAS90 client software you install the necessary ODBC drivers assumi

Re: [PHP] Eregi filtering..

2003-07-07 Thread Mike Migurski
>elseif (eregi("a-ZA-9", $v_tel_filter)) { >echo "'$v_tel_filter' Telephone Number Contains words"; > >} else { > >im looking how to verify numbers alone and dash "-" can that be possible? I >have tried using "a-ZA-9" but did not work. /^[\-\d]+$/ should match a string of just digits and dashes.

Re: [PHP] Storing large amounts of text in db

2003-07-07 Thread Mike Migurski
>I am working on some scripts that will allow for uploading of files that >will then be stored in a database with the ability to be listed and >searched. > >What im wondering, is if I have a user upload a file in txt, or doc >format if there is an easy way to read that file, store the information >

[PHP] Security-OTHER than safe mode?

2003-07-08 Thread MIKE YRABEDRA
ould greatly be appreciated. TIA +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTECTED]

Re: [PHP] Setting Cookie Going Nuts

2003-07-08 Thread Mike Morton
> > Sincerely > > berber > > Visit http://www.weberdev.com/ Today!!! > To see where PHP might take you tomorrow. > > > -Original Message- > From: Mike Morton [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 03, 2003 4:03 PM > To: [PHP - GENERAL]

Re: [PHP] Setting Cookie Going Nuts

2003-07-08 Thread Mike Morton
ll have to check the other scripts to see if they were modified to a redirect, but I do not think that they were... Thanks George :) > > Hope this solves your problem. > > Cheers > > George in Oxford > >> -Original Message- >> From: Boaz Yahav [mai

Re: [PHP] Retaining formatting problem[Scanned]

2003-07-08 Thread Mike Migurski
> cannot have multiple lines, use this > >little amount of > >text This is true. Also, watch the line endings coming aout of that textarea - you may want to normalize them. I prefer unix linebreaks, so I use this to convert mac and DOS endings: str_replace(array("\r\n", "\r"), "\n", $tex

Re: [PHP] Stumper: Get Variable Name

2003-07-08 Thread Mike Migurski
>I want to be able to e-mail myself the name of the variable that bombed >out and the line that it was on (as well as the filename) if possible. >Don't really know where to start... looks like this: You can use PHP's predefined constants in an assertion, and debug_backtrace(). http://www.php.net/

RE: [PHP] linking with home directory

2003-07-09 Thread Mike Brum
First, I'd create a simple test to see what the value of $newDir = $HomeDir."themes/".$ThemeFolder; print $newDir; And see what that yields. You might have a problem with your slashes. I find it extremely useful to have test variables print to the screen along the way to ensure that each new p

RE: [PHP] linking with home directory

2003-07-09 Thread Mike Brum
Maybe you should try to reference it from http://localhost/MyScript/default/style.css ? -M -Original Message- From: Matt Palermo [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 12:02 PM To: Matt Matijevich; php-general Subject: RE: [PHP] linking with home directory I am testi

Re: [PHP] $_SESSION act funny...

2003-07-09 Thread Mike Migurski
>If you go to the next webpage by using the same file (webpage) or a >$_SERVER['PHP_SELF'], the data in the $_SESSION array remain the same, it >does not change as it should. > if ($_SESSION['test'] == "one") { $_SESSION['test'] = "two" }; > if ($_SESSION['test'] == "two") { $_SESSION['test'

RE: [PHP] Using PPP with PHP

2003-07-10 Thread Mike Migurski
>[snip] >Umm, use exec() to call the dialing program? >[/snip] > >That works on the surface, but the PPP program returns some vital >information about its connection status that is required for use by any >subsequent file operations. The information is returned via STDOUT. so try system() instead.

Re: [PHP] download hyperlink

2003-07-10 Thread Mike Migurski
>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. You want the Content-Disposition header, see the HTTP spec. - micha

[PHP] AAAAGGGHHHH!!! Help!!

2003-07-11 Thread Mike Mannakee
rds that part of the WHERE clause is not working. Does anybody see any problem in the sql that I'm not seeing?? This is driving me nuts. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Searching a test file...

2003-07-15 Thread Mike Migurski
>No matter what I do, it always returns "not here" even if there is a >matchvery frustrating! > >Any ideas? -snip- Looks like you are attempting to match 'user1' to "user1 26:48:59 6 logins 4:28:09 hrs/login\n", which will come up false. You'll need to either do some postprocessing on the fil

RE: [PHP] How to use ph to set meta tags ?

2003-07-15 Thread Mike Brum
You're close but instead of try That will print the return value of your function - which by example is "Daniel Szasz". -M -Original Message- From: Daniel Szasz [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:07 PM To: [EMAIL PROTECTED] Subject: [PHP] How to use ph to set m

[PHP] Exec command not working through php

2003-07-15 Thread Mike Morton
no problem. If anyone has run into this with exec commands before or can suggest a different way to run this command, I would love to hear it! TIA -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] * *

Re: [PHP] Exec command not working through php

2003-07-15 Thread Mike Morton
ear it! > > Put this line of code in your script: > > echo "/bin/sed -f $GLOBALS[TMP_MAIL_DIR]"."cmdfile > $GLOBALS[TMP_MAIL_DIR]"."$mailid > > $GLOBALS[TMP_MAIL_DIR]"."$mailid"."tmp"; > > and check that it contains wha

Re: [PHP] Exec command not working through php

2003-07-15 Thread Mike Morton
y using the third optional paramater for the exec > function to retrieve the return status of the command you are executing. > > David. -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] *

RE: [PHP] HTML email with Outlook

2003-07-15 Thread Mike Brum
By the context, I'm sure it should read "...not all email clients support HTML." (I got a laugh out of it though ;) -Original Message- From: Johnny Martinez [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 7:21 PM To: 'Curt Zirzow'; [EMAIL PROTECTED] Subject: RE: [PHP] HTML email w

Re: [PHP] XML Array

2003-07-15 Thread Mike Migurski
ere is also http://php.net/xml_parse_into_struct, which doesn't generate exactly what you want, but it "generates structures amenable of being transversed in a tree fashion." -mike. - michal migurski- contact info and

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

2003-07-15 Thread Mike Migurski
>$customer = new Customer($_GET['facilityID'], $_GET['customerID']); >$_SESSION['acceptPayment']['serializedCustomer'] = serialize($customer); > >so now when I have moved on to another page or another instance of the >same page and I want to access the object from the session var, I do so >like thi

Re: [PHP] PHP POS program

2003-07-16 Thread Mike Morton
POS) is too serious to be written in PHP(via browser). > Maybe in PHP-GTK or in PHP as CLI... But I've never heard about it. > -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] *

Re: [PHP] PHP POS program

2003-07-16 Thread Mike Morton
move to the future. And BTW - there is no such thing as CANNOT be done, only that some one has not done it yet On 7/16/03 9:04 AM, "Andrei Verovski (aka MacGuru)" <[EMAIL PROTECTED]> wrote: > > On Wednesday, Jul 16, 2003, at 15:58 Europe/Helsinki, Mike Morton wrot

Re: [PHP] PHP POS program

2003-07-16 Thread Mike Morton
netti napsal(a): >>> >>> >>>> Anyone know where I can download a demo point-of-sale program from? >>>> preferably written in php and preferably a point-of-sale designed for >>>> restaurants? any links etc will be great >>>> >

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

2003-07-16 Thread Mike Migurski
>Wow thats strange?? I am using PHP 4.3.2 as well and I don't see that >happening where it serializes the object when assigning it to the >$_SESSION. It doesn't do it when you assign it into the $_SESSION array, it does it when the script completes and updated session data is written to the sessi

Re: [PHP] zend optimizer for 4.3.2

2003-07-17 Thread MIKE YRABEDRA
r platforms. +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTECTED] I: ichatmacdock ++ "

[PHP] 4.3.2 fopen() problem/limit?

2003-07-17 Thread MIKE YRABEDRA
half of the source page. Almost like it gets to 20k then stops the stream. Anyone know if this is a bug or if there is a way to fix the problem? TIA ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop

Re: [PHP] 4.3.2 fopen() problem/limit?

2003-07-17 Thread MIKE YRABEDRA
ull??? +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTECTED] I: ichatmacd

Re: [PHP] 4.3.2 fopen() problem/limit?

2003-07-17 Thread MIKE YRABEDRA
on 7/17/03 8:28 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > ohh, excuse me, i read bad your message. > What is the size of the file ?? > check in php.ini the postmax_size param. 8MB, that should plenty big enough. +----+ Mike Yrabedra (

Re: [PHP] session objects crossing applications

2003-07-17 Thread Mike Migurski
>foobar and foobar_dev are suppose to point to different databases, but >other than that all is identical. > >If I open a new internet explorer window via the windows Start menu all >is fine. I thought if the url base is different then the session would >be different? This is how it is with JSP.

[PHP] PHP and secure transactions

2003-07-17 Thread Mike Joseph
Hey everyone, Anyone have any tips on books, sites, news groups... anything where I can get some *good* information on using PHP to process secure transactions (the real ones, with an RSA Certificate). Thanks in advance, ~Mike -- -==- Mike Joseph Unix Geek / Code Monkey "Gripped by fear m

Re: [PHP] PHP and secure transactions

2003-07-17 Thread Mike Joseph
++, but I have yet to find anything equivalent for PHP We have a server: apache, mod_ssl, php with mcrypt, and an RSA Cert, I understand these technologies, I'm looking for general information, tips, advice on working with them together. ~Mike -- PHP General Mailing List (http://www.php.net

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

2003-07-17 Thread Mike Morton
o retrieve that in a loop? Foreach, for, while or otherwise? -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] * "Indeed, it would not be an exaggeration to describe

Re: [PHP] URL correctimizer ... how to make one?

2003-07-20 Thread Mike Morton
> > and of course > fclose($found); //we dont want the rest of the page. > > > hmm.. I think I did to much.. just that other peoples code frighten me > sometimes > > btw, the above code is copyrighted so dont use it. > > cheers, > > Curt -- Cheers

RE: [PHP] fsockopen

2003-07-22 Thread Mike Migurski
>Is there a way to get fsockopen to suppress the header information it >returns. I have no use for the crap, have no idea how to use a regexp to >get it out of there (nor does anyone on this list it would seem either). preg_match('/()/ms', $http_response, $html) ...puts it into $html[1]. Adjust

[PHP] Localization and Customization of Application

2003-07-22 Thread Mike Morton
nistration is the key here, and the method above leaves some UI questions such as 'when viewing the administration page, how can the user relate the label called CART_EDIT to the edit button in the cart page?' If anyone has some experience in doing this, I would apprec

Re: [PHP] fsockopen

2003-07-22 Thread Mike Migurski
>> preg_match('/()/ms', $http_response, $html) >> >> ...puts it into $html[1]. Adjust to suit your local standards-compliance >> practices. You can also look for everything after the first instance of >> "\n\n". > >Thats assuming that the person used the for the first >item. what bout extra space,

<    1   2   3   4   5   6   7   8   9   10   >