[PHP] create pop account via fsockopen...

2003-07-25 Thread Brian McGarvie
All, I'm having trouble creating an pop account usaign fsockopen(), here is whaty I have... is connects ok but does not seem to execite the GET. $fp = fsockopen ($host, 2082,$errno,$errstr); if (!$fp) { echo "$errstr ($errno)\n"; } else { $authstr = "$cpaneluser:$cpan

[PHP] Re: numbers to text

2003-07-11 Thread Brian McGarvie
> >?> just not even be bothered with Google > I did but didnt find any to be fair... nor did I when i was looking :\ :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: numbers to text

2003-07-11 Thread Brian McGarvie
> Anyone know of a class or function that converts numbers to readable text Oh how old... coud you just not even be bothered with Google or any other search engine? To save you the trouble: http://www.phpclasses.org/browse.html/package/754.html -- PHP General Mailing List (http://www.php.net/

[PHP] Re: WEB HOST NEEDED!!!!!

2003-06-24 Thread Brian McGarvie
Stop posting these messages! And save up money! :) and do what the rest of us do! "Denis 'Alpheus' Cahuk" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Like I said, I need a web host. > It MUST support PHP, mySQl and sending emails, optional. > It shouldn't have any ads (pop-ups,

Re: [PHP] General question...

2003-06-12 Thread Brian McGarvie
it detracts from the experiance of user consistency if you are suddenly in a nice site then presented with a crappy looking payment page ;) "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Do you think the users will trust your site that much they will be > willing t

[PHP] Re: Looking for Function / Procedure, best practices

2003-06-12 Thread Brian McGarvie
> I am looking for something like strip_tags ($str, "") but in > reverse operation. > This will strip all tags except tags, but I need to strip > these tags only () keeping the rest unchanged. You'll be wanting regular expressions then :) http://uk2.php.net/ereg_replace just build up an exp

Re: [PHP] PHP Email....

2003-06-12 Thread Brian McGarvie
> Working kind of :) > > Get one line from it Kinda... I get it to return one line... The code: Emails me: Test Test... Original Email: >From [EMAIL PROTECTED] Thu Jun 12 11:41:39 2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] PHP Email....

2003-06-12 Thread Brian McGarvie
> Assuming that your sendmail alias was setup properly then the whole email will > be available in STDIN, see manual > Using PHP from the command line for > details. Working kind of :) Get one line from it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] PHP Email....

2003-06-12 Thread Brian McGarvie
> Assuming that your sendmail alias was setup properly then the whole email will > be available in STDIN, see manual > Using PHP from the command line for > details. Cheers! Works a treat now to parse the bugger :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP] Re: ntp client??

2003-06-12 Thread Brian McGarvie
> I've had a look around but no luck watsoever. If someone could give me a > short answer on this one? Is it possible to make a php ntp client? If so > give me your opinion on getting it done please? do you mean to query a time server? -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] PHP Email....

2003-06-12 Thread Brian McGarvie
I have a question about automated email: In my sendmail configuration i have: Alias: Testit Feeds to Program /usr/local/bin/php /usr/local/apache/sites/xxx.com/tasks/automail/test.php testit is set up to an address, so if i send to [EMAIL PROTECTED] the above is indeed ran, my question is how in

Re: [PHP] SQL SERVER QUESTION

2003-06-12 Thread Brian McGarvie
Or the fact that various datatypes take up various storage needs "Clint Tredway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How about the need to add prices together, or store binary data, or using a > bit for true false... > > There are numerous reasons for datatypes in a d

[PHP] Re: OpenSource PHP Project

2003-06-04 Thread Brian McGarvie
May help if the website worked... OR give us a link to the SF project page? "Michael A Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Anyone interested in helping out with an opensource CMS project. > PHP/MySQL/Smarty Templates/Modules checkout prattcms.sf.net. It's >

[PHP] Re: php script execution by linux automated task

2003-03-21 Thread Brian McGarvie
look up cron "Nenad Djordjevic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I have some web application which is on some rented server. I have not > root privilege just FTP access to application web folder. OS is Linux, > web server Apache/1.3.27 and PHP ve

[PHP] PHP as Shell script...

2003-02-20 Thread Brian McGarvie
I am having trouble using php as a script. #!/usr/local/bin/php using the above form creates the following cron error: /bin/sh: /usr/local/apache/sites/domain.com/tasks/autoreport/test.php: bad interpreter: No such file or directory Any ideas? Thanks in advance... --- Outgoing mail is certi

[PHP] WorldPay examples...

2003-01-24 Thread Brian McGarvie
I'm looking for an example of making payments via worldpay... --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.438 / Virus Database: 246 - Release Date: 07/01/03 -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: Help!!!

2003-01-23 Thread Brian McGarvie
',NOW(),'Resource id #4') inserted not Sorry, an error has occured. It has been recorded and reported to the Website Administrator. Error: SQL: Error Code: 1065: Query was empty "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]"

[PHP] Help!!!

2003-01-23 Thread Brian McGarvie
I have just got use of a new dedicated webserver... Now the 1st time a piece of code is ran it doesnt work but then the 2nd it does... i.e. index.php // stuff... $visitDBID = referrerVisit($rid,$rgid,$visitIP,$visitFromURL); // stuff... //end index.php function referrerVisit($rid,$rg

[PHP] PDF

2003-01-17 Thread Brian McGarvie
I'm looking to find out if PHP has the ability to do this... OK I'm looking for a solution that could do the following. We require to generate PDF files that can then be emailed or printed & posted to clients. I can create PDF Files from scratch using PDFLib. What we will require to do though i

[PHP] MIME email...

2003-01-16 Thread Brian McGarvie
All, I have a problem sending Multipart - MIME (plaintext + html) email $bodyPlaintext = " (PLAINTEXT)"; $bodyHTML = " (HTML CODE)"; $headers = ""; $headers .= "From: [EMAIL PROTECTED]\r\n"; $headers .= "Reply-To: [EMAIL PROTECTED]\r\n"; $headers .= "X-Mailer: PHP " . phpversion(); $

[PHP] Random Row...

2003-01-16 Thread Brian McGarvie
$sql = " select count(*) as theCount from myTable "; ... $row_id = rand(1, $myrow["theCount"]); ... $sql_randow_row " select * from myTable where id = $row_id "; I assume I'm right with the method above to select a random row? or any other way? --- Outgoing mail is certified

[PHP] Re: Php's future with Asp .NET?

2003-01-16 Thread Brian McGarvie
The 'problem' with ASP is that it really requires a Windows platform... and while Unix is still primarily the OS of choice for web-servers then ASP & PHP will 'co-exist' there will always be a PHP and ASP camp... naturally any broad-minded developer will keep up with both technologies as this will

[PHP] Re: Development tools

2003-01-07 Thread Brian McGarvie
Yes you can use java classes... from php. Yes you can write & compile C++ to a dll and use it. For Java: Notepad + the JDK :) DLL's (C++) Notepad + dgcpp :) IF you want a GUI - Java = JBuilder is best I've used. C++ - typically VC++ :\ There are some free alternatives but the above are the 2 ind

[PHP] Re: apache + php + MS active directory

2003-01-07 Thread Brian McGarvie
Yip... Investigate... LDAP "Ezra Nugroho" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Now, this is a rather unlikely configuration, but ... > > I am working on a linux based web work based on apache and php, but the > authentication system on site is based

[PHP] Re: Development tools

2003-01-07 Thread Brian McGarvie
And this has what to do with PHP? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] Far out!!!! More IIS problems.....

2003-01-07 Thread Brian McGarvie
php (.exe or .dll) will look for a php.ini in both, c:\(windows_dir) and c:\php\ (I am not sure what location takes priority - I'd assume c:\(windows_dir) "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I only have one php.ini on the machine and

[PHP] Re: Forwarding POST info from a PHP script

2003-01-07 Thread Brian McGarvie
Could be an issue on the webserver if PHP has register_globals set to off... "David Barrett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I want to be able to retrieve POST variable in one PHP script (which is > straight-forward) and then send these from the

[PHP] Re: email a web page

2003-01-07 Thread Brian McGarvie
"Dc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I have a newsletter ready to email to my database of customers. > > The entire newsletter incl graphics , layout etc is enclosed within a form > which posts to a second page which s supposed to ema

[PHP] Re: Creating reports in database systems implemented over Web interface

2002-12-20 Thread Brian McGarvie
Make use of fpdf - a good dpf creation lib.. type it into google for the site. "Enediel" <[EMAIL PROTECTED]> wrote in message 076a01c2a51c$9c47be50$8a24a8c0@nsoft">news:076a01c2a51c$9c47be50$8a24a8c0@nsoft... > Hi everybody: > > Over linux, I'm using PostgreSQL , Apache server, and PHP pages to cr

[PHP] ping...

2002-12-13 Thread Brian McGarvie
I can exec ping OK... but I need a way to ping and basically give me a OK or Not OK... any ideas? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.427 / Virus Database: 240 - Release Date: 06/12/02 -- PHP General Mailing List (

Re: [PHP] Is it possible to do this in PHP ? If it is then, how ?

2002-11-27 Thread Brian McGarvie
> > I was wondering if this is possible to in PHP ... I am developing an > > application for a pizza place, where touch typing interface is much faster > > than using the mouse, so I was wondering if I can develop an interface with > > a calculator style keypad, and the codes entered (using somethi

Re: [PHP] How do i provide Download facility ??

2002-11-27 Thread Brian McGarvie
Perhaps he wants to track downloads of files and obscure the physical locations... "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > > I am a newbie in this PHP world. I was just looking around for > > information on Download of files usin

[PHP] Re: IIS and PHP with $HTTP_SERVER_VARS

2002-11-26 Thread Brian McGarvie
it's to do with probably folder permissions, the folder all your web files are should have IUSR_machinename added to the folder with full rights, the login box should then not appear... "Shaun Garriock" <[EMAIL PROTECTED]> wrote in message 018301c2954d$265b4010$c101a8c0@rgcweb01">news:018301c2954d

[PHP] Re: character ' in switch

2002-11-21 Thread Brian McGarvie
try: case "what's new": "Martin Hudec" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello all, > > I would like to know how can I put ' character to case in switch... > > Situation: > > from flash i am getting url: index.php?action=what's new > > i need to

[PHP] Re: Problem on OpenDir()

2002-11-21 Thread Brian McGarvie
I don't do much file-stuff with php & windows, but i think the path nees to use // not \\? "Jack" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear all I was trying to check if a directory exist in a specific folder, but i got this error message as below : Warn

[PHP] Re: isapi mod on iis

2002-11-20 Thread Brian McGarvie
The Internet Guest user needs to have permissions to the foler the script's are located. This should remove the auth request. "Chris Edwards" <[EMAIL PROTECTED]> wrote in message 04f901c28ffa$a75867e0$4300a8c0@development">news:04f901c28ffa$a75867e0$4300a8c0@development... > is anyone running the

[PHP] Re: ACT Based Contact Management System

2002-11-19 Thread Brian McGarvie
mibbie give us a url to look at ACT? Or atleast a quick out-line of what it does? "Craig" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone know of any sites that offer a web based contact management > system that works in a similar way to ACT? > > I w

[PHP] Re: connecting to a remote host through mysql.exe

2002-11-14 Thread Brian McGarvie
mysql -u username -pPASSWORD -h www.domain.com "Mr. Bungl3" <[EMAIL PROTECTED]> wrote in message news:20021114111727.44334.qmail@;pb1.pair.com... > Hi... > How can i connect to a remote host database through mysql.exe? > Thank you > > -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Re: writing pdf files to physical files...

2002-10-25 Thread Brian McGarvie
yes it does... /me answered myself again ;) "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message news:20021025145239.65314.qmail@;pb1.pair.com... > I presently generate pdf files as required... > > I use FPDF for writing PDF... > > I require to save these to

[PHP] writing pdf files to physical files...

2002-10-25 Thread Brian McGarvie
I presently generate pdf files as required... I use FPDF for writing PDF... I require to save these to file... is it a simple case of: where the script: generate_stats_view_table_pdf.php generates the PDF... http://www.domain.com/autoreport/generate_stats_view_table_pdf.php'); while (list (

[PHP] windows specific: printer_ functions...

2002-10-16 Thread Brian McGarvie
I have a specific problem ;) I have been asked if it is possible to write a 'simple' application that will print onto Bank Cheques - they will be supplied on a continuous roll aparently, so it'll be one cheque followed by another etc perferated inbetween... So my question is has anyone ever trie

[PHP] Re: Script optimisation

2002-10-16 Thread Brian McGarvie
depending on the requirements of your script, it is quicker to use as required, this is because php essentially ignores all the html tags untill a is found for which php does it's stuff... if you use PHP has to go thru the contents of "..." and repace any variables it finds... however if yo

[PHP] Re: Execute...

2002-10-08 Thread Brian McGarvie
it's messy but works... I would never do it this way... I suggest a javascript calculator approach... "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > dunno if it's work, but, if you find out the client&#

[PHP] Re: Execute...

2002-10-08 Thread Brian McGarvie
dunno if it's work, but, if you find out the client's OS, then you will know the path to calc.exe as it resideds in the windows dir of most windoze installs... so find OS, then u know path, then jist do a ... launch windows calculator "Bsantos Php" <[EMAIL PROTECTED]> wrote in message [EMAIL PR

[PHP] Re: MORE Problems with PHP as CGI and Flash !!!!!!!!!!

2002-10-03 Thread Brian McGarvie
Yes... get him to download the latest plug-in, IE 5.0 to IE 5.5 even are weired with dynamic content even it it's a form built up from php... Neway... I suggest that he should upgrade the flash plug-in and/or IE. "Rebekah Garner" <[EMAIL PROTECTED]> wrote in message 002901c26a54$513462e0$0300a8c

[PHP] Re: php on apache on win2k

2002-09-27 Thread Brian McGarvie
on www.php.net you need to download the zip file for php, this will include the missing files... "Vic" <[EMAIL PROTECTED]> wrote in message 01c265e6$c3a2b920$a3a96518@jumpy">news:01c265e6$c3a2b920$a3a96518@jumpy... > I used to have php 4.2.3 on iis on 200 and xp and it worked fine, but I

[PHP] File Access...

2002-09-19 Thread Brian McGarvie
How could you redirect somone from directly accessing a file... Meaning... if an engine spiders www.domain.com/some.php How could you make some.php redirect to index.php However... the site is framed, and the menu uses content.php to display the selected content. Any ideas? -- PHP General

[PHP] News Feeds....

2002-09-04 Thread Brian McGarvie
Hi I'd like to get some news from any reputable news site, bbc.co.uk... yahoo.co.uk etc etc UK news would be best, if not then some hints to how to go about it would be much appreciated! TIA... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

[PHP] Re: Mail()....

2002-08-30 Thread Brian McGarvie
;MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; TIA.. "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there a way to set the font on a plaintext email

[PHP] Mail()....

2002-08-30 Thread Brian McGarvie
Is there a way to set the font on a plaintext email? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Loading Extension...

2002-08-12 Thread Brian McGarvie
OK Help I always seem to have trouble installing extensions... what am I doing wrong? (trying to get PDFLib working). I copied the DLL to c:\php\extensions\php_pdf.dll However when I try to run a simple example I get: Fatal error: Call to undefined function: pdf_new() in C:\Inetpub\wwweloa

[PHP] Re: Date Stuff...

2002-08-02 Thread Brian McGarvie
ta guys... works fine :) had a brain-freeze :) "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Given a date how would you work out number of months elapsed between > DateInPast and DateNow? > >

[PHP] Date Stuff...

2002-08-02 Thread Brian McGarvie
Given a date how would you work out number of months elapsed between DateInPast and DateNow? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: DOMXML...

2002-07-31 Thread Brian McGarvie
OTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hmm! > > 1)Can you show the code @ line 36 if possible > 2)try to escape the "\" (replace every \ with \\) > > > "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message >

[PHP] Re: Question on File Move / Delete and Create Directory

2002-07-31 Thread Brian McGarvie
http://www.php.net/manual/en/function.mkdir.php and the other 'filesystem' commands all work in windows... "Jack" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all > I had setup a web server in windows NT 4.0 (IIS Server), there is some > question i wan

[PHP] Re: Bea Weblogic Webserver

2002-07-31 Thread Brian McGarvie
I'd suggest pursuing their customer support... It's not a very widely used websrever. It's also primarily a webserver optimized for serving JSP-based content/services - if I remember correctly... "Mindhunter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi,

[PHP] DOMXML...

2002-07-31 Thread Brian McGarvie
I have a problem with DOMXML... I installed it and it is showing up in a phpinfo() script... However when I try a simple example it gives me an error such as: Warning: failed to load external entity "employees.xml" in C:\Inetpub\wwweloanshop\test\xml.php on line 36 Any hints? [ Brian M McGarv

Re: [PHP] web services and PHP

2002-07-31 Thread Brian McGarvie
A'la ASP WebServices perhaps? "Bob Lockie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > >I'd like to know if it's possible to use PHP to develop and implement > >Web Services. If so, please point me to sites, articles, or tutorials > >that discuss this top

[PHP] Re: php redirect

2002-07-26 Thread Brian McGarvie
if( ___ ) { header("Location: http://www.domain.com/itworked.php";); } else { header("Location: http://www.domain.com/error.php";); } "Tyler Durdin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > > I have a redirect i would like to do using php. It will go something like >

RE: [PHP] Getting the URL that triggered a 404.

2002-07-11 Thread Brian McGarvie
you can get the webserver to redirect to a custom errorhandler that could be a php script to do whatever you want. > -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED]] > Sent: 11 July 2002 4:44 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Getting the URL that triggered

RE: [PHP] How to know if we're using http or https

2002-07-11 Thread Brian McGarvie
yip on the browser a small padlock should appear > -Original Message- > From: LeTortorec, Jean-Louis [mailto:[EMAIL PROTECTED]] > Sent: 11 July 2002 4:33 PM > To: [EMAIL PROTECTED] > Subject: [PHP] How to know if we're using http or https > > > Hello all! > > Is there a flag that would

RE: [PHP] Development Tools

2002-07-10 Thread Brian McGarvie
HTML-Kit does it for me... great customisability... > -Original Message- > From: Bret L Conard [mailto:[EMAIL PROTECTED]] > Sent: 10 July 2002 5:25 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Development Tools > > > snip/ > but often find myself using an editor on the code > created

[PHP] IIS Bugs???

2002-07-10 Thread Brian McGarvie
OK This is a followon from my Browser thread... on [EMAIL PROTECTED]; [EMAIL PROTECTED] I have switched the application to run from Apache, and the Browsers that were having trouble now seem (I think - will be doing more testing later) to have dissapeared. So, is there a problem with IIS or PH

RE: [PHP] Took the job into my own hands

2002-07-10 Thread Brian McGarvie
been trying it for a cuple days now > -Original Message- > From: Miguel Cruz [mailto:[EMAIL PROTECTED]] > Sent: 09 July 2002 9:24 PM > To: Liam Gibbs > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Took the job into my own hands > > > On Tue, 9 Jul 2002, Liam Gibbs wrote: > > Mr. Hegreberg

RE: [PHP] (OT) Our Spam Friend

2002-07-10 Thread Brian McGarvie
we should make a script that constantly emails him single characters and all of us run it in a back ground process ;) > -Original Message- > From: Chris Shiflett [mailto:[EMAIL PROTECTED]] > Sent: 10 July 2002 12:03 AM > To: PHP > Subject: [PHP] (OT) Our Spam Friend > > > I just though

RE: [PHP] Postal / Zip Code Proximity Search

2002-07-09 Thread Brian McGarvie
http://www.totalscripts.com/pages/Perl_Scripts/Calculator/ GeoZip... only for US postcodes tho.. but is ur US fine ;) > -Original Message- > From: Brandon Pearcy [mailto:[EMAIL PROTECTED]] > Sent: 04 July 2002 4:34 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Postal / Zip Code Proximity S

RE: [PHP] Dual Server...

2002-07-09 Thread Brian McGarvie
s http://intranet:8080) this appears to work > fine. Hope this > helps > > Robert W. Collins II > Webmaster > New Orleans Regional Transit Authority > Phone : (504) 248-3826 > Fax: (504) 248-3866 > Email : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > &

[PHP] Dual Server...

2002-07-09 Thread Brian McGarvie
OK following from my thread 'Browser Issues' I have found that when serving the site from apache, that the aforementioned errors go away... mostly... OK so... What is the best way to setup so that IIS/Apache co-exist... I'd like to keep the 'entry' to the site on IIS as we have other sites too.

RE: [PHP] I am out of pleases now get me off this fun list!

2002-07-09 Thread Brian McGarvie
just keep a note of his mail for when he final reads simple instructions and periodically forward him any interesting posts ;) > -Original Message- > From: Bret L Conard [mailto:[EMAIL PROTECTED]] > Sent: 09 July 2002 2:58 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] I am out of pleas

RE: [PHP] Browser Troubles...

2002-07-09 Thread Brian McGarvie
There is rather a lot to check... i have checked *most* of it... the only JS is to open a pop-up window, but that functions correctly... In one particular version of IE it fails even to submit the login form ;\ Works perfectly in Mozzilla/NN(4->6)... also fine in IE 6, and as I mentiond most I

[PHP] Browser Troubles...

2002-07-09 Thread Brian McGarvie
OK... I have developed a web-application... on Windows 2k Server, IIS5, PHP, MsSQL/MySQL. Now... on certain browser platforms the browser spuriously dies for no reason. (Primarily Oldish IE 5.0(but not all releases) and 5.5). I have tried MS's mailing lists/support but not had any usefull feed

RE: [PHP] Delete me from list!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2002-07-09 Thread Brian McGarvie
Obviously you are one of those ppl who dont keep important emails... I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: For help and a description of available commands, send a message to:

RE: [PHP] Grr SQL syntax error silghtly OT

2002-07-09 Thread Brian McGarvie
2count(*)? don't look right > -Original Message- > From: JJ Harrison [mailto:[EMAIL PROTECTED]] > Sent: 09 July 2002 9:10 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Grr SQL syntax error silghtly OT > > > Sorry :} > > I get a SQL syntax error at line two of the query: > > $query = "se

RE: [PHP] don't want to receive but email please

2002-07-09 Thread Brian McGarvie
> only if user stupidity can be considered a virus. It can indeed ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-07-08 Thread Brian McGarvie
at agencies deal with), I'd like to suggest that the site is > flexible enough to offer PHP "work" in the broader sense, not just > on-site contract/employment. E.g. an end customer can post that they > need a particular piece of work done and ask for > tenders/intereste

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

2002-07-08 Thread Brian McGarvie
Yeh sure... I have worked on a recruitment site for a UK agency. > -Original Message- > From: César Aracena [mailto:[EMAIL PROTECTED]] > Sent: 08 July 2002 9:47 AM > To: Brian McGarvie; 'PHP General List' > Subject: RE: [PHP] is their a jobs mailing list? >

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

2002-07-08 Thread Brian McGarvie
I think a job's list would be good too so people can target only those who wish to undertake a contract/new position, and also for people to post that they are available... that or have an 'independant' site or get one of us to do a subsite on php .net :) I'll do it if it's something that'd be

RE: [PHP] PHP and PDF

2002-07-01 Thread Brian McGarvie
if you're creating the form using PHP's PDF functions all you'd need to to is generate the number and add it using whatever command to add a line of text to the PDF document... Don't ask me how.. not used it yet personally. Would like to see a decent example of PHP/PDF creation anyway... > --

RE: [PHP] Keeping "Secrets" in PHP Files

2002-06-28 Thread Brian McGarvie
This is a problem that affects many webhosts... the issue is more of trusting other users who have shell access to the server in question... I have been trying to help a hosting company address this issue, but short of dissallowing shell/ssh access their is no way to stop another user logging i

RE: [PHP] Web Printing

2002-06-28 Thread Brian McGarvie
I did pass on a link to hime from the M$ website with some VB Script that 'appears' to do what is wantec.. whither it works or not is another matter :) > -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED]] > Sent: 28 June 2002 2:45 PM > To: [EMAIL PROTECTED] > Subject: RE

RE: [PHP] Web Printing

2002-06-28 Thread Brian McGarvie
and this relates to PHP how...? > -Original Message- > From: Neal Dewing [mailto:[EMAIL PROTECTED]] > Sent: 28 June 2002 9:01 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Web Printing > > > Hi all, > > Just wondering if anyone came across this "problem" before: > > When I print a docum

RE: [PHP] securing an 'includes' dir

2002-06-28 Thread Brian McGarvie
and using IIS use windows security > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: 28 June 2002 9:31 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] securing an 'includes' dir > > > On Friday 28 June 2002 16:25, Nick Wilson wrote: > > Hi all > > I'm setting up

RE: [PHP] parse text

2002-06-19 Thread Brian McGarvie
You could do it using the substring it you ALWAYS for each line want the characters at that exact location. $moo = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $partition = substr($moo, 9, 5); this would return 5 characters from position 9 in the string which would be: 0ABCD hope this helps... >

RE: [PHP] catch the client OS user logon from php script

2002-06-19 Thread Brian McGarvie
r PHP is running on, which you probably know), you'd want: > > $_SERVER["HTTP_UA_OS"] > > -Clay > > > > From: "Brian McGarvie" <[EMAIL PROTECTED]> > > Date: Wed, 19 Jun 2002 09:54:39 +0100 > > To: èdy kurniawan <[EMAIL PROTEC

RE: [PHP] catch the client OS user logon from php script

2002-06-19 Thread Brian McGarvie
$_ENV["OS"] (see MANUAL for more that you can capture!) > -Original Message- > From: èdy kurniawan [mailto:[EMAIL PROTECTED]] > Sent: 19 June 2002 9:44 AM > To: [EMAIL PROTECTED] > Subject: [PHP] catch the client OS user logon from php script > > > Dear PHP-ers, > > How can I capture

RE: [PHP] How do I hide download link ...

2002-06-18 Thread Brian McGarvie
if you want to hide it fromthe browser you cound do: click here or you could over write the status text: click here or a combination... Also note... this has/had nowt to do with _PHP_ :) > -Original Message- > From: Nathan Taylor [mailto:[EMAIL PROTECTED]] > Sent: 18 June 2002 11:33

RE: [PHP] sessions and temporary tables

2002-06-18 Thread Brian McGarvie
unless you open a persistent connection, connections are closed automatically at the end of execution of a script. > -Original Message- > From: W. Enserink [mailto:[EMAIL PROTECTED]] > Sent: 18 June 2002 10:41 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] sessions and temporary tables

[PHP] LDAP...

2002-06-18 Thread Brian McGarvie
I'm just experimenting with LDAP... [ Windows 2000 Server/IIS/php 4.2.1] I've uncommented the php_ldap.dll in my .ini... when I execute the following simple piece of code it gives me: Fatal error: Call to undefined function: ldap_connect() in E:\wwwshell\test\index.php on line 5 What have I

RE: [PHP] Editor

2002-06-18 Thread Brian McGarvie
I have been using this for a couple of years and personally consider it the best all-round editor next to UltraEdit for codeing not just web-pages but other languages... It's extremely flexible plug-in modules are easy to develop if you need it to do something, and also has quite a few decent

RE: [PHP] Content Management System in php

2002-06-18 Thread Brian McGarvie
Indeed PHP-Nuke is not meant for Co-orporate sites... I have my own custom built 'bits' that I put together when doing site for a client. If you can't/don't have the luxury of being able to hire/contract a developer to develop a custom-designed solution for your needs then you are unfortinaltley

[PHP] RE: [PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Brian McGarvie
ED] > Subject: Re: [PHP-WIN] SSL Support for PHP > > > On Friday, June 14, 2002, 9:13:59 AM, Brian McGarvie wrote: > > How does IIS fair against Apache with servring multiple > sites? each site will be like... http://customername.ourdomain.co.uk > > Both are capabl

RE: [PHP] SSL Support for PHP....

2002-06-14 Thread Brian McGarvie
Also... IF Apache... what version? > -Original Message- > From: Brian McGarvie > Sent: 14 June 2002 9:14 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] SSL Support for PHP > > > Right... > > Back to the old bombshell of which webser

[PHP] SSL Support for PHP....

2002-06-14 Thread Brian McGarvie
Right... Back to the old bombshell of which webserver... I have'nt seen any reports which say what is better... Here is my issue: The webserver I am setting up will potentially host 4 or 5 sites... How does IIS fair against Apache with servring multiple sites? each site will be like... http:

RE: [PHP] PHP with No Web Server?

2002-06-13 Thread Brian McGarvie
Would that work? Surley it'd not be a particularly efficiant webserver if written in PHP? Would be interesting to try.. I had a quick look for such code but could'nt see any... perhaps a PHP-GTK app could work I suppose... if you were that way inclined! :) > -Original Message- > From:

RE: [PHP] PHP with No Web Server?

2002-06-13 Thread Brian McGarvie
PHP is an application that generates HTML code similar to Perl. Which is what is served to the Client(Browser). Therefore no, you need to use IIS/Apache/other webserver in order to use PHP... Unless you are using it as a scripting language for shell scripts... or using GTK to create graphical

RE: [PHP] PCRE Problem

2002-06-13 Thread Brian McGarvie
$string = '[b]Test[/b]'; $bbcode_string = str_replace("<", "[", str_replace(">", "]", $string)); or look into regular expressions... > -Original Message- > From: Erick Lee [mailto:[EMAIL PROTECTED]] > Sent: 13 June 2002 3:25 AM > To: [EMAIL PROTECTED] > Subject: [PHP] PCRE Problem > >

RE: [PHP] next and previous buttons performing on a query

2002-06-13 Thread Brian McGarvie
you need to keep track of the last record and number to display to work out the values for limit. > -Original Message- > From: Chris Hewitt [mailto:[EMAIL PROTECTED]] > Sent: 13 June 2002 3:32 PM > To: Wilbert Enserink > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] next and previous button

RE: [PHP] php-speed

2002-06-13 Thread Brian McGarvie
the best answer to this is that it's down to persona preferance as well... some people might find it easier to read/write code that is in a more 'traditional' layout which is where using " or ' would help. I personally use a mixture of all 3 'methods' of using php. While in-line is fastest i som

RE: [PHP] php-speed

2002-06-13 Thread Brian McGarvie
I believe it also depends on the quote types used... Place string/text/html code etc with in single quotes > ' < if the string contains no $var's to be parsed, and > " < if it does need to parse $var's. > -Original Message- > From: Niklas Lampén [mailto:[EMAIL PROTECTED]] > Sent: 13 Jun

RE: [PHP] POST/GET vars in apache

2002-06-13 Thread Brian McGarvie
it;s todo with the ini file an option register_globals Off - you need to use the $HTTP_POST_VARS[var] method On - you dont Pro - more secure. Con - more to type! > -Original Message- > From: Webmaster do Aborla.net [mailto:[EMAIL PROTECTED]] > Sent: 13 June 2002 11:32 AM > To: [EMAIL PR

  1   2   >