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,
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,
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.
>>
>
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
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
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,
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
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
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
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
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
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
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"
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
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
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
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
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
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
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
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
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
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
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
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
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]">
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
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
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
>
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]"&
" box, for some reason when i
try to run a script using the mysql databases the thing crashes, ive jsut
installed MyODBC and im pretty sure that's what's causing hte problem, im on
a win32, running the latest version of php,mysql,apache and myodbc,
please reply asap
~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
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
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
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
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 (
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
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
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>
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
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
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
lly
> > ignored > my supposed intelligence and few days
> later she> jumped in with both feet. > I > made
> merciless fun of her, and was ready to lay the> old
> ''I told you so'' > on > her whe
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
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
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
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
--- 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
I looked at all the downloaded docs
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: \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
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
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
--- 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
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
--
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
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
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
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
>
_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
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
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] ;
}
//..
--- 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,
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.
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
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
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
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
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
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,
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
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
-- 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
101 - 172 of 172 matches
Mail list logo