Re: [PHP] Theme selector?

2003-04-01 Thread peter
nges. Also, I've not convinced anyone where I'm at now to use smarty. In my mind they are penny-wise and pound foolish. The real little extra time you might need to use a template system is richly rewarded in code re-use and future changes to the site not to mention, imho, thi

[PHP] does this mean ....

2002-07-22 Thread Peter
uot; ) ) { . . . now to my actual question .. does that "r" just mean read? and if so should that "r" be a "w" for write in order for it to work? Cheers Peter "the only dumb question is the one that wasn't asked" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: does this mean ....

2002-07-22 Thread Peter
le =3D popen( "$useradd_prog $useradd_name", "r" ) ) > > { > > . > > . > > . > > now to my actual question .. > > > > does that "r" just mean read? and if so should that "r" be a "w" for = > > writ

RE: [PHP] Getting current URL

2002-07-22 Thread Peter
> -Original Message- > From: Sailom [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 23 July 2002 12:53 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Getting current URL > > > This might be a silly question. > Just like the subject, how to get the current URL? I want to > make a reload > butto

RE: [PHP] PHP security bug and patch

2002-07-22 Thread Peter
restart apache > -Original Message- > From: Michal Dvoracek [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 23 July 2002 4:34 PM > To: Jason Soza > Cc: [EMAIL PROTECTED] > Subject: [PHP] PHP security bug and patch > > > Hello, > > when applying patch on version 4.2.1 then in phpinfo(); is sti

RE: [PHP] redirecting after login

2002-07-22 Thread Peter
why don't u do something like if (!username) { you can not access this page } else { //page content } ? that's a quick fix but might be all you need to do.. > -Original Message- > From: Tim Thorburn [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 23 July 2002 5:01 PM > To: [EMAIL PROTECT

Re: [PHP] PHP Security Advisory: Vulnerability in PHP versions4.2.0 and 4.2.1

2002-07-23 Thread Peter
Well, I'm not sure about the 'you get what you pay for'. Some paid for software has less support and documentation than PHP! "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Greg, > > Your attitude stinks. > > PHP is a FREE scripting language.

[PHP] Re: parsing

2002-07-23 Thread Peter
try echo "$somevar$somevardesc"; which is probably better than the other two but don't quote me on that! You can just include the variables because you have used " rather than ' (I think it works for echo as well as print) "Dave At Sinewaves.Net" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTE

RE: [PHP] Newbie: Reading unix directory information from PHP

2002-07-23 Thread Peter
Hi Paul, this should help you out \n"); print("All Output:\n"); for ($index = 0; $index < count($AllOutput); $index++) { print("$AllOutput[$index] \n"); } print("\n"); print("Return Value: $ReturnValue\n"); ?> should work a treat

RE: [PHP] Newbie: Reading unix directory information from PHP

2002-07-23 Thread Peter
on this you may want to have a look in the manual for exec(), the command I used in my example, or system() they both let you run applications on your server such as 'ls' and the like. > -Original Message- > From: Peter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 2

RE: [PHP] GD Library for Windows

2002-07-23 Thread Peter
Jadiel, i do that the file ur after and tried sending it to u but ur server rejected it. > -Original Message- > From: Jadiel Flores [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 24 July 2002 9:03 AM > To: [EMAIL PROTECTED] > Subject: [PHP] GD Library for Windows > > > I'm trying to devel

RE: [PHP] secure sockets

2002-07-23 Thread Peter
josh just a query did u try it with https:// rather than ssl:// ? > -Original Message- > From: Josh Levine [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 24 July 2002 9:53 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] secure sockets > > > Thanks for the pointer! I had looked at it, but

[PHP] install to unix... hastles

2002-07-23 Thread Peter
7;t work ... does any one have any ideas for me php ver is 4.2.1 for now... though will upgrade to 4.2.2 soon.. Cheers Peter "the only dumb question is the one that wasn't asked" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] install to unix... hastles

2002-07-23 Thread Peter
sorry forgot to say that I've tried to locate the unix.h file in other distribs etc but wif no luck > -Original Message- > From: Peter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 24 July 2002 12:33 PM > To: php_gen > Subject: [PHP] install to unix... hastles > &

RE: [PHP] MySQL Backup and Restore

2002-07-23 Thread Peter
grab ur self a copy of myphpadmin or use mysqldump or just simply make a copy of the data dir or grab ur self a copy of mysql_front > -Original Message- > From: kip [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 24 July 2002 12:58 PM > To: [EMAIL PROTECTED] > Subject: [PHP] MySQL Backup a

[PHP] Installing PHP 4.2.1 troubles on Solaris

2002-07-23 Thread Peter
local/php-4.2.1/Zend' make: *** [all-recursive] Error 1 does any one know where i can get unix.h from?? I've tried to find it but have had no luck.. and got no reply to an earlier post Cheers Peter "the only dumb question is the one that wasn't asked" -- PHP Gener

RE: [PHP] install to unix... hastles

2002-07-23 Thread Peter
> > Hiya, > > > > > > I'm new to installing php onto unix i can get the ./configure > > > command to run > > > with out error (well any that are obvious) > > > but when i do the make it comes up with > > > > > > # make > > > Making all in Zend > > > make[1]: Entering directory `/usr/local/php-4.2

[PHP] install issues on Solaris

2002-07-24 Thread Peter
figure this one out as it's a newer ver of php (4.2.1) ) any help would be apreciated... I can attach soft copies of both the make and the configure screen outputs for any that are interested... Cheers Peter "the only dumb question is the one that wasn't asked" -- PHP

RE: [PHP] mail() function

2002-07-24 Thread Peter
1) read the manual 2) make sure you have sendmail installed 3) make sure sendmail is working 4) look at php.ini it has it all in there you just have to uncomment it and maybe change the location for sendmail > -Original Message- > From: wm [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 25 J

RE: [PHP] install issues on Solaris

2002-07-25 Thread Peter
ok unix.h problem solved but now it's saying can't locate .libs/libZend.a any ideas? ~thinks: sheesh no wonder more and more people just use windose for PHP since it looking like its too bloody hard to install any where else lol~ > -Original Message- > Fro

[PHP] PHP extension names

2002-07-25 Thread Peter
% php -m but that's not the complete list. Can someone help? Thanks, Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: two php.ini on windows????

2002-07-25 Thread Peter
Are you using the CGI executable or the server plug in thingy? If you're using one of each, the server module looks for C:\windows\php.ini and the executeable looks for php.ini in the same directory as the executeable. If you have two CGI versions, you could rename one and rename its php.ini acc

RE: [PHP] install issues on Solaris

2002-07-25 Thread Peter
_variabndent.lo zend_builtin_functions.lo zend_sprintf.lo zend_ini.lo zend_qsort.lo -ld ../libtool: ar: not found make[1]: *** [libZend.la] Error 1 make[1]: Leaving directory `/usr/local/php-4.2.2/Zend' make: *** [all-recursive] Error 1 Cheers Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP 4.2.2 and Apache LoadModule issue

2002-07-26 Thread Peter
> -Original Message- > From: Bob Lockie [mailto:[EMAIL PROTECTED]] > Sent: Friday, 26 July 2002 1:32 PM > To: Frank S. Kicenko; [EMAIL PROTECTED] > Subject: Re: [PHP] PHP 4.2.2 and Apache LoadModule issue > > > On Thu, 25 Jul 2002 22:23:21 -0500, Frank S. Kicenko wrote: > > >Hi All. >

[PHP] Re: High Resolution Images

2002-07-27 Thread Peter
I've had problems in some graphics viewers opening JPEGs saved in progressive format. Maybe saving them at such high resolution (or interlaced) isn't part of the JPEG specifaction that GD uses. "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

[PHP] Re: How to defeat winroute [proxy]?

2002-07-27 Thread Peter
Do you still get the cached version when you press the refresh button in the browser? Going back to a page will nearly always return a cached version of the page unless it was created as result of a form post. "Evgeny Chuykov" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] Re: running php with .html files?

2002-07-28 Thread Peter
Why can't you just have at the bottom? "Henry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All, > > I'm sure I saw a posting on this subject a month ago so please excuse me for > not paying attention the first time ;-| > > I have a php script that I wi

[PHP] mod_php4.c errors on Apache Complie

2002-07-28 Thread Peter
shTable" mod_php4.c:127: parse error before "TSRMLS_DC" . . . . does any one have any idea's on why it is and what i can do about it? Cheers Peter "the only dumb question is the one that wasn't asked" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: mod_php4.c errors on Apache Complie

2002-07-28 Thread Peter
problem solved!!! thanks for your help Dave :D Cheers Peter > -Original Message- > From: David Robley [mailto:[EMAIL PROTECTED]] > Sent: Monday, 29 July 2002 2:02 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: mod_php4.c errors on Apache Complie > > > In a

[PHP] libphp4.so

2002-07-28 Thread Peter
n any info any where that will direct me in this situation... Cheers Peter "the only dumb question is the one that wasn't asked" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: libphp4.so

2002-07-29 Thread Peter
to > find them on your hard drive, and make sure libphp4.so is sitting next to > them, and then do the LoadModule the same way as the working ones. > > http://apache.org will explain all the stuff I just said in > formal language. > :-) Ok i followed what you have suggested and Ap

RE: [PHP] [Fwd: Can you help me about the installation of apache/php/MySQl/ssl ?]

2002-07-29 Thread Peter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 30 July 2002 4:17 PM > To: [EMAIL PROTECTED] > Subject: [PHP] [Fwd: Can you help me about the installation of > apache/php/MySQl/ssl ?] > > > Hello, > > Can you help me about this problem ? > > Tha

[PHP] Re: Include problems

2002-08-03 Thread Peter
try using the absolute path to the file e.g. include("C:/windows/webserver/httproot/inc/test.inc"); "Scott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have PHP4 on both a windows IIS server and a windows apache server. The > include function only works

[PHP] Re: IP and Language

2002-08-11 Thread Peter
It's going to be difficult to detech 'where' the user is coming from but you can find out what their default language is. I think it's one of the sever variables. If you are using Apache though, there is an autoselection feature which allows you to have several copies of your pages in different la

[PHP] Freelancer offer

2002-09-03 Thread Peter
Hi to all I would like to take contract in PHP/MySQL as a freelancer. my web page: http://dorwin.wz.cz best regards Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] best way to turn a text file into tables in PHP

2002-09-08 Thread Peter
Hi, I have 'test_file.txt' with the contents: label1label2label3comments name1 name2 name3 name4 name5 name6This is a comment ... How can I turn this into a table using PHP? Thanks, -Peter -- PHP General Mailing List (http://www.php.net/) To u

[PHP] refresh function?

2002-09-11 Thread Peter
Hi, Is there a function that will auto refresh a page? Thanks in advance, -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL and PHP math problem...

2002-11-08 Thread Peter
layed as '0.0002'. What's wrong here? The problem only occurs when the value is greater than a 1,000? Could the ',' messed the computation up somehow? I did another computation $a = 1000 $b = 5000 $c = $a/$b; Thanks, -Peter $c does equal '0.2' which is corr

[PHP] Re: MySQL and PHP math problem...

2002-11-09 Thread Peter
Thanks...the thing that I did wrong was I retrieved the number with FORMAT(SUM(amount), 2), which formats the number and return it in the string format...so that's what happened during the computation (it only took the number prior to the ','. I miss the type-checking in C. :-)

[PHP] does PHP4.0 supports https:// post?

2002-11-14 Thread Peter
Hi, What's the latest version of PHP that can handle HTTPS:// post? Thanks, -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] General IIS Implementation Question

2002-06-04 Thread Peter
Hi There! I'm running wink2 with php and apache, I've found no problems with this and have not had any issues that have found their way to the surface yet I did try running php & IIS on here how ever I found that IIS (for some reason ... most likely me) was cutting out at a maximum of 10 conn

RE: [PHP] PHP as HTML

2002-06-04 Thread Peter
Tom, this does work fine... doing what Kevin says... ie the AddType application/x-httpd-php .html AddType application/x-httpd-php .htm is PHP installed as a module or cgi ver? Cheers -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 2002 9:49 AM To: Ke

[PHP] Re: Speed comparison of PHP vs. PERL (not conclusive)

2002-06-05 Thread Peter
You mention that you could have written the PHP code in a more efficient way using continue(). Why not time this as surely a built in function would be quicker than one written in the code. "Daniel Grace" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This al

RE: [PHP] Modifying the sort order of a query

2002-06-05 Thread Peter
by any and everything you want... any way just a thought cheers Peter -Original Message- From: Andre Dubuc [mailto:[EMAIL PROTECTED]] Sent: Thursday, 6 June 2002 1:27 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Modifying the sort order of a query Hi John, Oh, my apologies again. I haven'

[PHP] asset tracking..

2002-06-05 Thread Peter
Hey does any one know where i get grab an asset tracking script from? so I don't have to reinvent the wheel? Cheers Peter "the only dumb question is the one that wasn't asked" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] NEWBIE- Is this possible? How?!

2002-06-06 Thread Peter
have a look at something like http://phpnuke.org or the like ... maybe this is what ur after ... -Original Message- From: Kevin J [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 June 2002 11:50 AM To: [EMAIL PROTECTED] Subject: [PHP] NEWBIE- Is this possible? How?! Hello All Helpers!

RE: [PHP] Installation and/or configuration problems w 4.2.1 on NT

2002-06-11 Thread Peter
admin rights and it should be fine. If they won't then walk them through the installation via phone or what eva Cheers Peter -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 3:48 AM To: [EMAIL PROTECTED] Subject: [PHP] Installation a

RE: [PHP] get pwd on windows

2002-06-11 Thread Peter
Jim, Try it and find out ;) just do a simple echo of that and you find it does what it says it returns the path to the document root of ur sever ie where the page is located on the machine. Cheers Peter -Original Message- From: Jim lucas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 12

RE: [PHP] Include question

2002-06-11 Thread Peter
Tom, just did ur test on win2k php 4.2.1 with apache and when i just did .. i get a blank screen as I should the only way you should be getting anything is by calling the values... -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 12 June 2002 11:36 AM To:

RE: [PHP] Creatng a PHP chatroom

2002-06-12 Thread Peter
have a look on www.phpbuilder.com zend.com, www.phpwizard.net & the like and have a look there .. particually phpwizard as there is phpirc in there under projects Cheers Peter -Original Message- From: Phil Powell [mailto:[EMAIL PROTECTED]] Sent: Thursday, 13 June 2002 10:02 A

[PHP] Varible Varibles

2002-06-12 Thread Peter
howdy, I'm just curious here about varible varibles ... I know that you can, well it's documented that you can, do the following which will produce foo bar now what I am curious about is, how much of a difference does that really make when you compare it to.. Cheers Peter

RE: [PHP] Varible Varibles

2002-06-12 Thread Peter
2002 12:44 PM To: 'Peter'; Php Subject: RE: [PHP] Varible Varibles well, the first method is the same as saying $a = "foo"; $foo = "bar"; echo "$a $foo"; whereas the second method is appending "bar" to $a (thus making it "foobar") In

[PHP] Re: goto

2002-06-13 Thread Peter
maybe switch() would be of some use? Your could save the values for $type in an array and look them up to get a numbe to use with switch(). You can also have a "case else" with switch. "Stephen Brewster" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am wi

[PHP] Re: php server on Windows

2002-06-13 Thread Peter
Win98, Apache, PHP 4.0.6 and MySQL with a whole bunch of other apps has been running fine at our school for ages - never crashed yet! (Doesn't get heavy usage though either!) We use the apache extension thingy, not the CGI version of PHP which helps a lot. "Phil Schwarzmann" <[EMAIL PROTECTED]>

[PHP] Re: php server on Windows

2002-06-14 Thread Peter
You can run PHP as a module / extension for apache or let Apache load and run the php.exe program for each php file. Loading and running the program in quick succession strains the system somewht but the extension is always loaded and is just used when needed - much faster and efficient. "Phil S

RE: [PHP] php server - ive installed linux red hat 7.2 now what?!?

2002-06-18 Thread Peter
try ifconfig -a ... -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 19 June 2002 3:50 AM To: [EMAIL PROTECTED] Subject: [PHP] php server - ive installed linux red hat 7.2 now what?!? okay, so I've installed linux red hat 7.2 and it's working well!

RE: [PHP] table porblem in netscape!!

2002-06-18 Thread Peter
this will work a treat 4 ya...   Cheers > -Original Message- > From: Anil Garg [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 5:35 PM > To: [EMAIL PROTECTED] > Subject: [PHP] table porblem in netscape!! > > I have made a table as shown below.. > But when i open it

[PHP] dynamic water marks?

2002-06-18 Thread Peter
the site say in jpg format when the image is displayed on any page a watermark is disply over part of the image .. to try and bluff other people into thinking the watermark is part of the image... Cheers Peter "the only dumb question is the one that wasn't asked" --

RE: [PHP] Using Oracle Data base store procedure (function, procedure, package)

2002-06-23 Thread Peter
by looking in the manual :) there is someinfo there.. -Original Message- From: èdy kurniawan [mailto:[EMAIL PROTECTED]] Sent: Monday, 24 June 2002 11:24 AM To: php general Subject: [PHP] Using Oracle Data base store procedure (function, procedure, package) Dear pals, how ca

RE: [PHP] Limiting text inputs by character count?

2002-06-23 Thread Peter
for standard text input use that will only allow 10 characters not sure if that will also work for text area's -Original Message- From: Andre Dubuc [mailto:[EMAIL PROTECTED]] Sent: Monday, 24 June 2002 11:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Limiting text inputs by c

RE: [PHP] Using Oracle Data base store procedure (function, procedure, package)

2002-06-23 Thread Peter
2002 12:20 PM To: Peter; php general Subject: Re: [PHP] Using Oracle Data base store procedure (function, procedure, package) very thanksful if you could refering to me what part (kinda) manual that shows my case ? i've ever read the PHP manual in english, but i can't find w

RE: [PHP] Using Oracle Data base store procedure (function, procedure, package)

2002-06-23 Thread Peter
I don't know ... am only just starting to use php & oracle today :) -Original Message- From: èdy kurniawan [mailto:[EMAIL PROTECTED]] Sent: Monday, 24 June 2002 12:46 PM To: Peter; php general Subject: Re: [PHP] Using Oracle Data base store procedure (function,

[PHP] Re: PHP 4.2

2002-06-24 Thread Peter
If you want an all in one solution without having to have two versions, can't you read the status of register_globals from the config file and base the rest of the script on this? eg if (register_globals == 'on') { $name = _POST['name']; $address = _GET['address']; } then you can access the varia

[PHP] Security problem?

2002-06-25 Thread Peter
When you have the standard $link = mysql_connect("localhost","username","secretpassword"); Would it not be possible for someone to use PHP from another server to download your source and find out your MySQL details including password? -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] New Newsgroups

2002-06-26 Thread Peter
Does anyone else out there use Outlook Express to get the posts from this newsgroup? Yesterday a dialog popped up to say there were new newsgroups (php.docs.de etc), I acknowledged this but the same message came up again just now! Did this happen to anyone else or was it just me?! -- PHP Gene

RE: [PHP] closing a browser-window with php

2002-06-26 Thread Peter
Nik, for that you will have to use JavaScript as PHP is server side only .. not Client side Cheers -Original Message- From: nik crosina [mailto:[EMAIL PROTECTED]] Sent: Thursday, 27 June 2002 12:12 PM To: [EMAIL PROTECTED] Subject: [PHP] closing a browser-window with php

[PHP] Re: Generating Barcodes and printing

2002-06-27 Thread Peter
Read the stuff you find on google first though - there was an article I read about certain inks absorbing InfraRed light so barcodes printed in them will not work! The HP ink used in the Deskjet 693 and 660 seems to be ok for this job. "Phpcoder" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTE

[PHP] Re: Blank emails

2002-06-30 Thread Peter
Can you post the code on here? There must be some headers somewhere because the mail has been sent to you -> to header. Have you clicked on the email in Outlook and looked at the headers / message source? "César aracena" <[EMAIL PROTECTED]> wrote in message 002a01c22019$21a0c210$dfc405c8@gateway"

Re: [PHP] Getting IP from behind proxies

2002-06-30 Thread Peter
why not assign your user a unique id when they first visit you site and this is registered in a database. The unique id is then passed from page to page in the URL (i.e. get method) when they submit their vote, the PHP page: 1: check to see if that Unique ID is stored in the database (checks it ha

RE: [PHP] PHP with CSS

2002-06-30 Thread Peter
Bruce... there is nothing stopping it from working unless they are turned off in the browser's settings... just be mindful that CSS works slightly differently in netscape to ie.. -Original Message- From: Bruce Karstedt [mailto:[EMAIL PROTECTED]] Sent: Monday, 1 July 2002 2:32 PM

[PHP] str_replace() not accepting arrays?

2002-07-01 Thread Peter
[0] => Array [1] => ) when printed out. Is the documentation wrong or is PHP 4.2.1 broken? Thanks Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Dealing with XML charsets

2002-07-02 Thread Peter
of the encoding problem I keep on ending up with ? instead of characters in the document in certain places. Is there any way I could convert the charset? Thanks Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dealing with XML charsets

2002-07-02 Thread Peter
erything showed as little squares rather than characters :-( Otherwise this would have worked nicely (contact me if you want more details). Thanks Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dealing with XML charsets

2002-07-02 Thread Peter
On Tue, 2 Jul 2002 15:23:38 -0600, [EMAIL PROTECTED] (Ray Hunter) wrote: > Check here: > http://www.chilkatsoft.com/ChilkatXml.asp Doesn't look as if it'll run under Unix? > Google search: > http://www.google.com/search?sourceid=navclient&q=convert+xml+charset I've been googling ont he topic fo

[PHP] Authentication

2002-07-03 Thread Peter
On my site, when a user logs in, their password is encrypted using md5() and the username and encrypted password is then passed from page to page using hidden form inputs (clicking on a link submits the form using POST). Does anyone have any comments on this method e.g. security wise? I know I cou

[PHP] Re: suppressing errors with "@"

2002-07-07 Thread Peter
Doesn't @ surpress output (in general)? Variables don't usually produce an output so putting @ before it shouldn't make any difference. "Uri Even-Chen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I tried to suppress warnings in isset expressions (U

RE: [PHP] Calander with highlighting

2002-07-07 Thread Peter
George, it's not quite what I'm looking for but it's very similar to what I am after & would go along way to acheiving what I am after.. > > > Take a look at http://www.bucharest-accommodation.ro/flat_univstudio.php > .That is what you want? > > -- > > > Best regards, > George

RE: [PHP] Buy & Sell

2002-07-07 Thread Peter
you could do some little modifcations to something like phpnuke ( http://phpnuke.org) that could work for you.. it's primarily a news style format where people can post things to .. but you can set it so the administrator has to aprove any posts to the site.. Cheers > -Original Mess

RE: [PHP] PHP/mysql connection problem

2002-07-07 Thread Peter
> Hey all, this is probably more to do with Mysql but I figured i'd > ask here as well. > > The problem: > When connecting to the mysql server on the local machine its > fine, but when you connect to a remote machine > eg $db = mysql_connect("x.x.x.x", "user", "password"); > and reque

[PHP] Re: PHP Script Speed

2002-07-08 Thread Peter
I understand what you're getting at, I'm not sure of the answer though. I know it would stop you using FrontPage or Dreamweaver but if for example you had Index page"; print "Current: $_Current"; print "Percent Change: $_ChangePercent"; print ""; ?> You'd eliminate that problem. "Christopher Cra

[PHP] Re: Difference between executable and Apache server

2002-07-08 Thread Peter
On my system, the PHP executeable looks for the PHP.INI file in the same directory as the executeable, whereas the Apache module uses the one in my C:\WINDOWS directory. Are you using Windows? Due to this, I suppose you can have two different PHP setups if you wanted. "Jay Blanchard" <[EMAIL PROT

[PHP] Re: Difference between executable and Apache server

2002-07-08 Thread Peter
I'm not too familiar with Linux systems. See if there are two copies of your PHP.ini file. One might be in the conf directory and the other in the PHP directory. Make modifications to one and see what effect it has-have a fiddle! "Peter" <[EMAIL PROTECTED]> wrote in mes

Re: [PHP] is their a jobs mailing list?

2002-07-08 Thread Peter
I think a mailing list would be a good idea, but the job's always going to be awarded to the best person, and companies are more likely to go with someone experienced than someone cheap :o( "César aracena" <[EMAIL PROTECTED]> wrote in message 003401c226c0$8dc3a220$2fed0dd1@gateway">news:003401c2

[PHP] help pls..

2002-07-08 Thread Peter
4 that matter) if i wanted to have just the cells with the ids of ph2 & ph3 to be changed? Cheers Peter "the only dumb question is the one that wasn't asked"

RE: [PHP] rh 7.3

2002-07-09 Thread Peter
Yamin, grab ur self a copy of bison and install it see this line.. configure: warning: You will need bison if you want to regenerate the PHP parsers. ) make sure lex is in ur path on your machine.. cheers > -Original Message- > From: Yamin Prabudy [mailto:[EMAIL PROTECTED]

RE: [PHP] T_string error

2002-07-09 Thread Peter
wot's the few lines before it ? just because it says that line doesn't always mean it is that line ... and have found quite often it's the line above it... > -Original Message- > From: admin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 10 July 2002 1:32 PM > To: PHP List > Subject

[PHP] Re: Generate a file

2002-07-10 Thread Peter
Maybe this will solve your problem This code wil save and excel of word file from an MySql query http://www.pscode.com/xq/ASP/txtCodeId.625/lngWid.8/qx/vb/scripts/ShowCode.h tm Peter - "Phillip S. Baker" <[EMAIL PROTECTED]> schreef i

RE: [PHP] How do I import tables into MySQL from web page ...

2002-07-10 Thread Peter
using dan's test below if u add a '/s' like so $output = system('dir /s c:\books', $return_var); you will get all contents os subdir's as well how ever i suggest working on a format as this tree's out along the page so maybe if u add a '/w' after the '/s'as well that will sort of so

RE: [PHP] need help about this

2002-07-10 Thread Peter
means the table ur trying to create already is there... if u don't want to keep the table do a DROP tablaename in mysql or if not then change the name of the table you are trying to create > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 1

[PHP] php4apache.dll...

2002-07-10 Thread Peter
Howdy can any one remember where to get the apache2 ver of php4apache.dll? Cheers Peter "the only dumb question is the one that wasn't asked"

[PHP] weird....php 4.2.1 with apache2 ver 2.0.39

2002-07-11 Thread Peter
the like to find where it was referencing "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" but no luck... can't see it any where.. tried a search on google for module installation problems on this .. but no luck... any idea's as to why? Cheers Peter "th

RE: [PHP] HELP!!! Word count

2002-07-11 Thread Peter
if i remember correctly there was something on word counts posted in the last week or or .. maybe even last couple days... have a scroll thru and u will find it :) > -Original Message- > From: Dan McCullough [mailto:[EMAIL PROTECTED]] > Sent: Friday, 12 July 2002 11:08 AM > To: PHP

[PHP] Re: How do I send files with HTTP socket post (PostToHost)

2002-07-13 Thread Peter
can you not open the file in binary mode and then transfer it as you would with ASCII? "Kevin Stone" <[EMAIL PROTECTED]> wrote in message 070301c229d5$42420130$6501a8c0@kevin">news:070301c229d5$42420130$6501a8c0@kevin... > Okay enough answering questions this week, now I have a question to ask.

[PHP] Re: Can this be done with mail()?

2002-07-13 Thread Peter
Yes. I'm sure you could just mail out the table in an email. You'd have to do it as a multipart email (i think that's what it's called) as just mailing out the html code wouldn't show as a table in a mail client. Here's the source of a HTML spam I got this morning - should give you an idea how to

[PHP] Animated GIFs

2002-07-13 Thread Peter
I know GIF support was dropped from the GD library, but can you make animated GIFs in any version of GD? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables aren't being passed to php page

2002-07-14 Thread Peter
I totally agree. No offence to all the ppl who have asked, but didn't it say on the download page that there had been "major changes to the way variables are used"?? "John Holmes" <[EMAIL PROTECTED]> wrote in message 000a01c22b3d$e4755790$b402a8c0@mango">news:000a01c22b3d$e4755790$b402a8c0@mango

RE: [PHP] Does not work

2002-07-14 Thread Peter
> -Original Message- > From: Saci [mailto:[EMAIL PROTECTED]] > Sent: Monday, 15 July 2002 12:51 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Does not work > > > To say the minumum yor reply does not help in nothing. > > Who cares about privacy on my own company Intranet

[PHP] mcrypt

2002-07-16 Thread Peter
Howdy all.. does any one know of another place i can download a win32 ver of mcrypt other than http://mcrypt.hellug.gr/ ? as that site crashes my browser when i click any link on the page... Cheers Peter "the only dumb question is the one that wasn't asked"

[PHP] Re: ErrorDocument 404 & Form

2002-07-17 Thread Peter
Can posting to a non existent page give a different error? I know it gives 404 on mine. Probably not much help but it's a thought! "Fabien Penso" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi. > > I got a trouble I don't know if Apache or PHP is in fault.

[PHP] Re: Restart process from code?

2002-07-17 Thread Peter
You need a program to control the ASP process. This is proably some sort of command line tool and you just put whatever you would type in the commandline into the exec() function. (in quotes of course!) "Noah Spitzer-Williams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

  1   2   3   4   5   6   7   8   9   10   >