[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] PHP and geographic maps

2002-07-11 Thread Peter J. Schoenster
from the web form to these apps and they'd return a slice of an image. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and geographic maps

2002-07-11 Thread Peter J. Schoenster
as they are dreadfully slow. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-07-11 Thread Peter
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 the only dumb question is the one that wasn't asked

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: 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 in bericht [EMAIL PROTECTED

Re: [PHP] Development Tools

2002-07-10 Thread Peter J. Schoenster
probably end up like most people and begin to think possiblities are what your tool allows you. Peter -- http://www.readbrazil.com/ Answering Your Questions About Brazil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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, 11

[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

Re: [PHP] Postal / Zip Code Proximity Search

2002-07-09 Thread Peter J. Schoenster
about this here: http://mathforum.org/library/drmath/view/51711.html http://www.movable-type.co.uk/scripts/LatLong.html http://earth.uni-muenster.de/~eicksch/GMT-Help/msg00147.html Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hiding submitted variable values in location bar of browser !

2002-07-09 Thread Peter J. Schoenster
. Oh heck, but now as I read your email closer I guess you are asking how it can be done from a form the first time. Perhaps with javascript but then use post instead of get and of course make it via a secure connection if security is a concern. Peter -- PHP General Mailing List (http

[PHP] PHP code optimization

2002-07-09 Thread Peter Thoenen
in readability or *proper* code here) -Peter __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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:

Re: [PHP] Commit/Roll Back Transaction in PHP/mySQL

2002-07-09 Thread Peter J. Schoenster
/InnoDB_transaction_model.html And then some ideas about how to do it with PHP: http://www.php.net/manual/en/ref.mysql.php (wow, right from php.net) http://hotwired.lycos.com/webmonkey/02/11/index4a_page3.html?tw=backend I've never used mysql for anything but a data store so I have no examples myself. Peter

[PHP] seeking experienced PHP programmer in Houston, TX (no telecommuting)

2002-07-08 Thread Peter J. Schoenster
Hello, I'm posting this ad for the company looking for a PHP programmer. I have no clue if the company is good or not. Do your due dilligence. __BEGIN JOB POST We are a Houston, Texas based company in need of 1-2 VERY GOOD AND EXPERIENCED PHP programmers for 4-6 weeks to build a new web

[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 ?PHP print HTMLHEADTITLEIndex page/TITLE/HEADBODY; print PCurrent: $_Current/P; print PPercent Change: $_ChangePercent/P; print /BODY/HTML; ?

[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

[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 message [EMAIL PROTECTED]"

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

[PHP] Re: [PHP-DB] PDF

2002-07-08 Thread Peter Janett
I needed to create invoices, one per page, that could be printed, and chose to use http://www.fpdf.org/. It was easy to take my HTML formated output and change it to PDF. HTH, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000

[PHP] help pls..

2002-07-08 Thread Peter
with the ids of ph2 ph3 to be changed? Cheers Peter the only dumb question is the one that wasn't asked

Re: [PHP] Best Content Management METHOD...

2002-07-08 Thread Peter J. Schoenster
into depth on the subject by a guy who seems to have disappeared: http://philip.greenspun.com/internet-application-workbook/content-management Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

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 Nicolae

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

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 request something

[PHP] is their a jobs mailing list?

2002-07-07 Thread Peter J. Schoenster
heartily on the mod_perl list. Anything simple but effective like this site for PHP? http://jobs.perl.org/ Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Linked drop down selection lists and dynamically generated links

2002-07-06 Thread Peter Goggin
? Where would I be able to find examples of code which does this sort of processing? Any adivice would be gratefully received. Regards Peter Goggin Regards Peter Goggin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session not expiring

2002-07-05 Thread Peter Atkins
All, My session is not expiring and I believe that I set this correctly. I'm looking for a 15 minute expiration time. My current setting: session.cookie_lifetime = 900 ; lifetime in seconds of cookie ; or if 0, until browser is restarted Is this the

Re: [PHP] Re: $this in an XML data handler ... in a class

2002-07-04 Thread Peter Clarke
However, future versions may not support this any longer.] Still searching for an answer on this one ... Thanks, -Clay Peter Clarke [EMAIL PROTECTED] Have a look at: http://www.php.net/manual/en/function.xml-set-object.php xml_set_object($this-parser, $this); Clay

Re: [PHP] Dealing with XML charsets

2002-07-03 Thread Peter
:-( 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-03 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=navclientq=convert+xml+charset I've been googling ont he topic for

[PHP] Re: $this in an XML data handler ... in a class

2002-07-03 Thread Peter Clarke
Clay Loveless [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Here's a brain-bender ... At least it is for me at the moment. : ) When I use an XML parser inside a class, the xml_*_handler functions aren't recognizing $this- variables. I can kind of see why ...

[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

[PHP] Re: Script Security: Best coding practices

2002-07-03 Thread Peter James
A suggestion would be to make sure that the variables you're receiving are coming from where you think they're coming from... For instance, $_SESSION['logged_in'] is also (generally) $logged_in but so is $_GET['logged_in'] A smart user could fake it if they wanted to... check the $_SESSION or

[PHP] Passing more than one variable with alink

2002-07-02 Thread Peter Goggin
the two variablesare incorrect. i.e. I have: ?catitempage=%s;?catrange=%s Can anyone tell me what it should be or where I can find a reference to these sort of syntax problems. Regards Peter Goggin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Dealing with XML charsets

2002-07-02 Thread Peter
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

[PHP] str_replace() not accepting arrays?

2002-07-01 Thread Peter
Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

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

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

Re: [PHP] checking date is not greater than today

2002-06-30 Thread Peter J. Schoenster
/Server_Side/PHP/DateTime/page1.html In Perl I happen to use this moduel for date manipulation: http://search.cpan.org/doc/STBEY/Date-Calc-5.0/Calc.pod There must be something similar in PHP but since I too am a newbie (and lazy to boot) I don't know what it is. Peter -- PHP General Mailing

RE: [PHP] Keeping Secrets in PHP Files

2002-06-28 Thread Peter J. Schoenster
used iserver for 7 years now at 3 different companies but that freeVSD really looks good. If someone is using Joe's 4.95 a month hosting solution ...well, what the heck do they expect. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[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

Re: [PHP] Rookie Question RE: Specific Coldfusion equivalent in PHP

2002-06-27 Thread Peter Janett
header (Location: http://whatever;); You probably want to put: exit; After that line, so you script stops at that point. (Exit; is like CFABORT) :) HTH, Peter Janett New Media One Web Services New Upgrades Are Now Live!!! Windows 2000 accounts - Cold Fusion

[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

Re: [PHP] Seperating presentation from logic

2002-06-26 Thread Peter J. Schoenster
. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] preg and Perl 6 (upcoming..not current preg handling)

2002-06-26 Thread Peter Thoenen
Anybody know if PHP 4.x (5.x?) will be sticking with Perl5 RegEx syntax for preg's or will it be changing to the new Perl6 RegEx syntax (which I really dislike but what can you do, Larry has spoken). If we do plan to move to Perl6 RegEx, please implement the P5 modifier -Peter

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

[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

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

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

2002-06-23 Thread Peter
for standard text input use input name=textfield type=text size=10 maxlength=10 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

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 what i need

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, procedure, package

[PHP] Old config options still showing after updating PHP

2002-06-21 Thread Peter Janett
. Thanks, Peter Janett New Media One Web Services http://www.newmediaone.net [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Status code and Header(Location: )

2002-06-20 Thread Peter Thoenen
with the MUSTS 303 and 304. (304 is the correctly handled 302, and 303 is the current incorrect way most browsers implement 302) Since PHP seems to always return 302, is it possible to force HTTP/1.1 compliance and return 303 or 304 depending on my situation? -Peter

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... td class=tnav nowrap nbsp; /td 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..

[PHP] dynamic water marks?

2002-06-18 Thread Peter
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 -- PHP General Mailing List (http://www.php.net

[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

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

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

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 AM

[PHP] Varible Varibles

2002-06-12 Thread Peter
it to.. ? $a = foo; $a .= bar; echo $a; ? 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] Varible Varibles

2002-06-12 Thread Peter
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 first method, you get two variables, the second, just one -Original Message

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

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 .. ? include 'somefile.php'; ? 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:

[PHP] Tree structures, references segfaults

2002-06-06 Thread Peter Blokland
. something like the class DomNode, but more extensible (in the regular PHP-sense of 'extends'). -- CUL8R, Peter. -- 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!

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

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

2002-06-05 Thread Peter
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't thought

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

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:

[PHP] Re: delete file contents before writing?

2002-06-03 Thread Peter
$file_open = fopen($file_name, w); this will empty the existing file contents then write to the file Jas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Not sure how I could do this as I could not find a functions on php.net to allow me to first delete the

RE: [PHP] MacOSX / php.ini newbie question

2002-06-03 Thread Peter
have you tried doing a general search for that file? ie search all of ur hdd ... -Original Message- From: Verdon Vaillancourt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 June 2002 11:15 AM To: [EMAIL PROTECTED] Subject: [PHP] MacOSX / php.ini newbie question Hi Apologies in advance if

Re: [PHP] mysql_select_db problem

2002-06-03 Thread Peter Goggin
. Regards Peter Goggin - Original Message - From: PossumPal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 03, 2002 4:40 AM Subject: [PHP] mysql_select_db problem Hi, I'm a newbie, so please have mercy on my silliness... I've checked my formats, and can't seem to understand why I

Re: [PHP] Apache, html, php and global variables

2002-06-02 Thread Peter Goggin
to the next. Is the start_session and session variables the corect way to do this or is there a better way? Regards Peter Goggin - Original Message - From: John Holmes [EMAIL PROTECTED] To: 'Peter Goggin' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, June 02, 2002 3:31 PM Subject: RE: [PHP

Re: [PHP] Apache, html, php and global variables

2002-06-01 Thread Peter Goggin
: ,$_SESSION_VARS[dbauser],BR); printf (BR); printf (DBA Password; ,$_SESSION_VARS[dbapassword],BR); ? /BODY /HTML Is there a problem with how I am using sessiot_start, or is there a php config problem? Regards Peter Goggin - Original Message - From: John Holmes [EMAIL PROTECTED

Re: [PHP] Apache, html, php and global variables

2002-06-01 Thread Peter Goggin
correctly, or I am calling the function in the wrong place. Any advice on how to overcome this would be very useful. Regards Peter Goggin - Original Message - From: John Holmes [EMAIL PROTECTED] To: 'Peter Goggin' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, June 02, 2002 12:09 AM

[PHP] Re: [PEAR] [HTML_Form] cant change values in array after getAll()

2002-05-31 Thread Peter TB Brett
). However, script1.php output a list of numbers from 0 to when I terminated script execution by pressing Ctrl-C. Try checking your iteration conditions and try again. ;-) Sorry if I'm barking up the wrong tree... Peter Brett - --- peter:AT:peter-b:DOT:co:DOT:uk www.peter-b.co.uk

[PHP] Re: [PEAR] [HTML_Form] cant change values in array after getAll()

2002-05-31 Thread Peter TB Brett
; } ? --script2.php-- // modified for loop ?php $res = array(); for( $i=0; $icount($res); $i++ ) { $res[$i] = $i; echo $i, \n; } ? That's much better. ;-) Peter Brett - --- peter:AT:peter

[PHP] Apache, html, php and global variables

2002-05-31 Thread Peter Goggin
way of caryying the login information from one web page to the next in global variables so that the username and password entered in the login screen is available to all other web pages in the site or do I have to ask the user to re-enter this information at every screen? Regards Peter Goggin

Re: [PHP] Apache, html, php and global variables

2002-05-31 Thread Peter Goggin
I am not certain how this helps me, since it appears the data is only carried to pages called directly from where it is set. The page where the user logs onto the database does not link to other pages. This is done from the top frame of the form. The top frame of the inital page contains the

[PHP] Re: sms to web

2002-05-30 Thread Peter Clarke
Basically you'll need to have a mobile number set up with an SMSC who will extract the data from the message and send it on to the url that you provide them with. Peter Deniz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... can anybody advice me some sour

[PHP] PHP Dreamweaver ...

2002-05-29 Thread Peter
Howdy Peoples, Just thought I'd let those interested know that Macromedia's new version of Dreamweaver (Dreamweaver MX) now supports PHP MYSQL, along with the other usual suspects. Cheers Peter the only dumb question is the one that wasn't asked -- PHP General Mailing List (http

[PHP] generating next number... from db extraction

2002-05-29 Thread Peter
I can get this working .. I would also like to have it so that if a quote was updated the quoteID would be changed ... eg: if the quote number was abc20250 after it was updated it would be abc20250-A or something along those lines ... Cheers Peter the only dumb question is the one that wasn't

RE: [PHP] generating next number... from db extraction

2002-05-29 Thread Peter
the update ... -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent: Thursday, 30 May 2002 11:22 AM To: 'Peter'; 'Php' Subject: RE: [PHP] generating next number... from db extraction Why does it have to be letters and numbers? You're just making more work. You can use

RE: [PHP] generating next number... from db extraction

2002-05-29 Thread Peter
Thanks for your help John that works really well :) Cheers Peter -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent: Thursday, 30 May 2002 12:08 PM To: 'Peter'; 'Php' Subject: RE: [PHP] generating next number... from db extraction Okay...here's the what they don't

[PHP] for loops

2002-05-29 Thread Peter
for this? 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

[PHP] Re: Simulating a FORM POST thing (HELP!)

2002-05-27 Thread Peter
for images and stuff. Georgie Casey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... that function doest exist! Peter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Windows Bitmap = BMP file a WBMP is a wirel

RE: [PHP] A bit confused

2002-05-27 Thread Peter
have a look on the mysql list for this :).. -Original Message- From: r [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 28 May 2002 10:22 PM To: [EMAIL PROTECTED] Subject: [PHP] A bit confused Hey guys, I just got this code (from PHP BlackBook pg:213) to make a table in MySql via a PHP

[PHP] Re: Simulating a FORM POST thing (HELP!)

2002-05-26 Thread Peter
?PHP $im = createfrombmp(image); print FORM METHOD=\post\ ACTION=\actionpage.php\; print INPUT TYPE=\hidden\ NAME=\image\ VALUE=\$im\; ? you get the idea I think PHP does have other funtions for file uplading though. Georgie Casey [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] Re: Simulating a FORM POST thing (HELP!)

2002-05-26 Thread Peter
s:[EMAIL PROTECTED]... i'm getting an error message saying my BMP file i'm trying to convert isnt a valid WBMP file? is dere a difference between BMP and WBMP? I just opened my GIF file into PSP7 and and saved as a windows bmp. why isnt it working? Peter [EMAIL PROTECTED] wrote in message [EMAIL P

<    9   10   11   12   13   14   15   16   17   18   >