[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, /etc/php.d/pdo.i

[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 5.

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

2009-10-03 Thread Fred Silsbee
--- On Mon, 8/31/09, hack988 hack988 wrote: > From: hack988 hack988 > Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo > To: "Fred Silsbee" > Cc: php-general@lists.php.net > Date: Monday, August 31, 2009, 6:35 AM > Please set > log_error=on,

[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 Oracle User Name: Oracle Password: LOGIN HTML; $_SESSION['userx'] = $_POST[$user] ; $_SESSION['passwordx'] = $_POST[$password] ; } //..

[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: 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 ___ The specified proced

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

2009-09-02 Thread Fred Silsbee
_book_mssql.php on line 8 (mssql_connect(...) Something went wrong while connecting to MSSQL (my message) ___ all these worked before trying 5.3 --- On Wed, 9/2/09, hack988 hack988 wrote: > From: hack988 hack988 > Subject: Re: [PHP] windows

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 wrote: > From: hack988 hack988 > Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo > To: "Fred Silsbee" > Cc: php-general@lists.php.net >

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 wrote: > From: hack988 hack988 > Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo > To: "Fred Silsbee" > Cc: php-general@lists.php.net > Date: Mond

[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: I get : The website

[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.ini has: doc_root = "C:\inetpub\wwwroot" // fo

[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] 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 wrote: > From: Fred Silsbee > 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++ SQL offline program t

[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 gu

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

2009-01-07 Thread Fred Briand
eed to use the inverse function, ord(), to get your codes into > numeric form. For example, ord('m') will return decimal 109. That's only > an example, since you should be able to send single characters to the > terminal as is. > > Paul Hi, Interesting and so easy solution, last time I tried it I had to re-initialize my console!! It sure works better 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] Re: Storing and then printing ANSI escape sequences in (and then from)variables

2009-01-07 Thread Fred Briand
: \033[32mOK\033[0m"`);' which means that you execute a bash commande (between the 2 backticks ``), and you print the output of this commande. echo -e is the bash commande with escape sequences interpretation enabled But don't be surprised if it doesn't work, cause it dep

[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] 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 wrote: > From: Fred Silsbee > 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 AM > my PHP programs

[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 wi

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

2008-12-28 Thread Fred Silsbee
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

[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] 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 - reinsta

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 pa

[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,

[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 s

[PHP] Re-arranging elements in an associative array

2006-03-24 Thread Fred Riley
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 Technologist School of Nursing, University of Nottingham -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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.getElem

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 Some stuff and use > javascript to alter the element's value (

[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] [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 "testarray unchanged:\"".$t['test']."\""; changearray($t); echo "testarray hopefully changed:\"".$t['test']."\""; function changearray(&$myarray) { $myarray['test'] = "chan

Re: [PHP] previous page

2004-06-09 Thread Fred
Larry E . Ullman wrote: Thanks all makes sense, but, if I add this: 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 You can use session tracking to accomplis

[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

[PHP] Re: sessions handling

2004-06-09 Thread Fred
ards, Dima 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] 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 unsubscr

[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: Hello somthing And i want to use preg_match to get a list of all the tags in the file: result: $list[0] = Hello $list[1] = somthing I have tryed this: preg_match('/.*(\.*\<\/div\>).*/', $contents, $list)

[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: Hello somthing And i want to use preg_match to get a list of all the tags in the file: result: $list[0] = Hello $list[1] = somthing I have tryed this: preg_match('/.*(\.*\<\/div\>).*/', $contents, $list)

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 th

[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

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

2003-02-15 Thread Fred Merritt
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&qu

[PHP] Re: Recursion?????

2003-02-15 Thread Fred Merritt
ace(form.userid.value)) {<br> alert("Userid may not be blank");<br> form.userid.focus();<br> return false;<br> }<br> if (isWhitespace(form.username.value)) {<br> alert("User name may not be blank");<br> return false;<br> }<br>

[PHP] Re: recursion?????

2003-02-15 Thread Fred Merritt
break; case "Register"; checkFormAndRedisplay(); break; default; processDefault(); break; } In the procedure checkFormAndRedisplay(), you can write code to check your fields, and the relationships between them, and then redisplay the form with appropriate error messages, and highlighting

[PHP] Smart Navigation

2002-05-22 Thread Fred Forsyth
o use 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

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: "); mail("fred <[EMAIL PROTECTED]>", "the subject", "message"); ?> On my windows nt server I can only run: I have an error as soon as i use eaml like: mail <

[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

[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 us

[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

Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Fred
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 f

[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

[PHP] Re: apache authentication

2002-01-14 Thread Fred
securing your pages, but no more insecure than using apache authentication in the first place. Fred Aaron Lake <[EMAIL PROTECTED]> wrote in message H2b900fde0f4.1011030069.cscche.che.jb.traf.com@MHS">news:H2b900fde0f4.1011030069.cscche.che.jb.traf.com@MHS... Hi, I am usin

[PHP] Re: PHP scripts timeout

2002-01-03 Thread Fred
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_appe

Re: [PHP] Re: Generate Alphabet

2001-12-27 Thread Fred
WARNING This will only work with PHP 4.1.0 or later. Fred Jerry Verhoef <[EMAIL PROTECTED]> wrote in message 1CDA86C6527BD311B91F0008C784121003D551D8@ugbiex1">news:1CDA86C6527BD311B91F0008C784121003D551D8@ugbiex1... > Sorry for the late reply but maybe you should take a loo

[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

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

[PHP] fsockopen nntp stalls

2001-12-26 Thread Fred
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]

[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

[PHP] Re: linux help

2001-12-26 Thread Fred
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

[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]"&

[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 >

[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

[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 L

Re: [PHP] Working with designers...

2001-12-18 Thread Fred
ching 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]">

Re: [PHP] Working with designers...

2001-12-18 Thread Fred
an be 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 adm

Re: [PHP] Working with designers...

2001-12-18 Thread Fred
l in approaching 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:[EMA

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 PROT

[PHP] Re: Displaying html

2001-12-17 Thread Fred
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 anyon

[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 p

[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 newsgrou

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 PRO

[PHP] Re: PHP as a web browser?

2001-12-17 Thread Fred
Try using CURL. http://php.he.net/manual/en/ref.curl.php Fred David Yee <[EMAIL PROTECTED]> wrote in message 012501c186cf$3e14b020$[EMAIL PROTECTED]">news:012501c186cf$3e14b020$[EMAIL PROTECTED]... > Is it possible to have PHP act like a web browser, accept cookies and post

[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-general&w=2&r=1&s=session+different+serv er&q=b Fred Prolog <[EMAIL PROTECTED]> wrote in me

[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 PROTEC

[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

[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:[E

[PHP] Re: SQL Query Question

2001-12-09 Thread Fred
extract ($row); $return = mysql_query("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"

[PHP] Re: passing form values

2001-12-09 Thread Fred
more 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 aw

[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; > $MYFILES['file_recensione']['tmp_nam

[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&#

[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 PRO

[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 PROT

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

2001-12-05 Thread Fred
if this is the case. If so, then your browser is timing 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 PRO

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,

[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 > radac

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. No

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

2001-12-05 Thread fred
saw your post here in May 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. >> >

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,

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,

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,

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] 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] Large file uploads timeout - ouch!

2001-12-05 Thread fred
he httpd.conf for Apache, although they *might* change it if I know what to ask them... ;-) TIA Fred /* New to Linux (nine months) and PHP (2 weeks) but loving it! */ == Uploaded file name: $File_name\n"); pri

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

2001-12-04 Thread Fred
escape sequence for NULL. 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:BB6D932A42D6D211

[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&#

[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 > fie

[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

[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]\")";

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 &g

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 wil

[PHP] content disposition and internet exploder

2001-12-02 Thread Fred
is to work correclty 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 c

  1   2   >