[PHP] English translations ???

2002-05-29 Thread jon shoberg
range can be free to $600ish. Any suggestions? I can't use any web/hosted cgi, bablyfish, type applications. It has to run on my server. Thanks Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Replacing Number with Month(newbie)

2002-05-31 Thread Jon Haworth
Hi JJ, > Is there a magical function that I can use to convert 4 > into April and 5 into May etc? > can I use mktime() > One yes no answer will do fine Yes and no ;-) You might want to use a combination of mktime() and date(). i.e. HTH Jon -- PHP General Mailing List (http:/

RE: [PHP] Cache Control

2002-05-31 Thread Jon Haworth
Hi Jeroen, > Where i can find more help about cache control Here: http://www.google.com/search?q=help+about+cache+control (495,000 results) Or did you mean something a bit more specific? Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

RE: [PHP] Cache Control

2002-05-31 Thread Jon Haworth
estion with the mailing list, this answer may not be exactly what you're after, but it's probably: ;-) Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mktime parameters (Was: Replacing Number with Month(newbie))

2002-05-31 Thread Jon Haworth
2) it all worked fine. I think it's because it's the 31st today, and any months that don't have 31 days were getting screwed up (wouldn't mind hearing any other ideas though). It seems like it's always a good idea to pass at least the day parameter to mktime(), unless you enjoy unpredictable results ;-) Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Cache Control

2002-05-31 Thread Jon Haworth
me proxies are configured to ignore your caching instructions anyway. Cheers Jon PS. Please try and avoid using HTML mail on lists. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mysql problems, need help quick

2002-06-11 Thread Jon Haworth
uestions, please join one of the lists at http://mysql.com/. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] XML newbie

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

Re: [PHP] Re: Loading message

2001-10-25 Thread Jon Farmer
back.. As soon as all the results have been 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

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

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 1

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? :-) 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 ---

Re: [PHP] Week of month

2001-11-01 Thread Jon Farmer
d their code 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 Ma

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] Is th

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

php-general@lists.php.net

2001-11-12 Thread Jon Haworth
Change your CDATA so it contains & 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

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 na

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'

Re: [PHP] exporting

2001-11-20 Thread Jon Farmer
. Should be fairly 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:

Re: [PHP] MySQL and GROUP BY

2001-11-20 Thread Jon Farmer
rted by business name as well as last name and then first name. At > the moment this query is resulting in all business names (sorted) and > then, following all business names, all last/first names (also sorted). SELECT Concat(First_Name, " ", Last_Name, Business_Name) as Name From

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

2001-11-20 Thread Jon Farmer
ange its contents 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, sen

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 to

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 ... 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] C

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 P

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 s) into HTML s. 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] Pulling

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

2001-11-27 Thread Jon Haworth
t is in green I've done it so much now it's burned into a finger macro, takes 0.000001 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]

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

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

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

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: "

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

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

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

2001-11-30 Thread Jon Farmer
STMP host it will reject it. -- 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,

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

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

2001-12-04 Thread Jon Haworth
him/her how PHP's been installed. Cheers Jon -Original Message- From: mweb [mailto:[EMAIL PROTECTED]] Sent: 04 December 2001 10:47 To: [EMAIL PROTECTED] Subject: [PHP] URGENT: IIS server doesn't recognize PHP pages Hello, I am working for a customer whose ISP uses WinNT/IIS. T

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

2001-12-04 Thread Jon Haworth
:\progra~1\php\php.exe -q I don't even know 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

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 not

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

2001-12-04 Thread Jon Haworth
ase server, you have a computer that happens to have 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 informa

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

RE: [PHP] question on incrementing

2001-12-05 Thread Jon Farmer
so the way i would go 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

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 01

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] PHP outside HTML

2001-12-06 Thread Jon Farmer
I routinely use \n \t in php just so that the html outputed is formated nicely and is easy to read when view source -- 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

Re: [PHP] Email-based PHP-Script

2001-12-06 Thread Jon Farmer
mail?> Compile PHP as a binary 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

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 Mo

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

2001-12-06 Thread Jon Farmer
http://www.php.net/manual/en/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] Fo

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

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 not

RE: [PHP] Help wih select boxes pls

2001-12-07 Thread Jon Haworth
state) Good article on this at Zend: http://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] Access denied for user

2001-12-06 Thread Jon Farmer
ect. Or the username does 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

RE: [PHP] Dumped OK, Restore NOT

2001-12-05 Thread Jon Haworth
ually restoring a > database 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

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 yo

Re: [PHP] Frames creating problems...

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

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 t

RE: [PHP] Die

2001-12-11 Thread Jon Haworth
> Hi, > > If I use die or exit() it break execution of php script but also > browswer stop parsing html code. How to avoid this? > Use proper error handling instead of die()? Let's face it, die() is for when your script needs to, well, die Cheers Jon -- PHP Genera

RE: [PHP] Date

2001-12-11 Thread Jon Haworth
ts ("header.php")) { $modified = stat ("header.php"); echo "Last modified: ".date("F j, Y, g:i a",$modified[9]); } else { echo "Can't find header.php!"; } You could also try with stat("/complete/path/to/header.php"); HTH Jon

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

2001-12-11 Thread Jon Niola
You would need to have write access to the php.ini file as well as execute access to the httpd binary to do a server restart in order to initialize with new configuration. --Jon At 11:54 AM 12/11/2001 -0500, John King wrote: >Ahh, Thanks. Ok I don't see it so it must not be enabled

RE: [PHP] Logo proposal

2001-12-11 Thread Jon Niola
LOL, I guess Python is spoken for too ;) --Jon At 11:32 AM 12/11/2001 -0800, Andrew Chase wrote: >Maybe an animal beginning with "P" would be a good Mnemonic device (and good >for alliteration; think "The PHP Panda" or "The PHP Platypus".) Hmm, I >guess

Re: [PHP] How to compile PHP-4.1.0 or 4.0.6 with Oracle-9i ?

2001-12-11 Thread Jon Niola
Here is something that may help you: http://www.cba.ua.edu/~spaff/ I have yet to try it but plan on it soon. Apparently you have to patch the configure script and it will work :) Let me know how it works out --Jon At 09:11 PM 12/11/2001 +0100, Thies C. Arntzen wrote: >On Tue, Dec 11, 2

Re: [PHP] Logo proposal

2001-12-11 Thread Jon Niola
I think MySQL has that already ;) At 12:33 PM 12/11/2001 -0800, Hugh Danaher wrote: >How about a porpoise. They're fast, intelligent, and as Lewis Carol said, >"you shouldn't go anywhere without a porpoise." >- Original Message - >From: Dan McCullough <[EMAIL PROTECTED]> >To: PHP General

Re: [PHP] Re: Emailing attachments upload to a form

2001-12-12 Thread Jon Farmer
> Yeah.. code to divide the message into multiple parts, base64_encode the > file, and attach it that way. > > I suggest looking for some kind of Email class that can do that for you. > Try http://phpclasses.upperdesign.net/ > > Mike if you are on *nix used mutt from th

Re: [PHP] Get Hours/Mins/Secs between two timestamps?

2001-12-12 Thread Jon Farmer
by 60 and the remainder is your seconds. 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 - >> -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Get Hours/Mins/Secs between two timestamps?

2001-12-12 Thread Jon Farmer
use > gmdate() on the difference, that way you don't have to worry about > differences in excess of 60 secs... and what if the difference between timestamp1 and timestamp2 is > 86400 ? -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Ke

Re: [PHP] last entry in mysql

2001-12-12 Thread Jon Niola
); --Jon At 10:30 AM 12/12/2001 -0600, Yoed Anis wrote: >hey guys, > >quick question I'm having trouble finding an answer too. >In a mysql database, how can I select that last row entry. This might be >done mins after i put that entry there and i tried to use: > $lastid=my

[PHP] PHP 4.x on Apache 2.x?

2001-12-12 Thread Jon Niola
With all the architectural changes to the Apache platform for 2.x, will PHP 4.x run as a module still, or is that TBD? --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

[PHP] [PHP/Apache] Transparent Subdomains ?

2001-12-13 Thread Jon Shoberg
/handler.php where I can trap for the subdomain/URI and perform dynamic processing on those values. I presume it would have to be a process though mod_rewrite and .htaccess? Is this able to be done. I've gone though quite a bit yet unable to get it working as described. Any ideas?

[PHP] echo vs. print() performance?

2001-12-13 Thread Jon Niola
Someone on this list once mentioned a performance difference between using echo and print(). Is there any evidence to back this up? I am really curious to see if it would make a difference to use one over the other. --Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] Passing through Array's to another script

2001-12-18 Thread Jon Haworth
If you need to POST a form, but include some variables, you can use hidden fields. Assuming someone now enters "baz" into the called c, your POST data is equivalent to doing Click here! However, you can't do this: Because a & b won't ge

Re: [PHP] QUESTION: how to validate credit card number before sent to Versign?

2001-12-19 Thread Jon Farmer
I presume you are sending the details to verisign by posting the info from the directly to versign. If this is the case the post to a local php script, do the validation and then use the http_post class from http://phpclasses.upperdesign.com/ to send it to verisign Regards Jon -- Jon

Re: [PHP] How to backup records in mySQL DB?

2001-12-20 Thread Jon Farmer
to the backup location. Then cron it to run as often as you want backups. To keep on topic you can use PHP as the scripting language to do this. 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 K

Re: [PHP] PHP / SSL

2001-12-20 Thread Jon Farmer
I 266Mhz machines to accomplish this. If you think someone is going to want your data and has those kinda resources available then yeah go for higher. However if thats your worry where are you going to stop in the length of your key? If your that paranoid then it shouldn't be using public network

Re: [PHP] Signing Files with PGP

2001-12-20 Thread Jon Farmer
The -z option allows you to pass the passphrase on the command line -- 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: "Brian Clark" <[EMAIL PROTECTED]

[PHP] session question (4.1.1)

2002-01-03 Thread Jon Niola
P_SESSION_VARS['uid'] to make sure it is not null, is greater then 0, and i also check the HTTP_SESSION_VARS['uname']. This seemed to be working until I tried to see what would happen if I fed it a query string. I fed a "secure" page ?action=edit&uid=3&u

RE: [PHP] carriage returns

2002-01-07 Thread Jon Haworth
Inserting data from a textarea or something? If so, have a look at http://www.php.net/nl2br - probably what you're after. Cheers Jon -Original Message- From: Rodney Davis [mailto:[EMAIL PROTECTED]] Sent: 07 January 2002 17:47 To: [EMAIL PROTECTED] Subject: [PHP] carriage re

RE: [PHP] no one can find solution to my problem??

2002-01-08 Thread Jon Haworth
ge, $headers); > > ?> > > > Warning: Server Error in c:\www/email1.php on line 45 You do not need to send your username and password with the headers - those are the MAIL headers (From, Reply-To, Errors-To, etc) Cheers Jon -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Re: Http request

2002-01-08 Thread Jon Farmer
which authentifies >it and responses back in XML format... > > > >any suggestions?? Well that would suffice if he just wanted to display the raw XML in the broswer. However if he wanted to parse the XML he needs to open a socket on port 80 or use a http class. Regards jon -- Jon

Re: [PHP] IP address from which country

2002-01-09 Thread Jon Farmer
P do a RIPE lookup at www.ripe.net and that will tell you who the IP is assigned to and where in the world they are. Of course if its a ISP in Maryland, USA they could have a dialup user from Australia connected so it only gives limited information. Regards Jon -- Jon Farmer Systems Programmer, E

[PHP] Regex question

2002-01-09 Thread Jon Haworth
to see if anything in the $tags array is at the start of the string) The problem is that it's not picking up "". I've escaped the [ and ] as I know they're reserved in regexes, but it seems there's something else that needs escaping or otherwise tweaking, and all mann

RE: [PHP] Regex question

2002-01-09 Thread Jon Haworth
; as you want ( the first backslash escapes the > second). Hi Stefan, Thanks very much for that, it does make sense :-) Unfortunately it still hasn't fixed the problem... I suppose my question has now boiled down to "do I need to escape !, <, or - in a regex?" :-) Cheers Jon

RE: [PHP] Regex question

2002-01-09 Thread Jon Haworth
> As far as I can see (notice: I'm not a regex-king ;) the regex seems correct > to me. The only thing I'm wondering about is the "/^<" (second last line of > the citation). Together with your expression in the array it results in > preg_match("/<\/ I'm wondering if that ( not only

[PHP] weird fopen problem

2002-01-10 Thread Jon Farmer
I am getting a the follwing error: Warning: fopen("/home/jon/pgpfiles/sgsdgsdg","w") - Permission denied in /home/ethiorg/public_html/test.php on line 2 Warning: Supplied argument is not a valid File-Handle resource in /home/ethiorg/public_html/test.php on line 3 Warning:

Re: [PHP] weird fopen problem

2002-01-10 Thread Jon Farmer
> Hi Jon, > > > Warning: fopen("/home/jon/pgpfiles/sgsdgsdg","w") - Permission denied in > > /home/ethiorg/public_html/test.php on line 2 > > the directory /home/jon/pgpfiles has mode 777 and is owned by nobody and > > group is nobody. Apache runs

RE: [PHP] sending mail with PHP from web

2001-02-07 Thread Jon Haworth
Can we see some code? I run a very similar thing (sending mails to around 500 people whose details are stored in a MySQL database and accessed via PHP) - the only difference is my OS is NT4 not FreeBSD. -Original Message- From: Yamin Prabudy [mailto:[EMAIL PROTECTED]] Sent: 07 February 2

RE: [PHP] Questions about simple php problems

2001-02-07 Thread Jon Haworth
k for when it receives a request ending in /. As you can see, my config looks for an index.php file, followed by an index.shtml file. If it fails for both of these, I *think* it will return an HTTP 404 error. HTH Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

RE: [PHP] Dear Friends & Future Millionaire:

2001-02-07 Thread Jon Haworth
If I'd sent $5 off for every spam I've received someone else would be a millionaire by now. -Original Message- From: Duncan Hill [mailto:[EMAIL PROTECTED]] Sent: 06 February 2001 21:00 To: [EMAIL PROTECTED] Subject: Re: [PHP] Dear Friends & Future Millionaire: On 2001-02-06, Hi Tech S

RE: [PHP] newbie mail() function

2001-02-07 Thread Jon Haworth
You're missing a semicolon on line 8. HTH Jon -Original Message- From: Angerer, Chad [mailto:[EMAIL PROTECTED]] Sent: 07 February 2001 16:37 To: [EMAIL PROTECTED] Subject: [PHP] newbie mail() function Hello! I am very new to php programming. I have been experimenting around

RE: [PHP] Weird one--PHP parsing jpg image!?

2001-02-08 Thread Jon Haworth
It sounds like you're running it as a CGI instead of a module. Have you put the correct directives into your httpd.conf? They should be something like: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php .php3 .php4 HTH Jon -Original Message-

Re: [PHP-CVS] cvs: php4 /ext/mnogosearch php_mnogo.c test.php

2001-02-08 Thread Jon Parise
at least mnoGoSearch-3.1.10 required to use this module. Could you add a version test ('udm-config --version') to config.m4 to enforce that version requirement? -- Jon Parise ([EMAIL PROTECTED]) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House M

RE: [PHP] radiobutton

2001-02-08 Thread Jon Haworth
I think if($radio1) is what you're after. HTH Jon -Original Message- From: Miguel Loureiro [mailto:[EMAIL PROTECTED]] Sent: 08 February 2001 16:39 To: php-gen Subject: [PHP] radiobutton Hello, I have sometging like this: ">Opt1 how I know if some user choose som

RE: [PHP] good free/cheap IDE for PHP

2001-02-09 Thread Jon Haworth
I'm sticking my vote in for Edit Plus 2 (www.editplus.com), although there are approx. 1,000,000 editors that would be suitable for your needs. I suggest a visit to www.download.com and a search for "text editors". Cheers Jon -Original Message- From: Dennis von Ferenczy

[PHP] MySQL 3.23

2001-02-09 Thread Jon Rosenberg
I'm about to upgrade to mysql 3.23 on a production installation on linux with PHP 4.0.4pl1, has anyone had any problems with this combination, as compared to 4.0.4pl1 with 3.22.xx? Thanks! Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Problems with date() - what have I missed?

2001-02-13 Thread Jon Haworth
onday. It says it is a Tuesday. What am I doing wrong? Is it something to do with last year (officially it wasn't a leap year but as 2000 is divisible by 4, many people thought it should be)? I'm in GMT so unless it's a BST thing I'm not being affected by a local time zone

RE: [PHP] Mystery quotes

2001-02-13 Thread Jon Haworth
Presumably if you have mailto:[EMAIL PROTECTED]] Sent: 13 February 2001 15:38 To: [EMAIL PROTECTED] Subject: [PHP] Mystery quotes I'm encountering the following problem and now wonder if it's related to magic quotes. The code in the current, non-working form. Please note that for the there are

RE: [PHP] Problems with date() - what have I missed?

2001-02-13 Thread Jon Haworth
s to the screen.... Cheers Jon -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: 13 February 2001 14:38 To: '[EMAIL PROTECTED]' Subject: [PHP] Problems with date() - what have I missed? Hi list. I have a strange problem with a PHP script (WinNT/Apache/PHP4/

RE: [PHP] Netscape not resolving $PHPSELF ??

2001-02-13 Thread Jon Haworth
ly I don't have Netscape at work HTH Jon -Original Message- From: John Vanderbeck [mailto:[EMAIL PROTECTED]] Sent: 13 February 2001 17:42 To: [EMAIL PROTECTED] Subject: [PHP] Netscape not resolving $PHPSELF ?? I'm having a problemin Netscape, any of my echo statements th

RE: [PHP]

2001-02-14 Thread Jon Haworth
It may be that the \t in your string is being interpreted as a tab. Try using /, or escaping your \. Cheers Jon -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: 14 February 2001 17:14 To: PHP User Group Subject: [PHP] http://www.php.net/) To unsubscribe, e-mail

[PHP-CVS] cvs: php4 /ext/mnogosearch config.m4

2001-02-14 Thread Jon Parise
jon Wed Feb 14 12:10:15 2001 EDT Modified files: /php4/ext/mnogosearch config.m4 Log: Fix build. Index: php4/ext/mnogosearch/config.m4 diff -u php4/ext/mnogosearch/config.m4:1.5 php4/ext/mnogosearch/config.m4:1.6 --- php4/ext/mnogosearch/config.m4

<    1   2   3   4   5   6   >