Re: [PHP] PHP+MYSQL: unable to select database

2001-12-10 Thread Jon Farmer
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

Re: [PHP] Frames creating problems...

2001-12-10 Thread Jon Farmer
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

Re: [PHP] what is Trans-sid in PHP

2001-12-10 Thread Jon Niola
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

RE: [PHP] Re: semaphores not automatically releasing at end of script

2001-12-07 Thread Jon Haworth
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

RE: [PHP] Help wih select boxes pls

2001-12-07 Thread Jon Haworth
://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]

Re: [PHP] Email-based PHP-Script

2001-12-06 Thread Jon Farmer
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

Re: [PHP] parse error when requiring

2001-12-06 Thread Jon Farmer
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

Re: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Jon Farmer
/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

Re: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Jon Farmer
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

Re: [PHP] Access denied for user

2001-12-06 Thread Jon Farmer
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

RE: [PHP] question on incrementing

2001-12-05 Thread Jon Farmer
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

Re: [PHP] MsSQL question

2001-12-05 Thread Jon Farmer
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

[PHP] mail function

2001-12-05 Thread Gregory Jon Welling/Parts Trading Inc.
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

RE: [PHP] mail function

2001-12-05 Thread Jon Haworth
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

RE: [PHP] Dumped OK, Restore NOT

2001-12-05 Thread Jon Haworth
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

RE: [PHP] URGENT: IIS server doesn't recognize PHP pages

2001-12-04 Thread Jon Haworth
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

RE: [PHP] URGENT: IIS server now OK, but MS access DB not reachable

2001-12-04 Thread Jon Haworth
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

RE: [PHP] 'Running' a file from PHP script

2001-12-04 Thread Jon Haworth
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

RE: [PHP] 'Running' a file from PHP script

2001-12-04 Thread Jon Haworth
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

[PHP] Session confusion

2001-12-03 Thread Jon Drukman
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

[PHP] Re: Session confusion

2001-12-03 Thread Jon Drukman
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

Re: [PHP] database question

2001-11-30 Thread Jon Farmer
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

Re: Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Jon Farmer
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

Re: [PHP] database question

2001-11-29 Thread Jon Farmer
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

RE: [PHP] foo-bar

2001-11-29 Thread Jon Haworth
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

[PHP] script timeouts

2001-11-28 Thread Jon Farmer
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

[PHP] DSO woes :(

2001-11-28 Thread Jon Niola
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

RE: [PHP] Coding methods (was RE: [PHP-DB] gzip image files)

2001-11-27 Thread Jon Haworth
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

RE: [PHP] Pulling information out of a MySQL database

2001-11-26 Thread Jon Haworth
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

RE: [PHP] Cannot add header information...

2001-11-22 Thread Jon Haworth
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

Re: [PHP] Yet Another Mysql Problem

2001-11-22 Thread Jon Farmer
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

RE: [PHP] mysql export to excel

2001-11-21 Thread Jon Haworth
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

Re: [PHP] exporting

2001-11-20 Thread Jon Farmer
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

[PHP] RE :[PHP] Multiple Entry SELECT and JavaScript interaction

2001-11-20 Thread Jon Farmer
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

RE: [PHP] The url of the last site?

2001-11-15 Thread Jon Haworth
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

RE: [PHP] cron not allowed

2001-11-13 Thread Jon Haworth
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

RE: [PHP] parsing XML data with ampersands ()

2001-11-12 Thread Jon Haworth
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

RE: [PHP] mySQL problem

2001-11-02 Thread Jon Snell
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

Re: [PHP] Week of month

2001-11-01 Thread Jon Farmer
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

Re: [PHP] Week of month

2001-11-01 Thread Jon Farmer
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

RE: [PHP] Is there a way not to pop up the default login window?

2001-11-01 Thread Jon Haworth
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

RE: [PHP] Is there a way not to pop up the default login window?

2001-11-01 Thread Jon Haworth
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

RE: [PHP] defending PHP mail function

2001-10-31 Thread Jon Haworth
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

RE: [PHP] defending PHP mail function

2001-10-31 Thread Jon Haworth
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

Re: [PHP] Re: Loading message

2001-10-25 Thread Jon Farmer
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

Re: [PHP] Re: Loading message

2001-10-25 Thread Jon Farmer
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

RE: [PHP] XML newbie

2001-10-24 Thread Jon Haworth
/ 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

Re: [PHP] PHP for shell scripting: weird error.

2001-10-19 Thread Jon Farmer
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

Re: [PHP] Spam messages (Was: FREE S E X O

2001-10-18 Thread Jon Farmer
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

Re: [PHP] php in css not working with IF's

2001-10-05 Thread Jon Farmer
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

Re: [PHP] Window open.

2001-10-05 Thread Jon Farmer
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

RE: [PHP] Mirroring Website

2001-10-02 Thread Jon Shoberg
... -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

RE: [PHP] Counter

2001-09-25 Thread Jon Haworth
, 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

RE: [PHP] search engine submission

2001-09-24 Thread Jon Haworth
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

[PHP] Legal advice

2001-09-21 Thread Jon
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

RE: [PHP] preventing an include() from taking over?

2001-09-20 Thread Jon Haworth
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

RE: [PHP] Getting IP address

2001-09-19 Thread Jon Haworth
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

RE: [PHP] Getting IP address

2001-09-19 Thread Jon Haworth
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

RE: [PHP] Combining strings?

2001-09-19 Thread Jon Haworth
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

RE: [PHP] form handling problem

2001-09-17 Thread Jon Haworth
) 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

[PHP] Re: cleaning up the uri

2001-09-10 Thread Jon Thompson Coon
... 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

Re: [PHP] Mod-function?

2001-09-09 Thread Jon Thompson Coon
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]

[PHP] cleaning up the uri

2001-09-09 Thread Jon Thompson Coon
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

[PHP] Iffy W2K, dodgy PHP or sketchy programmer?

2001-09-07 Thread Jon Thompson Coon
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

RE: [PHP] Re: Question.

2001-09-06 Thread Jon Haworth
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

RE: [PHP] browsing permission

2001-09-06 Thread Jon Haworth
) { 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

Re: [PHP] Carriage return.

2001-09-05 Thread Jon Farmer
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

RE: [PHP] lynx and mail function

2001-09-05 Thread Jon Haworth
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

RE: [PHP] Load testing

2001-09-04 Thread Jon Haworth
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

Re: [PHP] Re: mysql query . need help!!!!!

2001-09-04 Thread Jon Farmer
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

[PHP] PHP Web Mail Service?

2001-09-04 Thread Jon Shoberg
? 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

[PHP] EDI with PHP?

2001-09-03 Thread Jon Farmer
/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

[PHP] Re: EDI with PHP?

2001-09-03 Thread Jon Farmer
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

RE: [PHP] help !

2001-08-31 Thread Jon Haworth
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

RE: [PHP] 2 General MySQL Questions

2001-08-31 Thread Jon Haworth
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

RE: [PHP] HTTP authentication

2001-08-31 Thread Jon Haworth
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

RE: [PHP] PHP Syntax question.

2001-08-31 Thread Jon Haworth
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

Re: [PHP] Cookies

2001-08-31 Thread Jon Farmer
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

Re: [PHP] Cookies

2001-08-31 Thread Jon Farmer
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

[PHP] passing variables between scripts?

2001-08-31 Thread Jon Thompson Coon
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

[PHP] Re: passing variables between scripts? End of story

2001-08-31 Thread Jon Thompson Coon
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]

[PHP] Might just be a typo, but...

2001-08-31 Thread Jon Thompson Coon
: 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

Re: [PHP] Might just be a typo, but...

2001-08-31 Thread Jon Thompson Coon
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

RE: [PHP] SELECT * FROM

2001-08-29 Thread Jon Haworth
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

RE: [PHP] POST to port 443 (SSL)

2001-08-28 Thread Jon Farmer
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

RE: [PHP] What does PHP stand for?

2001-08-28 Thread Jon Haworth
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

RE: [PHP] What does PHP stand for?

2001-08-28 Thread Jon
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

RE: [PHP] How do I read the first n lines from a file?

2001-08-28 Thread Jon Farmer
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

RE: [PHP] PHP/Sendmail interaction : how to get rid of wrong emails

2001-08-28 Thread Jon Farmer
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

RE: [PHP] Refresh Main frame

2001-08-28 Thread Jon Farmer
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

RE: [PHP] PHP/Sendmail interaction : how to get rid of wrong emails

2001-08-28 Thread Jon Farmer
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

RE: [PHP] Shell or http?

2001-08-27 Thread Jon Farmer
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

RE: [PHP] PHP sendmail

2001-08-24 Thread Jon Haworth
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

RE: [PHP] PHP and RSA/Java (Repost with correct e-mail!)

2001-08-24 Thread Jon Farmer
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

RE: [PHP] redirect

2001-08-24 Thread Jon Farmer
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

RE: [PHP] PHP and RSA/Java (Repost with correct e-mail!)

2001-08-24 Thread Jon Farmer
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

RE: [PHP] Getting MySQL Query Times.

2001-08-23 Thread Jon Haworth
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

RE: [PHP] Re: PHP based authentification -----------

2001-08-20 Thread Jon Farmer
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

RE: [PHP] php query for mysql table

2001-08-20 Thread Jon Haworth
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

RE: [PHP] Dnsquery

2001-08-17 Thread Jon Haworth
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

<    3   4   5   6   7   8   9   10   11   >