Re: [PHP] Greetings

2002-12-24 Thread Andy Turegano
Indeed, Merry Christmas to all! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] You gotta love it...

2003-01-04 Thread Andy Turegano
Well, we're all human. On Sat, 4 Jan 2003, Michael J. Pawlowsky wrote: > > When doing a function seach at www.php.net I just got: > > Parse error: parse error in /local/Web/sites/phpweb/search.php on line 233 > > Twice in a row... Maybe they will be posting us a question soon!! :-) > > >

[PHP] Will pay for PHP

2003-01-08 Thread Andy Cook
I am bringing up a site in March, but I am working on it now. I need some PHP (not a lot). Please email me at [EMAIL PROTECTED] and let me know if you are interested in helping. I'll make it worth your while. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] imap_fetchbody - size limit?

2003-01-20 Thread Andy Clarke
tents within PHP, so I am assuming that this is an issue with IMAP. The script is running on XP, and is being run on the command line. Thanks Andy Clarke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getting database connection to fail gracefully

2003-01-22 Thread Andy Clarke
around it } // continue with rest of page Rather than using the following, which causes the page to quit in mid flow: mssql_connect($sDBhostname,$sDBusername,$sDBpassword) or die("DATABASE FAILED TO RESPOND."); Thanks Andy Clarke -- PHP General Mailing List (http://www.ph

Re: [PHP] getting database connection to fail gracefully

2003-01-22 Thread Andy Clarke
This is mostly sorted out now. The mssql commands just needed @ signs to suppress error and warning messages. Thanks anyway, Andy Clarke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Returning a value from a recursive function

2003-01-22 Thread Andy Crain
, I get nothing. The line where I use echo/return is indicated below. Thanks, Andy function breadcrumbs($category_id=0,$mode='linked'){ global $id_array,$name_array; static $counter = 0; if ($category_id == 0) { //once we're down to the root, build a return

RE: [PHP] Returning a value from a recursive function

2003-01-22 Thread Andy Crain
- > From: Brian T. Allen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 4:47 PM > To: 'Andy Crain'; [EMAIL PROTECTED] > Subject: RE: [PHP] Returning a value from a recursive function > > I think it will work if you return true, and just modify the gl

Re: [PHP] I'm new in PHP

2003-01-26 Thread Andy Turegano
www.htmlgoodies.com - The best site for HTML On Mon, 27 Jan 2003, Philip Olson wrote: > On Sun, 26 Jan 2003, Beogradjanin wrote: > > > Zdravo php-general, > > > > Hi I have setup PHP Apache MySql. > > I;m new in this stuff where can I learn hot to make web pages in > > PHP...??? > > Go

[PHP] Help with file()--certain URLs causing error

2003-02-05 Thread Andy Crain
d store it in a database for later searching. Most URLs work fine, but really long ones with long query strings for some reason cause file() to throw up an error. This URL used in the code below, for example, causes the error below, but most any other URL works just fine. Any ideas? Thanks, Andy //T

[PHP] preg_match question: locating unmatched HTML tags

2003-02-21 Thread Andy Crain
s, and the one below is as far as I've gotten. If anyone has any suggestions, they'd be very much appreciated. Thanks, Andy $suspect_tags = "b|i|u|strong|em|font|a|ol|ul|blockquote "; $pattern = '/<(' . $suspect_tags . '[^>]*>)(.*)(?!<\/\1)/Ui&

RE: [PHP] preg_match question: locating unmatched HTML tags

2003-02-22 Thread Andy Crain
John, Thanks. I'm considering that, but the application I'm working on is for a small intranet that will be for only a small group of supervised users, so vulnerability isn't such a large concern. Andy > -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTEC

RE: [PHP] preg_match question: locating unmatched HTML tags

2003-02-22 Thread Andy Crain
n checking its first match, at . Andy > -Original Message- > From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 22, 2003 5:48 AM > To: Andy Crain > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] preg_match question: locating unmatched HTML tags >

RE: [PHP] preg_match question: locating unmatched HTML tags

2003-02-22 Thread Andy Crain
d to check the output of that to make sure there aren't any extraneous tags. Andy > -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 22, 2003 5:04 PM > To: 'Andy Crain'; [EMAIL PROTECTED] > Subject: RE: [PHP] preg_matc

[PHP] question on preg_replace()

2003-02-26 Thread Andy Crain
alues in the $find array are not names but strings representing each unique combination of HTML tags in $string (such as '', '', '', so that the here would be left over unmatched). It seems to me that my only option is to write a function to sort $find in reverse order by length, so that the longer strings are replaced first. Or am I missing something obvious? Thanks in advance, Andy

RE: [PHP] OO function overloading?

2003-08-14 Thread Andy Crain
} function MyClass1($x){ } function MyClass2($x,$y){ } function MyClass3($x,$y,$z){ } //etc. } Andy > -Original Message- > From: Greg Beaver [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 1:09

RE: [PHP] Re: rich text editing

2003-08-22 Thread Andy Crain
gs will be converted to html, and the original html will be added back in, properly nested, etc. If you'd like to use it, I'd be happy to email it. I'm sure it could use a few extra sets of eyes. Andy > -Original Message- > From: Nelson Rodríguez-Peña Alarcón [mailto:[EMAIL PROT

[PHP] Random Blank Output wit 4.3.2

2003-05-30 Thread Andy BIERLAIR
nk that I'm not the first one to have this problem. Btw: This problem did not occur in <= PHP-4.3.1 Thanks, **** * Andy BIERLAIR - root eSolutions sàrl - Management    * * 133, route de Diekirch

Re: [PHP] ErrorDocument doesn't work for PHP scripts

2003-06-20 Thread Andy Fiddaman
P which is returning a set of 404 headers.. For some reason, apache isn't testing for the existence of the file first. I've no idea if this is a PHP or apache problem but hopefully there's a way to work around it Thanks for the very rapid response! Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Impossible bug! (fwd)

2003-06-26 Thread Andy Fiddaman
You never set *_color back to 0 at any point, so the first time through the loop it gets set to 1 and stays there. Replace you lines like: ; if($a_percent > $num) { $a_color = 1; } with: $a_color = $a_percent > $num; On Thu, 26 Jun 2003, John Wulff wrote: ; Where the heck is

[PHP] PHP input and variables dynamic :)

2002-07-23 Thread Andy Whittlestone
I'm trying to create input boxes on the fly by using php variables:PHP:so that will create:then i'm trying to set the value to something else using:document.all['tree'].status[1].value='expand';but i'm getting a an error on page dialog saying:'document.all.tree.status.0 is null or not an obj

[PHP] Imap Open Timeout

2002-09-01 Thread Andy Chapman
eived. Cheers, Andy Chapman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Trouble with understanding arrays

2002-10-02 Thread Andy Crain
ially taking your quotes from your ticker=>quote pairs and replacing the tickers with an index. Just do print_r($TickersCurrent) and you'll get the desired result. Hope that helps, Andy -Original Message- From: Christopher J. Crane [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Octob

Re: [PHP] Includes

2002-10-07 Thread Andy Woolley
following at the top. This will draw you header the same on all pages that you include the above with. If someone navigates to yourincudefile.php all they should see is an empty page because all the code is inside functions. Hope this helps Andy. - Original Message - From: &qu

Re: [PHP] Is there a way to test for a file?

2002-10-08 Thread Andy Woolley
> I'd like PHP to check to see if the image/picture.jpg exists before > returning the picture. Is this possible? Yup - It's in the manual. http://www.php.net/manual/en/function.file-exists.php Cheers Andy - Original Message - From: "Doug Coning" <[

[PHP] Win 98 Apache - Directory style Query Strings on PHP Files without extensions

2002-10-15 Thread Andy White
t the DirectoryIndex to "index" and DefaultType to "application/x-httpd-php" in the httpd.conf but I am at a loss after that! If anyone can help I'd be much obliged. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Segmentation Fault

2002-10-30 Thread Andy Woolley
un fsockopen on it. Should it do this? My question: Is there any limit to the number of times I can run fsockopen in any one instance of PHP even though the connection is being closed? Or is there something else I should know? Thanks in advance Andy -- PHP General Mailing List (http://w

[PHP] Require()

2002-06-26 Thread Andy Whittlestone
I want to use require to send some post information to a page. Code: if ($viewsystem = = 1) $Str = "editexemptfiles.php?every = 1"; require($Str); I've tried what it says in the online documentation, but it doesn't work, Tried: $Str = "d:\htdocs\somewhere\editexemptfiles.php?every

Re: [PHP] Require()

2002-06-26 Thread Andy Whittlestone
I'm afraid it don't ork. Thanks Anyway. Anyone ? "Adam Voigt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > No spaces. > > Instead of "every = 1" > Use: "every=1" > > Adam Voigt >

Re: [PHP] Require()

2002-06-26 Thread Andy Whittlestone
Thanks, that worked, and made it alot clearer. Andy "John Holmes" <[EMAIL PROTECTED]> wrote in message 000501c21d12$f4907580$b402a8c0@mango">news:000501c21d12$f4907580$b402a8c0@mango... > > if ($viewsystem = = 1) > > $Str = "editexemptfiles.php?e

[PHP] SMS Again, UK

2002-07-01 Thread Andy Whittlestone
y site and access it and send a txt for free, :-) Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Maybe not the right place, but...

2002-07-05 Thread Andy Woolley
>> Maybe not the right place, but... Probably not but what the heck. IE has a cap of 2K. http://support.microsoft.com/default.aspx?scid=kb;EN-US;q208427 Netscape exceeds 2k but I've never tested out how much. Cheers Andy Woolley. Milonic Solutions Ltd - Original Message

Re: [PHP] _() undefined in 4.2.1

2002-07-05 Thread Andy Woolley
It's OK, I've found out that I have to include --with-gettext in the configure line. Cheers anyway -- Andy. - Original Message ----- From: "Andy Woolley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 05, 2002 2:43 PM Subject: [PHP] _

Re: [PHP] ??????????????????????????????????????????????????????````````````````````ØØØØØØØØØØ

2002-07-09 Thread Andy Woolley
Hi Ben, I've been on this list for a few years now and this is the first time i've seen anything this bad. Sorry it's just bad timing. There is no other list that comes anywhere near for quality and good folks. Try and stick it out it'll be worth it. Andy. - Origina

RE: [PHP] OO parent/child relationship

2003-10-06 Thread Andy Crain
This all seems like a perfect case for the singleton pattern. See http://www.phppatterns.com/index.php/article/articleview/6/1/1/ and http://www.phppatterns.com/index.php/article/articleview/75/1/1/ Andy > -Original Message- > From: Evan Nemerson [mailto:[EMAIL PROTECTED] > Sen

RE: [PHP] Singleton Was: [PHP] OO parent/child relationship

2003-10-07 Thread Andy Crain
One quick thought: You might want to add the following to your if statement: else { $this->_cache[$key] = new $key; return $this->_cache[$key]; } Andy > -Original Message- > From: Gerard Samuel [mailto:[EMAIL PROTECTED] > Sent: Monday, October 06, 20

[PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
see if they are logged in is done. Any help that could be supplied would be greatly appreciated. Thank you. Regards, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
login i.e. will it be possible for some one to hijack the login if this check is not there? Or does anyone have any other suggesstions for doing authentication? Thank you. Regards, Andy "Andras Kende" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -Original M

[PHP] Re: SESSION Query

2003-12-27 Thread Andy Higgins
Hi Aniruddha, Try using session_start(); $HTTP_SESSION_VARS['session_referer'] = "abc.com"; and if (session_is_registered('session_referer')) go to abc.com; Regards, Andy "Aniruddha" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] &g

Re: [PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
be logged that they will have to log in again? 3. For forms, where the SID need to be passed, do you pass this as a hidden form variable or do you do it on the URL? You help is greatly appreciated. Thanks again. Regards, Andy "Gerard Samuel" <[EMAIL PROTECTED]> wrote in mes

Re: [PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
Hi Mark, Thank you for confirming that for me. I am new to the list and did do a search though past messages but did not find this point (obvioulsy I did not look hard enough). Thanks again. Regards, Andy "Mark Charette" <[EMAIL PROTECTED]> wrote in message news:

Re: [PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
Hi Gerard, Thank you for your assistance you have been of enormous help. Regards, Andy "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday 27 December 2003 10:54 am, Andy Higgins wrote: > > > 1. At the time of login will the log

[PHP] Re: Simple question

2003-12-28 Thread Andy Higgins
x27;], 20);; if ($add == 'Hello') do something where clean() is a function defined in an include as follows: function clean($input, $maxlength) { $input = substr($input, 0, $maxlength); $input = EscapeShellCmd($input); return ($input); } Hope that helps. Regards, Andy "Labuns

[PHP] Problem with fmod() function

2003-12-30 Thread Andy Higgins
0.05 I would have expected to get an answer of 0 i.e. no remainder. It works fine for whole numbers. Can any one shed any light on this please? Thank you. Regards, Andy P.S. I tried using the following function but I get the same results: function fmodAddOn($x,$y) { $i = floor($x/$y);

[PHP] Changing the Time Zone in php.ini

2004-01-08 Thread Andy Higgins
. Regards, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP connecting to FIlemaker Database

2001-01-18 Thread Andy Clarke
or FMP hosting, you may find it difficult to find one that offers both FMP and PHP. Hope that this helps, Andy Clarke Andy Clarke 78 West Kensington Court, Edith Villas, London, England W14 9AB

[PHP] RTF to HTML converter

2001-01-22 Thread Andy Woolley
Greetings, I'm looking for a script written in PHP that can convert an RTF string into HTML. Thanks in Advance Andy Woolley www.databasewatch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: [PHP] whois

2001-01-25 Thread Andy Woolley
Ajdin, I know this is a little off topic but for your information 'whois.ripe.net' provide information for the .ba TLD I too am looking for a database of Top Level Domains around the world so if anyone knows of one I would be very much obliged If I could have a copy. Kind Regards An

[PHP] Plugin Detection with PHP?

2001-02-25 Thread Andy Clarke
as this can be turned off by the user etc, it seemed as though it would be more reliable to do it server side (if it is possible). Thanks Andy Clarke Andy Clarke 78 West Kensington Court, Edith Villas, Londo

[PHP] How to PHP process a .phtml file, or capture the output from within PHP?

2001-02-27 Thread Andy Jones
Hi I'd normally start this mail with some background of what I'm doing, but to save everyone time, I'll start with the questions, and then in case anyone has alternative suggestions or workarounds, I'll fill in the what I'm doing and why... Within PHP script, is it possible to 1. capture the

Re: [PHP] Javascript mailing list

2001-04-17 Thread Andy Woolley
The JavaScript Weenie is about the best I know of at: http://webdevelopersjournal.com/subform.html See you there. Andy. - Original Message - From: "Boget, Chris" <[EMAIL PROTECTED]> To: "Php (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 4

[PHP-CVS] cvs: php4 /ext/oci8 oci8.c

2001-04-25 Thread Andy Sautins
asautinsWed Apr 25 10:48:31 2001 EDT Modified files: /php4/ext/oci8 oci8.c Log: Collections cleanup - Removed date specific methods. Dates work consistently with the rest of the oci8 code. - Removed unused varia

[PHP-CVS] cvs: php4 /ext/oci8 php_oci8.h

2001-04-25 Thread Andy Sautins
asautinsWed Apr 25 10:44:08 2001 EDT Modified files: /php4/ext/oci8 php_oci8.h Log: Cleanup collections - removed unused members from oci_collection structure Index: php4/ext/oci8/php_oci8.h diff -u php4/ext/oci8/php_oci8.h:1.14 php4/ex

[PHP] Messaging to a simple server?

2001-04-26 Thread Andy - Interlync
rver with a PHP script. Tx! This would be something like PHP accessing a MySQL daemon via its port. Andy. http://alliancecommerce.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

Re: [PHP] Resize Images 'On The Fly'

2001-05-24 Thread Andy Woolley
Jamie, $imagesize = GetImageSize("yourfile.gif"); Will return an array of image properties that you can use. Andy. - Original Message - From: "Jamie Thompson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 24, 2001 11:46 AM Subject:

[PHP] fsockopen

2002-01-24 Thread Andy Etemadi
feof($fp)) {     $return .= fgets ($fp,1280);     }     fclose ($fp); } print $return; ?> Any help would be appreciated. Thanks, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] official statement about PHP file extensions?

2002-04-19 Thread andy thomas
l > traffic/big" sites > Some ISP´s suggest that you use php3/4 extensions, as they have both versions > running. I wonder why they do this? In my experience, php3 code runs fine on a php4 server and on the servers I manage, the apache configuration passes both .php3 and .phtml

[PHP] I can't seem to get the mkdir function to work properly

2002-05-01 Thread Andy F.
I keep getting Permission denied, however the directory that I'm trying to create in has 777 permisions. Anyone? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: I can't seem to get the mkdir function to work properly

2002-05-01 Thread Andy F.
Here's the code I used $name = "FolderName"; mkdir("test/$name", 0700); "Andy F." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I keep getting Permission denied, however the directory that I&#x

[PHP] Why is there no OPTION EXPLICIT equivalent?

2002-05-29 Thread Andy Arbon
he above doesn't sound too critical - in general I love PHP, but this one omission has cost me so many hours of debugging time over the years I had to ask :) Cheers, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File Copy

2002-03-01 Thread Andy Delcambre
I am a complete php newbie but i have a quick question. I was wondering if there is a way to copy a file from a remote site to your local server? I want to grab a picture off of a site and store it locally to be displayed later. Thanks alot, Andy -- PHP General Mailing List (http

[PHP] Bizarre mail() problem

2002-03-02 Thread andy thomas
$address=mysql_result($result,$r,$f); mail("$address","$subject","$message","From:$MailFromAddress"); $r++; } Any suggestions or pointers to where I'm going wrong will be warmly received. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bizarre mail() problem

2002-03-02 Thread andy thomas
ending a message a second, so that sendmail was handling 10 messages/second and load average hit 3.5. It must have been a network related problem but it's all running fine now with 1 message a second going out from the original script. cheers, Andy > - Original Message ----- > From: &q

Re: [PHP] Bizarre mail() problem

2002-03-02 Thread andy thomas
ut it will be interesting to see what happens in about half an hour's time. Andy > - Original Message - > From: "andy thomas" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, March 02, 2002 11:04 AM > Subject: [PHP] Bizarre ma

Re: [PHP] Bizarre mail() problem

2002-03-03 Thread andy thomas
On Sun, 3 Mar 2002, andy thomas wrote: > > > On Sat, 2 Mar 2002, Andrey Hristov wrote: > > > check you php.ini if you need to change sendmail -t -i to something other. > > We are still having problems with this. Doing another mailshot, the script > crawled at 1 mess

Re: [PHP] permissions

2002-03-04 Thread andy thomas
reated by Apache or PHP during normal operation, these will be owned by that user. The one exception is the Apache log files - these are normally owned by root, the user Apache's parent process runs as initially before it forks child servers running as user 'nobody', etc. Andy -

[PHP] Running PHP scripts from the shell

2002-03-11 Thread andy thomas
PHP than from a shell script - MySQL access being one of them. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running PHP scripts from the shell

2002-03-11 Thread andy thomas
On Mon, 11 Mar 2002, Jason Wong wrote: > On Monday 11 March 2002 20:18, andy thomas wrote: > > Just wondering but is there any way PHP scripts can be run from the > > command line from a standard Unix shell like, for example, perl rather > > than being invoked via a br

Re: [PHP] What is needed to test php mail on a local testserver

2002-03-14 Thread andy thomas
On Thu, 14 Mar 2002, andy wrote: > Hi there, > > I am wondering, how I could test the mail functions of php on a local > machine. Do I have to install something like a mailserver, or does this come > with php? If you are using a Unix/Linux type server for your local system,

Re: [PHP] CLI through PHP

2002-03-14 Thread andy thomas
your help. Someone else has already posted an example of a form to collect the data and pass it to a script called adduser.php. In adduser.php you could try the exec() function to execute the adduser/useradd command, something like: exec("useradd -u $uid -g $gid -d $home_dir -s $sh

[PHP] retrieving remote web page

2002-03-16 Thread Andy Aldridge
y the filling in of a form (using the POST method)? Thanks for any help... -Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Why?

2002-03-30 Thread andy thomas
's M80 8080 macro assembler was the first time I came across foo and bar. This was dated 1979. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Multiple Includes

2001-10-25 Thread Andy Muth
I was just curious what sort of performance hit is taken with multiple includes per page? Or maybe if there was a way to cache includes? Thanks Andy Muth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] I'm not , log me out....

2001-10-27 Thread Andy Lewis
e vars are saved in the session the user automatically gets logged in. I also would like to have a checkbox on the login page that, if checked, doesn't cache the username and password. So if they logout they must enter a username and password, instead of getting automatically logged in. An

Re: [PHP] Dynamic Navigation w/PHP

2001-11-19 Thread Andy Woolley
have in PHP. Regards Andy. - Original Message - From: "Mike Elkins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 4:17 PM Subject: [PHP] Dynamic Navigation w/PHP > Hello All, > > I am looking for example code demonstrating the

Re: [PHP] Case?

2001-03-30 Thread Andy Woolley
The 'Switch' Statement is what you are looking for. Andy Woolley www.databasewatch.com "elias" <[EMAIL PROTECTED]> wrote in message 9a1pfp$v4n$[EMAIL PROTECTED]">news:9a1pfp$v4n$[EMAIL PROTECTED]... > You must be moving from Pascal alike coding to PHP

[PHP] Loading SQL files (not CSV) into mySQL

2001-04-03 Thread Andy Warwick
ata inserts. In effect, it needs to be standalone text files full of SQL commands. I know it can be done, because phpMyAdmin has exactly this facility. But even after studying the code of that carefully, I can't tell which specific pieces are handling this enough to extract the facility. C

[PHP] Sorry - Way OT but I need help

2001-04-09 Thread Andy Woolley
ssuing it's own error page. I know there must be a config somewhere other than the client side "Show friendly error messages", but can't seem to find it. I have RTFM and scanned the Web but still not found it. Hope you can help. Once again I apologize for being Off

Re: [PHP] Sorry - Way OT but I need help

2001-04-09 Thread Andy Woolley
Jon, your a star...Thanks alot How rediculous is that of MS to do it that way. I really did try and find out what was going on and knew it had to be something simple, but I never expected it be that stupid. Thanks Again Andy Woolley www.databasewatch.com ps. If you ever visit the Midlands

Re: [PHP] Sorry - Way OT but I need help

2001-04-10 Thread Andy Woolley
Goes Here." HTH Andy Woolley www.databasewatch.com - Original Message - From: Boget, Chris To: 'Andy Woolley' ; [EMAIL PROTECTED] Sent: Monday, April 09, 2001 7:57 PM Subject: RE: [PHP] Sorry - Way OT but I need help > I know this has nowt to do with PHP so I&#

Re: [PHP] Commercial sites that use PHP

2001-04-10 Thread Andy Woolley
www.businessmeetings.com is another commercial site that I ported from ASP to PHP 12 months ago. Andy Woolley. www.databasewatch.com > - Original Message - > From: "Phil Labonte" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, Apri

Re: [PHP] PHP Uptime error

2001-06-25 Thread Andy Woolley
Does anyone know if it's possible to capture TCP_TIMESTAMP using a socket. If you could do that you wouldn't need to execute /usr/bin/uptime Andy. --- Need a DHTML Menu? Try www.milonic.com/menu it's free --- - Original Mes

Re: [PHP] include ("foo.php") not working

2001-07-25 Thread Andy Warwick
oblem the other day and that solved it for me. Regards -- Andy Warwick email: [EMAIL PROTECTED] PGP ID: 0xB1D73499 Creed New Media Designtel: 07976 205085 Nottingham, England url: http://

[PHP] Server Help

2001-08-24 Thread Andy Ladouceur
makes sense, heh.. If you need more info,say say.. Oh,btw,its a unix server. -Andy L -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] disable_features

2001-08-24 Thread Andy Ladouceur
Hello, I am wondering if there is any way to limit the disable_feature command to certain directories, and if so, could I please see an example? Thanks, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Echo/Print

2001-08-25 Thread Andy Ladouceur
other? Thanks, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: escaping special charecters upon submit

2001-08-25 Thread Andy Ladouceur
http://www.php.net/manual/en/function.addslashes.php That should work fine. -Andy <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have a form that submits data to a database, works great until > someome > > puts in an apostrop

Re: [PHP] Echo/Print

2001-08-25 Thread Andy Ladouceur
Thanks! Helped a lot. -Andy Jeff Oien <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You can read the notes lower on the page here to get a good idea: > http://www.php.net/manual/en/function.print.php > Jeff Oien > > > I am fa

[PHP] disable_functions....

2001-08-25 Thread Andy Ladouceur
Does anyone know if its possible to use disable_functions on only specified directories, and not all? Hopefully its possible.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list adm

Re: [PHP] disable_functions....

2001-08-25 Thread Andy Ladouceur
Thanks.. D'you think you'd be able to give me an example? (Sorry, I am _quite_ new to all of this...) -Andy Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Any php.ini directive can be used in your httpd.conf on a per-

[PHP] Cookieless =(

2001-08-26 Thread Andy Ladouceur
touched any of the cookie functions.. thats what I dont get... anyone have any ideas on what could be wrong? (And yes, im using $HTTP_Cookie_VARS["cookiename"]; to access (try and access, that is) them now.. Anyone know what might be wrong? Any helps appreciated, thanks. -Andy -- PHP Gener

[PHP] Re: appear in Text file

2001-08-27 Thread Andy Ladouceur
Hi Jack, The 'black box' you see is a newline, which can be removed by doing this: $string=str_replace("\n","",$string); $string=str_replace("\r","",$string); That will replace \n (The newlines) and \r (The returns) with nothing, getting rid of

[PHP] $HTTP_POST_VARS

2001-08-27 Thread Andy Ladouceur
Hello all, I am wondering if there is a command or function to get a list of all the current '$HTTP_POST_VARS["variable"]' variables? Or, a user-created way... Any helps appreciated, thanks! -Andy L. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Andy Ladouceur
Ah, its that simple? -feels likea bit of an idiot- Thanks for the help! Tim <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > while (list($k,$v) = each($HTTP_POST_VARS)) { > echo "$k = $v"; > } > > On Mon, 2001-08-27

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Andy Ladouceur
Thanks! -Andy Jason Murray <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am wondering if there is a command or function to get a > > list of all the current '$HTTP_POST_VARS["variable"]' variables? >

[PHP] Re: Need help on putting variable into

2001-08-27 Thread Andy Ladouceur
Well,think about it like this: If you did replace $comp name with ABC Company, this is what you'd get: Not quite right, eh? This will solve your problem: print ""; =) -Andy Hugh Danaher <[EMAIL PROTECTED]> wrote in message 001201c12f71$75a45b40$c1fcb3d1@win95"&

Re: [PHP] Re: Need help on putting variable into

2001-08-27 Thread Andy Ladouceur
No problem. With the space in there, it considered Company as something separate... -Andy Hugh Danaher <[EMAIL PROTECTED]> wrote in message 000801c12f74$62b93020$3907f4d8@win95">news:000801c12f74$62b93020$3907f4d8@win95... > Andy, > Thank you. It Works! > Hugh &

[PHP] Re: Formatting Dates in Form before submit

2001-08-27 Thread Andy Ladouceur
PHP is a processed before the output is sent to the browser, so a dynamic change like what you want with it isn't possible. And unfortunately,I dont know any JScript, or VBScript, so I can't help ya there.. =/ -Andy Traci P Sumpter <[EMAIL PROTECTED]> wrote in message [EMAIL

[PHP] Disabling certain functions per directory

2001-08-27 Thread Andy Ladouceur
abled in as '/var/www/htdocs/example/' and the base directory being '/var/ww/htdocs/' I hope someone can help, thanks.. -Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[PHP] Re: foo? bar? wtf?

2001-08-29 Thread Andy Ladouceur
Foo, and Bar, dont mean anything. They are simply example $vars for php... I was confused on this for a while, too... -Andy Seb Frost <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Why is it that every example uses foo and bar. In my

<    1   2   3   4   5   6   7   8   >