[PHP] same php file, different day...worked 3-4 times in the past in the past

2013-01-20 Thread Fred Silsbee
Fatal error: Call to undefined function mysqli__connect() in /var/www/html/log_book_MySQLnew_i.php on line 116 phpinfo.php shows mysqli Additional .ini files parsed /etc/php.d/curl.ini, /etc/php.d/fileinfo.ini, /etc/php.d/json.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini,

[PHP] away from Fedora linux for a while and now this ...HELP

2012-08-24 Thread Fred Silsbee
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/var/www/html/log_book_MySQL.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0 had to use Fedora yumex(yum) to install php PHP Version

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-10-03 Thread Fred Silsbee
--- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote: From: hack988 hack988 hack...@dev.htwap.com Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo To: Fred Silsbee fredsils...@yahoo.com Cc: php-general@lists.php.net Date: Monday, August 31, 2009, 6:35 AM Please

[PHP] looking through old posts/emails

2009-09-13 Thread Fred Silsbee
enclosed is a php for oracle that worked on Windows AND Fedora 9 ?php /* Oracle 11g1 version handle_log_book11g1.php drop sequence log_id; create sequence log_id increment by 1 start with 1; drop table log_book_id; create table log_book_id ( log_id number primary key, fdate date, actype

[PHP] need php_mssql so I retreated to 5.2.10

2009-09-07 Thread Fred Silsbee
under IE8: http:// 209.33.25.167:8080/phpinfo.php with: ?php phpinfo(); ? I get : The website cannot display the page HTTP 500 Most likely causes: •The website is under maintenance. •The website has a programming error. under Firefox 3.5.2

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-09-02 Thread Fred Silsbee
/09, hack988 hack988 hack...@dev.htwap.com wrote: From: hack988 hack988 hack...@dev.htwap.com Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo To: Fred Silsbee fredsils...@yahoo.com Cc: php-general@lists.php.net Date: Wednesday, September 2, 2009, 6:03 AM Use Event Viewer and log

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-09-01 Thread Fred Silsbee
thanks! I am new to this science! where is syslog? XP Prof event log? --- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote: From: hack988 hack988 hack...@dev.htwap.com Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo To: Fred Silsbee fredsils...@yahoo.com Cc: php

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-09-01 Thread Fred Silsbee
I looked high and low but no syslog I am currently working under XP Prof SP3 --- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote: From: hack988 hack988 hack...@dev.htwap.com Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo To: Fred Silsbee fredsils...@yahoo.com Cc

[PHP] windows 5.2.10 PHP not working with phpinfo

2009-08-30 Thread Fred Silsbee
I got 5.3 working but found out there was no php_mssql.dll for it. Somebody (who didn;t know) said I had to return to 5.2.8 but I found no 5.2.8 so I am trying 5.2.10 _problem: under IE8: http://72.47.28.128:8080/phpinfo.php with: ?php

[PHP] PHP 5.3 IIS 5.1 not working...help!

2009-07-30 Thread Fred Silsbee
http://72.47.28.125:8080/phpinfo.php not working ERROR: The website cannot display the page HTTP 500 IIS 5.1, PHP 5.3 XP Prof SP3 + all updates PHP 5.2.8 worked great and took a few minutes to install phpinfo.php is in C:\inetpub\wwwroot ?php phpinfo(); ? php.ini has: doc_root =

[PHP] pronlem with yum update and oci8

2009-04-17 Thread Fred Silsbee
Fedora 9 (1) all programs using oci8 working 100% (2) oci8 NOT installed using yum yumex not showing any reference to oci8 php-pear installed using yumex(yum) (3) yum update errors below Loaded plugins: refresh-packagekit Setting up Update Process Resolving Dependencies

[PHP] how does one bind a gui representation and a container object.

2009-01-08 Thread Fred Silsbee
I have a Qt 4.4 C++ SQL offline program that displays an SQL table. When I change a row-column cell, the change is instantly reflected in the database. Under Qt 4.4 I use: QSqlTableModel How does one do this in PHP for online use. I've done this under C#.NET VS2008 using binding between a gui

[PHP] Re: how does one bind a gui representation and a container object.

2009-01-08 Thread Fred Silsbee
--- On Thu, 1/8/09, Fred Silsbee fredsils...@yahoo.com wrote: From: Fred Silsbee fredsils...@yahoo.com Subject: how does one bind a gui representation and a container object. To: php...@lists.php.net, php-general@lists.php.net Date: Thursday, January 8, 2009, 10:41 PM I have a Qt 4.4 C

[PHP] Re: Storing and then printing ANSI escape sequences in (and then from)variables

2009-01-07 Thread Fred Briand
. echo -e is the bash commande with escape sequences interpretation enabled But don't be surprised if it doesn't work, cause it depends on your terminal (I can't make it run on cygwin for example) Fred -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Storing and then printing ANSI escape sequences in (andthen from) variables

2009-01-07 Thread Fred Briand
and is also much more secured. I'll give it a try on bsd and solaris consoles too (still doesn't work on cygwin) fred -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php beautify downloaded...great how does one run the program???

2009-01-05 Thread Fred Silsbee
I looked at all the downloaded docs -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] If I make a mistake logging in, the error shows again even if I enter the right values

2009-01-03 Thread Fred Silsbee
my PHP programs are working great to access Oracle 11g1 and MySQL 5.1 I entered a bad value for user name /passwordand got a message Could not connect: Access denied for user 'landon'@'localhost' (using password: YES) I restarted the script under Firefox 3.0.5 and got the same error message

[PHP] Re: If I make a mistake logging in, the error shows again even if I enter the right values

2009-01-03 Thread Fred Silsbee
--- On Sun, 1/4/09, Fred Silsbee fredsils...@yahoo.com wrote: From: Fred Silsbee fredsils...@yahoo.com Subject: If I make a mistake logging in, the error shows again even if I enter the right values To: php...@lists.php.net, php-general@lists.php.net Date: Sunday, January 4, 2009, 2:45

Re: [PHP] errors still being displayed even if variables in php.ini set to off

2008-12-28 Thread Fred Silsbee
28, 2008, 12:01 PM On Sat, 2008-12-27 at 16:23 -0800, Fred Silsbee wrote: on page 1 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 71 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 72 in php.ini

[PHP] how to update PHP 5.2.6 to 5.2.8 under Fedora Redhat Linux 9

2008-12-27 Thread Fred Silsbee
there are many php related files. yumex or yum don't seem to be alternatives since there are many files that may or may not require updating...which one yum remove php-5.2.6 yum install php-5.2.8 5.2.8 may not be in the repositories yet so rpm seems to be an alternative with a remove -

[PHP] errors still being displayed even if variables in php.ini set to off

2008-12-27 Thread Fred Silsbee
on page 1 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 71 Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 72 in php.ini: error_reporting = Off display_errors = Off (in 2 places) display_startup_errors = Off

[PHP] Re: Screen Shots

2006-10-22 Thread Fred Moses
Mark McWhirter wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? Why not add a state capture inclusion (require) to each of your pages? Have it grab, for instance, the user's IP address, the session ID, the URL of page,

Re: [PHP] Re: Screen Shots

2006-10-22 Thread Fred Moses
Dotan Cohen wrote: On 22/10/06, Fred Moses [EMAIL PROTECTED] wrote: Mark McWhirter wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? Why not add a state capture inclusion (require) to each of your pages? Have it grab

[PHP] IP Address

2006-10-21 Thread Fred Moses
Is there a function which returns the IP address of the requestor of the current page? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: postback for php

2006-10-18 Thread Fred Moses
Miles Thompson wrote: At 11:48 AM 10/18/2006, M.Sokolewicz wrote: Ross wrote: Looked on google and not found a satisfactory answer. Doies anyone have a funtion to do this? R. please explain, in details, what it is you're looking for. postback for php - a function to do this doesn't mean

[PHP] Re-arranging elements in an associative array

2006-03-24 Thread Fred Riley
with the elements in the required order, and I'll do that if there's no easy way of rearranging elements. I suppose I could use some complex combination of shift(), pop(), merge() and whatnot, but that would probably take up more time than the clunky way. TIA for any suggestions/tips. Cheers Fred Learning

Re: [PHP] clear the page and continue

2005-07-04 Thread Fred
OK that works as well. Thanks again. James [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Fred wrote: Outstanding James! A different approach to get a more flexible result. Fred. or document.getElementById(blah).style.display = 'none'; That would also work well. innerHTML

[PHP] clear the page and continue

2005-07-03 Thread Fred
I have managed using php to: 1/ send some html to the client requesting patience 2/ execute some external process 3/ send results to the client so it appears further down the same page What I would like to do is: 1/ send some html to the client requesting patience 2/ execute some external process

Re: [PHP] clear the page and continue

2005-07-03 Thread Fred
Outstanding James! A different approach to get a more flexible result. Fred. James [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, you can use something like span id=blahSome stuff/span and use javascript to alter the element's value (the contents between the span tags

Re: [PHP] [SOLVED] Function shall receive Pointer to Array

2005-05-05 Thread Fred Rathke
Thanks, Chris. You have been right. It worked already. I still remove all my typing errors in the original version. For this list I wrote a new version of it. Should have tried it first. Sorry. Greatings *I should not work after midnight* Liebe Grüße Fred Rathke [EMAIL PROTECTED] http

[PHP] Function shall receive Pointer to Array

2005-05-04 Thread Fred Rathke
Hello, how can a function get a pointer to an array? This does not work. I use PHP4. $t = array(test = unchanged); echo brtestarray unchanged:\.$t['test'].\; changearray($t); echo brtestarray hopefully changed:\.$t['test'].\; function changearray($myarray) { $myarray['test'] = changed; } Before

[PHP] Re: sessions handling

2004-06-09 Thread Fred
Ruban Check your COOKIE root settings, and make sure the root domain name for the cookie is common to both the 443 and 80 connections. -Fred -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Better Speedbar support in Emacs for PHP?

2004-06-09 Thread Fred
development environment complete. I'd write a module myself, but don't have time to get good at writing Lisp! Thanks. -Fred -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] previous page

2004-06-09 Thread Fred
Larry E . Ullman wrote: Thanks all makes sense, but, if I add this: ?php echo($_SERVER['HTTP_REFERRER']); ? I don't get anything back when the page is called? Yes, that can happen, which is why I said it wasn't perfect. I think using some sort of form to go through is the better option. Larry

[PHP] preg_match and regular expression

2003-12-08 Thread fred
Hi I have problems with a regular expression. I have a html file like this: body divHello/div br br divsomthing/div br /body And i want to use preg_match to get a list of all the div tags in the file: result: $list[0] = divHello/div $list[1] = divsomthing/div I have tryed this:

[PHP] preg_match and regular expression

2003-12-08 Thread fred
Hi I have problems with a regular expression. I have a html file like this: body divHello/div br br divsomthing/div br /body And i want to use preg_match to get a list of all the div tags in the file: result: $list[0] = divHello/div $list[1] = divsomthing/div I have tryed this:

[PHP] post an array into another site

2003-12-08 Thread fred
Hi I have an array in php like this: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? Fred -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fwd: Re: [PHP] Re: your method for validating forms

2003-10-02 Thread Fred T Sanders
-- Forwarded Message -- Subject: Re: [PHP] Re: your method for validating forms Date: Thursday 02 October 2003 06:46 pm From: Fred T Sanders [EMAIL PROTECTED] To: Richard Baskett [EMAIL PROTECTED] Actually if you need client side javascript form validation the qForms API just

[PHP] Re: date calculation

2003-02-16 Thread Fred Merritt
contributed notes of the manual. There are also many published articles describing algorithms on how to do this. I can remember implementing these functions in 1977(Not in PHP of course), from an article published in the journal of the ACM, in 1963. Hope this helps. . . Fred Qt wrote: Dear

[PHP] Re: recursion?????

2003-02-15 Thread Fred Merritt
, and highlighting, to guide the end user to correct his errors. Hope this helps. . . Fred Alex Davis wrote: Ok ... here is the sitituation... I am creating a registration form. What I have so far works ... the user registers using this form and the form calls another page that will check

[PHP] Re: Recursion?????

2003-02-15 Thread Fred Merritt
=post onSubmit='return checkRegisterScreen(this)' ?php . . . The key thing to notice here, is that the submit will only happen if the onSubmit returns true. Hope this helps. . . Fred Michael Eacott wrote: Alex Like you I have php scripts that validate the contents of registration and other

Re: [PHP] Re: recursion?????

2003-02-15 Thread Fred Merritt
an instant response for the out of line situation. Best regards. . . Fred David Freeman wrote: as a general rule of thumb, try to do as much checking as you can with JavaScript. For those checks such as is the field a valid date, is the field numeric and so on, it is much faster to check

[PHP] Smart Navigation

2002-05-22 Thread Fred Forsyth
IFRAMEs to do it manually? Cheers Fred Forsyth. Senior Software Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Max execution time error after script ends

2002-05-14 Thread Fred
This seems very odd to me for two reasons: First, the max_execution_time is set to 0 (no limit). Second, the script has otherwise executed successfully and should simply terminate. Has anyone had similar experiences? Any advice on how to correct this problem? Fred -- PHP General Mailing

[PHP] mail() problem with email mail@dom.com

2002-04-29 Thread fred
Hello, I have a pb with mail() function. my script run ok on a linux but not on a nt: ? ini_set(SMTP, 192.168.0.126); ini_set(sendmail_from, info [EMAIL PROTECTED]); mail(fred [EMAIL PROTECTED], the subject, message); ? On my windows nt server I can only run: ? ini_set(SMTP, 192.168.0.126

[PHP] Re: File Access Security Issues

2002-02-14 Thread Fred
://www.zend.com/store/products/zend-encoder.php) which allows you to deploy your scripts without revealing the source code. That way, even if someone manages to get access to the scripts, they will not have access to the actual code. Fred Steven Walker [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] php_hostconnect: connect failed

2002-02-12 Thread Fred
compiling from source (rather than installing from rpm) and using the most recent versions, the only differences between my old installation and my new installation is that apache no longer includes ssl support and php is now compiled with--mnogosearch. Any assistance is appreciated. Fred -- PHP

[PHP] Re: php_hostconnect: connect failed

2002-02-12 Thread Fred
ideas? Fred Fred [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I had been developing a script which needs to include the output of a perl cgi script. Using the rpm versions of Apache 1.3.19 and PHP 4.0.6 I had no problem using the following syntax

Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Fred
is not in the document root for apache. Of course, this only works if all of your scripts use the same server, user and password. Fred Duky Yuen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How can I secure my username and password? In 1 of my files, it

[PHP] Re: Variable referencing/substitution

2002-01-19 Thread Fred
See the manual on references: http://php.he.net/manual/en/language.references.php $vNames[1] = $variable Fred Gaylen Fraley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How can this be done? If I have the name of a variable that is stored in an ar

[PHP] Re: PHP scripts timeout

2002-01-03 Thread Fred
be upsetting your code. Fred Charlesk [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Every once in a while, maybe 10 times a day, scripts timeout. Different scripts, different places in the script, different IP addresses. I wrote an auto_append script th

[PHP] Re: page expired

2001-12-26 Thread Fred
This has nothing to do with mysql or sessions. Your form is sent using the POST method. For security reasons, browsers (by default) will not resend POST information to a page when you hit the back button. Fred Php Guy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] Re: linux help

2001-12-26 Thread Fred
for the error message on google..this will usually lead to quick results Fred Melih Onvural [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i know this isn't a linux newsgroup or listing, but i've seen configuration problems in the past so i was wondering if anyo

[PHP] Re: problems with urlencoding

2001-12-26 Thread Fred
Why not get rid of the stuff you do not need to send? Just send the client number and then add the Client like%% stuff on the other end. Fred [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I try to send the content of a variable about the url to

[PHP] fsockopen nntp stalls

2001-12-26 Thread Fred
with this problem, please let me know what you did to resolve it. Fred -- 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] fsockopen nntp stalls

2001-12-26 Thread Fred
it may be easier. If you are aware of a good example or tutorial for implementing NNTP with IMAP I would appreciate a link. P.S. Thanks for this wonderful tool. Fred Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Why not just use the imap e

[PHP] Re: installing php with apache rpm???

2001-12-26 Thread Fred
This guy has some great modular php rpms that will do the trick: http://rpms.arvin.dk/php/ Fred Duane Douglas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hello, i have an apache rpm installed. stuff will break if i uninstall it. how do i ins

[PHP] Re: Generate Alphabet

2001-12-25 Thread Fred
for ($Character = 65; $Character 91; $Character++) { echo chr($Character); } Fred Daniel Harik [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello Guys, Just a stupid question how can i make php show from a-z with a for loop, don't want to make

[PHP] Re: Help with Sessions - Should be easy =]

2001-12-20 Thread Fred
Why don't you give us a code snippet so we know how you are trying to do it. Fred Tomasz Jachimczak [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am coming from an asp background, and am used to setting session variables very easily, but I cannot w

Re: [PHP] Error while calling a function

2001-12-18 Thread Fred
unconditionally, but the function has not yet been defined because the condition failed (!Phone) and the code was skipped. Rule of thumb: Don't put your function definitions inside of conditionals. Fred Steve Cayford [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: [PHP] Working with designers...

2001-12-18 Thread Fred
the project this way. Personally, I do not like wading through all that html to figure out where to put my precious php code, but then again they were paying the bills that month. Fred Mike Eheler [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... They so

Re: [PHP] Working with designers...

2001-12-18 Thread Fred
included, but the output functions need to be burried deep in dreamweaver created nested tables and javascripts. Fred -- 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

Re: [PHP] Working with designers...

2001-12-18 Thread Fred
their beautifully created dreamweaver document. Fred Mark [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 18 Dec 2001 16:00:09 -0800, Fred wrote: Mark [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... well

[PHP] Re: Question

2001-12-18 Thread Fred
Don't recall seeing them here, but many of us have read their book if that is of any help. Fred Phillip B. Bruce [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, By any chance that Luke Welling or Laura Thomson is on t

Re: [PHP] Checking a frames url..

2001-12-17 Thread Fred
This will not work. JavaScript is a client side language and will not have the frame information until the browser has the web page, at which time all parsing of the php code (done on the server side) is already complete. Fred Richard Black [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

[PHP] Re: Newsgroups????

2001-12-17 Thread Fred
Seems to be working fine from here. Fred Eddie Shipman [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Just signed up for the mailing list because I couldn't access the newsgroups, what

[PHP] Re: TN3270 socket

2001-12-17 Thread Fred
http://www.faqs.org/rfcs/rfc1576.html Google Search took 0.3 seconds. Fred Brendan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... does anyone know of how or where I can find info on, accessing a IBM mainframe which uses the TN3270 protocol via

[PHP] Re: Displaying html

2001-12-17 Thread Fred
the need for using any of the escape functions. In other words, I do it just like I would any other data and it works well. Fred Steve Osborne [EMAIL PROTECTED] wrote in message 000f01c18753$e8d086e0$[EMAIL PROTECTED]">news:000f01c18753$e8d086e0$[EMAIL PROTECTED]... Does anyone know of an

[PHP] Re: Post Variable Problem

2001-12-13 Thread Fred
You can create a hidden form variable with the value of user to pass with the rest of the post data, or (preferably) you can use: cookies: http://php.he.net/manual/en/function.setcookie.php or, even better, sessions: http://php.he.net/manual/en/ref.session.php Fred Jack [EMAIL PROTECTED] wrote

[PHP] Re: cross server sessions????

2001-12-13 Thread Fred
This question has been asked many times on this list (several times in the last month). Search the archive and you will find several solutions: http://marc.theaimsgroup.com/?l=php-generalw=2r=1s=session+different+serv erq=b Fred Prolog [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

[PHP] Re: Permission denied, although permissions are right

2001-12-12 Thread Fred
Your PHP script may be owned by zapman, but it is run as nobody. Therefore your file that you need to access also needs to be owned by nobody. Fred Wim Godden [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I'm trying to open a file (usi

[PHP] Re: passing form values

2001-12-09 Thread Fred
elegant. Fred Aaustin [EMAIL PROTECTED] wrote in message 000a01c180ef$51d7a2b0$[EMAIL PROTECTED]">news:000a01c180ef$51d7a2b0$[EMAIL PROTECTED]... Hi I have a slight design problem. I have some form values (user details) which I want to pass to a web page which is two pages away. I.e

[PHP] Re: SQL Query Question

2001-12-09 Thread Fred
(select * from members where Score '$Score'); $rank = mysql_num_rows($return) + 1; echo $Name is ranked $rank of $total; Fred Andrew Brampton [EMAIL PROTECTED] wrote in message 00c101c18029$8b2ed040$2528260a@STUDENT5830">news:00c101c18029$8b2ed040$2528260a@STUDENT5830... Hi, This isn

[PHP] Re: Doing statistics with MySql data?

2001-12-09 Thread Fred
There are built in functions in mysql for just this sort of thing. There are AVG() and COUNT() functions as well as many more. Read up on them here: http://www.mysql.com/doc/F/u/Functions.html Fred Daniel alsén [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] Re: Bug #14360: Script ends on

2001-12-07 Thread Fred
Just out of curiosity, what makes you think the scripting engine stopped at that particular spot? Fred Thomas Seuring [EMAIL PROTECTED] wrote in message 005744005865206102L412*@MHS">news:005744005865206102L412*@MHS... Dear friends, I've opened a Bug I think I've foun

[PHP] Re: Comparison between string failing

2001-12-07 Thread Fred
I would like to start by saying that your code is horribly confusing. Try taking all those commented out parts out of the script before you post to the group. That said, your problem is that you left out a closing curly brace. Try this: global $MYFILES;

[PHP] Re: Re:[PHP] USERNAME

2001-12-06 Thread Fred
If you simply want to find out the username of someone who has logged in using apache htaccess authentication, that information is contained in the global variable $PHP_AUTH_USER Fred Chamarty Prasanna Kumar [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP] Re: Re:USERNAME

2001-12-06 Thread Fred
You would normally access this via: $HTTP_REMOTE_USER or $PHP_AUTH_USER but these variables are only available (and thus only show up in phpinfo) if you have actually logged in via apache htaccess authentication. Fred Chamarty Prasanna Kumar [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

[PHP] Large file uploads timeout - ouch!

2001-12-05 Thread fred
it if I know what to ask them... ;-) TIA Fred /* New to Linux (nine months) and PHP (2 weeks) but loving it! */ == TABLE BORDER=0 WIDTH=100% CELLSPACING=2 CELLPADDING=2 ALIGN=CENTER ?php //print(\$Clientcode = $Clientcode

Re: [PHP] Uploading to Apache server from VB

2001-12-05 Thread fred
See my post today about a file upload problem, which includes a complete script to do this (and more). My script works, but times out on very large files, otherwise it is a champ... Fred On Mon, 03 Dec 2001 15:16:09 -0500, Jim wrote: http://www.php.net/manual/en/features.file-upload.php

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread fred
Sorry, no can do, I can't stand SPAM, and I don't need any more email. Just reply to the newsgroup. I can read it there, and it may help others - that is what newsgroups are for!;-) On Wed, 05 Dec 2001 03:57:05 -0500, Mirek Novak wrote: fix your email to receive answers FIRST! M.N.

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread fred
Now that you've helped me, go and help someone else...please. And yes, I did read the manual and several books on PHP already. Have you? On Wed, 05 Dec 2001 04:09:00 -0500, Mirek Novak wrote: so, RTFM HTH M.N. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread fred
Now that you've helped me, go and help someone else...please. And yes, I did read the manual and several books on PHP already. Have you? On Wed, 05 Dec 2001 04:09:00 -0500, Mirek Novak wrote: so, RTFM HTH M.N. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread fred
Now that you've helped me, go and help someone else...please. And yes, I did read the manual and several books on PHP already. Have you? On Wed, 05 Dec 2001 04:09:00 -0500, Mirek Novak wrote: so, RTFM HTH M.N. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread fred
asking for help. I guess you're glad someone helped *you* when you asked here, hmm? On Wed, 05 Dec 2001 04:19:51 -0500, Mirek Novak wrote: fred wrote: Now that you've helped me, go and help someone else...please. And yes, I did read the manual and several books on PHP already. Have you

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread fred
somewhere - probably httpd.conf. Now who is lazy? On Wed, 05 Dec 2001 04:25:15 -0500, Fred wrote: Sorry, I don't know where you are coming from. You don't know me, and are assuming things that just aren't true, calling me lazy? Thank you for the info. Now to answer your accusation... I

[PHP] Re: select join table on mysql

2001-12-05 Thread Fred
The most common couse of this problem is that your query generated an mysql error. To find out what the error is use this instead: $t2=mysql_db_query($db, SELECT radacct.UserName,sum(radacct.AcctSessionTime) as t1,usergroup.GroupName . from radacct LEFT JOIN usergroup ON

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread fred
Did you read my post? I did all of that *before* I posted my question. Anyone else have a suggestion? TIA Fred On Wed, 05 Dec 2001 05:16:38 -0500, Mirek Novak wrote: fred wrote: After all of this, and you give me the wrong answer. If you read the PHP manual, you will see

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread Fred
out for some reason unrelated to apache or php and you may want to try another browser. If this is not the problem then you have me stumped. Fred Fred [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Did you read my post? I did all of that *before* I p

[PHP] Re: Extract all fields of a table to vars of same name

2001-12-04 Thread Fred
with these variables: $First, $Second, $Third containing the value of the respective fields. Fred Baloo :0) [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Someone came with a very clever solution to simplify the extraction of all fields when doing aselect * fr

[PHP] Re: CURL functions

2001-12-04 Thread Fred
It would be difficult at best to answer your question without first knowing two things: 1. What did you expect it to do? 2. What did it actually do? Fred Stefan Isarie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey, I'm trying to use CURL for

[PHP] Re: Simple Question: PHP, MySQL, HTML Form and NULL

2001-12-04 Thread Fred
. In the script that inserts the form data just add something like: if ($Date == ) $Date = /0; somewhere before the insert. Fred [EMAIL PROTECTED] wrote in message BB6D932A42D6D211B4AC0090274EBB1DA0F139@GLOBAL1">news:BB6D932A42D6D211B4AC0090274EBB1DA0F139@GLOBAL1... I have added a ne

[PHP] Re: problems with looping array

2001-12-03 Thread Fred
Strings in your sql query must be quoted. Try this instead: $result = mysql_query(SELECT * FROM ar LEFT JOIN company on ar.company_id=company.company_id LEFT JOIN scale on ar.scale_id=scale.scale_id WHERE item_number = \$item[$index]\); Fred Jordan [EMAIL PROTECTED] wrote

[PHP] Re: Something wrong with the file() command.

2001-12-03 Thread Fred
When you attempt to print or echo an array the result is simply array. You have to iterate through the elements of the array to see what each element contains. Read the array chapter in the manual for more information. Fred Jose [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">new

[PHP] Re: best way to handle a form with 60 fields !!!

2001-12-02 Thread Fred
tables. Find a tutorial on the web about database normalization to learn how to best design your databases. This should be the first step in the application design process and all other work should be based on it. Good luck and happy PHPing. Fred Masudi Olivier [EMAIL PROTECTED] wrote

[PHP] Re: PHP Bulletin Boards...how they work.

2001-12-02 Thread Fred
boards are not the most complex of applications, they require a knowledge of many many PHP and MySQL basics. Take the time to learn those basics before trying to swallow the whole thing. Good luck. Fred Anthony Ritter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] content disposition and internet exploder

2001-12-02 Thread Fred
on any of them. Has anyone had success in getting IE to use the correct filename when downloading dynamically generated files? Fred -- 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

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Fred
LOL Of course it worked. Open Source outwits MS yet again. Fred Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You could just trick it with a URL like: http://your.domain.com/script.php/query.csv IE will think your script is called q

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Fred
That works fine in IE but does not work in NS, undoubtedly because it does not conform to the RFC. Fred Jason Murray [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am attempting to allow users to download csv files that are created dynamica

[PHP] Re: file_exists problems

2001-12-01 Thread Fred
file_exists takes a string argument. /images/$filename is not a string. try images/ . $filename instead. Fred Prolog [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I had a script that was running beautiful that simply called up a database and d

  1   2   >