I get:
unable to select database
when I visit my guestbook.php
The user trying it is set in the mysql.user (without any perms) and in
the
mysql.db (with all perms).
Do I have to set all perms to this user in the mysql.user table?
Did you 'flush privileges' ?
--
Jon Farmer
Systems
the contents of the
textbox in the querystring.
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
When you doa phpinfo() look at the top block. you will probably see
something like ./configure --enable-track-vars --enable-trans-sid etc. If
it is not here your PHP module was not compiled with trans-sid enabled.
--Jon
At 09:13 PM 12/10/2001 -0500, John King wrote:
Running a script
You probably have a better chance if you include
(a) some code
(b) an error message
(c) a description of your environment
Cheers
Jon
-Original Message-
From: Thomas [mailto:[EMAIL PROTECTED]]
Sent: 07 December 2001 11:01
To: [EMAIL PROTECTED]
Subject: [PHP] Re: semaphores
://www.zend.com/zend/tut/drop-down.php
HTH
Jon
--
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]
and pipe the email directly from sendmail into PHP
on STDIN
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Parse error: parse error in /home/sites/site139/web/EIA/sessionstart.php
on
line 10
It's strange that line number 10 doesn't exist!
Do you have an include statement in sessionstart.php?
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key
/function.set-time-limit.php
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
The timeout is set in php.ini
Only change it in php.ini if you want it to be serverwide. For a specific
script use set_time_linit().
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
not have
permission to log on from localhost
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
is use a
hidden frame and onClick of the button refresh the page in the hidden frame.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net
Hello world!
I'm using php 4.0.6 to work with MsSQL (FreeBSD 4.4, Apache 1.3.20).
How should i compile php to enable mssql functions?
Exactly as described here:
http://www.php.net/manual/en/ref.mssql.php
RTFM
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763
Is it possible to use php's mail function to send an html formated email (one of your
pages or a newsletter, whatever...)? If so, how?
GW
Yes it is.
A good place to start is with the manual (http://www.php.net/mail), where
you will find an explanation of how to do it.
Cheers
Jon
-Original Message-
From: Gregory Jon Welling/Parts Trading Inc. [mailto:[EMAIL PROTECTED]]
Sent: 05 December 2001 11:07
To: [EMAIL PROTECTED
from a dumped file--ON Windows.
Have you tried something like phpMyAdmin (or something similar, like
Mascon)?
Cheers
Jon
**
'The information included in this Email is of a confidential nature and is
intended only
if it's possible to compile PHP as a CGI on Windows, but
it might be, so it's probably worth a try.
Cheers
Jon
**
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you
Scope problem?
Try this:
function Output_Entries() {
global $DB_PATH, $DSN;
// rest of function
}
Cheers
Jon
-Original Message-
From: mweb [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 12:28
To: [EMAIL PROTECTED]
Subject: [PHP] URGENT: IIS server now OK, but MS access DB
database software
installed on it, in which case you should change your ISP. You can't use the
key inside the locked box to unlock the box.
Cheers
Jon
**
'The information included in this Email is of a confidential nature
Aha, I understand :-)
Have you looked at exec() and passthru()?
Start with http://www.php.net/manual/en/ref.exec.php, there are some notes
relating to Windows there...
Cheers
Jon
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 16:51
To: Jon
I have a file called sessionvars.php that I require() as the very first
thing on all my pages, it has
session_register(blah...) and about 40 or 50 variable names after that.
sometimes I am seeing behavior where a form on one page that references a
session variable doesn't carry over the change
Jon Drukman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
sometimes I am seeing behavior where a form on one page that references a
session variable doesn't carry over the change to the next page.
i just figured this out from reading the user
yeah good call on a type it should of been \s not \S
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From: Jim Musil [EMAIL PROTECTED]
To: py [EMAIL PROTECTED]
Cc
to that email
are ignored.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From: Chamarty Prasanna Kumar [EMAIL PROTECTED]
To: Johan Holst Nielsen [EMAIL PROTECTED]
Cc
Actually the sql statement you want is
select whatever from articles where textlines regexp ^\Sbingo\S$
regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message
http://www.tuxedo.org/~esr/jargon/html/entry/foo.html
HTH
Jon
-Original Message-
From: Christoph Starkmann [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2001 14:54
To: '[EMAIL PROTECTED]'
Subject: [PHP] foo-bar
BTW...
Can anybody tell me where the words
foo and bar
come from
of the script dieing on timeout for it to go and do something else. Ideally
it will redirect to another php script which will check for the entry in the
database. Can this be done? Any pointers?
Regards
jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
to the /etc/ld.so.conf file. I have a
feeling that that is not good for performance either. Is there another way
to go about this?
Thanks in advance for any help you can give :)
--Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
it's burned into a finger macro, takes 0.01
seconds longer to type (approx)
Cheers
Jon
-Original Message-
From: Boget, Chris [mailto:[EMAIL PROTECTED]]
Sent: 27 November 2001 15:29
To: [EMAIL PROTECTED]; '[EMAIL PROTECTED]'
Subject: [PHP] Coding methods (was RE: [PHP-DB] gzip image
You could look into the nl2br() function, which converts \n -style newlines
(entered in TEXTAREAs) into HTML brs.
http://www.php.net/nl2br
HTH
Jon
-Original Message-
From: Tim Thorburn [mailto:[EMAIL PROTECTED]]
Sent: 26 November 2001 07:32
To: [EMAIL PROTECTED]
Subject: RE: [PHP
You've already sent something to the browser... the line that starts with
HTMLHEAD...
Move that below the authentication code and all should be well.
HTH
Jon
-Original Message-
From: Per Waagen [mailto:[EMAIL PROTECTED]]
Sent: 22 November 2001 10:20
To: [EMAIL PROTECTED]
Subject: [PHP
Well telling us what the errors are would be a start :-)
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From: Stephen Phillips [EMAIL PROTECTED
PHPmyAdmin can export to .csv, which can be read into Excel with no
troubles.
Get it at http://www.phpwizard.net/projects/phpMyAdmin/
HTH
Jon
-Original Message-
From: Stanley [mailto:[EMAIL PROTECTED]]
Sent: 21 November 2001 10:34
To: [EMAIL PROTECTED]
Subject: [PHP] mysql export
straightforward to pull the info using php and right to Excel file using the
class
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net
based
on another form object.
Instead of referring in javascript to the select by name refer by reference
ie:
document.form[0].elements[1].selected
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject
It's in the $HTTP_REFERER variable (speeling mistake intentional)
Be warned, though - not every browser supplies this in every circumstance.
Cheers
Jon
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: 15 November 2001 17:55
To: 'PHP User Group'
Subject: [PHP
how did you plan on running php from cron?
Well, this works for me:
0 3 * * * lynx -dump http://mysite.com/mypage.php /dev/null
HTH
Jon
**
'The information included in this Email is of a confidential nature
Change your CDATA so it contains amp; instead of
HTH
Jon
-Original Message-
From: bill [mailto:[EMAIL PROTECTED]]
Sent: 12 November 2001 15:51
To: [EMAIL PROTECTED]
Subject: [PHP] parsing XML data with ampersands ()
When parsing XML data, the CDATA sometimes contains an ampersand
The issue here is that you aren't getting an index of Company from that
query. It is probably stored under the index of UCASE(Company). Try:
$Query = SELECT UCASE(Company) as ucCompany, Icons, ID,...;
Then the ucCompany field will contain your capitalized company data.
Jon
-Original
for this purpose or write your own.
Remember the actual first day of a week can be country specific.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http
Well seeing as Monday of this week was the 29th of October is this week the
first of November or the last of October? I think the United Nations set out
a specification for determining the week number of the year but not sure if
they have a spec for the week of the month.
Regards
Jon
--
Jon
Yep. Design your own form, and feed the data from that to $PHP_AUTH_USER and
$PHP_AUTH_PW. Don't send the header() for the 403.
Cheers
Jon
-Original Message-
From: Zhu George-CZZ010 [mailto:[EMAIL PROTECTED]]
Sent: 01 November 2001 17:18
To: [EMAIL PROTECTED]
Subject: [PHP
if (!isset ($PHP_AUTH_USER)) {
header (Location: http://mydomain.com/mypage;);
}
would probably do the trick
Cheers
Jon
-Original Message-
From: Zhu George-CZZ010 [mailto:[EMAIL PROTECTED]]
Sent: 01 November 2001 17:51
To: Jon Haworth; [EMAIL PROTECTED]
Subject: RE: [PHP
I'd be interested to see an example of an address that will not work
Which MTA are you using? On which OS? More info!
(obPeeve): Please don't post in HTML.
Cheers
Jon
-Original Message-
From: Matthew Luchak [mailto:[EMAIL PROTECTED]]
Sent: 31 October 2001 16:04
To: Php-General
Well hey, if mail() won't send to those addresses, what's wrong with us
testing them? :-)
ahem
Can you send to those addresses from a regular email client? If so, can you
do it from the command line with your MTA?
jon@maya~$ sendmail [EMAIL PROTECTED]
hello there
.
Cheers
Jon
-Original
returned the message Checking... changes to Finished even if all
the images etc have not loaded yet...
All done with PHP and a one line javascript call.
Regards
jon
]
--
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email
Yeah just call flush() when you want whats been parsed so far to go to the
client..
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]
- Original Message -
From: Daniel Alsén [EMAIL PROTECTED
/ and
have a look at their stuff.
Cheers
Jon
-Original Message-
From: Srinivasan Ranganathan [mailto:[EMAIL PROTECTED]]
Sent: 24 October 2001 16:46
To: [EMAIL PROTECTED]
Subject: [PHP] XML newbie
Hi
Its me again (for those who know me ;-)). ive been
working with php and mysql for a while
I'm running PHP v4.0.7RC3 (from package php4-cgi) on Linux 2.4.10-ac11.
Distribution debian unstable.
I would recommend 4.0.6 compiled from source. Thats what I use and its very
stable.
Regards
jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP
And then the spammers can use NNTP again. I think it goes both ways.
NNTP LIST
A good spam filter (blacklist) would be a good option.
Yeah thats what i said
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email
Budweiser
if ( A != 10 or A != 9 )
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I have yet another PHP question! =)
How do i open a window in PHP and how do i insert information in it?
Actually you have a javascript question!
check out window.open() in the javascript docs
Regards
jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763
...
-Original Message-
From: Mukul Sabharwal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 9:58 PM
To: Jon Shoberg; [EMAIL PROTECTED]
Subject: Re: [PHP] Mirroring Website
Hi,
Try rsync, it's pretty much what you want.
http://rsync.samba.org
, search engine
bots, link checkers, etc etc. Personally I reckon you're better off with
this:
?php
mt_srand((double)microtime()*100);
$counter = mt_rand(1, 9);
echo You are visitor number $counter.;
?
Cheers
Jon
-Original Message-
From: Mark Lo [mailto:[EMAIL PROTECTED]]
Sent
You can find this code all over the web, an example of it can be seen at
most search engines on the Add a URL page :-)
What are you trying to do?
Cheers
Jon
-Original Message-
From: Krushna Kumar R [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2001 15:08
To: [EMAIL PROTECTED]
Subject
Hi,
We are working with PHP MYSQL, and we would like to publish some
information that we have with MS ACCESS and MS EXCEL, and altough I know
that it is posible to connect an access database using ODBC from PHP,
however I don't know if it is legal to do this without having to pay
licenses to
The name of that concept is a variable.
index.php?pg=1 means call index.php and set the variable $pg to 1
Cheers
Jon
-Original Message-
From: LRW [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2001 21:04
To: [EMAIL PROTECTED]
Subject: Re: [PHP] preventing an include() from taking over
A better version would be:
if (getenv(HTTP_X_FORWARDED_FOR)) {
$ip=getenv(HTTP_X_FORWARDED_FOR);
} else {
$ip=getenv(REMOTE_ADDR);
}
This checks for proxy forwarding as well, if you just use REMOTE_ADDR you
might end up with a proxy, not the real IP.
Cheers
Jon
Well, presumably you could split $ip into an array based on whatever the
delimiter is. I just use this snippet for our intranet where everything
comes through exactly one proxy.
Cheers
Jon
-Original Message-
From: Tamas Arpad [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2001 12:54
Why not just do
$today = date(j/m);
?
Cheers
Jon
-Original Message-
From: Daniel Alsén [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2001 12:55
To: php
Subject: [PHP] Combining strings?
Hi,
i was trying to figure this out myself. But since the php-manual is down...
I want
)
Cheers
Jon
-Original Message-
From: Nikola Veber [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2001 04:02
To: php forum
Subject: [PHP] form handling problem
Hi !
I have a form
form target = ?php echo $PHP_SELF ?; METHOD = get
Is there a way to open PHP_SELF in the same window
... so make the two pieces the same file... have the script redirect to
itself minus the parameters.
I did, but somehow it soesn't feel like an elegant way of doing things, with
that extra reloading and all. But it'll do. Thanks.
- jon
--
PHP General Mailing List (http://www.php.net
kuin luottaa.
- Jon Thompson Coon
--
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]
to remove the GET stuff from the result? By, f. ex. using
header(whatnot: where) and then builing the material?
I might not be very clear about this, but hopefully the meaning filters
through.
- Jon Thompson Coon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
a explanation/remedy for this, since it makes
developing slightly inconsistent with this requiring that gimmick and
that not.
Regards to anyone caring to answer.
- Jon Thompson Coon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
So echo a br as well.
echo $os. br; //this will do the trick
Cheers
Jon
-Original Message-
From: Johan Vikerskog (EMP) [mailto:[EMAIL PROTECTED]]
Sent: 06 September 2001 12:24
To: '_lallous'; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Question.
ok i have this:
?php
include
) {
display page
} else {
sod off
}
HTH
Jon
-Original Message-
From: Wilbert Enserink [mailto:[EMAIL PROTECTED]]
Sent: 06 September 2001 16:40
To: [EMAIL PROTECTED]
Subject: [PHP] browsing permission
Hi all,
anybody knows a way to protect a directory on my webserver from browsing via
call it straight after
the line that generates the file.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
Can you send mail from the command line?
If you're running sendmail:
$ sendmail [EMAIL PROTECTED]
this is a test
.
If that goes through OK then I'd have a look at your script for bugs. If it
doesn't I'd have a look at your sendmail.cf :-)
Cheers
Jon
-Original Message-
From: Moise
If you run Apache you might want to look into the ab program, it's in the
apache/bin directory IIRC.
HTH
Jon
-Original Message-
From: Andrew Brampton [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2001 16:48
To: [EMAIL PROTECTED]
Subject: [PHP] Load testing
Hi,
I'm looking for a app
be selected without a table
name.
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
? Again, Something with a simple interface and easy to maintain. I'm
looking for someting to make a quick, small entry into email hosting.
Thanks,
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
/pointers?
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
No, we would have to spend around £24,000 sterling to get the modules. We
already have modules that allow importing of order, etc from txt files. I
could write a PHP XML parser to interface into this.
What I am not sure is how acceptable it will be to our customers
--
--
Jon Farmer
Systems
PHP page/title
/head
body
?php
echo h1Hello world!/h1;
?
/body
/html
end
If this works, then congratulations - you've just used echo()
If not, give us a shout and someone will help you out :-)
Cheers
Jon
-Original Message-
From: Nikola Veber [mailto:[EMAIL PROTECTED
of the site :-)
IMHO the best tutorial for MySQL is Paul Dubois' book MySQL, published by
New Riders, which you can grab from amazon or bn or wherever you
usually buy these sorts of things. Takes you from beginner through to funky
advanced stuff painlessly and clearly. Highly recommended.
HTH
Jon
Won't sending a 401 header do the trick?
?php
header(WWW-Authenticate: Basic realm='my realm');
header(HTTP/1.0 401 Unauthorized);
?
Not sure, but worth a try.
Cheers
Jon
-Original Message-
From: Boris [mailto:[EMAIL PROTECTED]]
Sent: 31 August 2001 13:08
To: [EMAIL PROTECTED
The @ suppresses any warning/error messages that are produced - hence the
complaints when it's taken out :-)
Cheers
Jon
-Original Message-
From: Erols [mailto:[EMAIL PROTECTED]]
Sent: 31 August 2001 01:06
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Syntax question.
Sorry for my ignorance
You can't set a cookie for a different domain or subdomain. If you set a
cookie for a domain and then goto to SSL then the cookie will still be
presented.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email
Ignore my previous post it is incorrect
Sorry
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
- Original Message -
From: Jon Farmer [EMAIL PROTECTED]
To: Jason Radley [EMAIL PROTECTED
and wery little documentation) to server side programming, so
I'm probably misunderstanding some basics.
Most of my problems are related to this area, so anyone bold enough to
anwer will probably pounded with several questions more.
Thank you in advance
Jon Thompson Coon
--
PHP General Mailing List
Thank you. Question answered. Several times over.
--
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]
: First argument to array_push() needs to be an array in xxx on
line xx
I know what this means, I also 'know' that there should not be any
mistakes in that code. Mebbe a peculiarity I don't know of?
Thanks
- jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
just it. I'm blind to these kinds of mistakes with PHP and other
assorted languages. I'm a java guy, and the syntax in that language is just
wonderful for dysleksic guys like me. Guess how many hours i've been looking
for missing $:s.
Soon I'll come up with a demanding question.
- jon
--
PHP
database (a) as root and (b) without
a password (although you may have modified the code, so I'm not sure). This
is even worse than SELECT * :-)
Cheers
Jon
-Original Message-
From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]]
Sent: 29 August 2001 15:55
To: '[EMAIL PROTECTED]'
Subject: [PHP
Ermm you are missing SSL encryption. You can't just try and talk to port
443! You have to use something that talks SSL to talk to port 443.
fsockopen() does not talk SSL.
Regards
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key
PHP Hypertext Preprocessor (yes, it's recursive)
HTH
Jon
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2001 11:38
To: Php-General
Subject: [PHP] What does PHP stand for?
It just crossed my mind: I don't know what PHP stands for...so anyone
Hmm although the answer was Personal Home Page Tools and is now Hypertext
Preprocessor when people ask me, I say Pre-Hypertext Processor
Its the same meaning, and puts the letters in the correct order, so as not to
confuse people.
--
PHP General Mailing List (http://www.php.net/)
To
If you are on a unix box you might want to use the tail command... if you
use exec() the output will be in an array...
--
Jon Farmer ??
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original
Regards
Jon
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2001 15:08
To: 'Php-General
Yes but you would have to dynamically build the javascript statement up
using php with the query string you wanted and use
window.parent.name-of-frame.location.href=index.php??echo
$querystring?
--
Jon Farmer Õ¿Õ¬
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0
For perl look at
http://www.cpan.org/modules/by-category/19_Mail_and_Usenet_News/Mail/Mail-Ch
eckUser-1.02.readme
As for php you would need to open a socket connection.. My advice would be
to use the perl module and call a perl script from php.
Regards
Jon
--
Jon Farmer Õ¿Õ¬
Systems
Shell PHP scripts will start with the line
#!/path/to/php -q
Regards
Jon
--
Jon Farmer O?O¬
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: George E. Papadakis
Yup, try qmail: www.qmail.org
You need to adjust the setting in your php.ini as well.
HTH
Jon
-Original Message-
From: Juraj Hasko [mailto:[EMAIL PROTECTED]]
Sent: 24 August 2001 14:19
To: [EMAIL PROTECTED]
Subject: [PHP] PHP sendmail
Hi,
I would like to know if PHP on *nix system
and randseed files are readable by the apache
user.
4. Have fun
I have successfully got this working and if you need any help let me know
Regards
jon
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL
header(location: redirect.php);
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: Wilbert Enserink [mailto:[EMAIL PROTECTED]]
Sent: 24 August 2001 15:45
I dont think you read the original post correctly. Obviously you would use
SSL to get the info form the browser to server. What the poster was asking
was how does he securely get the information from the server to the people
using the PDQ machine.
Regards
--
Jon Farmer O?O?
Systems Programmer
do something like:
$start = mktime();
$sql = SELECT foo FROM bar ORDER BY xyzzy;
$result = mysql_query ($sql);
// do something with the result if you want that timed as well
$end = mktime();
$total = $end - $start;
echo $total; // could format this using date() if you fancy
HTH
Jon
--
PHP General
they
go back to the page that needs login then it presents a login box to a realm
that contains the current date and time in it.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED
You can use the SQL keyword LIKE for this. Have a look at the MySQL docs
for full info, but the idea is you'd do something like:
$query = SELECT * FROM table WHERE question LIKE '%. $search_phrase. %';
HTH
Jon
-Original Message-
From: Wolfgang Schneider [mailto:[EMAIL PROTECTED]]
Sent
I think you need to assign it to a variable and then echo that:
$dnsquery = exec(dnsquery -h domain.net);
echo $dnsquery;
HTH
Jon
-Original Message-
From: J.Mueller, pro.vider.de GmbH [mailto:[EMAIL PROTECTED]]
Sent: 17 August 2001 09:29
To: '[EMAIL PROTECTED]'
Subject: [PHP] Dnsquery
701 - 800 of 1075 matches
Mail list logo