Re: [PHP] tengo un problema

2001-01-22 Thread Matt
Ok, let me try this again... it seems my code was stripped by the server. If this doesn't work could someone tell me how I can post script and html tags within the body of my messages to the list server? Thanks. --- Excuse por favor mi malo y posiblemente espaol incorrecto.

[PHP] Processing PHP within a string variable

2001-01-24 Thread Matt
On a project I am working on, I have a string variable, and inside the string is a mixture of PHP code and HTML. I want to be able to output the string with the PHP code inside the string processed. Right now the PHP isn't processed on output, it is merely cut out. I have been able to do this

Re: [PHP] Processing PHP within a string variable

2001-01-24 Thread Matt
Haha, well I apologize for not seeing this earlier when I was hunting through the documentation. Silly me. Thanks a bunch! At 04:02 PM 1/24/2001 , you wrote: So sprach Matt am Wed, Jan 24, 2001 at 03:56:37PM -0600: string is a mixture of PHP code and HTML. I want to be able to output

Re: [PHP] my bugaboo.

2001-02-04 Thread Matt
to properly escape the characters that need it, something like: $new_data = addslashes($old_data); should work... then when you go to display the information, call stripslashes to de-escape everything: $display_str = stripslashes($new_data); I hope this helps. -Matt At 06:42 PM 2/3/2001, you

Re: [PHP] RTFM

2002-01-19 Thread Matt
Yeah, I've seen (and used) that. But it requires searching. My idea is to put together a list of the simple questions in one place ... much like the apache faq ... and also allowing world input like the php manual does. You guys have seen this, right? http://php.faqts.com/ -- PHP

Re: [PHP] MySQL query question

2002-01-24 Thread Matt
If you're trying to be able to keep reference to the order the records are added to the table, simply add a date/time field and populate it with the date/time now() when you insert. You can then sort on that as needed later. - Original Message - From: Phil Schwarzmann [EMAIL PROTECTED]

Re: [PHP] user auth script update.

2002-02-16 Thread Matt
I am now getting the parse error on line 64 $sql_authorisation = SELECT * FROM account_details WHERE account_name='$login_username' AND account_password=PASSWORD('$login_password'); You're missing the closing on the last line above. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] not really a php question but can't hurt to ask.

2002-02-16 Thread Matt
Turn caching off in IE while you're developing ... or hit refresh so you get the new page. - Original Message - From: Matthew Darcy [EMAIL PROTECTED] For some reason windows using ie takes doesn't see changed on the apache webserver as quick as linux ??? -- PHP General Mailing

Re: [PHP] storing arrays

2002-02-17 Thread Matt
- Original Message - From: Clark [EMAIL PROTECTED] Sent: Saturday, February 16, 2002 9:15 PM Two questions: 1) Is it possible to write an array to a file? Yes, serialize it first with http://www.php.net/serialize. You can also place this in a db text field because it will be a

Re: [PHP] MySQL error checking/matching

2002-02-17 Thread Matt
- Original Message - From: Navid Yar [EMAIL PROTECTED] $query = select email from customers // Check for duplicate entry . where email = $email; $query = stripslashes($query); $result = mysql_query($query); $num_results = mysql_num_rows($result); // Get the number of rows in

Re: [PHP] no-cache headers

2002-02-18 Thread Matt
- Original Message - From: Phil Ewington [EMAIL PROTECTED] I am new to PHP and am having problems with no-cache headers, I have the following code added as the first line of code in the page... ? header(Expires: Mon, 01 Jan 1997 00:00:00 GMT); header(Cache-Control: no-store,

Re: [PHP] form submission error trapping

2002-02-18 Thread Matt
I think that mixing of html and php is too complex and leads to hard to maintain scripts. I find it extremely difficult to understand a scripts logic when it's spread out over hundreds of lines of php/html. I use EasyTemplates that came in Web Applications Development with PHP 4.0 by Tobias

Re: [PHP] Using Variable Variables from form values inside a function

2002-02-18 Thread Matt
- Original Message - From: Ron Dyck [EMAIL PROTECTED] but, this doesn't: function myFunction() { foreach($_POST as $key=$value) { if (empty($$key)) { print empty value $keybr; } } } Since php variable scope is local unless you define it global, that

Re: [PHP] PHP_SELF Undefined

2002-02-18 Thread Matt
$foo = This page is $_SERVER[PHP_SELF]; Or, better: $foo = This page is {$_SERVER['PHP_SELF']}; You do have to concat to do this in single-quoted (noninterpolated) strings, though. http://www.php.net/manual/en/language.types.string.php#language.types.string .parsing Can you expand

Re: [PHP] PHP_SELF Undefined

2002-02-18 Thread Matt
The other reason is that the parser needs help resolving ambiguity with more complex expressions inside strings. If you use this syntax all the time, you won't get bitten in the butt later. I've used the ${$var} to resolve the ambiguity of variable variables, but I wasn't aware that if could

Re: [PHP] get emum values

2002-02-24 Thread Matt
I think I got this off the Zend site a year or so ago: // function mysql_fetch_enumerations($db_connection, $table_name, $column_name, $sorted=unsorted) { /* Author Thomas J. Swan Revision History 1.0Creation of function 1.1Added the ability to sort the array before returning

Re: [PHP] cool PHP sites

2002-02-27 Thread Matt
http://www.superpages.com/ -- the US national telephone directory from Verizon -- appears to use php. The extension is .phtml ... - Original Message - From: Chris Lott [EMAIL PROTECTED] minutiae of the language itself. So (quickly if possible-- I'd like to demo some sites tonight)

Re: [PHP] Form element names as array

2002-03-04 Thread Matt
with checkboxes, the value of the checkbox is sent to the serveronly if it's checked - if it's not chesked, then it's value does go to the server And, because of that, checkBox[0] is the first box *checked*, not the first in the html. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Basic help for radio buttons needed

2002-03-05 Thread Matt
the only value I get is the $admin_do which has the value Array - not much help Running your code on my 4.1.2 box, I see: submit = select = value is Change User password admin_do is Change User password counter = 0 value is counter = 1 value is counter = 2 value is counter = 3 value is counter

Re: [PHP] A good PHP Shop

2002-03-07 Thread Matt
Don't forget The Exchange Project, which is now called osCommerce: http://www.oscommerce.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] (htaccess) not letting php to parse

2002-03-08 Thread Matt
- Original Message - From: Lauri Vain [EMAIL PROTECTED] Hi there, I would prefer to take away the possibility for PHP to parse my documents in the /uploaded/ directory. Why don't you append someother suffix to the file when it's uploaded? -- PHP General Mailing List

Re: [PHP] Date

2002-03-08 Thread Matt
- Original Message - From: Yogesh [EMAIL PROTECTED] Hi! can someone please tell me how to get the current date? See: http://www.php.net/manual/en/function.mktime.php Now, how can i perform addition with the date so that i mail that user 3 months after the date he registered that his

Re: [PHP] /usr/bin/php error

2002-04-07 Thread Matt
Did you compile in ftp support? It's not there unless you do. http://www.php.net/manual/en/ref.ftp.php - Original Message - From: Chris Kay [EMAIL PROTECTED] Would any one know why when I run command line php I get the following? [root@*** ]# /usr/bin/php

Re: [PHP] Newbies Question

2002-04-07 Thread Matt
Remove the double-double quotes and the newline around $image: $img = GetImageSize($image\n);this is Line 13 It should look like: $img = GetImageSize($image); There is no need to double quote a variable when passing as a parm. You would want to double quote a variable

Re: [PHP] AS/400 data access

2002-04-09 Thread Matt
Then, why not install the IBM odbc driver that comes with Client Access for Windows and use it? - Original Message - From: Collins, Robert [EMAIL PROTECTED] To: 'Matt Schroebel' [EMAIL PROTECTED]; Collins, Robert [EMAIL PROTECTED]; 'Rance Hall' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent

Re: [PHP] Switching from Register_Globals=On

2002-04-13 Thread Matt
I've read the manual on Session handling functions, but I must have a thick block on this concept . What should I do now that I want to use $HTTP_SESSION_VARS or $_SESSION ? How do I implement it on secondary pages? Will I be facing a major re-write of all my code? [Gulp :] Yes. 1. You must

Re: [PHP] how can this be? GET instead of POST - db error

2002-07-13 Thread Matt
This is out of the Apache log: GET /subapp_profiles/act_upload_image.php HTTP/1.1 200 160 POST /subapp_profiles/act_upload_image.php HTTP/1.1 302 5 I do not have a clue where this GET request could come from. This has caused a empty sql statement and therefore a db error. How can could

Re: [PHP] hello the list

2002-07-13 Thread Matt
echo td bgcolor=$bgcolorfont face=Verdana size=1b$cd_id/b/font/td; Strings work differently when the outer quotes are double or single quotes. Inside double quotes variables will be converted into their values. Inside single they will not. So: $var = 'Hello World'; echo $varbr\n; will result

Re: [PHP] ErrorDocument 404 Form

2002-07-18 Thread Matt
Well it still is in GET method because the url does still exist with the ?plop=foobar but in case I want to use POST method (which I will as my form has huge textarea) everything disappear. Also this is a turn around I don't like, I would first understand why it doesn't work, and if I can

Re: [PHP] Re: Credit card checks?

2002-07-23 Thread Matt
From: Mark McCulligh [EMAIL PROTECTED] Sent: Tuesday, July 23, 2002 8:47 PM Subject: [PHP] Re: Credit card checks? You could use an algorithms called mod10. Mod 10 catches keying errors. It's use is to prevent digits from being swapped. So if you key 133791 instead of 137391, the mod 10

Re: [PHP] Paying Job...

2002-07-26 Thread Matt
From: Gerard Samuel [EMAIL PROTECTED] Sent: Friday, July 26, 2002 1:07 PM Subject: Re: [PHP] Paying Job... Someone posted a link to template contracts yesterday, but I cannot find it in the mailing list archive. Bret Find a contractor or find a contract at Tech-Temp.com

Re: [PHP] can i use --with-unixODBC instead of --with-ibm-db2?

2002-08-08 Thread Matt
It seems way too difficult to configure db2 on linux. Let alone trying to do it on freebsd, which I hope to tackle that next week. I tell you though, I really love mysql, it's so easy to use, and configure. mysql just works. mysql's performance on a table I have that has roughly 250,000 rows of

Re: [PHP] HTTP authentication - de authentication

2002-08-10 Thread Matt
From: vic [EMAIL PROTECTED] Sent: Saturday, August 10, 2002 11:24 AM Subject: [PHP] HTTP authentication - de authentication How does one logout from such an authentication? There's no way to logout. Use a session based authentication. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] PHP form port

2002-08-10 Thread Matt
From: Daniel Guerrier [EMAIL PROTECTED] Sent: Saturday, August 10, 2002 12:14 PM Subject: [PHP] PHP form port How do i execute a form post with php? I want to validate CCard info etc.. then perform the post with no furtheraction from the user. Basically If not valid stay here and show

Re: [PHP] subtracting 2 time strings

2002-08-11 Thread Matt
From: Christopher Molnar [EMAIL PROTECTED] Sent: Saturday, August 10, 2002 11:37 AM Subject: [PHP] subtracting 2 time strings Help! I can't find reference to it in the manuals but I need to subtract to time strings. ex: time_in = 11:00 time_out = 13:45 job_time = 2:45

Re: [PHP] Re: need help

2002-08-11 Thread Matt
From: B.C. Lance [EMAIL PROTECTED] Sent: Sunday, August 11, 2002 9:53 AM Subject: [PHP] Re: need help to do a comparison between two values / variables, you have to use == instead of = = is an assignment while == is a comparison operator if($row['gid'] == 0) I write these this way so

Re: [PHP] Re: need help

2002-08-11 Thread Matt
From: B.C. Lance [EMAIL PROTECTED] Sent: Sunday, August 11, 2002 10:17 AM Subject: Re: [PHP] Re: need help snip Matt wrote: if(0 == $row['gid']) /snip ahhh. let the parser do the check. works great if you are not comparing with 2 variables :) in fact, another way to avoid

Re: [PHP] Good Damn

2002-08-11 Thread Matt
From: Sascha Braun [EMAIL PROTECTED] Sent: Sunday, August 11, 2002 10:32 AM Subject: [PHP] Good Damn $Query = SELECT * FROM basket_db WHERE session_id = '$PHPSESSID'; try: $Query = SELECT * FROM basket_db WHERE session_id = '$PHPSESSID' or die(mysql_error()); -- PHP General Mailing List

Re: [PHP] Problem with $PHP_SELF on PWS

2002-08-11 Thread Matt
From: John Brooks [EMAIL PROTECTED] Sent: Sunday, August 11, 2002 10:21 AM Subject: [PHP] Problem with $PHP_SELF on PWS I have PHP installed on PWS running on a Windows 98SE m/c. When I invoke form action=action.php method=POST everything is fine and the form data is extracted correctly.

Re: [PHP] Problem with echo

2002-08-11 Thread Matt
From: Kristoffer Strom [EMAIL PROTECTED] Sent: Sunday, August 11, 2002 10:42 AM Subject: [PHP] Problem with echo Got a problem when echo:ing a variable containing alot of text. When echoing it backslashes (\) every apostrophe (') and quote (). This I don't like. And I can't use

Re: [PHP] Mime types?

2002-08-21 Thread Matt
From: Wm [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 5:17 PM Subject: [PHP] Mime types? Is there a resource somewhere that would show what the various MIME types are? For a file upload page, I want to include .TIF, .AI, .PSD, etc., in addition to the standard

Re: [PHP] Count number of rows in table.

2002-08-25 Thread Matt
On Sáb 24 Ago 2002 11:19, Tony Harrison wrote: How would I count the number of rows in a mysql table with a WHERE clause? Martín marqués [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... select count(*) from table_name WHERE . From: Tony Harrison [EMAIL PROTECTED]

Re: [PHP] trouble with function

2002-08-25 Thread Matt
Everytime you call the function, it re-runs the sql, and gives you the same list. The only time it wouldn't do that was if the id wasn't found. You could probably change the function to a class, where the constuctor ran the sql, and then you had another method to get the next entry. -

Re: [PHP] Posting variable without form

2002-08-26 Thread Matt
From: Then Nam Kheong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 26, 2002 12:26 PM Subject: [PHP] Posting variable without form I tried it but it is not successful. I think it is because I tried to post to a https(SSL link). I would like to know if I can perform a SSL

Re: [PHP] Date conversion problems

2002-08-26 Thread Matt
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 26, 2002 3:58 PM Subject: [PHP] Date conversion problems Having a little trouble with converting dates. I have, in my database, a bunch of dates stored like this: -M. Month is obviously the number of the month (5), not

Re: [PHP] Date conversion problems

2002-08-26 Thread Matt
From: Matt [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, August 26, 2002 5:42 PM Subject: Re: [PHP] Date conversion problems From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 26, 2002 3:58 PM Subject: [PHP] Date conversion problems mktime

Re: [PHP] unexpected T_STRING error

2002-09-28 Thread Matt
The quotes within the quotes. Change to: echolt;META NAME=\keywords\ CONTENT=\ $keywords \gt;; From: Gary [EMAIL PROTECTED] Sent: Saturday, September 28, 2002 11:15 AM Subject: [PHP] unexpected T_STRING error Hi All, Can someone explain to me why I am getting an error for the following?

Re: [PHP] Challenging problem for you programing gurus...

2002-09-28 Thread Matt
snip Chris Shiflett wrote: I didn't catch which database you are using, but you can alter a field in MySQL to add the auto_increment characteristic. Look into the alter table SQL statement. /snip And if you do that, there won't be any trouble with the existing IDs. mysql will grab the next

Re: [PHP] Re: date question

2002-09-29 Thread Matt
From: Jonas Geiregat [EMAIL PROTECTED] Sent: Sunday, September 29, 2002 10:56 AM Subject: [PHP] Re: date question and If I want to calculate from given date the next month like strtotime(next month) gives me the date of one month in advanced from NOW but I want to get the date one month

Re: [PHP] Undefined constant error

2002-09-29 Thread Matt
From: Voisine [EMAIL PROTECTED] Sent: Sunday, September 29, 2002 7:52 PM Subject: [PHP] Undefined constant error I'm learning PHP from a book PHP for newbie writen in French and I have an error on one of the exemple. Undifined constant 'compteur' on line 15 which is : if (compteur == 1)

[PHP] IP security check

2001-08-07 Thread matt
For secure payment pages, I need for the code to determine the persons IP address, even if they have a spoofer running. Is this possible? Getting around the spoofer in order to catch criminals using illegal credit card #'s.. thanks -matt (cs student) -- PHP General Mailing List (http

Re: [PHP] Iterating varibales

2001-07-05 Thread Matt
Actually, if you make the names in the form resemble array variables, this can be greatly simplified. Something similar to the following might be what you are looking for: input type=text name=item[0] input type=text name=item[1] when the form is passed to the next script, there will be a

[PHP] Cookies

2001-02-09 Thread Matt
, and the page is rather complex, with various nested includes and so forth. PHP version is 4.0 I use both IE 5.5 and Netscape 6, it does the same thing in both of them. Any help or suggestions would be greatly appreciated, this has been bugging the hell out of me. Thanks. --Matt -- PHP

[PHP] Cookies reprise...

2001-02-09 Thread Matt
cookies as well, and the problem still persists. I know this is long and boring and tedious crap, so I don't really expect anyone to reply, BUT if any of you have the time or inclination, any help/suggestions/advice would be greatly appreciated. Regards, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] how to know which web dir you're in

2001-02-09 Thread Matt
Your best bet would probably be to use the environment variables getenv("REQUEST_URI") will get you the URL minus the host name, so basically it's the relative path. getenv("HTTP_HOST") will return the hostname (www.whatever.com) Hope this helps. Regards, Matt At 09

[PHP] Editing a files hex?

2001-02-21 Thread Matt
Does anyone know how I can do this? I've got the file but before I write it to the server I was to change a hex value in the file, does anyone know how this could be done? Thanks, matt

[PHP] Uploading/Timing scripts

2001-02-22 Thread Matt
er(); echo "\n\nPage processed in: ". ($etimer-$stimer); Function timer() { $milli = explode(" ", microtime()); return $milli[0]; } Which works but is their a better way to do it? Thanks, Matt

Re: [PHP] POST Referral

2001-02-28 Thread Matt
getenv('REQUEST_METHOD'); .matt - Original Message - From: "Boget, Chris" [EMAIL PROTECTED] To: "Php (E-mail)" [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 2:49 PM Subject: [PHP] POST Referral Is it possible, in PHP, for a page to determine if it was a

Re: [PHP] mysql_result()

2001-04-04 Thread matt
extract(mysql_fetch_array($result)); sets all the variables at once. much neater :) Maatt "Jordan Elver" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, If I knnow that a query will only retrun one row, can I do thiss (below) rather than using a while

[PHP] compose html body with variables

2007-08-06 Thread Matt
PROTECTED]: PHP 4.x\r\nMIME-Version: 1.0\r\nContent-Type: text/html; charset=iso-8859-1\r\n); If anyone could assist me I'd appreciate it very much, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] compose html body with variables

2007-08-06 Thread Matt
Edward Kay wrote: -Original Message- From: Matt [mailto:[EMAIL PROTECTED] Sent: 06 August 2007 15:38 To: php-general@lists.php.net Subject: [PHP] compose html body with variables Hello, I'm trying to compose the body of an html email to use with the mail() function. I'm running

Re: [PHP] Re: php.ini

2006-11-09 Thread Matt
Adding the line: PHPINIDir c:/php/ to my Apache configuration file has worked for me on Windows installs, assuming that you are using Apache. On 11/9/06, zerof [EMAIL PROTECTED] wrote: Alain Roger escreveu: Hi, everytime i install PHP, my php.ini must be installed in C:\windows\ folder.

Re: [PHP] How to determine if a script instance is already running?

2005-08-02 Thread Matt
Perhaps svscan and its associated daemontools programs could be used to monitor the script instead of relying on cron. http://cr.yp.to/daemontools.html On 8/2/05, André Medeiros [EMAIL PROTECTED] wrote: On Tue, 2005-08-02 at 15:09 +0100, Stut wrote: André Medeiros wrote: Do like some

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Matt
Just in case you ever need to check the configure line again in the future, you can get at it (even if you've built through the FreeBSD ports) through a phpinfo page. The third section on that page is labeled Configure Command and lists all the options used during the build. Matt On 5/10/06

Re: [PHP] need for $_POST[''] changed after server upgrade

2005-12-12 Thread matt
On Dec 12, 2005, at 8:21 PM, Ray wrote: Hello, Thanks Matt, I appreciate your help. your solution is a lot easier than mine. It's also nice to understand what was happening. I was introduced to PHP after that type of globals were considered 'evil' so I hadn't seen code written that way

Re: [PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-20 Thread Matt
Install the php5-session port from your ports tree to enable sessions. It's located in /usr/ports/www/php5-session on a default install with the port tree. On 12/19/05, John Nichel [EMAIL PROTECTED] wrote: Jose Borquez wrote: John Nichel wrote: Jose Borquez wrote: snip The Makefile

Re: [PHP] most reliable way to test if using https

2006-01-13 Thread Matt
James Benson wrote: What is the most reliable way to test if a connection is already using the https protocol, is their a PHP constant or something builtin already? Thanks, James Something like? if (isset($_SERVER[HTTPS]) 'on' == $_SERVER[HTTPS]) {// ssl } else { // non-ssl } -- PHP

[PHP] Maxing out sessions?

2005-01-24 Thread Matt
right back to the login page as though you had not logged in yet. What are my solutions to rectify this? The machine itself is not overloaded, just seems like the sessions holding tank is overloaded. ~ Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Maxing out sessions?

2005-01-24 Thread Matt
to the login page... if I go and wipe /tmp all is fine... What do you make of this? On Mon, 24 Jan 2005 12:34:21 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: Matt wrote: I have a high load server which will have anywhere between 500 and 700 session files in the /tmp directory at max load

Re: [PHP] Maxing out sessions?

2005-01-24 Thread Matt
[EMAIL PROTECTED] tmp]$ cat /proc/sys/fs/file-max 52403 On Mon, 24 Jan 2005 15:39:08 -0600, Greg Donald [EMAIL PROTECTED] wrote: On Mon, 24 Jan 2005 16:22:23 -0500, Matt [EMAIL PROTECTED] wrote: /tmp is not it's own partition... but I have 6Gig free on the / drive. Right now I have 401

Re: [PHP] Maxing out sessions?

2005-01-24 Thread Matt
That's actually a great idea... I know how to log sessionId... but how would I go about logging why the session couldn't be started (I'm sure that would lead me on somewhat of a track of the issue...)... like is there a variable I should read, or where do I get that information from? -- PHP

Re: [PHP] Maxing out sessions?

2005-01-25 Thread Matt
Ok, Right now if I look at a session I see the following... this is on a mail server.. so this is all mail variables and such... There are currently 319 session files and 1.5MB... you know I'm also wondering now if I didn't read things wrong.. .I wonder if it said 2.0MB not GB yesterday..

Re: [PHP] Maxing out sessions?

2005-01-25 Thread Matt
... just someplace to look for solutions... like things to watch on the server... clearly, it seems, disk space and not even files per directory are even a problem... so On Tue, 25 Jan 2005 10:36:34 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: Matt wrote: Ok, Right now if I look

Re: [PHP] help - WHILE in FOREACH

2003-01-07 Thread Matt
From: James Brennan [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 8:29 PM Subject: [PHP] help - WHILE in FOREACH The while statement is only executing correctly for the first run through the foreach loop. Why? Thanks, loop foreach($desc as $key=$value) { printf(Show %s Description

Re: [PHP] HTTP_WEFERER

2003-01-07 Thread Matt
- Original Message - From: bill [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 8:40 PM Subject: [PHP] HTTP_WEFERER A script started acting wonky with no changes to it. Doing a bit of debug at the time, I uncovered an odd variable called HTTP_WEFERER Any ideas? Seems to

Re: [PHP] Date Comparison

2003-01-11 Thread Matt
- Original Message - From: Dhaval Desai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 11, 2003 8:38 AM Subject: [PHP] Date Comparison Well, I want to compate date is php, could anybody tell me which is the best way to do so? Look at PHPs date functions

Re: [PHP] strip php tags from code ?

2003-01-12 Thread Matt
- Original Message - From: David D [EMAIL PROTECTED] Sent: Monday, January 06, 2003 7:47 AM Subject: [PHP] strip php tags from code ? I only want to keep html code of a page. I want to remove php tags. It sound like you want the parser output of the page. You can use PHPs output

Re: [PHP] Next and Previous

2003-01-14 Thread Matt
Miguel Brás [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... That's not the case, I tested it on ID549 and the previous one should be 548 and he still assume -1 Works for me. Are you adding the ?ID=500 to the url? If you don't have that, then the ID is 0, so you

Re: [PHP] alternative control structure syntax

2003-01-15 Thread Matt
- Original Message - From: Justin French [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 8:34 PM Subject: [PHP] alternative control structure syntax Can someone point me to the page in the manual where this style of control structure syntax is documented?

Re: [PHP] Session Problem

2003-01-15 Thread Matt
- Original Message - From: Pushpinder Singh Garcha [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Session Problem Can some one pl explain what this means ... Warning: Cannot send session cache limiter - headers already sent (output started at

Re: [PHP] $HTTP_GET_VARS

2003-01-17 Thread Matt
- Original Message - From: Mike Tuller [EMAIL PROTECTED] To: php mailing list [EMAIL PROTECTED] Sent: Friday, January 17, 2003 5:05 PM Subject: [PHP] $HTTP_GET_VARS I am following an example in a book and have run into a problem with a script that I am trying to run under PHP 4.3.0.

Re: [PHP] Evaluate PHP var in stored sql statement?

2003-01-24 Thread Matt
From: Noah [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 24, 2003 4:39 PM Subject: Re: [PHP] Evaluate PHP var in stored sql statement? eval(\$myrow[2] = \$myrow[2]\;); What's the deal with the leading backslash in ' eval(\$myrow[2] '? It's escaping the $ so you keep

Re: [PHP] paths after file in url

2003-01-24 Thread Matt
- Original Message - From: Glenn Pierce [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 24, 2003 3:52 PM Subject: [PHP] paths after file in url Does anyone know why url's such as http://www.php.net/mailing-lists.php/This/is/a/test This only works in apache. See Method

Re: [PHP] HELP session cache limiters

2003-01-27 Thread Matt
- Original Message - From: Didier McGillis [EMAIL PROTECTED] Sent: Monday, January 27, 2003 7:14 PM Subject: [PHP] HELP session cache limiters Any thoughts on this error? Warning: Cannot send session cache limiter - headers already sent (output started at

Re: [PHP] Functions and arguments

2003-01-29 Thread Matt
- Original Message - From: R0x0r Mc0wnage [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 8:49 PM Subject: Re: [PHP] Functions and arguments Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in

Re: [PHP] new to php/mysql

2003-01-31 Thread Matt
Sam [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i'm new to this php/mysql thing - i've defected microsoft. when trying to pull data from a table in mysql, i get the following error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL

Re: [PHP] Function Stack

2003-02-01 Thread Matt
- Original Message - From: Joshua Moore-Oliva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 01, 2003 7:08 AM Subject: [PHP] Function Stack Is there any way to access the Function Stack from php? Not built in, but you could manually add statement to do it yourself.

Re: [PHP] question on listbox.

2003-02-01 Thread Matt
- Original Message - From: Denis L. Menezes [EMAIL PROTECTED] To: PHP general list [EMAIL PROTECTED] Sent: Saturday, February 01, 2003 6:08 AM Subject: [PHP] question on listbox. Hello friends. I have a listbox which I populate from a query with the database. It is working fine. But

Re: [PHP] Strange problem

2003-02-01 Thread Matt
- Original Message - From: Denis L. Menezes [EMAIL PROTECTED] To: PHP general list [EMAIL PROTECTED] Sent: Saturday, February 01, 2003 7:08 AM Subject: [PHP] Strange problem I have the following script. Both the errors show green font when actually the first error should give a red

Re: [PHP] MySQL/PHP Associative Array Insert

2003-02-02 Thread Matt
- Original Message - From: CDitty [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 01, 2003 11:26 AM Subject: [PHP] MySQL/PHP Associative Array Insert A co-worker is teaching me to move to the next level in php. I have started using associative arrays for my scripts,

Re: [PHP] listbox problems

2003-02-02 Thread Matt
From: Sunfire [EMAIL PROTECTED] Sent: Sunday, February 02, 2003 4:53 PM Subject: [PHP] listbox problems i have a listbox: select name=users ?php //connect to db and get query mysql_connect(.); mysql_select_db(...); $query=mysql_query(select username from users); /*finish the

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 : ?php if cookie is present redirect to a certain page ? ?php // this must be the first line in the script (or use output buffering) -- see

[PHP] Re: [PHP-DB] Possible to store arrays in mySQL without explode()/implode()

2003-06-07 Thread Matt
- Original Message - From: Jakob Mund [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:04 AM Subject: [PHP-DB] Possible to store arrays in mySQL without explode()/implode() is it possible to store an array in mySQL without using implode() / explode(), like this:

Re: [PHP] PATH_TRANSLATED

2003-06-07 Thread Matt
- Original Message - From: Øystein Håland [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 07, 2003 11:37 AM Subject: [PHP] PATH_TRANSLATED Is there some way to retrieve the phpvariable PATH_TRANSLATED on my local win2k+Apache2+php4.3.2 box? echo Path Translated:

Re: [PHP] Column count doesn't match value count at row 1?

2003-02-07 Thread Matt
- Original Message - From: Jeremy Bowen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 07, 2003 1:30 PM Subject: [PHP] Column count doesn't match value count at row 1? That means the the number of columns in the fields clause doesn't match the number in the values. For

Re: [PHP] grief with printf(), padding and alignment of text

2003-02-11 Thread Matt
- Original Message - From: Robert E. Harvey, M.D. [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 6:21 PM Subject: [PHP] grief with printf(), padding and alignment of text I'm running PHP 4.2.2 and I'm having trouble with the printf() function. I want to

Re: [PHP] need help with a table please - sorry

2003-02-12 Thread Matt
- Original Message - From: Denis L. Menezes [EMAIL PROTECTED] Sent: Wednesday, February 12, 2003 9:43 AM Subject: [PHP] need help with a table please - sorry Sorry I sent the wrong code in my last mail. Here is my correct code. I want the output of my query to be formatted such that

[PHP] problem with ftp browsing

2003-02-23 Thread Matt
some advice? I would really appreciate it. Thanks. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-INST] PHP: Cannot send session cookie - headers already sent by

2003-03-28 Thread Matt
- Original Message - From: Atif Jakupovic [EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:14 PM Subject: [PHP-INST] PHP: Cannot send session cookie - headers already sent by Please, could you help me to find out why I'm getting an error message like one below. Warning:

Re: [PHP] PHPDoc?

2002-10-07 Thread Matt
I know of the following... www.phpdoc.de - used by PEAR, scattered documentation http://phpdocu.sourceforge.net - lots more documentation, hate the framed output http://www.ez.no/article/articlestatic/35/1/42/ - eZ phpdoc, from the people who make the eZ CMS I'm interested in hearing from

  1   2   3   4   5   6   7   8   9   10   >