RE: [PHP] SMS with PHP

2002-06-11 Thread Brian McGarvie
another solution would be to by a cellular modem, which can be set up on the windows/*nix machine and used to relay the message. If not - depending on where you are based - some mobile providers do let you interface with their sms devices. You could also have a look at - OpenSMS from

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

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, andif it does need to parse $var's. -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: 13 June 2002

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

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 buttons

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 I want to

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

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

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 webserver... I have'nt seen any reports which

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

2002-06-14 Thread Brian McGarvie
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 capable of serving multiple sites without any issues that I am aware

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

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

[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 ? function

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

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: a href=# onclick=javascript:document.location='sign_in.php'click here/a or you could over write the status text: a href=sign_in.php onMouseOver=window.status='Some text...'; return true;click here/a or a combination... Also note... this

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 my client

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

2002-06-19 Thread Brian McGarvie
-General Subject: Re: [PHP] catch the client OS user logon from php script Edy, If you're referring to the OS a visitor to your site is using (not the OS your PHP is running on, which you probably know), you'd want: $_SERVER[HTTP_UA_OS] -Clay From: Brian McGarvie [EMAIL

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] 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 a site for

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 document directly

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

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

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? Well, I am interested as long

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

2002-07-08 Thread Brian McGarvie
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/interested people. Chris Brian McGarvie wrote: Yeh sure... I have worked

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

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:

[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

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

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 pleases

[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

RE: [PHP] Dual Server...

2002-07-09 Thread Brian McGarvie
I will probably do this the other way round as we have a few sites... so if i have a single file with a frame and point contents of frame to apache this should work? -Original Message- From: Collins, Robert [mailto:[EMAIL PROTECTED]] Sent: 09 July 2002 4:41 PM To: Brian McGarvie

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

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 thought this

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 will be

[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

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 by

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 tell me

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 a

RE: [PHP] how to popup a new browser window from php

2002-04-19 Thread Brian McGarvie
add this to the head section; script language=JavaScript function popupcontent(urll) { window.open(urll,'popup','toolbar=no,location=no,directories=no,status=n o,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width=400,height =250'); } //-- /SCRIPT then use the following to open

RE: [PHP] phpnuke still around?

2002-04-24 Thread Brian McGarvie
it exists, and url works fine for me, but why use phpnuke? all ya end up with is lots of dull sites that look the same :) -Original Message- From: Dennis Gearon [mailto:[EMAIL PROTECTED]] Sent: 23 April 2002 23:56 To: [EMAIL PROTECTED] Subject: [PHP] phpnuke still around?

RE: [PHP] good php hosting environments

2002-04-26 Thread Brian McGarvie
havva look at 34sp.com I use them for virtually all my clients. Tho gimme a shout in siz months or so I'm going to be running a web farm ;) Brian M McGarvie, eCommerce Co-ordinator/Consultant

[PHP] Tools for stress-testing?

2002-04-26 Thread Brian McGarvie
Just wondering what the best tool/utility is to stress test PHP/IIS 5 combination obviously on win2k server? Brian M McGarvie, eCommerce Co-ordinator/Consultant [

[PHP] javascript variables from...

2002-05-01 Thread Brian McGarvie
I'm trying to pass the values of screen.height/width to php... any suggestions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ODBC number of rows?

2002-05-01 Thread Brian McGarvie
odbc_num_rows($result); the above return -1 always, what other way can you check if any rows have been returned? === Brian M McGarvie, Web Appications Co-ordinator/Consultant === [ www.mcgarvie.net |

RE: [PHP] Help with Bookmark

2002-05-03 Thread Brian McGarvie
an idea would to be not to use flat files for it... use a database, try mysql... -Original Message- From: Rodrigo [mailto:[EMAIL PROTECTED]] Sent: 03 May 2002 08:02 To: [EMAIL PROTECTED] Subject: [PHP] Help with Bookmark Hi guys I'm trying to make a online bookmark adress book, this

RE: [PHP] Secure user authentication

2002-05-03 Thread Brian McGarvie
another option is to use SSL for the login page/sensitive parts of the site that deal with any transfer of 'sensitive' data? -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: 03 May 2002 15:08 To: 'The_RadiX'; [EMAIL PROTECTED] Subject: RE: [PHP] Secure user

RE: [PHP] Secure user authentication

2002-05-03 Thread Brian McGarvie
]] Sent: 03 May 2002 15:14 To: [EMAIL PROTECTED]; Brian McGarvie Subject: Re: [PHP] Secure user authentication that is a good suggestion.. Using SSL to perform sensitive logins.. and then using some sort of hidden or encrypted passwords in your sessions should provide a nice level of security

[PHP] Zend - Studio, Encoder, Optimiser...

2002-05-06 Thread Brian McGarvie
I am writing several php applications wich demand speed security. I'm just looking for some reassurances from some ppl that might be using the ZEND products to deliver this. Is the speed increase using the optimiser noticable? How well does the Encoder work? I will be trying them out today

[PHP] mcrypt...

2002-05-06 Thread Brian McGarvie
I have uncommented the .dll extension in my php.ini however the functions are still unavailable? What am I doing wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Access denied errors

2002-05-06 Thread Brian McGarvie
sounds like the username/password are not being accepted... -Original Message- From: Nick Wilson [mailto:[EMAIL PROTECTED]] Sent: 06 May 2002 12:32 To: php-general Subject: [PHP] Access denied errors -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, not sure if this is a php

[PHP] mcrypt...

2002-05-06 Thread Brian McGarvie
has ne1 got php_mcrypt.dll or the source code for it? the website for it seems to be unavailable. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Forum with PHP, without using mySQL..

2002-05-07 Thread Brian McGarvie
not as if forums are particularly hard/complex neway ;) -Original Message- From: The_RadiX [mailto:[EMAIL PROTECTED]] Sent: 07 May 2002 11:51 To: [EMAIL PROTECTED]; Mizery De Aria Subject: Re: [PHP] Re: Forum with PHP, without using mySQL.. Pfft.. Stealing is what i call that :P Why

RE: [PHP] Announcement: Smarty template engine 2.1.1 released

2002-05-07 Thread Brian McGarvie
and an advertisment for products that fall into the for users who can't think for themselves bucket of uselessness. even if it is open source... there is other places for it ;) -Original Message- From: Dan Hardiker [mailto:[EMAIL PROTECTED]] Sent: 07 May 2002 15:53 To: [EMAIL PROTECTED]

RE: [PHP] Re: Self Destruct Code Copy Protection

2002-05-13 Thread Brian McGarvie
doing anything to the code is futile at the end of the day no matter how smart it is, if it's coded, and runs on their server, they could easily change themselves via an in-house/external resource who know how to 'fix' code. -Original Message- From: [-^-!-%- [mailto:[EMAIL PROTECTED]]

RE: [PHP] PHP editor (win)

2002-05-15 Thread Brian McGarvie
html-kit... http://www.chami.com/html-kit/ -Original Message- From: Juan Pablo Aqueveque [mailto:[EMAIL PROTECTED]] Sent: 15 May 2002 15:39 To: [EMAIL PROTECTED] Subject: [PHP] PHP editor (win) Hi guys I know this question it's very recurrent but the problem of Jon Yates make me

RE: [PHP] Newbie help please!

2002-05-15 Thread Brian McGarvie
or this ?php echo $user; echo $pass; ? -Original Message- From: Tommy Claasens - Q Data KZN [mailto:[EMAIL PROTECTED]] Sent: 15 May 2002 15:57 To: John; [EMAIL PROTECTED] Subject: RE: [PHP] Newbie help please! Hi, Try this ?php $username = $_GET['user'];

[PHP] Multiple drop-down lists

2002-05-16 Thread Brian McGarvie
All, How would you implement 4 drop down lists Data in list 2 dependant on list 1, list 3 dependant on list 2 and list 4 dependant on list 3? Using an ODBC source. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Looking for web based email

2002-05-17 Thread Brian McGarvie
www.horde.org/imp/ -Original Message- From: Craig [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 9:46 AM To: [EMAIL PROTECTED] Subject: [PHP] Looking for web based email I am in the process of developing a website with a webmail system similar in functions to hotmail Does

RE: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Brian McGarvie
yip it's possible in exactly the same way as you would Perl, use: #/path/to/php /* php code */ eof and add it to cron as you would a perl script -Original Message- From: Henry Grech-Cini [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 11:12 AM To: [EMAIL PROTECTED] Subject:

RE: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Brian McGarvie
correct... -Original Message- From: Michael Virnstein [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 12:57 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Using php as a scripting language within cron jobs? Set your cron job up as lynx -dump http://www.myserver.com/myscript.php

[PHP] Executing PHP code throught a protected directory on IIS...

2002-05-17 Thread Brian McGarvie
I have restricted the IP Address etc through the directory security, if i goto: www.domain.com/thedir/ it does indeed give me the ip denied, howver if i goto a file within it if it's a basic html page it displayes it, similarly if it's a PHP script it also gets executed... (I know if I was using

RE: [PHP] Bulletin Boards

2002-05-20 Thread Brian McGarvie
phpbb2 has improved alot since the earlier versions -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED]] Sent: 18 May 2002 3:02 PM To: Richard Baskett; PHP General Subject: Re: [PHP] Bulletin Boards Never used Phorums as it didn't have what I was looking for. Tried

RE: [PHP] Email harvesters

2002-05-20 Thread Brian McGarvie
but then no one would be able to reply to an individual... -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: 20 May 2002 11:42 AM To: Miguel Cruz Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Email harvesters I think it would be a good idea to have whatever

[PHP] php4isapi

2002-05-22 Thread Brian McGarvie
Hmm... When usig php4isapi some functions appear not to work, readfile for example? Using php.exe works fine. -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED]] Sent: 22 May 2002 8:13 AM To: 'Jimmy Lantz' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Mcrypt: Blowfish or

[PHP] Date/Time...

2002-05-23 Thread Brian McGarvie
OK, give up.. been trying to compare dates in the format; 2002-05-23 12:19:34 I just cant workout how to compare, I've converted to a timestamp - but the resulting timestamp was wrong. Any help much appreciated... TIA... -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Parse Error(Newbie)

2002-05-23 Thread Brian McGarvie
why now just write: for ($i=0; $i $num_results; $i++) { $row = mysql_fetch_array($result); echo a href=\.$row['url'].\link text/a; -Original Message- From: Nick Wilson [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 12:28 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Parse

RE: [PHP] Date/Time...

2002-05-23 Thread Brian McGarvie
elapsed: $dayspassed; any ideas? on-top of what you mentioned? -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 1:18 PM To: Brian McGarvie; [EMAIL PROTECTED] Subject: RE: [PHP] Date/Time... What are you trying to do? Compare dates from where

[PHP] Regular Expressions...

2002-05-31 Thread Brian McGarvie
All, I have a text field that a user can enter text into, I then explode it into an array, and ultimatley build a regular expression such as: /(advance|racingx)|(advance|racingx)/i for use in: preg_match ($reg_expr, $file); however the expression above doesnot yeild the required result, it

[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 this if

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 topic in more

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

[PHP] Re: DOMXML...

2002-07-31 Thread Brian McGarvie
s:[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 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a problem with DOMXML... I installed it and

[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: 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 General Mailing List (http://www

[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

[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] Re: Mail()....

2002-08-30 Thread Brian McGarvie
: 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 General Mailing List (http://www.php.net/) To uns

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

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

[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 create a

[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 email the

[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

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 the

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

[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 on MS

[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

[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] 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] 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(); $subject =

[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

[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

[PHP] Re: Help!!!

2003-01-23 Thread Brian McGarvie
(),'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]">news:[EMAIL PROTECTED]... I have

[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

  1   2   >